[ Data ] · 8 min read
AI Agent Benchmarks: What a Solved Task Actually Costs
Two models on SWE-bench Verified both cost $0.07 per attempt. One resolves 75.8% of tasks, the other 9.0%. Per solved task that is $0.09 against $0.78 — a gap of 8.4x that no leaderboard column shows you.
Key takeaways
- Two models at the identical $0.07 per attempt differ 8.4x per solved task — MiniMax M2.5 high at $0.092, Qwen2.5-Coder 32B at $0.778 — because one resolves 75.8% of SWE-bench Verified tasks and the other 9.0%.
- Cost per solved task and cost-to-confidence rank models differently. GPT 5 mini is cheapest per solved task ($0.089), but MiniMax M2.5 high is cheaper to reach 90% confidence of one success ($0.114 vs $0.139), because resolve rate compounds under retry.
- On terminal-bench@2.1 the top two results are a statistical tie at 3.73x the price. Claude Code with Fable 5 scores 83.8% ± 1.2 for $552.67; Codex with GPT-5.5 scores 83.1% ± 1.1 for $2,059.19. Those confidence intervals overlap.
- The scaffold moves cost more than the model does. GPT-5.5 runs at 83.1% for $2,059.19 under Codex and 78.0% for $493.85 under Terminus 2 — 5.1 points of accuracy for 4.17x the spend.
- Across the full SWE-bench board the spread from cheapest to dearest per solved task is 142x, from $0.050 to $7.077.
Agent leaderboards publish two numbers side by side: how often the agent succeeds, and what the run cost. Almost nobody divides one by the other. Do that and the ordering changes, because an attempt that fails still bills you. What a buyer needs is not the price of a run — it is the price of a run that worked.
We took every result with both a success rate and a cost figure from two public leaderboards — SWE-bench Verified under the mini-SWE-agent scaffold, and terminal-bench@2.1 — and computed cost per solved task for each. Thirty results. The full dataset is available as CSV, and the script that produces every number below is in the methodology section.
The clearest case: two models, one price, 8.4x apart
On SWE-bench Verified, MiniMax M2.5 high and Qwen2.5-Coder 32B Instruct both cost $0.07 per attempt. On the leaderboard they sit in the same price column. MiniMax resolves 75.80% of tasks; Qwen2.5-Coder resolves 9.00%.
Per solved task that is $0.092 against $0.778. To be 90% confident of getting one task solved, MiniMax needs 1.6 attempts and Qwen2.5-Coder needs 24.4. Same headline price, entirely different economics.
The full SWE-bench cohort
Comparing across scaffold versions is unfair, so the table below is restricted to the thirteen models run on mini-SWE-agent v2.0.0 in February 2026. Same harness, same task set, so the only thing varying is the model.
| Model | Resolved | $/attempt | $/solved task | Attempts to 90% | $ to 90% |
|---|---|---|---|---|---|
| GPT 5 mini | 56.2% | $0.05 | $0.089 | 2.79 | $0.139 |
| MiniMax M2.5 high | 75.8% | $0.07 | $0.092 | 1.62 | $0.114 |
| Kimi K2.5 high | 70.8% | $0.15 | $0.212 | 1.87 | $0.281 |
| Gemini 3 Flash high | 75.8% | $0.36 | $0.475 | 1.62 | $0.584 |
| Claude 4.5 Haiku high | 66.6% | $0.33 | $0.495 | 2.10 | $0.693 |
| GPT 5.2 Codex | 72.8% | $0.45 | $0.618 | 1.77 | $0.796 |
| DeepSeek V3.2 high | 70.0% | $0.45 | $0.643 | 1.91 | $0.861 |
| GPT 5.2 high | 72.8% | $0.47 | $0.646 | 1.77 | $0.831 |
| Claude 4.6 Opus | 75.6% | $0.55 | $0.728 | 1.63 | $0.898 |
| GLM 5 high | 72.8% | $0.53 | $0.728 | 1.77 | $0.937 |
| Claude 4.5 Sonnet high | 71.4% | $0.66 | $0.924 | 1.84 | $1.214 |
| Claude 4.5 Opus high | 76.8% | $0.75 | $0.977 | 1.58 | $1.182 |
| Gemini 3 Pro high | 69.6% | $0.96 | $1.379 | 1.93 | $1.856 |
Claude 4.5 Opus high tops the board at 76.80% resolved. MiniMax M2.5 high reaches 75.80% — one percentage point behind — at $0.07 against $0.75. Per solved task that is $0.092 against $0.977, so the leading model costs 10.6x more for one point of resolve rate.
Two cost metrics, two different winners
Cost per solved task answers "what will a batch of work cost?" It does not answer "what will this one ticket cost me?" For that you need the chance of failing repeatedly. Assuming independent retries, the attempts needed for a 90% chance of at least one success is ln(0.10) ÷ ln(1 − resolve rate).
The two measures disagree. GPT 5 mini is cheapest per solved task at $0.089, but reaching 90% confidence costs $0.139 because it needs 2.79 attempts. MiniMax M2.5 high costs slightly more per solved task ($0.092) but only $0.114 to reach the same confidence, needing 1.62 attempts. A higher resolve rate compounds in your favour exactly when you care most: a single task that has to get done.
terminal-bench@2.1: a statistical tie at 3.73x the price
terminal-bench@2.1 publishes total run cost and — unusually, and to its credit — a confidence interval on every score. That second column is what makes the leaderboard's own ranking questionable.
Rank 1 is Claude Code with Fable 5 at 83.8% ± 1.2, costing $552.67. Rank 2 is Codex with GPT-5.5 at 83.1% ± 1.1, costing $2,059.19. Those intervals are [82.6, 85.0] and [82.0, 84.2]. They overlap. The results are statistically indistinguishable, and one costs 3.73x the other.
| Agent | Model | Accuracy | Total cost | Cost index |
|---|---|---|---|---|
| Cursor CLI | Grok 4.5 | 79.3% ± 1.5 | $134.09 | 169 |
| mini-SWE-agent | Muse Spark 1.1 | 76.2% ± 1.2 | $198.05 | 260 |
| Terminus 2 | Gemini 3 Pro | 73.9% ± 1.3 | $224.44 | 304 |
| Codex | GPT-5.6 Luna | 75.7% ± 1.3 | $241.45 | 319 |
| Claude Code | Opus 4.8 | 78.9% ± 1.3 | $286.94 | 364 |
| Claude Code | Sonnet 5 | 74.6% ± 1.6 | $288.18 | 386 |
| Codex | GPT-5.6 Terra | 78.4% ± 1.3 | $421.15 | 537 |
| Terminus 2 | Fable 5 | 80.4% ± 1.2 | $438.64 | 546 |
| Claude Code | Fable 5 | 83.8% ± 1.2 | $552.67 | 660 |
| Codex | GPT-5.5 | 83.1% ± 1.1 | $2,059.19 | 2,478 |
Cursor CLI running Grok 4.5 is the cost-efficiency winner and it is not close. It places fourth on raw accuracy at 79.3%, and its cost index of 169 is 14.65x better than the most expensive result on the board. Against the top-ranked Claude Code with Fable 5, it gives up 4.5 accuracy points to save roughly a factor of four.
The scaffold matters more than the leaderboard implies
terminal-bench runs the same models under different agent scaffolds, which lets you isolate the harness. GPT-5.5 at xhigh effort scores 83.1% under Codex for $2,059.19, and 78.0% under Terminus 2 for $493.85. The Codex scaffold buys 5.1 points of accuracy for 4.17x the cost.
The comparison runs the other way too. Gemini 3.1 Pro scores 65.8% under Gemini CLI ($236.49) and 65.6% under Terminus 2 ($229.99) — the same result for the same money. So scaffold overhead is not a constant you can budget for. It is specific to the pairing, and it is invisible if you compare models on accuracy alone.
How we calculated this
- Cost per solved task = cost per attempt ÷ resolve rate. This is the expected cost of obtaining one success when each attempt is independent, which is the mean of a geometric distribution.
- Attempts to 90% confidence = ln(0.10) ÷ ln(1 − resolve rate). The number of independent attempts giving at least a 90% chance of one success.
- Cost to 90% confidence = cost per attempt × attempts to 90%.
- Cost index (terminal-bench) = total run cost ÷ accuracy. terminal-bench reports total cost for the whole task set rather than per attempt, so this index is proportional to cost per solved task rather than equal to it. Because the task count is identical across rows, the ranking is unaffected.
- SWE-bench figures come from the mini-SWE-agent v2.0.0 cohort (results dated February 2026) except in the full-board spread, which includes earlier scaffold versions and is labelled as such.
- Both leaderboards were retrieved on 21 August 2026. Every derived number is produced by a script from the transcribed source tables; nothing is hand-adjusted.
Limitations, stated plainly
Retries are not independent, so the confidence figures are floors rather than forecasts. A model that fails a given SWE-bench instance tends to fail it again — the failure is usually a capability gap on that specific problem, not bad luck. Real attempts-to-success will run higher than the numbers here, and the gap widens as resolve rate falls. Treat the 24.4 attempts for Qwen2.5-Coder as optimistic.
Three further caveats. Benchmark tasks are not your tasks — SWE-bench draws on public Python repositories with existing test suites, which is a narrow slice of software work. Published costs reflect the price at the time of the run, and inference pricing moves fast, so the ratios will age better than the absolute figures. And leaderboard results are self-reported by submitting organisations, with the incentives that implies.
What to do with this if you are buying
Ask a vendor what their agent costs and you will usually get a per-token or per-seat figure. Neither tells you what a completed piece of work costs. The question that separates a real quote from a hopeful one is: what is your success rate on our tasks, and what does one successful outcome cost including the failures?
The data also argues against defaulting to the top of the leaderboard. On both benchmarks the frontier models are within a few points of much cheaper alternatives, and those few points cost multiples. If your workflow has a human reviewing output anyway — which most production deployments do — you are paying a large premium for a marginal reduction in the review load. That trade is worth pricing before you commit, and it is the calculation we run with clients before recommending a model for an AI automation build.
Frequently asked questions
What is the cheapest AI agent per solved task?
On the SWE-bench Verified cohort run under mini-SWE-agent v2.0.0, GPT 5 mini is cheapest per solved task at $0.089, with MiniMax M2.5 high just behind at $0.092. Across the full board including earlier scaffold versions, DeepSeek V3.2 Reasoner is cheapest at $0.050 per solved task. On terminal-bench@2.1, Cursor CLI running Grok 4.5 has the best cost index by a factor of 1.5 over the next result.
Why does cost per solved task differ from cost per run?
Because failed attempts still cost money. A model resolving 9% of tasks bills you for roughly eleven attempts per success, so its effective price is about eleven times its per-attempt cost. A model resolving 76% bills you for about 1.3. Dividing cost per attempt by resolve rate collapses both into one comparable number.
How many attempts does an AI agent need to complete a task reliably?
Assuming independent retries, attempts for a 90% chance of at least one success is ln(0.10) ÷ ln(1 − resolve rate). At a 76.8% resolve rate that is 1.58 attempts; at 56.2% it is 2.79; at 9.0% it is 24.4. Real-world figures run higher, because agent failures on a given task are correlated rather than independent.
Is the highest-scoring agent on a benchmark worth the extra cost?
Often not. On terminal-bench@2.1 the top two results are within each other's confidence intervals — 83.8% ± 1.2 versus 83.1% ± 1.1 — while costing $552.67 and $2,059.19. On SWE-bench Verified the top model beats MiniMax M2.5 high by one percentage point at 10.6 times the cost per solved task. Whether that premium is justified depends on what a failure costs you downstream.
Does the agent scaffold affect cost as much as the model?
Sometimes more. GPT-5.5 at the same effort setting scores 83.1% for $2,059.19 under the Codex scaffold and 78.0% for $493.85 under Terminus 2 — 4.17 times the cost for 5.1 accuracy points. But Gemini 3.1 Pro costs and scores almost identically under Gemini CLI and Terminus 2. Scaffold overhead is specific to the pairing, not a general constant.
Related services
Related guides
Want a professional site without the agency invoice?
Tell us about your project below and we'll reply within 24 hours with a clear, fixed quote, no surprises.
Prefer WhatsApp or email?