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

opencode · LLMReleased 2026-05-28

How to Use Step 3.7 Flash in opencode

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.

Prompts to try with Step 3.7 Flash in opencode

Copy an example into opencode, or ask in your own words.

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.

Step 3.7 Flashopencode
Try asking
  • 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 opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 Step 3.7 Flash

    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": "stepfun/step-3.7-flash",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

Step 3.7 Flash providers and prices

Spiral runs Step 3.7 Flash through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
StepFun: Step 3.7 Flash
stepfun/step-3.7-flash

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 230400

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Reasoning effortlow, medium, or highmedium

How much the model reasons.

Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of StepFun: Step 3.7 Flash is on its tool page: open its card above.

What can you do with Step 3.7 Flash in opencode?

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.

Questions about Step 3.7 Flash in opencode

Can opencode use Step 3.7 Flash?

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

How much does Step 3.7 Flash cost in opencode?

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

Do I need an OpenRouter account to use Step 3.7 Flash in opencode?

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 opencode?

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

Does opencode wait while Step 3.7 Flash runs?

Step 3.7 Flash runs in the background. opencode 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.

Get started

Start using Step 3.7 Flash in opencode

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

Paste this into opencode:

Set up opencode

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