Fugu Max API

sakana/fugu-max
Fugu Max is the cost-performance model in Sakana AI's Fugu family: the same learned multi-agent orchestration approach and 1M-token context window as Fugu Ultra, trading some peak reasoning depth for a much lower price per token.
Context
1M tokens
Input
$2.7508 / 1M tokens
Output
$8.2524 / 1M tokens
Released
Sep 11, 2026

How to use Fugu Max API

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

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "sakana/fugu-max",
      "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-max",
    "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-max","messages":[{"role":"user","content":"Hello!"}]}'

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

Fugu Max API Pricing

TypePrice
Input
$2.7508 / 1M tokens
Output
$8.2524 / 1M tokens
Cached input
$0.34385 / 1M tokens

Fugu Max vs other models

ModelInputOutputContextBest for
Fugu Max
This page
$2.7508 / 1M tokens
$8.2524 / 1M tokens
1M tokens
Multi-agent orchestration at scale
$6.877 / 1M tokens
$41.262 / 1M tokens
1M tokens
Reasoning + agents
$6.877 / 1M tokens
$41.262 / 1M tokens
1M tokens
Deep reasoning + long-context agents
$0.65 / 1M tokens
$3.9 / 1M tokens
1.05M tokens
Reasoning + agents
$3.9 / 1M tokens
$19.5 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows

Frequently asked questions

Fugu Max is the cost-performance model in Sakana AI's Fugu family. Like Fugu Ultra it is a learned multi-agent orchestration system rather than a monolithic language model, trained to route tasks across a swappable pool of underlying models and to recursively call instances of itself.

It keeps the family's 1,000,000-token context window and the same input types, trading some of Ultra's peak reasoning depth for a substantially lower price per token.

Sakana AI.

1,000,000 tokens, with up to 128,000 tokens of output.

It takes image, text and file input and returns text.

Yes. It supports function calling, structured outputs, streaming, reasoning and web search.

Everyday coding and review, user-facing assistants, long-document processing and high-volume agentic pipelines where Ultra's pricing would not scale.

Send a request to the chat completions endpoint with the model id sakana/fugu-max. The model also answers to the alias fugu-max.

Start building with Fugu Max

Get API Key
1000+ models, one API.