How to Use Fugu Max in Windsurf
Fugu Max coordinates expert models for coding, reasoning, and document analysis. It targets efficiency alongside capability, while Fugu Ultra v2 prioritizes maximum answer quality.
Prompts to try with Fugu Max in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use Fugu Max to review the current diff and relevant callers. Report only findings with a concrete failure path, affected location, and regression test.
Use Fugu Max to investigate the failing test output in this project. Rank three plausible causes, run checks that distinguish them, and propose the smallest supported fix.
Use Fugu Max with max reasoning to compare the two implementation proposals in this repository. Check each against the existing interfaces and tests, then recommend one with explicit tradeoffs.
Use Fugu Max to trace how this project handles retries and duplicate requests. Identify where repeated execution could change state twice and propose focused regression tests.
Use Fugu Max to analyze the project's lint and test findings. Return JSON objects containing location, evidence, proposed fix, and verification step; leave unsupported conclusions out.
How to set up Fugu Max in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Fugu Max
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "openrouter", "model": "sakana/fugu-max", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Windsurf finds Fugu Max on Spiral, shows the price and runs it.
Fugu Max providers and prices
Spiral runs Fugu Max through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.03204 per run at the default inputs. $2.60 per 1M input tokens, $7.80 per 1M output tokens.
Settings you can ask for
Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Reasoning effort | high, xhigh, or max | high | How much the model reasons. |
Every API field of Sakana: Fugu Max is on its tool page: open its card above.
What can you do with Fugu Max in Windsurf?
Fugu Max can help investigate failures, review changes, and reason across project code. Give it a concrete acceptance test and ask for evidence behind each proposed fix.
Review a proposed code change
Ask Fugu Max to trace a patch through its callers, identify concrete failure paths, and propose a regression test for each finding.
Investigate a failing build
Give Fugu Max the error output and relevant code. Request ranked explanations, checks that distinguish them, and the smallest proposed fix.
Compare technical proposals
Have Fugu Max compare competing designs against explicit requirements, identify conflicting assumptions, and explain which tradeoffs affect the decision.
Reconcile long documents
Ask Fugu Max to compare PDF specifications, cite the pages behind each difference, and separate confirmed changes from unclear wording.
Check a quantitative argument
Use Fugu Max to examine a calculation or technical derivation, identify unsupported assumptions, and check the conclusion against boundary cases.
Turn evidence into structured findings
Ask Fugu Max to organize supplied reports into JSON findings with evidence, severity, and open questions. Define the schema before requesting the analysis.
More on Fugu Max and Windsurf
Overview
Fugu Max in other agents
More Windsurf guides
Questions about Fugu Max in Windsurf
Can Windsurf use Fugu Max?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Fugu Max like any built-in tool.
How much does Fugu Max cost in Windsurf?
Up to $0.03204 per run at the default inputs. $2.60 per 1M input tokens, $7.80 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need an OpenRouter account to use Fugu Max in Windsurf?
No. Spiral runs Fugu Max on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Fugu Max in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while Fugu Max runs?
Fugu Max runs in the background. Windsurf starts the run, checks on it and gives you the text, json when it's ready.
What is Fugu Max best suited for?
Consider it for coding, multistep reasoning, and document analysis. Sakana reports strong benchmark results across terminal tasks, reasoning, documents, automation, and software engineering.
How does Fugu Max differ from Fugu Ultra v2?
Fugu Max targets capability and efficiency together. Sakana positions Fugu Ultra v2 for workloads where maximum answer quality takes priority.
How much text can Fugu Max handle?
Its context window is 1,000,000 tokens, and it supports up to 128,000 completion tokens. Keep requested reports focused on the sections you actually need.
Can Fugu Max analyze PDFs?
Yes, it accepts PDFs and returns text. Try asking for a comparison table with page references and a separate list of unresolved questions.
Does max reasoning go further than xhigh?
No. Sakana documents xhigh and max as aliases for the same reasoning effort, so switching between them does not add another reasoning level.
Start using Fugu Max in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


