More elaborate harnesses made coding agents substantially more expensive in a controlled study, without reliably improving their success rates. With the same model, the cost per task varied by as much as threefold across harnesses; differences in task-solving performance were often no larger than those between repeated runs of the same setup.
The researchers compared Claude Code, OpenCode, and mini-SWE-agent using five models on SWE-bench Verified. A harness includes elements such as the system prompt, tools, and context management. On a pool of 447 tasks, Claude Code and mini-SWE-agent differed by less than two percentage points for the tested models. Results on the 45 hardest tasks varied more, including between repeated runs.
The study attributes most of the cost differences to system prompts and tool descriptions of varying length, which are sent again at every step. Claude Code used about 16,600 tokens for these elements, compared with roughly 7,000 for OpenCode and fewer than 1,000 for mini-SWE-agent. OpenCode was the only harness with a measurable performance disadvantage on the larger task pool; the authors suggest possible technical factors but also note uncontrolled differences.
The findings have limits: the study relies mainly on one benchmark, and a closed leading model was tested only with Claude Code. The researchers recommend publishing repeat runs when comparing harnesses. The original report provides further detail on the experimental setup, cost measurements, and limitations.
🇩🇪 https://the-decoder.de/aufwendige-harnesses-machen-coding-agenten-teurer-aber-nicht-besser