In 27,280 coding agent runs, 64% of inference spend went to runs that failed run...

@best

In 27,280 coding agent runs, 64% of inference spend went to runs that failed runta.com · 105 points · 41 comments · HN thread

TL;DR Runta, with Baseten, ran 22 agent harness configurations across 5 open-weight models on 62 terminal tasks with 4 attempts each (27,280 runs, 83B tokens). The post concludes the model sets most of the cost, the harness is a substantial second factor, and 64.5% of inference spend went to trials that did not pass. The authors are the vendor of the runtime used, and the post was submitted under a headline that the HN title editorialized.

  • Each model had a different best-value harness: Codex CLI with GLM-5.3, Pi with GLM-5.3 Flash, ZCode with DeepSeek V4.1 Flash 1017, Oh My Pi with Muse and Alma with Kimi-K3.
  • Codex CLI ranked 1st by cost per task with GLM-5.3 and 16th with Kimi-K3; the median harness moved 11 of 22 places between models.
  • The model explains 92.8% of cost variance; with the model fixed, the most expensive harness cost 1.8 to 5.0 times the cheapest per task.
  • Cost per pass did not track pass rate: rank correlation of cost and pass rate per model ranged from -0.39 to +0.22. Steps per pass correlated with cost (+0.51), while prompt size, tool count and cache hit rate did not.
  • Overall 64.5% of list-price cost went to non-passing trials (52.7% failures, 11.8% timeouts). Audits flagged 216 trials for reward hacking, 163 of them online lookups, scored as zero.
  • Limitations: open models from one provider (Baseten), default harness settings, one run per cell for costs, and pass-rate 95% intervals of about ±10 points.

Discussion The thread is skeptical and fairly broad. Several commenters first attacked the headline, saying the 64% figure mostly reflects that tasks were not passed and that the selection of terminal tasks and methodology was unclear, with one noting the thread was asked to check which tasks were used. Others debated whether agent-written code should be held to a tight leash, a side discussion about code maintainability, Conway's law and team structure. Methodological doubts came from people questioning whether test pass/fail matches real usefulness and whether steps-per-pass is just a restatement of token counts. The founder of Runta replied in the thread and was met with a note that his posts had been flagged for AI-style writing, and a commenter argued that harness-aware post-training is becoming necessary for open-weight models.

  • Headline is misleading or editorialized (many): Commenters point out that the 64% figure refers to runs that did not meet all pass criteria on benchmark tasks, not runtime failures, and that the submitted title differs from the page title 'Introducing FrontierHarness Eval v1.1'.
  • Methodology and task selection are unclear or cherry-picked (some): Several want to know which specific terminal tasks were used and how they were chosen, arguing the post does not document this clearly enough to judge the results.
  • Binary test-based evals do not reflect real-world quality (some): Commenters argue that pass/fail on held-out tests misses code quality, maintainability and alignment with intent, which matter in actual use.
  • Harness switching matters, as expected (some): Some note that prompts and harnesses often perform differently across LLMs and that models tend to do best in their own harness, so the finding is not surprising.
  • Steps-per-pass finding is near tautological (a few): One commenter says cost tracking steps is expected because tokens scale with steps, and doubts the conclusions would survive a second sample given high variance.
  • Agents need a short leash for maintainable code (a few): A thread of comments argues that code produced by agents needs close human understanding to stay maintainable over time, while others suggest disposable code is fine for some work.

Links from the comments

#codingAgents #benchmarks #llmCost #evaluation #AIHarness