YepAPI

Command Palette

Search for a command to run...

Sakana AIText Generation/v1/ai/chatReasoning

Fugu Max

Access Sakana AI's Fugu Max through one API key. Multi-agent orchestration at a workhorse price.

Sakana AI's cost-performance Fugu model. Fugu is a learned multi-agent orchestration system that routes work across specialist models, with a 1M token context window and 128K output tokens.

No credit card required. Takes 30 seconds.

2,400+

Developers

1.2M+

API calls served

100+

Endpoints

$0.01

Per call

Yep, that's it.

Try it live

Send a message and see Fugu Max respond in real time.

POST/v1/ai/chat

Maximum tokens in the response.

Real-time tokens

Hit "Send Request" to see the response

Context Window

1M tokens

Max Output

128K tokens

Input Price

$2.80 / 1M tokens

Output Price

$8.40 / 1M tokens

Strengths

✓
Multi-agent orchestration

Fugu is not a single monolithic model: a router model is trained to decompose a task and dispatch it across specialist agents, then assemble the result — a different architecture from the frontier labs' dense models.

✓
Price-to-performance

At $2.80 per 1M input and $8.40 per 1M output tokens, Fugu Max is the affordable tier of the family, well-suited to high-volume reasoning and agent workloads.

✓
1M token context, 128K output

Handles up to 1,000,000 input tokens and returns up to 128,000 output tokens per call, so large documents and long agent histories fit in a single request.

✓
Tools, web search and structured output

Supports function calling, JSON schema structured outputs, reasoning effort control, and built-in web search options.

Quick start

Copy this snippet and start making calls with Fugu Max.

const res = await fetch('https://api.yepapi.com/v1/ai/chat', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "sakana/fugu-max",
    "messages": [
      {
        "role": "user",
        "content": "Explain API gateways in 2 sentences."
      }
    ],
    "maxTokens": 256
  }),
});
const { data } = await res.json();
console.log(data.message.content);

Why use Fugu Max through YepAPI?

✓One API key for all models — no separate accounts
✓OpenAI SDK compatible — just change the base URL
✓No monthly minimums — pay per token
✓Switch models with one line of code
✓Full provider passthrough — citations, search results, and all extras included
✓Streaming and non-streaming support on every model
✓Works with Cursor, Claude, LangChain, and any LLM tool
✓Unified billing across all providers

Fugu Max API — pricing, context window & access

Fugu Max is the cost-performance model in Sakana AI's Fugu family. Rather than one large network, Fugu is a learned multi-agent orchestration system: a language model trained to route parts of a task to specialist agents and combine their answers. It offers a 1,000,000-token context window and up to 128,000 output tokens per response.

Through YepAPI you call Fugu Max on an OpenAI-compatible endpoint with a single key — the same key that reaches GPT-6, Claude, Gemini and the SEO, SERP and scraping APIs.

What is Fugu Max?

Fugu Max is Sakana AI's affordable Fugu tier. Sakana's approach differs from the frontier labs: instead of scaling a single dense model, Fugu trains an orchestrator that breaks a problem into parts, hands each to a specialist model, and merges the results. Fugu Max applies that system with a cost-optimised set of agents, so you get multi-step reasoning, tool use and web search at a price closer to a mid-tier model than a flagship. Fugu Ultra v2 is the higher-performance sibling for harder tasks.

Build with Fugu Max via YepAPI

YepAPI serves Fugu Max on the OpenAI-compatible /v1/ai/chat endpoint. Point your base URL at YepAPI, add your key, and set the model string to fugu-max (or sakana/fugu-max). Function calling, structured outputs and reasoning effort pass through unchanged. Stepping up to Fugu Ultra v2 or across to GPT-6 Astra for the hardest steps is a one-string change per request.

Fugu Max API pricing — $2.80 / 1M input, $8.40 / 1M output

Fugu Max costs $2.80 per 1M input tokens and $8.40 per 1M output tokens through YepAPI, pay per token with no minimums. That places it in the mid-tier price band alongside models like GPT-6 Sol, while the multi-agent architecture and 128K output ceiling make it suited to long agentic runs that would be expensive on a flagship.

Fugu Max for agents and high-volume reasoning

Fugu Max fits workloads where many tasks each need real reasoning but the per-task budget is small: research assistants, coding agents on routine tickets, document pipelines that extract, verify and summarise. Built-in web search options let it ground answers without an extra retrieval step, and the 1M-token window keeps long agent transcripts in context.

Try Fugu Max free

Every new YepAPI account includes $5 in free credit with no card required — enough for hundreds of Fugu Max calls. Create an account, copy your key, and call fugu-max right away.

Start generating in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”

Marcus T.

SEO Platform Founder

“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”

Priya S.

Full-Stack Developer

“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”

Jake R.

Indie Hacker

Frequently asked questions

Sakana AI's cost-performance Fugu model. Fugu is a learned multi-agent orchestration system that routes work across specialist models, with a 1M token context window and 128K output tokens.

Input tokens cost $2.80 per 1M tokens and output tokens cost $8.40 per 1M tokens through YepAPI. No monthly minimums — you only pay for what you use.

Sign up for a free API key, then send requests to the /v1/ai/chat endpoint.

Fugu Max supports a 1M token context window with up to 128K output tokens per request.

Ready to use Fugu Max?

$5 free credit on signup. No credit card required. Pay per call.

Explore more models