[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Step 3.7 Flash](https://spiral.ai/integrations/claude-code/step-3-7-flash)

# How to Use Step 3.7 Flash in Claude Code

Step 3.7 Flash handles code repair, document analysis, and research with source checks. It combines a 256K context window with adjustable reasoning and image understanding for charts and interfaces.

|  |  |
| --- | --- |
| Model | Step 3.7 Flash |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.006134 per run at the default inputs. $0.26 per 1M input tokens, $1.495 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Step 3.7 Flash in Claude Code

- Use Step 3.7 Flash with high reasoning to investigate the failing test in this repository. Trace the cause, make a focused repair, and rerun the relevant checks.
- Use Step 3.7 Flash to trace this project's authentication flow. List the files involved, explain token expiry handling, and identify questions the code cannot answer.
- Use Step 3.7 Flash with high reasoning to plan a refactor of the duplicated validation code. Identify callers, preserve existing behavior, and propose verification steps.
- Use Step 3.7 Flash to compare this branch with the base branch. Report concrete correctness risks with file references and suggest a check for each.
- Use Step 3.7 Flash with low reasoning to summarize this project's README and configuration. Explain how the main components relate and cite the relevant files.

## How to set up Step 3.7 Flash 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 Step 3.7 Flash**: 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": "stepfun/step-3.7-flash",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Step 3.7 Flash on Spiral, shows the price and runs it.

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

## Step 3.7 Flash tools and prices

- [StepFun: Step 3.7 Flash](https://spiral.ai/tools/openrouter/stepfun/step-3.7-flash) (OpenRouter): Up to $0.006134 per run at the default inputs. $0.26 per 1M input tokens, $1.495 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| logprobs |  | — |  |

## What can you do with Step 3.7 Flash in Claude Code?

Step 3.7 Flash can turn an issue report into a code investigation and a proposed repair. Use it to trace project files, plan edits, and check changes against the reported behavior.

### Repair a reported bug

Give Step 3.7 Flash the issue and relevant code. Ask for a focused patch, a regression check, and an explanation tied to the failure.

### Plan a code change

Ask Step 3.7 Flash to trace dependencies and propose an ordered implementation plan with checks for each step.

### Compare long reports

Have Step 3.7 Flash compare report text, identify changed claims, and cite the sections behind each finding.

### Research a technical question

Use Step 3.7 Flash with search tools to gather primary sources, investigate disagreements, and produce a brief with supporting links.

### Extract records from text

Ask Step 3.7 Flash to turn messages or report passages into consistent JSON records, with missing values explicitly marked.

### Produce recurring change briefs

Supply current and previous source text to Step 3.7 Flash and request a concise account of additions, removals, and unresolved questions.

## Overview

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

## Step 3.7 Flash in other agents

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

## More Claude Code guides

- [Sonar Reasoning Pro](https://spiral.ai/integrations/claude-code/sonar-reasoning-pro)
- [Step 5 Preview](https://spiral.ai/integrations/claude-code/step-5-preview)
- [Sonar Pro Search](https://spiral.ai/integrations/claude-code/sonar-pro-search)
- [Ternary Bonsai 2 27B](https://spiral.ai/integrations/claude-code/ternary-bonsai-2-27b)
- [Sonar Pro](https://spiral.ai/integrations/claude-code/sonar-pro)
- [Ternary Bonsai 2 9B](https://spiral.ai/integrations/claude-code/ternary-bonsai-2-9b)

## Questions about Step 3.7 Flash in Claude Code

**Can Claude Code use Step 3.7 Flash?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Step 3.7 Flash like any built-in tool.

**How much does Step 3.7 Flash cost in Claude Code?**

Up to $0.006134 per run at the default inputs. $0.26 per 1M input tokens, $1.495 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 Step 3.7 Flash in Claude Code?**

No. Spiral runs Step 3.7 Flash on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Step 3.7 Flash in Claude Code?**

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

**Does Claude Code wait while Step 3.7 Flash runs?**

Step 3.7 Flash runs in the background. Claude Code starts the run, checks on it and gives you the text, json when it's ready.

**What is Step 3.7 Flash useful for?**

Use it for coding tasks, document analysis, and research that combines several sources. It also reads charts and interfaces and can turn those observations into text, code, or tool requests.

**How much material can Step 3.7 Flash handle?**

Its context window is 256K tokens. Your input and generated response share that space, so leave room for the answer when supplying long documents.

**When should I use deeper reasoning?**

Use low reasoning for summaries and extraction, medium for general multi-step work, and high for difficult planning, math, or code analysis. Match the effort to the task instead of choosing high for every request.

**Where does Step 3.7 Flash need extra checking?**

StepFun flags terminal tasks and professional deliverables as areas for improvement compared with the strongest evaluated models. Check command results, test proposed code, and verify important conclusions against the source material.

**How should I write prompts for Step 3.7 Flash?**

State the task, separate source material from instructions, and specify the result you want. Include an example for unusual formats and explain what to do when information is missing.

