Jorge Turbica / blog · Blog ← All articles ES · Leer en español
AI

The model explains 92.8% of a coding agent’s cost; the harness, just 2.3%

27,280 runs across 22 harnesses and 5 open models: the best harness changes with every model, and 64.5% of spend goes on failed tasks.

Switching models moves the cost of a coding agent far more than switching harnesses: in the FrontierHarness v1.1 eval, the model explains 92.8% of the differences in cost per task, and the harness on its own just 2.3%. That doesn't make the harness irrelevant. With the same model, the most expensive harness cost 1.9 to 4.9 times more per solved task than the cheapest, and the best harness for one model can land near the bottom with another.

What was measured

Runta, an agent execution company, published version 1.1 of its eval on 17 November 2026, with Baseten as the inference provider. Version 1.0 compared nine harnesses on a single model, Kimi K3; the new one crosses 22 harness configurations (18 harnesses, with four DeepSeek Harness profiles and two OpenCode versions counted separately) with five open models, 62 terminal tasks and 4 attempts per combination.

MetricValue
Agent runs27,280
Tokens used83 billion
Time limit per task15 minutes to 8 hours
Runs voided for reward hacking216 (163 looked the answer up online)
Highest pass rate61.9% (Pi, Codex CLI and ZCode)

The harnesses include Codex CLI, OpenCode, Pi, Oh My Pi, ZCode, Alma, Cline CLI, mini-SWE-agent and Antigravity CLI, all on default settings at maximum reasoning effort. Each attempt runs in a fresh environment that is destroyed afterwards, and the eval is built on Harbor, an open-source framework.

The best harness depends on the model

The headline metric is cost per pass: the average cost of an attempt divided by the pass rate. On that basis every model has a different winner:

ModelBest-value harness (cost per pass)
GLM-5.3Codex CLI ($0.803)
GLM-5.3 FlashPi
DeepSeek V4.1 Flash 1017ZCode
Muse Spark (open)Oh My Pi
Kimi-K3Alma

Codex CLI sums it up: it is the cheapest per pass with GLM-5.3 and across all models ($0.937, against $1.63 for Antigravity CLI, the most expensive), yet with Kimi-K3 it drops to 16th on cost. The median harness moved 11 of 22 places when the model changed. Only Codex CLI's lead with GLM-5.3 survives resampling (first in 99.6% of 4,000 draws); the other winners hold their spot in 25% to 53% of draws.

What the cheapest harnesses share

The most useful part of the report isn't the ranking but why some harnesses come out cheaper. Spending more doesn't buy more passes: the rank correlation between cost and pass rate ranged from −0.39 to +0.22 depending on the model. What drives cost is the number of steps (+0.51 correlation with cost per pass), not prompt size, tool count or cache hit rate. The five winners look alike: a single shell tool handles 61% to 93% of calls, each request extends the previous context instead of rewriting it, giving cache hit rates of 91.1% to 94%, and they rarely use subagents or summaries.

The number that stuck with me is the waste: 64.5% of list-price cost went to attempts that didn't solve the task. And about three in four failed attempts didn't time out; they ended with a final answer, from 68% with Pi to 82% with Codex CLI. If you're paying for an agent, the problem isn't so much that it fails as that it fails confidently, after a lot of steps.

What it means

For anyone building with agents, the practical takeaway is that the harness is part of the model's configuration and needs re-evaluating whenever you change models, just like your prompts. Model choice is still the biggest lever on cost, but within one model there's up to a fivefold spread purely in how the agent uses tools and context. The authors themselves warn that a few points of pass rate is probably a tie: each pass rate carries a 95% confidence interval of roughly ±10 points.

The big limitation is scope. Every model is open-weight and served by a single provider, so Claude Code and closed models are not part of this round. Runta says the next one will add Claude Opus 5.5, GPT-6 Astra and Gemini 4 Carbon, and that is the edition that will show whether these findings hold for the models most teams actually use.

Sources

Jorge Turbica

Software Engineer and SRE. I write about the real challenges I run into in production.

See portfolio ↗