Coding Agent评测:Harness选择显著影响成本
Keep your harnesses simple, folks.
做 Coding Agent 的同学必看,这篇实测数据直接证明了“简单即正义”,换用轻量级 Harness 能大幅降本而不牺牲效果,建议参考其配置取舍。
Keep your harnesses simple, folks.
各位,请保持你的 harness(运行框架)简洁。
They suggest that to lower coding-agent bills, it may be worth switching harnesses while keeping the model.
他们建议,为了降低编码智能体的账单费用,在保留模型的同时切换 harness 可能是值得的。
The team ran eight models in Claude Code, Codex, and Pi on SWE-bench Lite and Terminal-Bench.
团队在 SWE-bench Lite 和 Terminal-Bench 上对 Claude Code、Codex 和 Pi 中的八个模型进行了测试。
For a fixed model, success rates barely moved across harnesses. However, cost moved a lot.
对于固定模型,不同 harness 之间的成功率几乎没有变化。然而,成本却发生了很大变化。
With Claude Fable 5 on Terminal-Bench 4.0, Claude Code cost 2.1x as much as Pi, with no statistically detectable difference in success.
在 Terminal-Bench 4.0 上使用 Claude Fable 5 时,Claude Code 的成本是 Pi 的 2.1 倍,而成功率没有统计学上的显著差异。
The bulk of that extra cost comes from the system prompt, tool definitions, and context that get re-sent on every call. That includes definitions of tools the model never uses.
大部分额外成本来自系统提示词、工具定义以及在每次调用时重新发送的上下文。其中包括模型从未使用过的工具定义。
Pi has four tools and sat on the cost-success Pareto frontier on every benchmark. Turning on subagents in Codex tripled cost on Terminal-Bench 2.0 with no gain in success.
Pi 只有四个工具,并且在每个基准测试中都处于成本-成功率的帕累托前沿。在 Codex 中启用子代理使 Terminal-Bench 2.0 的成本增加了三倍,但成功率没有任何提升。
https://arxiv.org/abs/2612.05657
Chat with Paper: https://academy.dair.ai/papers/harnesstax-how-much-does-the-harness-matter-for-coding-agents-2612.05657
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力