Skip to main content

Variable: sakana

const sakana: (modelId, config?) => ModelConfig & object

Defined in: packages/core/src/providers/factories.ts:302

Sakana AI (Fugu), over its OpenAI Chat Completions-compatible API. Auto-detection already routes any fugu* id here; the factory is for explicit config. The API key defaults to SAKANA_API_KEY.

Type Declaration​

models​

models: (config?) => Promise<ModelInfo[]>

List the Sakana (Fugu) models the configured key can see, newest-first.

Parameters​

config?​

ProviderConfig

Returns​

Promise<ModelInfo[]>

Example​

With reasoning

const bot = new Baleybot({
model: sakana('fugu-ultra', { reasoning: { effort: 'high' } })
});