Code Tools

AI Coding Agents: Cost Per Task Actually Solved

Berkeley's FrontierCS 2 publishes pass rates and cost per run side by side, so you can divide one by the other. The answer is a roughly 65x spread in cost per solved task, and the cheapest model wins on that metric - which is exactly where the metric stops being useful.

🕐 8 min read 👁 9 views 📅 Dec 3, 2026
Cost per task you actually solved
● DeepSeek V4.1 Flash About $0.80. Cheapest per success by a wide margin.
● GPT-6.1 Terra and Sol About $7.50.
● Claude Opus 5.5 About $52. Best pass rate, highest cost per success.
● The spread Roughly 65x between cheapest and most expensive per solved task.
● Where this stops working A third of the tasks were solved by nobody. See the last section.

Berkeley's FrontierCS 2 publishes two numbers most benchmarks keep apart: how often each model passes, and what each run costs. Divide one by the other and you get cost per task actually solved, which is the figure that decides a budget. Nobody seems to have done the division.

The arithmetic

ModelPass rateCost per runCost per solved task
Claude Opus 5.558% (28 of 48)About $17 to $40About $52
GPT-6.1 Terra / SolAbout 40%About $3About $7.50
DeepSeek V4.1 FlashAbout 1 in 8About $0.10About $0.80

Taking the midpoint of the Opus range, you pay roughly sixty-five times more per success for a model that succeeds about four and a half times as often. Stated that way it looks indefensible. It is not, and the reason why is the whole point of this page.

Why the cheap model is not the answer

Cost per solved task silently assumes a failure is free. It is not. A failed attempt costs you the time to discover it failed, and on work that ships, the review burden of eight attempts to get one success exceeds the token saving many times over.

It also assumes the failures are random. They are not. A model that passes one task in eight is not solving a random eighth - it is solving the easy ones. The hard tasks that a frontier model gets right are frequently tasks the cheap model cannot do at any number of attempts, so retrying is not a substitute for capability.

The honest version of the arithmetic: cost per solved task is the right metric when failures are cheap to detect and the work is homogeneous. It is the wrong metric when a failure is expensive or invisible.

When each one is actually correct

If your work isUseBecause
Reviewed by a human anywayThe cheap modelA caught failure costs minutes. The saving is real.
Running unattended overnightThe frontier modelAn uncaught failure costs a morning, and you will not know which.
High volume, low stakesThe cheap modelRetry economics work when retries are free.
One hard task that must landThe frontier modelBelow the top eight, nothing passes more than 11 of 48.
MixedRoute itCheap first, escalate on failure. The spread is wide enough to justify the plumbing.

That last row is why routing products shipped this year. A 65x spread per success is large enough that the engineering to decide which model gets a task pays for itself, which was not true when the spread was 3x.

The number that limits all of this

In the paper's twelve-agent evaluation, no run passed 16 of the 48 tasks. A third of these problems were not solved by any model tested, at any price.

For those tasks the cost comparison is meaningless, because every option costs you the full run and returns nothing. That is the real ceiling on agentic coding right now, and it is more informative than any leaderboard position.

The full FrontierCS 2 results and how the benchmark is built are worth reading before you take any of these figures into a budget.

How to work out your own number

Take ten tasks that look like your actual work, not benchmark tasks. Run them through two models. Count successes, not quality scores, and record what you spent.

Then add the number nobody measures: how long it took you to tell the difference between a success and a failure. If that number is small, the cheap model probably wins. If it is large, it does not, and no published benchmark will tell you which case you are in.

Questions people are asking

Which AI coding model is cheapest per solved task?
On FrontierCS 2 figures, DeepSeek V4.1 Flash at roughly $0.80 per solved task, against about $7.50 for GPT-6.1 Terra and Sol and about $52 for Claude Opus 5.5. That is cost divided by pass rate, not cost per run.
Is the cheapest model the best value?
Only when failures are cheap to detect. The arithmetic assumes a failed attempt is free, and it ignores that a low-scoring model is solving the easy tasks rather than a random sample, so retrying does not substitute for capability.
What does a Claude Opus 5.5 run cost on this benchmark?
About $17 to $40 per task. A full 48-task run is reported at roughly $1,000 in API fees plus $300 in GPU time and $100 in CPU.
How many tasks could no model solve?
In the paper's twelve-agent evaluation, no run passed 16 of the 48 tasks. For those, every model costs you a full run and returns nothing.
Should I route between a cheap and an expensive model?
The spread per success is roughly 65x, which is wide enough to justify the engineering. Try the cheap model first and escalate on failure, provided you can detect failure reliably - if you cannot, routing just hides the problem.
⚖ Our Verdict

Cost per solved task runs from about $0.80 to about $52 across these models, a 65x spread, and on that metric alone the cheapest model wins. It should not be taken alone. The figure assumes failures are free to detect, and a model passing one task in eight is solving the easy ones rather than a random sample, so retrying does not buy capability. Use the cheap model where a human reviews the output anyway, the frontier model where a failure runs unnoticed.