How to Use Step 5 Preview in Devin
Step 5 Preview suits codebase changes, research reports, and financial analysis that require several rounds of checking. Its 1M-token context helps it compare large amounts of source material before producing an answer.
Prompts to try with Step 5 Preview in Devin
Copy an example into Devin, or ask in your own words.
Use Step 5 Preview with high reasoning effort to trace the failing test through this repository. Fix the underlying cause, run the relevant tests, and report the evidence that the fix works.
Use Step 5 Preview to compare this repository's implementation with its migration guide. List affected files, make the changes in reviewable steps, and check each step with the relevant tests.
Use Step 5 Preview to implement the frontend described in this project's requirements. Follow the existing components and styles, check the required interactions, and report any requirement you could not verify.
Use Step 5 Preview with high reasoning effort to review this branch for behavior changes across files. Report concrete bugs with file references, a reproduction path, and a suggested regression test.
Use Step 5 Preview to compare this project's documentation with its public interfaces. Correct statements that conflict with the code and include runnable examples where the repository supports them.
How to set up Step 5 Preview in Devin
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add a custom MCP
Open Customize › MCPs. Click + and choose New MCP. Fill in:
- Sign in to Spiral and approve
In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.
- Check it
On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.
Use the Spiral skill
- Send Devin 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 Step 5 Preview
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-5-preview", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Devin finds Step 5 Preview on Spiral, shows the price and runs it.
Step 5 Preview providers and prices
Spiral runs Step 5 Preview through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.014424 per run at the default inputs. $1.30 per 1M input tokens, $3.51 per 1M output tokens.
Settings you can ask for
Ask Devin for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Min p | 0 to 1 | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Logprobs | on or off | ||
| Max tokens | 1 to 64000 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Presence penalty | -2 to 2 | ||
| Reasoning effort | low, medium, or high | medium | How much the model reasons. |
| Frequency penalty | -2 to 2 | ||
| Repetition penalty | 0 to 2 |
Every API field of StepFun: Step 5 Preview is on its tool page: open its card above.
What can you do with Step 5 Preview in Devin?
Turn a change request into coordinated edits across a codebase with Step 5 Preview. Give it the relevant files, failure evidence, and acceptance criteria so it can implement and verify the change.
Fix bugs across a codebase
Trace a failure through related modules, coordinate the necessary changes, and verify the fix with focused tests.
Plan a code migration
Compare existing code with migration requirements, identify affected files, and break the work into changes with clear checks.
Build a frontend from a written brief
Turn detailed requirements into interface code, then check the implementation against the requested behavior.
Compare long documents
Find agreements, contradictions, and missing evidence across supplied reports, with references back to each source.
Prepare financial analysis
Compare reported figures and supporting commentary, state assumptions, and use calculation tools to verify derived numbers.
Write research briefs
Organize retrieved evidence into findings, competing explanations, and unanswered questions before drafting a report.
Extract information into JSON
Convert supplied text into consistent records, retaining supporting passages and marking missing values for review.
Review changes in recurring reports
Compare each new report with the previous version and produce an evidence-backed list of changed claims and figures.
More on Step 5 Preview and Devin
Overview
Step 5 Preview in other agents
Questions about Step 5 Preview in Devin
Can Devin use Step 5 Preview?
Yes. Add Spiral to Devin as an MCP server, and Devin can find and run Step 5 Preview like any built-in tool.
How much does Step 5 Preview cost in Devin?
Up to $0.014424 per run at the default inputs. $1.30 per 1M input tokens, $3.51 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.
Do I need an OpenRouter account to use Step 5 Preview in Devin?
No. Spiral runs Step 5 Preview 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 5 Preview in Devin?
About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.
Does Devin wait while Step 5 Preview runs?
Step 5 Preview runs in the background. Devin starts the run, checks on it and gives you the text, json when it's ready.
What is Step 5 Preview good at?
StepFun emphasizes software engineering, professional knowledge work, and financial analysis. Useful tasks include coordinated code changes, comparisons across long documents, and reports grounded in supplied evidence.
How much context can Step 5 Preview handle?
StepFun documents a 1M-token context window. Use it to compare multiple sources or a long conversation, and ask for source references when details matter.
How long can a Step 5 Preview answer be?
StepFun's API documentation lists a maximum output of 64K tokens. For a large report, request an outline and draft one section at a time so each section is easier to check.
Which reasoning effort should I choose?
Use low for straightforward summaries and extraction, medium for general work with several steps, and high for difficult code analysis, math, or planning. Match the effort to the task's difficulty.
Can Step 5 Preview produce structured JSON?
Yes, StepFun documents JSON Mode and JSON Schema output. A valid structure does not prove that its values are correct, so check extracted information against the source.
Start using Step 5 Preview in Devin
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Devin:
set up https://spiral.ai/SKILL.md


