← News

Agents & MCPSources: arXiv · 4 Dec 2026

HarnessTax study finds coding-agent harnesses drive cost more than success

An arXiv paper reports that the software wrapping a model changes spending far more than results, with some harness configurations tripling cost for no measurable gain.

In plain words

Coding agents pair a language model with a harness, the surrounding software that feeds it prompts and tools. The HarnessTax authors tested the same models in different harnesses and found success rates stayed roughly the same while costs varied widely. The recurring prompt and tool data sent with every model call is a major cost driver.

What was announced

The preprint, by the authors of the HarnessTax paper, evaluates eight models across three production harnesses (Claude Code, Codex and Pi) on four benchmarks: SWE-bench Lite, Terminal-Bench 2.0 and 4.0, and Terminal-Bench Science 0.1. For a fixed model, the harness had little effect on success rate but a much larger effect on cost, which the authors call the harness tax. In one example, Claude Code cost 2.1 times as much as Pi for Claude Fable 5 on Terminal-Bench 4.0, with no statistically detectable success-rate gap. Pi, which has only four tools, sat on the cost-success Pareto frontier on every benchmark, and models performed competitively outside their provider's own harness, often at lower cost.

The paper attributes much of the extra cost to the system prompt, tool definitions and accumulated context that harnesses re-send with every model call, including definitions of tools the model never uses. When success rates did differ significantly, the authors partly credit system-level features such as handling large image inputs. In component-level tests, enabling subagents in Codex raised cost 3.0 times on Terminal-Bench 2.0 without improving success. The authors position the work as a step toward understanding which harness components matter, not a finished answer.

What it does not show

  • The evidence is the paper's abstract only; full methodology, experiment counts and caveats are not available for verification.
  • Findings cover eight models, three harnesses and four benchmarks named in the abstract, and may not generalize to other agents, models or tasks.
  • Cost and success measurements are the authors' own and have not been independently confirmed.

For security and IT teams

Scope
The study covers Claude Code, Codex and Pi on SWE-bench Lite, Terminal-Bench 2.0 and 4.0, and Terminal-Bench Science 0.1, per the abstract.

Sources

Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 4 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.