HarnessTax paper: same model, Claude Code costs 2.1x Pi with no success gain
omarsar0 · x · 2026-12-04
A UC Berkeley/Arena team presents HarnessTax, the first systematic study of how production coding-agent harnesses (Claude Code, Codex CLI, open-source Pi) affect cost and success rates, evaluating eight models across SWE-bench Lite, Terminal-Bench 2.0/4.0, and Terminal-Bench Science 0.1.
Key findings:
- For a fixed model, the harness barely moves success rates but has a large effect on cost — the "harness tax."
- Claude Fable 5 on Terminal-Bench 4.0 costs 2.1x more per run in Claude Code than in Pi, with no statistically detectable success gap and only 1.3x as many turns.
- The bulk of extra cost comes from the system prompt, tool definitions, and accumulated context re-sent on every call — including tools the model never uses.
- Pi, with just four tools, sits on the cost-success Pareto frontier on every benchmark; models perform competently outside their vendor's harness.
- Component ablations: enabling subagents in Codex tripled cost on Terminal-Bench 2.0 with no success improvement.
Takeaway: to cut coding-agent bills, switch to a simpler harness before switching models.
More from coding & agent
- Antigravity agent accepts absurd dare to draw a figure in C++ feature by feature — MickeySteamboat · 2026-12-06
- Chrome DevTools for Agents Lets AI Test and Optimize Real Websites in Google Antigravity — goyalshaliniuk · 2026-12-06
- Solo Dev: AI Finally Makes Building a Game Entirely Alone Possible — yacineMTB · 2026-12-06
- Duke brings Rashomon-set geometry and a +18pt programmatic-memory agent to NeurIPS — shuyanzh36 · 2026-12-06
- Open-source Blender skills let AI agents produce full 3D animation pipeline in Python — Promptmethus · 2026-12-06
- Three questions to ask before automating anything: cadence, human review, failure signals — jesseweimer · 2026-12-06