Summary
A controlled study finds coding-agent harnesses like Claude Code and OpenCode barely beat simple setups on pass rates, yet can triple cost per task.
Introduction: Is the Fancy Wrapper Worth It?
Every week, it seems, a new tool promises to make AI coding assistants smarter. But a new controlled study suggests that the wrapper around the model may matter far less than advertised. The paper’s title says it plainly: “What does a harness buy? Mostly tokens.” (Tokens are the chunks of text a model reads and writes, and they are what you pay for.)
Key Facts: What the Study Found
Two researchers at Shandong University, Liu and Han, held the model constant and swapped the harness. A harness is the system prompt, tools, and context management that let a model work inside a code repository. Think of the model as a driver and the harness as the car’s dashboard and controls.
- They tested three harnesses in their shipped versions: Claude Code, OpenCode, and mini-SWE-agent.
- Five models were used: Qwen3.6, Qwen3.8, Deepseek-V4-Flash, GLM-5.3-Flash, and HY4-Preview. Claude Opus 5 ran only in Claude Code, as a reference.
- Tasks came from SWE-bench Verified: the 45 hardest tasks plus a pool of 447 more.
- On the 447-task pool, Claude Code and mini-SWE-agent, the heaviest and lightest harnesses, were less than two points apart for both tested models.
- Pure reruns of the same setup vary by up to six points on SWE-bench Verified, according to the authors.
- Cost per task, however, can triple, driven mainly by the system prompt resent with every step.
“Swapping harnesses barely moves results more than running the same setup twice, but costs can triple.”
Technical Background: Signal vs. Noise
mini-SWE-agent gives the model only a Bash tool and skips context management. Claude Code and OpenCode add specialized file and search tools, long system prompts, and automatic history compression. You might expect the richer toolkits to win, especially on the hardest tasks. Instead, harnesses differed by two to five solved tasks per model on the 45 hardest tasks, while a simple rerun shifted the count by up to three. Sometimes mini-SWE-agent led, sometimes Claude Code.
Earlier studies reported gaps of more than 20 points between harnesses, but the authors say those numbers almost always come from a single run. Zhipu AI, for instance, advertises its own harness with a 2.4-point lead over Claude Code, a margin that falls within the noise range. Harnesses are also often wired into benchmarks differently, which muddies comparisons further.
A Side Finding: Web Access
In early tests with web access, 71 percent of Deepseek and Qwen model attempts pulled the correct fix straight from GitHub. Claude models almost never did. The researchers discarded those results and do not claim any maker trained on test data, but they ran all remaining tests offline.
Global Implications
For teams and companies paying for AI coding tools, the lesson is to be skeptical of small leaderboard gains from a single run. Since a long system prompt is resent at every step, a heavier harness can quietly inflate bills without a clear quality benefit. For benchmark makers, the study argues for repeated runs and consistent integration. The excerpt was cut off, so further details, such as the full flip-rate figures, are not covered here.
Conclusion and Outlook
The study does not say harnesses are useless; it says their measured benefit is often within normal run-to-run variation, while their cost is not. Expect more pressure for multiple-run reporting and cost-per-task metrics. Until then, a simple setup may be a perfectly good place to start.
Stock Market Impact Analysis
Publicly traded companies directly or indirectly affected by this news. Always conduct independent research before making investment decisions.
| Ticker | Company | Price | Change | Detail |
|---|---|---|---|---|
| AMZN | Amazon | 248.00 | ▼ -1.12% | Yahoo ↗ |
| GOOGL | Alphabet | 320.21 | ▼ -1.26% | Yahoo ↗ |
Investor Impact by Stock
Anthropic’s Claude Code was tested; Amazon is a major Anthropic investor. Findings on cost are neutral, though token-heavy usage can support cloud revenue.
As an Anthropic investor and a cloud provider, it is neutral to slightly positive, since high token consumption drives compute demand.
※ Price data via yfinance (may include after-hours). Retrieved: 2026-10-25 00:03 UTC
🛒 Recommended Gear
- The Agentic AI Bible — Building Goal-Driven LLM Agents
- Build a Reasoning Model From Scratch (Sebastian Raschka)
As an Amazon Associate, this site earns from qualifying purchases.
Sources (1 articles)
※ This article synthesizes and analyzes the above sources. Generated: 2026-10-25 00:03
AI & Robotics Newsletter
Subscribe for English AI & Robotics news every Mon & Thu.