Skip to navigation

Step 5 Terminal-Bench 4.1: 44.4% at $5.30 per task

In short: Step 5 Terminal-Bench 4.1 is 44.4% at $5.30 per task, against 33.8% at $8.69 for Preview, StepFun reports. See what the test measures and how to read it.

Published 21 min read
On this page

StepFun reports that Step 5 solves 44.4% of Terminal-Bench 4.1 tasks, up from 33.8% for Step 5 Preview, while using 63% fewer output tokens per task and cutting average API cost per task by 39%, from $8.69 to $5.30. Those figures come from the StepFun launch post of 30 November 2026, and they are the sharpest coding number in the release. This guide reads them closely, because a terminal benchmark score only helps you if you know what the test checks, which version it is, and which harness ran the agent. For the whole launch in one place, start with the complete Step 5 guide.

What did StepFun report on Terminal-Bench 4.1?

StepFun reports a task success rate of 44.4% for Step 5 on Terminal-Bench 4.1, against 33.8% for Step 5 Preview. The same paragraph of the launch post gives the cost side: output tokens per task down 63%, and average API cost per task down from $8.69 to $5.30. The sentence that follows in the post says Step 5 beats Preview on all four public coding benchmarks it lists, each time with more than 40% fewer output tokens per task.

The table gathers every coding figure in the launch post so you can see where Terminal-Bench 4.1 sits among them. All numbers are StepFun reports, each comparing Step 5 with Step 5 Preview.

Evaluation Step 5 Step 5 Preview Output tokens per task
Terminal-Bench 4.1 44.4% 33.8% 63% fewer
FrontierCode-AA 2.0 25.1% 11.6% 44% fewer
SWE-Sweep 3.88% 0.64% 41% fewer
DeepSWE 74.8% 62.0% 45% fewer
Internal software engineering eval 63.8% 53.8% 48% fewer

Two features stand out. First, Terminal-Bench 4.1 has the largest token reduction of the five. Second, the pass rate on Terminal-Bench 4.1 rises by 10.6 points, which is about 31% in relative terms (10.6 divided by 33.8). That is a large step but not the largest in the table: FrontierCode-AA 2.0 more than doubles, and SWE-Sweep rises from a very low base. A high score on a hard terminal test is simply harder to move.

Grouped bars comparing Step 5 and Step 5 Preview as reported by StepFun: Terminal-Bench 4.1 44.4 vs 33.8, FrontierCode-AA 2.0 25.1 vs 11.6, DeepSWE 74.8 vs 62.0, internal software engineering eval 63.8 vs 53.8.
Coding scores. Step 5 against Step 5 Preview on four coding evaluations, as reported by StepFun.

What does Terminal-Bench 4.1 actually measure?

Terminal-Bench 4.1 measures whether an agent can finish a long, realistic task inside a terminal, with every check passing. Artificial Analysis describes the benchmark as an agentic terminal test from the Laude Institute, Stanford researchers and open-source contributors. It has 66 tasks that span software, machine learning, science, operations, security, hardware and media. Each task has its own set of tests, and the task passes only if every test passes. There is no partial credit inside a task.

The example tasks on that page show how strict the grading is. One asks the agent to migrate a running e-commerce API from MySQL to PostgreSQL with zero downtime. The verifier applies the agent’s changes to a clean copy, restarts the API with no MySQL available, replays customer traffic during the cutover, and fails the task on any 5xx error, unexpected 4xx error, stale read or lost row. The reward is 1 only when every check passes, and the agent has 28,800 seconds, which is eight hours. Another example asks for a photonic waveguide routing result that satisfies geometric and physical constraints. Those are not toy exercises, and a model that solves one has done real work.

That strictness has a cost for interpretation. A task counts as solved or not, so a score of 44.4% is a pass rate over whole tasks (averaged over repeats), not a measure of how close the failures came. Two models can both fail the MySQL migration task, one by dropping a row and the other by never starting the cutover. The benchmark scores them the same.

How one Terminal-Bench task is scored

Agent works in a terminalShell, files, services, up to hoursArtifacts reach the verifierSymlinks and permissions cleaned firstTask tests all runEach task has its own test setReward is 1 or 0Every test must pass
Pass or fail per task, then averaged over tasks and repeats to give the percentage you see on a leaderboard.

How does 4.1 differ from 4.0, and why keep the numbers apart?

Terminal-Bench 4.1 keeps the 66 tasks, instructions and environments of 4.0 and changes the verifiers that grade them. The Terminal-Bench team’s announcement says the update hardens verifiers against reward hacking and fixes correctness problems. In 44 of the 4.0 tasks, the verifier runs code the agent wrote, and running that code in the same process that grades it can let it tamper with the grade. The 4.1 release runs such code as an untrusted user in a separate process, so it cannot read the tests or rewrite the reward file. The GitHub release of v4.1.0 is dated 3 November 2026, adds a CPU-only dataset of 63 tasks, and lists 66 tasks with modified verifiers.

The team also regraded the saved 4.0 leaderboard artifacts with the new verifiers. Of 11,550 trials, 162 changed score. The team classified 134 as expected consequences of the verifier fixes, 89 of them false negatives that turned into passes and 45 false positives that turned into fails, and 28 as measurement discrepancies, which kept their original scores. The team’s conclusion is that the 4.0 scores mostly held and stayed within the previously reported confidence intervals.

Why does this matter for Step 5? Because the launch post and the Hugging Face model card cite different versions. The Step 5 Preview model card reports 33.3 on Terminal-Bench 4.0, and the launch post reports 33.8 for Preview on 4.1. Those two figures differ by half a point, and it is tempting to read that as noise or as a quiet improvement. It is neither. They are different verifier versions, and probably different harness settings, so the honest statement is that Preview scored about a third of the tasks on both versions and the launch post’s Step 5 versus Preview comparison is internally consistent because StepFun ran both models on 4.1.

A practical rule follows. Compare scores only when both carry the same version label, the same harness and the same effort setting. When a source says “Terminal-Bench” with no number, treat it as unlabelled and look for the version before you use it. For how Preview and the final model differ more broadly, see Step 5 Preview versus final Step 5.

How does Terminal-Bench 4.1 feed the Artificial Analysis index?

Terminal-Bench 4.1 is one of nine evaluations in the Artificial Analysis Intelligence Index v5.0.2, and it carries a 10% weight. The Artificial Analysis methodology page lists it under Coding, which holds 25% of the index together with FrontierCode-AA 2.0 at 15%. It lists the task count as 66, the repeats as 3, and the scoring as test suite pass or fail with pass@1. Artificial Analysis runs all 66 tasks with the mini-swe-agent harness and averages three repeats per task.

On the Artificial Analysis page for Step 5, the model scores 40 on the index, against a median of 44 for comparable models. It costs $2.53 per index task and used 79.8M output tokens for the whole index. The Terminal-Bench 4.1 slice of that 40 is therefore a measured, independent number from a fixed harness, and it is a different number from the 44.4% in the launch post. We did not find the Artificial Analysis per-evaluation figure for Step 5 on the pages we read, so we do not quote one.

This is the most useful fact for readers who saw “40” and “44.4” in the same week. They are not the same scale. The 40 is an index across nine evaluations, each normalised and weighted. The 44.4% is a pass rate on one evaluation. A model can sit mid-table on the index and still have an uneven profile, and the index weights show why the coding slice matters less than people assume: 10% for Terminal-Bench 4.1, 15% for FrontierCode-AA 2.0, and the remaining 75% on knowledge work, science and general knowledge. Our walkthrough of what the nine evaluations in index v5 are goes through each one.

From one benchmark to one index number

Terminal-Bench 4.1 pass rate66 tasks, 3 repeats, mini-swe-agentWeighted at 10%, Coding is 25%With FrontierCode-AA 2.0 at 15%Index v5.0.2: Step 5 = 40Median of comparable models is 44
Artificial Analysis combines nine evaluations in four equal categories; Terminal-Bench 4.1 is one tenth of the total.

What does $5.30 per task mean, and how much of it is real?

StepFun reports the average API cost per Terminal-Bench 4.1 task as $5.30 for Step 5 and $8.69 for Preview, a fall of $3.39, or 39% (3.39 divided by 8.69). The launch post does not say whether the average covers all attempts including failures, whether cache pricing is applied, or at which reasoning effort the models ran. The natural reading, and the one we use below, is that it averages over all attempts, so it is the cost of one attempt on a typical task.

An attempt is not a result, so we derive the cost of a solved task by dividing cost per attempt by the pass rate. This is our arithmetic, not a StepFun figure. For Step 5 it is $5.30 divided by 0.444, which is about $11.94 per solved task. For Preview it is $8.69 divided by 0.338, which is about $25.71. Step 5 is therefore about 2.15 times cheaper per solved task, a bigger gap than either the cost cut or the pass-rate gain alone, because the two improvements multiply.

Terminal-Bench 4.1 cost, USD

  • Preview, per task$8.69
  • Step 5, per task$5.30
  • Preview, per solved task$25.71Our arithmetic: 8.69 divided by 0.338
  • Step 5, per solved task$11.94Our arithmetic: 5.30 divided by 0.444
Per-task cost is StepFun's figure. Cost per solved task is derived and assumes the average covers all attempts.
Horizontal bars: Preview 8.69 dollars per task, Step 5 5.30 dollars per task, Preview 25.71 dollars per solved task, Step 5 11.94 dollars per solved task.
Cost per task and per solved task. The derived bars use the pass rates from the launch post.

Cost per solved task is the number a team should carry into a budget, because a cheap attempt that fails still gets billed. It is also the number most sensitive to your own tasks. If your pass rate is 15% rather than 44.4%, your cost per solved task is roughly three times higher. For a longer treatment of that mechanism with Preview numbers, see Step 5 cost per task analysis.

Why did cost fall only 39% when output tokens fell 63%?

Output tokens are only one line of an agent bill, and the other lines did not fall as far. In a terminal agent loop, each turn re-sends the growing conversation as input. Input tokens, read from cache or not, often outweigh output tokens by an order of magnitude. StepFun’s list price is $1.00 per million input tokens on a cache miss, $0.10 on a cache hit, and $2.70 per million output tokens, as shown on the StepFun pricing page. Output tokens are the expensive ones per token, but input volume is large.

A simple check shows the size of the gap. Suppose input spend stayed flat and output spend fell by 63%. Then a 39% fall in total cost would require output to have been about 62% of Preview’s bill (0.39 divided by 0.63). That is an illustration, not a finding. In reality the input side probably changed too, since fewer turns also means fewer re-reads of the history, and the launch post publishes no breakdown. What the arithmetic does tell you is that cutting output tokens by 63% is not a guarantee of cutting cost by 63%, and a buyer who budgets on the token headline will over-estimate the saving.

Horizontal bars of output-token reduction per task: Terminal-Bench 4.1 63 percent, internal SWE eval 48, DeepSWE 45, FrontierCode-AA 2.0 44, SWE-Sweep 41.
Output tokens saved. Terminal-Bench 4.1 has the largest reduction of the five coding evaluations, as reported by StepFun.

Caching matters on both sides. The OpenRouter listing for stepfun/step-5 shows a weighted average input price actually paid of about $0.19 per million tokens against the $1.00 list, because the average cache hit rate is high. That figure is a snapshot from a routing marketplace on 1 December 2026, not a promise for your traffic. The practical lesson is to structure agent prompts so the long stable prefix is cached; our guide to prompt caching cost maths for Step 5 and the prompt caching reference show how.

How does 44.4% compare with other models on the 4.1 leaderboard?

On Artificial Analysis’s own Terminal-Bench 4.1 page, the top scores at the time of reading are well above 44.4%. The page headline names Kimi K3.1 Pro first at 68.2%, with GPT-6.2 Astra (Xhigh) and Gemini 4 Carbon (High) next at 66.2% each. Those are Artificial Analysis measurements with the mini-swe-agent harness and three repeats per task.

It would be a mistake to put 44.4% beside those numbers and conclude Step 5 is 24 points behind the leader. StepFun’s launch post does not say which harness produced its figure, and a different agent loop can move a Terminal-Bench score by many points. The comparison that is safe is the one StepFun made itself: Step 5 and Preview, same evaluation, same conditions. The comparison that is unsafe is a vendor number against another party’s number from another harness. If a head-to-head with a named rival matters to you, run both on your tasks. Our comparisons with Claude Fable 5.2, GPT-6.2 Astra and Kimi K3.1 Pro put the independent numbers in one place.

The table lists every Terminal-Bench number in this guide with its source, version and harness, so you can see which ones may be set side by side.

Number Source Version Harness Comparable with
Step 5 44.4% StepFun launch post 4.1 Not stated Preview 33.8% from the same post
Step 5 Preview 33.8% StepFun launch post 4.1 Not stated Step 5 44.4% from the same post
Step 5 Preview 33.3 Hugging Face model card 4.0 Not stated Other 4.0 scores only
Kimi K3.1 Pro 68.2% Artificial Analysis 4.1 mini-swe-agent, 3 repeats Other Artificial Analysis 4.1 rows
GPT-6.2 Astra (Xhigh) 66.2% Artificial Analysis 4.1 mini-swe-agent, 3 repeats Other Artificial Analysis 4.1 rows
Step 5 index 40 Artificial Analysis Nine evaluations, 4.1 at 10% mini-swe-agent for this slice Other index scores, not a pass rate

Only rows with the same source, version and harness belong in one comparison, so the 44.4% pairs with Preview’s 33.8% and with nothing on the Artificial Analysis rows. When you build your own comparison, record those three labels next to every score before you read the gap.

Step 5 sits in a different spot on the cost axis than the leaders. At $1.00 input and $2.70 output per million tokens it is priced well under most frontier models, and the cost-per-task claim above is the part of the story that is most specific to it. A team that needs the top pass rate pays for it elsewhere; a team that needs a defensible cost per solved task has a reason to test Step 5.

Which harness caveats change how you read 44.4%?

The harness is the program that turns a model into an agent: it builds the prompt, runs the tools, manages context and decides when to stop. Terminal-Bench scores depend on it. StepFun’s launch post gives one result that speaks to this directly. It evaluated both models across 12 coding agent harnesses, namely Step Code, DSH, ZCode, Pi, OpenCode, mini-swe-agent, Claude Code, Codex, Oh My Pi, Trae CLI, Qoder CLI and CodeBuddy CLI. Step 5 improved on all 12, and the average pass rate rose from 59.8% to 69.2%. StepFun does not state which benchmark those 12 runs used, so do not map that 69.2% onto Terminal-Bench 4.1.

What the 12-harness result does support is the direction: the gain over Preview is not tied to one scaffold. What it does not support is a claim that Step 5 scores 44.4% in every harness. Our deeper treatment of how scaffolds differ is in Step 5 across coding agent harnesses, and the post on OpenCode, Qoder and Hermes adoption covers what partners said about tool-call behaviour.

Three other caveats are worth stating plainly.

  • Reasoning effort. Step 5’s API accepts low, medium, high, xhigh and max. A score at one level is not a score at another. See Step 5 reasoning effort levels and the reasoning docs.
  • Repeats. Artificial Analysis averages three repeats per task. A single run on 66 tasks has a standard error of several points even before harness effects.
  • Task time limits. Some tasks allow eight hours. A wall-clock cap in your environment, or a smaller token budget, will lower the pass rate.

How much would a batch of tasks cost?

Use the calculator below to turn the reported figures into a budget. The defaults are the StepFun-reported numbers, so with 200 tasks the first output is $1,060, from 200 times $5.30. Replace them with your own measured cost per task and pass rate once you have run a pilot. The cost per solved task output is the one that includes failures.

Cost of N agent tasks, Step 5 against Preview

Step 5 spend per month
$1,060.00
Preview spend per month
$1,738.00
Step 5 cost per solved task
$11.94
Preview cost per solved task
$25.71
Solved tasks per month, Step 5
89
Solved tasks per month, Preview
68

Defaults are StepFun-reported Terminal-Bench 4.1 figures. Your tasks, harness and effort setting will differ; the model assumes the cost figure averages over all attempts.

Two things are easy to see with the defaults. Step 5 solves about 89 of 200 tasks and Preview about 68, so the same budget buys more finished work. And if you only needed 68 solved tasks, you would pay about $812 with Step 5 (68 divided by 0.444, times $5.30) against $1,748 with Preview. Those are model-vs-model figures on a benchmark mix, not a forecast of your bill.

What do these numbers not prove?

They do not prove that Step 5 will solve 44.4% of your tasks. Terminal-Bench 4.1 tasks are curated, self-contained and verifiable. Your tasks are probably messier, with private dependencies, ambiguous requirements and tests that do not exist yet. Pass rates on a benchmark usually overstate what you see on a production backlog, for any model.

They do not prove independent confirmation. Everything in the Step 5 column of the table above is StepFun’s own run. The independent signal available on 1 December is Artificial Analysis’s index of 40, which is a different measurement. An OrcaRouter comparison of Step 5 and Preview makes a similar point from the routing side: treat the launch as a pilot, not a cutover.

They do not prove that fewer tokens means faster work. The 63% figure concerns output tokens. Time to finish depends on throughput, tool latency and how often the agent retries. Artificial Analysis measured 104 tokens per second and 8.5 minutes per index task for Step 5 against 22.9 to 23.9 minutes for Preview, and a 48-second time to first answer token because reasoning time counts; see Step 5 tokens per second and output token efficiency.

And they do not prove anything about the benchmark’s own limits. The Terminal-Bench team says reward-hacking exploits were mostly theoretical on the 4.0 leaderboard, and that regrading changed about 1.16% of trials. That is reassuring about the benchmark, but it also means a score difference of a point or two between models is within the noise of verifier choice.

What decision rules should agent teams use?

Treat the Terminal-Bench 4.1 result as a screening signal and decide with your own data. The rules below turn the reported numbers into steps.

  1. If you already run Step 5 Preview in production, moving to Step 5 is the lowest-risk step, because the price is unchanged and StepFun reports higher pass rates and fewer tokens. Pin the model id, rerun your regression set, and compare tokens, time and cost per solved task, not only pass rate.
  2. If you run another model today, use 44.4% only as a reason to include Step 5 in a bake-off. Pick 30 to 50 tasks from your backlog, run each model three times, and compare cost per solved task.
  3. If your agents run long loops with a big stable prefix, design for caching first. At $0.10 per million cached input tokens against $1.00 uncached, the cache decides more of your bill than the model choice does.
  4. If your tasks are security-sensitive, read our security benchmark guide before you give an agent shell access.
  5. If you need the top published pass rate, the leaders on the Artificial Analysis page are ahead of Step 5’s reported figure. Price that gap against your cost per solved task.

Pilot gate before you move agent traffic to Step 5

0 of 6 ticked

Not yet

You would be comparing noise. Build a small task set with automatic checks first.

Where does the gateway fit in a pilot?

A fair bake-off needs one client, one set of logs and several models. Our gateway gives you one key and an OpenAI-compatible and Anthropic-compatible API, so the same harness can switch models by changing the model id; see the gateway overview and the quickstart. Per-key spending limits, described in the cost control guide, are the safety net for agent loops, and the rate limit guide covers retries. Step 5 is on our gateway as step-5:free, so the Step 5 side of a small pilot can use the same key and harness. The free lane has a daily cap, though: 33 Step 5 requests a day, one at a time, and an agent loop sends many requests per task. For a full bake-off of 30 to 50 tasks with three runs each, run the Step 5 side through StepFun directly, or through a router that lists it, such as OpenRouter or Vercel AI Gateway, which we compare in Step 5 on OpenRouter and Vercel AI Gateway. Check pricing and the model list for what we serve.

Run it on the free lane

step-5:free costs $0 per token inside the free daily allowance, so the $5.30 per task above is StepFun’s list-price figure on its own API, not what the free lane bills. Use it for a smoke test: point a client at https://api.oneaiapikey.com/v1, send one task description, and see whether the plan and the commands it proposes look sane before you spend money on a full run. The Step 5 model page has live stats, and the chat is the fastest way to try a single task by hand.

A terminal-style task on step-5:free
curl https://api.oneaiapikey.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "model": "step-5:free",
  "messages": [{"role": "user", "content": "You are in a Linux shell. Task: find which process listens on port 8080 and write its PID to /tmp/pid.txt. Reply with the commands only."}]
}'

Log usage.completion_tokens for each task. Those token counts are what you would multiply by a paid route’s output rate to estimate cost per task.

What should you do next?

Read the launch figures with their labels attached, pick a task set, and measure. For the other launch benchmarks, the sibling guides cover office work and DeskWork Arena, science and Lean results and AI R&D benchmarks. For how the release unfolded from Preview, see the release timeline from Preview to GA. Everything is indexed in the complete Step 5 guide.

Run your own Terminal-Bench-style pilot

Create a key, point your harness at an OpenAI-compatible base URL, try step-5:free on a few tasks, and log tokens, time and cost per task for every model you test.

FAQ

What score did Step 5 get on Terminal-Bench 4.1?
StepFun reports 44.4% for Step 5 against 33.8% for Step 5 Preview, with 63% fewer output tokens per task. It is a vendor-reported figure from the 30 November 2026 launch post. Read the complete Step 5 guide for the other benchmarks.
What does $5.30 per task mean?
It is StepFun’s reported average API cost per Terminal-Bench 4.1 task, down 39% from $8.69 for Preview. It is cost per attempt. Dividing by the pass rate gives about $11.94 per solved task for Step 5 and about $25.71 for Preview, which is our arithmetic.
Can I compare Terminal-Bench 4.0 and 4.1 scores?
Not safely. The 66 tasks are the same, but the verifiers changed, so 4.1 grades differently. Preview shows 33.3 on 4.0 in its model card and 33.8 on 4.1 in the launch post; treat them as separate measurements. See Step 5 Preview versus final Step 5.
Is the Terminal-Bench score independent?
The 44.4% is StepFun’s own run. Artificial Analysis runs Terminal-Bench 4.1 independently with mini-swe-agent and three repeats, and uses it at 10% weight in an index where Step 5 scores 40. See the index evaluations explained.
Why does cost fall less than output tokens?
Agent bills include input tokens re-sent each turn, cached at $0.10 or uncached at $1.00 per million, as well as output at $2.70. Output fell 63% but cost fell 39%, so the other cost lines fell less. Read prompt caching cost maths for the effect of caching.
Which harness did StepFun use for 44.4%?
The launch post does not say. It does report 12 coding agent harnesses, where the average pass rate on an unnamed set rose from 59.8% to 69.2%. See coding agent harnesses for how scaffolds change results.
Can I call Step 5 through One AI API Key?
Yes. Use step-5:free on the free lane: $0 per token within the daily allowance, where Step 5 counts as 3 requests, so 33 a day. Create a key to try it. For a large agent pilot, use StepFun or a router, since an agent loop would hit the daily cap quickly.
Should I switch from Preview to Step 5?
If you run Preview today, the price is the same and StepFun reports higher pass rates and fewer tokens, so a regression run on your tasks is a low-risk next step. Compare tokens, time and cost per solved task, and keep Preview pinned until you have your own numbers.

Sources

More in Blog

Try it

One API key for GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2 and Roleplay.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.

New accounts$10 credit on sign-up
Claim $10 credit →