Spiral gives your agent every tool with one account. Browse the tools →

Grok Build · LLMReleased 2026-09-11

How to Use Fugu Max in Grok Build

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 Grok Build

Copy an example into Grok Build, 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.

Fugu MaxGrok Build
Try asking
  • 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 Grok Build

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. 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: Grok Build 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.

OpenRouterLLM
Sakana: Fugu Max
sakana/fugu-max

Settings you can ask for

Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Reasoning efforthigh, xhigh, or maxhigh

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 Grok Build?

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.

Questions about Fugu Max in Grok Build

Can Grok Build use Fugu Max?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Fugu Max like any built-in tool.

How much does Fugu Max cost in Grok Build?

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 Grok Build plan is separate.

Do I need an OpenRouter account to use Fugu Max in Grok Build?

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 Grok Build?

About two minutes: add the server, then sign in, then check it.

Does Grok Build wait while Fugu Max runs?

Fugu Max runs in the background. Grok Build 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.

Get started

Start using Fugu Max in Grok Build

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok Build:

Set up Grok Build

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options