HarnessTax: same success, very different bill
TL;DR. HarnessTax runs eight models in Claude Code, Codex and Pi on SWE-bench Lite and Terminal-Bench 2.0, 4.0 and Science. For a fixed model the harness barely moves success but moves cost a lot (Claude Code 2.1x Pi with Claude Fable 5 on Terminal-Bench 4.0), mostly through re-sent system prompts, tool definitions and context.
flowchart LR
T["Task<br/><small>same model, same test</small>"] --> H["Harness<br/><small>Claude Code, Codex, Pi</small>"]
H --> R["Resent text<br/><small>prompt, tools, history</small>"]
R --> M["Model call<br/><small>repeats each step</small>"]
M -->|loop| H
M --> S["Success<br/><small>rarely differs</small>"]
R --> C["Token bill<br/><small>differs by multiples</small>"]
classDef input fill:#d0ebff,stroke:#1971c2,color:#1b1b1b,stroke-width:2px
classDef loop fill:#fff3bf,stroke:#f08c00,color:#1b1b1b,stroke-width:2px
classDef core fill:#e5dbff,stroke:#6741d9,color:#1b1b1b,stroke-width:2px
classDef exit fill:#d3f9d8,stroke:#2f9e44,color:#1b1b1b,stroke-width:2px
classDef err fill:#ffe3e3,stroke:#e03131,color:#1b1b1b,stroke-width:2px
class T input
class H loop
class M core
class S exit
class R,C err
linkStyle 3 stroke:#f08c00,stroke-width:2px
linkStyle 4 stroke:#2f9e44,stroke-width:2px
linkStyle 5 stroke:#e03131,stroke-width:2px
With Claude Fable 5 on Terminal-Bench 4.0, Claude Code cost 2.1x as much as the four-tool harness Pi, with no detectable success gap.
What is it about? A harness is the program around a model that gives it tools and manages its text. This study prices three of them.
What problem does it solve? Teams compare models and rarely measure what the wrapper adds to the bill.
What's the core novelty? Eight models run in Claude Code, Codex and Pi on SWE-bench Lite and three Terminal-Bench suites. Five harness parts are then changed one at a time.
Key takeaways
- Much of the extra cost is system prompt, tool definitions and history re-sent on every call, including tools never used.
- Pi sits on the cost and success frontier (nothing is both cheaper and better) on every benchmark.
- Turning on Codex subagents tripled cost on Terminal-Bench 2.0 with no success gain.
- Models often do as well outside their own maker's harness, at lower cost.
Gaps in the study No detectable difference is not proof of equality at these sample sizes. Coding and terminal tasks only.
Industrial implication Audit resent tokens before switching models. It partly agrees with Microsoft's Freehand (a minimal harness covered 12-03 that claimed +5.1 points at 49% lower cost): both favour thinner wrappers, but HarnessTax rarely sees success move. The two were not tested against each other. Practitioner adapters that tune Qwen4 to specific harnesses go the other way and fit the model to the wrapper.
Relation to prior wiki pages
- Partly confirms Freehand (12-03, minimal harness cheaper); tension on whether thin harnesses also raise success.
- Addresses the question in the 12-04 harness leaderboard audit (2612.00693) of whether a harness helps one model more than another, with a controlled study.
Links: Paper · DAIR page
Concepts: agent-harness-engineering
Raw source: raw/twitter/feed (private capture) and the arXiv abstract