[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Fugu Ultra v2](https://spiral.ai/integrations/claude-code/fugu-ultra-v2)

# How to Use Fugu Ultra v2 in Claude Code

Use Fugu Ultra v2 for research, complex reasoning, and software development that needs several steps. It puts more emphasis on answer quality and depth than Fugu, which balances quality with responsiveness.

|  |  |
| --- | --- |
| Model | Fugu Ultra v2 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.159972 per run at the default inputs. $6.50 per 1M input tokens, $39.00 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Fugu Ultra v2 in Claude Code

- Use Fugu Ultra v2 to trace the failing checkout test through this repository. Identify the root cause, make a focused fix, and run the relevant tests.
- Use Fugu Ultra v2 to review the current diff for broken contracts between the frontend and backend. Report only actionable findings with file locations and a reproducible failure scenario.
- Use Fugu Ultra v2 to plan this project's database migration. Inspect the schema and callers, then list the implementation order, compatibility checks, and rollback conditions before editing.
- Use Fugu Ultra v2 with xhigh reasoning to investigate the intermittent duplicate-job failure. Inspect the worker and retry code, compare plausible causes, and add a regression check for the cause you verify.
- Use Fugu Ultra v2 to implement the feature described in this project's issue document. Check the existing architecture, preserve its conventions, and verify each acceptance criterion.

## How to set up Fugu Ultra v2 in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Fugu Ultra v2**: One request; the result comes back by polling or a webhook.

```bash
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-ultra-v2",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Fugu Ultra v2 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Fugu Ultra v2 tools and prices

- [Sakana: Fugu Ultra v2](https://spiral.ai/tools/openrouter/sakana/fugu-ultra-v2) (OpenRouter): Up to $0.159972 per run at the default inputs. $6.50 per 1M input tokens, $39.00 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| tools |  | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| tool_choice |  | — |  |
| reasoning_effort | high, xhigh, max | xhigh | How much the model reasons. |

## What can you do with Fugu Ultra v2 in Claude Code?

Use Fugu Ultra v2 to investigate failures across a codebase and implement changes with explicit acceptance criteria. Give it the relevant project files, constraints, and a concrete way to verify the result.

### Trace a bug across application layers

Follow a failure through the interface, server, and database code. Request a reproducible case, a focused patch, and checks that demonstrate the fix.

### Review a substantial code change

Inspect a change for incorrect assumptions, broken contracts, and missing edge cases. Ask for findings tied to specific code and a concrete failure scenario.

### Compare technical research

Compare supplied papers on their methods, evidence, and limitations. Build a claim-by-claim table and identify disagreements that need further investigation.

### Explain charts in a report

Analyze supplied chart images or PDF pages. Request the relevant values, units, and trends, with unreadable labels marked as uncertain.

### Plan a software migration

Turn architecture constraints and dependency information into an ordered migration plan. Include compatibility checks, rollback conditions, and acceptance criteria.

### Reconcile conflicting reports

Compare supplied reports for inconsistent dates, totals, definitions, and conclusions. Produce an evidence table showing which discrepancies remain unresolved.

### Produce structured evidence records

Extract claims, supporting passages, and source references from supplied material into JSON. Define how missing evidence and conflicting values should be represented.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Fugu Ultra v2 in other agents

- [Amp](https://spiral.ai/integrations/amp/fugu-ultra-v2)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/fugu-ultra-v2)
- [Claude](https://spiral.ai/integrations/claude-desktop/fugu-ultra-v2)
- [Cline](https://spiral.ai/integrations/cline/fugu-ultra-v2)
- [Codex](https://spiral.ai/integrations/codex/fugu-ultra-v2)
- [Cursor](https://spiral.ai/integrations/cursor/fugu-ultra-v2)
- [Devin](https://spiral.ai/integrations/devin/fugu-ultra-v2)
- [dots](https://spiral.ai/integrations/dots/fugu-ultra-v2)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/fugu-ultra-v2)
- [Gemini](https://spiral.ai/integrations/gemini/fugu-ultra-v2)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/fugu-ultra-v2)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/fugu-ultra-v2)
- [goose](https://spiral.ai/integrations/goose/fugu-ultra-v2)
- [Grok](https://spiral.ai/integrations/grok/fugu-ultra-v2)
- [Grok Build](https://spiral.ai/integrations/grok-build/fugu-ultra-v2)
- [Hermes](https://spiral.ai/integrations/hermes/fugu-ultra-v2)
- [Instinct](https://spiral.ai/integrations/instinct/fugu-ultra-v2)
- [Manus](https://spiral.ai/integrations/manus/fugu-ultra-v2)
- [Muse](https://spiral.ai/integrations/muse/fugu-ultra-v2)
- [Muse Code](https://spiral.ai/integrations/muse-code/fugu-ultra-v2)
- [n8n](https://spiral.ai/integrations/n8n/fugu-ultra-v2)
- [Notion](https://spiral.ai/integrations/notion/fugu-ultra-v2)
- [OpenClaw](https://spiral.ai/integrations/openclaw/fugu-ultra-v2)
- [opencode](https://spiral.ai/integrations/opencode/fugu-ultra-v2)
- [Perplexity](https://spiral.ai/integrations/perplexity/fugu-ultra-v2)
- [Raycast](https://spiral.ai/integrations/raycast/fugu-ultra-v2)
- [VS Code](https://spiral.ai/integrations/vscode/fugu-ultra-v2)
- [Windsurf](https://spiral.ai/integrations/windsurf/fugu-ultra-v2)
- [Zapier](https://spiral.ai/integrations/zapier/fugu-ultra-v2)

## More Claude Code guides

- [Fugu Ultra](https://spiral.ai/integrations/claude-code/fugu-ultra)
- [GLM 4.5 Air](https://spiral.ai/integrations/claude-code/glm-4-5-air)
- [Fugu Max](https://spiral.ai/integrations/claude-code/fugu-max)
- [GLM 4.7 Flash](https://spiral.ai/integrations/claude-code/glm-4-7-flash)
- [Ember-1](https://spiral.ai/integrations/claude-code/ember-1)
- [GLM 5.2 (batch)](https://spiral.ai/integrations/claude-code/glm-5-2-batch)

## Questions about Fugu Ultra v2 in Claude Code

**Can Claude Code use Fugu Ultra v2?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Fugu Ultra v2 like any built-in tool.

**How much does Fugu Ultra v2 cost in Claude Code?**

Up to $0.159972 per run at the default inputs. $6.50 per 1M input tokens, $39.00 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need an OpenRouter account to use Fugu Ultra v2 in Claude Code?**

No. Spiral runs Fugu Ultra v2 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 Ultra v2 in Claude Code?**

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

**Does Claude Code wait while Fugu Ultra v2 runs?**

Fugu Ultra v2 runs in the background. Claude Code starts the run, checks on it and gives you the text, json when it's ready.

**What is Fugu Ultra v2 best suited for?**

Choose it for research synthesis, software development, and problems that require several connected reasoning steps. Sakana also highlights reasoning over visual and structured data.

**How much material can Fugu Ultra v2 handle?**

OpenRouter lists a 1,000,000-token context window and up to 128,000 completion tokens. Treat these as separate limits when planning a long analysis and its final report.

**Can Fugu Ultra v2 interpret charts and PDFs?**

Yes. It accepts images and PDFs and returns text, so useful tasks include explaining a chart, comparing document claims, and writing an evidence table.

**Does maximum reasoning go beyond extra-high reasoning?**

Sakana documents that maximum reasoning maps to extra-high reasoning for Fugu Ultra v2.0. Treat them as equivalent rather than expecting another increase in reasoning depth.

**How should I prompt Fugu Ultra v2 for a difficult task?**

State the decision or deliverable first, then provide the evidence, constraints, and acceptance criteria. Ask it to identify conflicting evidence, separate assumptions from findings, and check the result against those criteria.

