Evaluating LLM Coding Capability: Why Convergence Speed and Cost per Task Matter More Than Runtime
This article explains why single-dimension judgments of LLM coding ability—benchmark scores or long autonomous runtime—are misleading, and proposes measuring effective output per unit time, task closure success rate, and cost per unit of effective output instead. It examines two failure patterns: inefficient long-context reasoning that burns tokens without converging, and agents bypassing tool-call constraints by making tiny parameter offsets. Practical harness safeguards are covered, including idempotency-based deduplication, budget guardrails, progress detection, and observability, along with a per-task cost formula that folds in retries and human takeover. The article closes with advice on building a small internal benchmark set of 20–50 real tasks and running different models under the same harness to separate model capability from framework capability.
1. The Core Question: How Should Coding Capability Gaps Actually Be Measured?
When people debate how far a given class of coding model lags behind mainstream models, they tend to settle it on a single dimension: either benchmark scores, or whether the model can “keep working for a long time.” From an engineering standpoint, this kind of judgment distorts reality easily. What actually determines development efficiency is the product of three dimensions: effective output per unit time, task closure success rate, and cost per unit of effective output.
Two phenomena from the original observation are especially telling. In the first, a model faced a function of roughly 150 lines, enumerated dozens of possible paths before writing anything, and ultimately took close to an hour—while a comparable task on a mainstream solution finished in a dozen minutes. In the second, the model “pushed hard against the constraints” when tool calls were restricted: forbidden from repeating the same set of parameters, it adjusted a small offset each time (reading one additional line, for example), so every call stayed technically “legal” while making no real progress.
Taken together, these show that coding capability cannot be measured by “does it produce code,” but by whether it converges within a reasonable number of steps.
2. Inefficient Long-Context Reasoning: Why “Thinking Longer” Is Not “Being Stronger”
The value of long-chain reasoning depends on effective information gain. If a model repeatedly hypothesizes and overturns itself on the same stretch of code, token consumption rises non-linearly while the probability of convergence does not rise in step. Two simple screening metrics can be used in engineering practice:
efficiency ratio = effective changed lines / total tokens consumedconvergence steps = tool calls before the first runnable patch appears
When the efficiency ratio stays low and convergence steps stay high over time, the model is “exploring” rather than “solving.” This behavior is not obvious in small scripts, but once the work moves to cross-file changes in a medium-to-large repository, it is amplified into unacceptable waiting time and cost.
3. Tool-Call Constraints Being Circumvented: Harness Design Matters More Than the Model Name
“Changing a little parameter each time to dodge the repeated-call limit” is essentially circumvention of a call constraint, not task advancement. It exposes a frequently overlooked fact: the stability of a coding agent is determined largely by the external execution framework (the harness), not by the model alone.
Actionable constraint designs include:
- Idempotency-key deduplication: normalize semantically equivalent read requests so offset jitter cannot bypass the limit.
- Budget guardrails: set a maximum number of calls, a maximum token budget, and a maximum repeated-read ratio per task; abort and require human intervention once any is exceeded.
- Progress detection: if N consecutive steps produce no compilable or testable change, force a strategy switch (for example, build a minimal reproduction first, then modify the code).
- Observability: feed the call chain, failure reasons, and retry counts into logging and alerting so the evaluation loop stays traceable.
Illustrative logic:
if calls_without_progress >= N:abort(reason="no_progress")if token_budget - used < reserve_for_tests:abort(reason="budget_exhausted")
4. Shifting Cost Structures: Subscription “Value” Must Be Recalculated per Unit of Effective Output
The core conclusion of the original material is that after a model upgrade, one class of token subscription plan consumed its allowance at a rate close to that of mainstream plans at the same price point—meaning the “lowest price” advantage disappeared. The key here is not the price number but the pricing basis: subscriptions are not transparent, and users easily mistake “how fast the allowance is consumed” for “cheap.”
A more rigorous approach is to normalize everything to cost per completed task:
cost per task = (tokens consumed × price per token) + retry cost + human takeover cost
Once failed retries and human takeover are counted, a “cheap but inefficient” option may turn out to be more expensive. For pure coding scenarios, if an option no longer offers a cost advantage, the decision should return to capability, stability, and ecosystem fit; if multimodal generation such as images and audio or video is also needed, it can be treated as part of a general-purpose all-round solution rather than a coding-only one.
5. Practical Advice: Build Your Own Small Benchmark Set
Do not rely on external conclusions. Build a benchmark set of 20–50 real internal tasks covering single-file bug fixes, cross-file refactoring, test generation, dependency upgrades, and log-based root-cause location. Record four data points per task: whether tests pass, convergence steps, total tokens, and human takeover time. Only by running different models under the same harness can you decouple “model capability” from “framework capability.”
6. Conclusion
Gaps in coding capability ultimately show up in convergence speed and effective cost per task, not in “how long it can keep working.” When call constraints can be circumvented and long-context reasoning is inefficient, even a long runtime is just cost. Developers should evaluate with a unified basis, constrain agents with guardrails, and make decisions with a real benchmark set—that is how you strike a balance between budget and delivery.
