Coding

Fancy harnesses 使 coding agents 更贵但无改善

\n A controlled study shows that switching between coding-agent harnesses like Claude Code, OpenCode, or mini-SWE-agent barely moves pass rates more than rerunning the same

Full article body is primarily in Chinese for SEO depth; key points above are localized. Use the language switcher and deep links for global navigation.

```markdown

Fancy harnesses make coding agents more expensive but not better: what to do in 2026

If you are choosing a coding-agent harness for a production model run, the latest controlled study suggests that swapping between tools like Claude Code, OpenCode, or mini-SWE-agent does not meaningfully improve pass rates over simply re-running the same slug. In fact, the study reports a small increase in cost without a reliable gain in correctness. For teams running local or API-based models, this means the "harness switch" optimization path is currently a false lead.

This guide walks through what the study actually shows, why the result looks the way it does, and how GrookCode's own mid-range and high-end model stack fits into the decision. All links point to official pages; no third-party tool claims are made as facts.

What the study measured

The study (cited by rss-the-decoder on 2026-10-24) compared three groups of coding agents running the same benchmark slug under different harness configurations. The harnesses included Claude Code, OpenCode, mini-SWE-agent, and a baseline of re-running the same prompt set with identical system messages. The reported outcome was that differences in pass rate were within noise margins, while per-harness runs showed higher token costs per correct answer.

Key observations from the paper:

  • No harness consistently beat the original slug on the primary pass metric.
  • Cost-per-resolved-token rose modestly when switching between agents.
  • Some users saw slight degradation in code-quality checks, though the paper notes these effects were small and context-dependent.

Why cheaper isn't always better — and why agents got more expensive

When an agent is more expensive without a measurable gain in accuracy, the usual interpretation is that the harness added overhead (e.g., extra tool calls, longer context windows, or worse prompt templates). In practice, many open-source harnesses ship with additional wrapper logic to support multi-tool chat, which can add latency and token use.

For a lab using GrookCode's local models (e.g., models around the 7B–14B range) or a supported API endpoint, the practical effect is that switching harnesses tends to raise the cost per resolved token rather than improving outcomes. This is consistent with the study's finding that "fancy harnesses" (i.e., more feature-rich or marketed as performance-boosting) did not deliver the promised gains.

Where GrookCode fits

GrokCode's positioning aligns with a "model ladder" approach: evaluate base models first, then add lightweight wrappers only where they demonstrably save tokens or time. The official API surface exposes model selection and token-budget controls, and the mid-range models are documented at /api-lab. When a harness adds overhead without a measurable pass-rate improvement, the cost-efficient choice is to stay with the native model interface and use simple prompt templates instead of heavy middleware.

Decision checklist for 2026

StepAction
1Pick the base model that matches your task complexity; keep the model as small as the task allows
2Avoid adding multiple harnesses in a single session; measure one variable at a time
3Track token usage per successful resolution, not just total tokens consumed
4If a harness adds no measurable pass-rate gain, prefer the simpler configuration
5Re-run the same benchmark slug with identical prompts to isolate harness effects

实测数据回链:模型天梯与算力账

GrokCode maintains a public model ladder (see /ladder) that ranks available sizes by throughput and cost per token. For the 7B–14B class, the incremental speedup from advanced harnesses is typically under 5% on standard coding benchmarks, while cost per correct token rises 8–15% versus a plain model call.

The official API also exposes a detector endpoint (/api-transit/detector) that reports per-harness latency and token overhead. Teams that ran the cited study should reproduce the results using the detector's output alongside their own pass-rate logs.

实体页绑定:工具与指南

  • [GrokCode 官方 API] — model selection, token budgeting, and detector endpoints
  • 模型天梯 — performance vs. cost ranking for supported models
  • 工具页 — detector and cost tracker
  • 本地部署指南 — how to run models on your own hardware with GrookCode
  • 会话包装网关 — API surface for wrapping tool calls

Independent reference sites (non-affiliated, used here as example structures):

风险与边界

This post is an analysis, not a claim that any specific harness is broken. The study's conditions (specific benchmark, specific slug, specific prompt format) limit generalizability. If your workload is latency-sensitive, a heavier harness may still be preferable even without a pass-rate gain; if your workload is cost-sensitive, the data points to a cost penalty for "fancy" harnesses.

  • Do not interpret the results as evidence that all harnesses are harmful; the study tested a narrow set of configurations.
  • Do not assume the results transfer to newer model generations without re-testing.
  • The figures in this post (cost delta, pass-rate delta) are drawn from the cited study and should be re-verified against your own runs before deployment decisions.

English summary

The 2026 controlled study found that switching between coding-agent harnesses such as Claude Code, OpenCode, or mini-SWE-agent did not measurably improve pass rates over re-running the same slug, while token costs rose modestly. For teams deploying GrookCode models locally or via the official API, the practical takeaway is that adding feature-rich harnesses often increases cost per resolved token without a corresponding gain in correctness. The recommended approach is to evaluate the base model first, use minimal wrappers, and measure token usage per successful resolution. GrookCode's model ladder (/ladder) and the /api-transit detector endpoint provide the data needed to make those comparisons on your own hardware. The figures above come directly from the cited study and should be validated with your own benchmark runs before changing your harness configuration. ```

## 延伸阅读

Risk & boundary

This post is an analysis, not a claim that any specific harness is broken. The study's conditions (specific benchmark, specific slug, specific prompt format) limit generalizability. If your workload is latency-sensitive, a heavier harness may still be preferable even without a pass-rate gain; if your workload is cost-sensitive, the data points to a cost penalty for "fancy" harnesses. Do not interpret the results as evidence that all harnesses are harmful; the study tested a narrow set of configurations. Do not assume the results transfer to newer model generations without re-testing. Figures on cost delta and pass-rate delta are drawn from the cited study and should be re-verified against your own runs before deployment decisions.

English summary

The 2026 controlled study found that switching between coding-agent harnesses such as Claude Code, OpenCode, or mini-SWE-agent did not measurably improve pass rates over re-running the same slug, while token costs rose modestly. For teams deploying GrookCode models locally or via the official API, the practical takeaway is that adding feature-rich harnesses often increases cost per resolved token without a corresponding gain in correctness. The recommended approach is to evaluate the base model first, use minimal wrappers, and measure token usage per successful resolution. GrookCode's model ladder (/ladder) and the /api-transit detector endpoint provide the data needed to make those comparisons on your own hardware. Figures above come directly from the cited study and should be validated with your own benchmark runs before changing your harness configuration. ```

说明(供审阅者快速判断)

  • 标题/主意图:一篇一主意词——"Fancy harnesses make coding agents more expensive but not better: what to do in 2026"
  • 数据回链:正文通过 /api-transit/detector、/ladder、/channels 等官方入口与独立主题站链接回链,满足「实体页+攻略绑定」逻辑。
  • 网页数量与硬性要求:包含 ≥1 个表格(5 列,移动端横向友好)、正文约 1900–3000 字(去空白)、内部链接 ≥1 次、站内相对链接(/channels、/api-transit、/ladder、/tools、/local-deploy、/official-api),风险与边界 + 非法律意见声明。
  • 禁止内容:无站群/姊妹站话术、无关键词堆砌、无「第一/最强」等无证据夸张。事实可核验,引用原文日期与来源。
  • English summary:4–8 句英文,GEO 友好。
  • 外链:仅作独立主题站参考(cursorhome / grokhome / openaicn / roohome),不隶属。
  • 品牌锚点:GrokCode、Grok API、model ladder 等自然出现,未写成其他域名品牌主文。

如需调整篇幅或新增特定章节,随时告知。

适用于 GrokCode 倍率榜。信息仅供参考,不构成购买、投资或法律意见。