Fugu Max API

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.

Modalities
Image, TextText
In / Out price
$2.12/$6.35per 1M
Context window
1M tokens
Released
Sep 11, 2026

Fugu Max overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by Fugu Max through AI/ML API

Fugu Max specs

Model ID
sakana/fugu-max
Developer
Sakana AI
Context window
1,000,000 tokens
Max output
128,000 tokens
Input
Image, Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

What is Fugu Max API?

Fugu Max is the cost-performance model in Sakana AI's Fugu family. Like Fugu Ultra it is not a monolithic language model but 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 keeps the family's 1,000,000-token context window and accepts text, image and file input, trading some of Ultra's peak reasoning depth for a substantially lower price per token.

Everyday coding and review

Multi-agent orchestration at a price point that suits routine pull-request review and refactoring rather than only high-stakes work.

Interactive chat and assistants

Lower per-token cost makes it viable for user-facing assistants where Ultra's pricing would not scale.

Long-document processing

The 1,000,000-token window plus file input covers large report and codebase ingestion in a single request.

High-volume agentic pipelines

Tools, web search and structured output at roughly one fifth of Ultra's output price per token.

Use cases

Fugu Max is documented for high-volume coding workloads, where cost per task matters and it targets coding-related use cases. It is also documented for document extraction, especially when processing many documents efficiently. Another stated use case is multi-step automation, where tasks can be routed through a cost-efficient orchestration stack. It is further described as suitable for terminal and automation agents.

Capabilities

  • File input
  • Reasoning
  • Streaming
  • Structured outputs
  • Function calling
  • Vision
  • Web search

Fugu Max API pricing

Fugu Max pricing in US dollars
UsagePriceUnit
Input$2.121M tokens
Output$6.351M tokens
Cached input$0.26451M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Fugu Max vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Fugu Max$2.12$6.35
Sakana Namazu$1.01$4.23
Aion-3.0$3.17$6.35
Fugu Ultra v2$5.29$31.74
Fugu Ultra$5.29$31.74

How to use the Fugu Max API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl '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": "Write a haiku about the ocean."
    }
  ]
}'

Fugu Max FAQ

How much does Fugu Max cost?

Fugu Max costs $2.12 input and $6.35 output per 1M tokens on AI/ML API, billed as you go with no subscription.

What is Fugu Max?

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.

How does Fugu Max differ from Fugu Ultra v2?

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.

Who builds Fugu Max?

Sakana AI.

How large is the context window?

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

What inputs and outputs does Fugu Max support?

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

Does Fugu Max support tool calling?

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

What is Fugu Max best suited for?

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

How do I call Fugu Max on AI/ML API?

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

What is the Fugu Max model ID?

Use sakana/fugu-max as the model parameter. Requests go to the OpenAI-compatible endpoint with your AI/ML API key.

Start building with Fugu Max

Fugu Max API

sakana/fugu-max

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl '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": "Write a haiku about the ocean."
    }
  ]
}'