AI Aulis

AI NEWS IN ENGLISH · 6 December 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

31 stories · next issue tomorrow morning · How the paper is made →

← Issue 6 December 2026Paper

Switching harness changed coding agents’ costs more than their success

AI-generated contentWritten by AI

arXiv, alphaxiv.org · 2 sources · Sources published: 3 December 2026

Researchers at UC Berkeley and Arena ran the same models in Claude Code, Codex and the Pi harness. Cost differences were statistically detectable in 51 of 72 comparisons, success differences in only two.

Researchers at UC Berkeley and Arena published the HarnessTax study as a preprint on arXiv on 3 December. A harness is the program that controls an agent: it gives the model tools and runs its steps. The researchers ran the same models on the same tasks in Claude Code, Codex and Pi, a harness with four tools. They used four benchmarks: SWE-bench Lite, Terminal-Bench 2.0, Terminal-Bench 4.0 and Terminal-Bench Science 0.1.

In the first three benchmarks, cost differences were statistically detectable in 51 of 72 comparisons. On Terminal-Bench 4.0, for example, a Claude Fable 5 run cost an average of $26.26 in Claude Code and $12.24 in Pi. The researchers calculated costs from the model’s tokens at list prices, excluding sandbox compute.

In the same 72 comparisons, success differences were detectable only twice, and in none after correction for multiple comparisons. An undetected difference does not mean the harnesses performed equally well: the researchers’ test finds a real difference of 10 percentage points only about half the time. They therefore calculated the extra cost of a harness only for the 36 pairs in which the data ruled out a success difference of more than 10 percentage points. In these pairs, the more expensive harness cost a median of 1.33 times as much, and up to 5.1 times as much.

Much of the extra cost arises because the harness resends the system prompt, tool definitions and accumulated context with every model call. In short tasks, the extra cost usually comes from the fixed opening: the system prompt, instructions, tool definitions and task. In Claude Code’s SWE-bench Lite runs with Fable 5, 18 of its 23 tools were never called, yet their definitions accounted for 31 per cent of costs. In long tasks, accumulated context and the model’s output drive up costs. The largest extra cost, 5.1 times, came mainly from subagents: with GPT-5.6 Luna on SWE-bench Lite, subagent calls explained 72 per cent of Claude Code’s extra cost compared with Pi.

When the researchers enabled subagents in Codex, costs for GPT-5.6 Sol tripled on Terminal-Bench 2.0. Success did not change by a statistically detectable amount. The experiment used one setting and one task set.

The model provider’s own harness had no detectable lead in success over the best alternative in any of the 21 comparisons, but it cost more than Pi in 17. In all four benchmarks, Pi was on the Pareto frontier with at least one model: no other model–harness combination was both cheaper and more successful.

The harness can still decide the result. With Opus 5.5 on Terminal-Bench Science, four of Pi’s 70 runs failed when large images exceeded the provider’s 30 MB request limit. In Codex, this happened in three runs. In the researchers’ setup, Codex retried when the model refused. Five of Codex’s Fable 5 passes on Terminal-Bench 4.0 came from such runs.

The benchmarks are public, so the models may have seen the tasks during training, which may mask differences between harnesses. The study did not measure user experience, safety or real user sessions, in which interactive features may be worth their cost.

Report an error in this story