Study finds coding-agent harnesses change SWE-bench pass rates about as much as reruns, while raising token costs up to threefold
Two Shandong University researchers (Liu and Han) published a paper, "What does a harness buy? Mostly tokens.", testing five models in three harnesses (Claude Code, OpenCode, mini-SWE-agent) on SWE-bench Verified (45 hardest tasks plus 447 more) with a small Terminal-Bench 2.1 cross-check. Differences between harnesses were mostly within rerun noise (up to about 6 points). Claude Code and mini-SWE-agent were less than 2 points apart on the large pool. OpenCode trailed by up to 9 points. Per-task cost varied up to 3x, driven mainly by system prompt size (about 16,600 tokens for Claude Code, about 7,000 for OpenCode, under 1,000 for mini-SWE-agent). Data and analysis scripts were released on GitHub.
Entities: Shandong University, Liu, Han, Claude Code, OpenCode, mini-SWE-agent
0 primary
What happened
Two Shandong University researchers, Liu and Han, published a paper called "What does a harness buy? Mostly tokens." They tested five models in three coding-agent harnesses (Claude Code, OpenCode and mini-SWE-agent) on SWE-bench Verified (the 45 hardest tasks plus 447 others), with a small Terminal-Bench 2.1 cross-check. Differences between harnesses were mostly within rerun noise, which was up to about 6 points. Claude Code and mini-SWE-agent were under 2 points apart on the large pool, while OpenCode trailed by up to 9 points. Cost per task varied by up to 3x, mainly because of system prompt size: about 16,600 tokens for Claude Code, about 7,000 for OpenCode and under 1,000 for mini-SWE-agent. The authors say they released data and analysis scripts on GitHub, though the coverage we have does not link the paper or repo.
Why it matters
Teams choosing a coding-agent harness have a reason to weigh token cost more heavily, because a leaner harness appears to match a heavier one on pass rate at a fraction of the prompt overhead. It also gives buyers and researchers a practical rule: any claimed harness-driven benchmark gain, such as Zhipu's 2.4-point lead over Claude Code, should come with a rerun of the same setup to show the gap exceeds noise. The impact is moderate. This is a measurement study of one benchmark family with a limited set of models, not a deployed change, and it says little about real codebases.
What is noise
The headline "not better" overstates the result: OpenCode trailed by up to 9 points, so harnesses are not interchangeable. Pass rate on SWE-bench is also a narrow measure, so it does not show that harness features such as tooling, permissions or workflow support have no value. The coverage is secondhand, from The Decoder, and we have not checked the paper's statistics ourselves.
Watch next
- 01Independent replication of the rerun-noise finding, or a published rebuttal, on SWE-bench Verified or newer benchmarks with different models and tasks.
- 02Whether vendors or leaderboard maintainers (for example Zhipu, Anthropic and the SWE-bench team) start reporting repeated-run variance and token cost alongside pass rates in the coming months.
- 03Whether the GitHub data and scripts match the paper's figures when others inspect them, especially the claim of up to 3x cost differences driven by system prompt size.
Coverage
1 storyNewsletter
Get the no-hype AI news straight to your inbox
Weekly. No spam, unsubscribe any time. Privacy
More economics signals
Full feed →- NYT-led publishers file summary judgment brief citing internal OpenAI/Microsoft messages calling AI training "astonishing theft" and admitting chatbots substitute for journalism18 Sept 202686
- Deepseek releases V4.1-Flash, an open-source model that sharply cuts KV cache memory and input-processing compute for AI agents10 Sept 202682
- OpenAI launches GPT-6 Sol and Luna at half the token price of GPT-5.6, with roughly flat intelligence scores per independent analysis22 Sept 202680
- Hcompany open-sources NeoMME, a from-scratch multimodal-native encoder family, and NeoMME-Retriever for visual document retrieval3 Sept 202679