Fugu Ultra API

Fugu Ultra is the higher-performance model in Sakana AI's Fugu family. Rather than a standard monolithic language model, it is a learned multi-agent orchestration system: a model trained to route tasks across a swappable pool of underlying models and to recursively call instances of itself. It is optimized for complex, multi-step reasoning, coding, and agentic workflows, with orchestration tokens billed as standard input/output tokens.
Context
1M tokens
Input
$6.5 / 1M
Output
$39 / 1M
Released
Jun 24, 2026

How to use Fugu Ultra API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to sakana/fugu-ultra.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "sakana/fugu-ultra",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "sakana/fugu-ultra",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"sakana/fugu-ultra","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Fugu Ultra API Pricing

TypePrice
Input
$6.5 / 1M tokens
Output
$39 / 1M tokens

Start building with Fugu Ultra

Get API Key
1000+ models, one API.