1. Home
  2. Blog
  3. Coding harnesses

Artificial intelligence · 8 min read

Same model,five times the cost.

27,280 runs, 83 billion tokens, 22 harness configurations across 5 models, 62 terminal tasks. With the model fixed, cost per task varies by 1.8x to 5x depending on the harness — and the factor that predicts it is neither the start prompt, nor the tool count, nor the cache hit rate, but steps per run.

By Kaleido LabPublished

Key takeaways

  • Runta published v1.1 of its FrontierHarness evaluation: 22 harness configurations × 5 models × 62 tasks × 4 attempts, i.e. 27,280 runs and 83 billion tokens. An analysis of variance on log cost attributes 92.8% of the spread to the model, 2.3% to the harness and 4.9% to the pair.
  • With the model fixed, the most expensive harness costs 1.8x to 5.0x more per task than the cheapest — well above the permutation range (1.2x to 1.8x, p = 0.003). But the ranking does not survive a model change: Codex CLI goes from 1st with GLM-5.3 to 16th with Kimi-K3.
  • The lever is not the prompt, it is step count: rank correlation of +0.51 (p = 0.015) with cost per pass, against +0.01 for start tokens and +0.02 for tools. Every step resends the whole context; 64.5% of the cost goes to trials that fail.

Two choices, measured apart

Teams pick a harness out of habit — the one they know, the one with the most stars — then pick a model from a public leaderboard, and rarely measure the pair. That is exactly the question Runta asked on November 17, 2026 in v1.1 of its FrontierHarness evaluation: when you switch models, should you switch harnesses too?

v1.0 already carried a signal. Nine harnesses on a single model (Kimi K3), pass rates within 17 points of each other, and a cost per pass that varied by a factor of 17. The authors hypothesised that the spread came from the pair, not the harness: a cheap harness with one model can be ruinous with another. v1.1 tests that by crossing every harness with five models — 76 times the size of v1.0.

What was measured, and how

22 configurations: 18 harnesses, including four DeepSeek Harness profiles with different tool sets, and OpenCode at two versions. Five models, all served by Baseten: GLM-5.3, GLM-5.3-Flash, DeepSeek-V4.1-Flash-1017, Muse Spark and Kimi-K3. 62 terminal tasks, using each task's own time limit, from 15 minutes to 8 hours. Four attempts per cell: 27,280 runs, 83 billion tokens.

Three methodological choices are worth noting, because they are the ones home-made evaluations skip. Harnesses run with their default settings at maximum reasoning effort — as people actually use them, not tuned for the benchmark. Each trial starts in a fresh environment, deleted at the end, so no trial can read an earlier trial's files. And scoring counts timeouts as graded failures, re-runs infrastructure errors, and zeroes trials flagged for reward hacking — 216 trials, 163 of them online solution lookups.

Costs are list prices multiplied by the tokens the provider reported. Two metrics come out: cost per task, and cost per pass — the first divided by the pass rate. The second is the budgeting number, because it absorbs the fact that a failing harness has to be re-run.

ModelBest value (cost per pass)Cost per passPass rate
GLM-5.3Codex CLI$0.8057.7%
GLM-5.3-FlashPi$0.2258.1%
DeepSeek V4.1 Flash 1017ZCode$0.2269.0%
Muse SparkOh My Pi$1.2158.9%
Kimi-K3Alma$1.5864.1%

The numbers, and their error bars

The variance decomposition is the most useful thing in the report. On log cost per task, the five models explain 92.8% of the spread — list prices differ by 1x to 20x between them. The harness, as a constant effect, explains only 2.3%. And 4.9% belongs to the pair. In other words: with the model fixed, 68% of the variation between harnesses is the pairing, or noise.

That noise was tested. Shuffling trials between harnesses of the same model, 300 times, yields a maximum ratio of 1.2x to 1.8x between "most expensive" and "cheapest". Real ratios run 1.8x to 5.0x — above every shuffle, p = 0.003. So the effect exists, it is just pair-specific. The extreme case: with DeepSeek, OpenCode v1 costs $0.108 per task and Cline CLI $0.545, 5.0 times more, for 2.0 extra points of pass rate.

The ranking itself does not survive a model change. On cost per task, the median harness moves 11 places out of 22. Codex CLI is first with GLM-5.3 ($0.463 per task) and 16th with Kimi-K3. A harness picked from a leaderboard earned on another model is a bet, not a decision.

Second counter-intuitive result: paying more does not buy pass rate. The rank correlation between cost per task and pass rate runs from −0.39 to +0.22 depending on the model. With four of the five models, the most expensive harness per pass passed less often than the cheapest. The harness with the highest pass rate ranked between 5th and 20th of 22 on cost.

The real leverRunta correlated four factors with cost per pass. Start tokens (882 to 21,365), tools offered (1 to 29), cache hit rate (87.0% to 95.7%): no correlation, p ≥ 0.88. Steps per pass (24.8 to 73.5): +0.51, p = 0.015. Every step resends the whole context, and that is where the money goes.

The order of magnitude explains why. One trial consumes 2.0 to 4.8 million input tokens depending on the harness; the largest observed first request, 21,365 tokens, is under 1% of that. A harness with a tiny prompt can therefore be very expensive: mini-SWE-agent starts at 882 tokens — the smallest — but takes 38 steps per pass and lands 17th of 22 on cost per pass. Over all trials, 42% of cost is cache-served input, 33% output, 25% uncached input. Caching helps, it does not offset extra turns.

One last number to keep: 64.5% of billed cost goes to trials that did not pass — 52.7% outright failures, 11.8% timeouts. Optimising pass rate is therefore also a cost optimisation, not only a quality one.

When the benchmark cannot decide

Every cell carries a 95% interval of about ±10 points of pass rate. With DeepSeek, rates run from 54.0% to 69.0% across harnesses: the gap is real in aggregate, but a few points between two neighbouring harnesses is a tie. The bootstrap is harsher still: Codex CLI stays best value with GLM-5.3 in 99.6% of resamples, while the other four winners hold in only 25% to 53%. One result deserves to be quoted as established.

Then there is what the study does not say. The models are open, served by a single provider, at that provider's prices, cache included. Another provider moves the cost ranks; closed models are absent, and the authors say they are next. The ranking reads as a measurement method, not a table to apply verbatim.

Hence the practical rule: re-measure on your own tasks when you change models, with enough attempts to clear the noise, and do not reuse a harness ranking earned on another model. If your stack is single-model and stable, this benchmark tells you nothing actionable — your three most token-hungry tasks will tell you more, for zero dollars. And if the gap between your candidates is under 1.5x in cost for fewer than 5 points of pass rate, decide on something else: compaction quality, readable traces, error recovery.

Checklist: measure before you switch

  1. Pin the versions. The report lists the exact version of every harness; without it a measurement compares to nothing. Record harness, model and provider in the same note.
  2. One fresh environment per trial. Otherwise the second attempt inherits the first one's files and the pass rate rises artificially.
  3. Block agent network egress during the evaluation. 216 of 27,280 trials were voided for reward hacking, 163 of them online lookups: a harness with web access can succeed without solving.
  4. Compute cost per pass, not per task. It is the metric that decides a budget, and the one that penalises harnesses that fail often.
  5. Count steps before you touch the prompt. Steps per pass is the only factor correlated with cost in this study. More aggressive compaction, summarised or truncated tool results, fewer re-reads: that is where the 2x to 5x lives.

Need to compare harnesses and models on your own tasks, audit the cost of an agent pipeline, or train your team on this kind of evaluation? See how we work at Kaleido-Lab.

Frequently asked questions

Another question? Write to me.

Should you really change harness when you change model?

The numbers say yes, probably. Across 22 configurations the cost-per-task ranking moves: the median harness shifts 11 places out of 22 between two models, and Codex CLI goes from 1st with GLM-5.3 to 16th with Kimi-K3. A ranking earned on one model does not transfer to another.

Is the ranking statistically solid?

Partly. Each cell carries a 95% interval of about ±10 points of pass rate, and the bootstrap keeps Codex CLI with GLM-5.3 as best value in 99.6% of resamples. The other four winners hold in only 25% to 53% of resamples: they are the most likely member of a tight group, not clear winners.

Why does cost vary that much at comparable quality?

Because of step count, not prompt size. Across the 22 harnesses, the rank correlation between steps per pass and cost per pass is +0.51 (p = 0.015); it is nil for start tokens (+0.01), tool count (+0.02) and cache hit rate (−0.03, p ≥ 0.88). Every step resends the whole context: one trial consumes 2.0 to 4.8 million input tokens, while the largest observed first request (21,365 tokens) is under 1% of that.

Does it transfer to closed models?

Not directly. The evaluation covers five open models served by a single provider (Baseten), at that provider's list prices, cache included. The authors state the limit themselves: another provider, or closed models, can move the cost ranks. The method, though, reproduces as-is on your own tasks.

Are you paying your agents by the token?

Audit of a production agent pipeline, harness and model comparison on your own tasks, or a scoping of an evaluation that holds up in front of a client: describe your context and I answer with a first opinion and next steps, no strings attached.

Read next