LLM Efficiency Competition: From Raw Intelligence to Intelligence Per Dollar
This article examines how the basis for evaluating large language models is shifting from benchmark scores to the amount of usable intelligence delivered per unit of cost. It covers six technical dimensions: agentic coding, intelligence as a function of inference compute, hallucination rates, recursive self-improvement, low-cost specialized models, and architecture design under compute scarcity. For each, it outlines practical evaluation and selection methods, including layered task evaluation sets, tiered routing, semantic caching, budget-constrained decoding, retrieval augmentation, structured output validation, and quota control. Readers will find a reusable framework for choosing models and building reliable, cost-aware LLM systems.
1. Introduction: The Competitive Baseline Is Shifting
Over the past two years, the standard for measuring large language models has been almost synonymous with leaderboard scores. After a wave of new-generation model releases, a question closer to engineering reality has come to the surface: given a fixed budget, how much usable intelligence can you buy per unit of cost? This shift is not marketing rhetoric. It is the combined result of constrained compute supply, surging inference volume, and businesses that are sensitive to both latency and cost.
For developers and enterprises, this means the evaluation system has to be rebuilt. A general capability ranking alone cannot answer questions like “which version, which parameters, and what budget should this task use?” This article covers six technical dimensions and provides a reusable framework for evaluation and model selection.
2. Agentic Coding: Divergence Across Sub-Scenarios Is the Norm
Agentic coding refers to a model’s ability to autonomously read code, modify files, execute commands, and iteratively fix issues based on errors in a real repository environment. The difference from “write a function” is a longer chain, more state, and more subtle failure propagation.
New-generation models often show clear divergence on public agentic coding benchmarks: one type leads on tests focused on “global planning and complex refactoring,” while another scores higher on tests focused on “terminal operations and script repair,” with a gap of more than ten percentage points between them. The reasons are not mysterious:
- Different training data composition determines how familiar the model is with repository structures, build toolchains, and log semantics;
- Different context management and long-range memory strategies affect consistency across multi-turn modifications;
- Different tool-calling and error-recovery strategies determine whether it can self-correct after failures.
The engineering conclusion is direct: do not pay for “universally strongest,” pay for “task distribution match.” Teams are advised to build a layered evaluation set based on real tasks.
# Example: skeleton of a layered evaluation set for agentic coding taskstasks = {"terminal_repair": ["dependency conflicts", "script error fixes", "build failure diagnosis"],"repo_refactor": ["cross-file renaming", "interface migration", "circular dependency resolution"],"test_authoring": ["unit test completion", "edge cases", "mock design"],}def evaluate(model_client, tasks, k=3):report = {}for scene, cases in tasks.items():scores = []for case in cases:runs = [model_client.run(case) for _ in range(k)]scores.append(pass_rate(runs)) # pass rate rather than a single runreport[scene] = sum(scores) / len(scores)return report
The key is to replace single-run results with pass rate and variance, and to record “average repair rounds” and “average token consumption” alongside them, so that real efficiency is reflected.
3. Intelligence Is a Function of Inference Compute: Quantifying Intelligence Per Dollar
A repeatedly validated observation is that, for a given model architecture, output quality improves as available compute at the inference stage increases, but with diminishing marginal returns. Therefore, “intelligence per dollar” can be approximated as:
IntelligencePerDollar = task success rate / (input token price × input volume + output token price × output volume + tool and retrieval cost)
In abstract reasoning tests focused on pattern recognition, it is not uncommon for lower-cost approaches to beat higher-cost ones. This usually comes from three optimizations: adaptive reasoning chain length, batching and cache reuse, and routing simple samples to smaller models or rule-based pre-checks.
Actionable engineering methods include:
- Tiered routing: use a small-parameter model to judge difficulty first, then escalate hard cases;
- Semantic caching: reuse results for high-frequency similar requests, with attention to similarity thresholds and expiration policies;
- Budget-constrained decoding: set a token limit per task, and downgrade or hand off to a human once exceeded;
- Batching and asynchronization: separate offline tasks from online interactions to improve output per unit of compute.
4. Hallucination Rate: The Real Weak Point in Reliability
“Answering more correctly” and “knowing what it does not know” are two different capabilities. In practice, a common phenomenon is this: when facing questions beyond the knowledge boundary, some new models produce a significantly higher proportion of plausible but incorrect answers, while more conservative models, though slightly lower in accuracy, are more inclined to express uncertainty or refuse to answer.
This is extremely risky in production systems, because errors propagate in the form of high confidence. Mitigation must be systematic rather than relying on the model’s own restraint:
- Retrieval augmentation: put authoritative knowledge in the context and require citation snippets;
- Structured output and validation: constrain fields with a fixed schema, combined with rule-based checks and a second-pass judgment;
- Consistency sampling: if multiple samples disagree, mark as low confidence and route to human review;
- Refusal incentives: explicitly reward “admitting you do not know” in prompts and evaluation.
{"answer": "...","confidence": "low|medium|high","citations": [{"source": "internal knowledge base", "id": "doc-123"}],"need_human_review": true}
5. Recursive Self-Improvement: The Threshold Has Not Been Crossed
As for whether models can autonomously debug themselves, maintain long-range goals, and implement self-improvement, current evidence points to “not yet mature.” In controlled experiments, models’ performance in fixing internal implementation defects falls within a similar error range as the previous generation. In safety evaluations, items approaching high thresholds are mainly knowledge-based question answering on cyber attack and defense and biological risks, rather than autonomous behavior with coherent goals.
There are two engineering implications: first, do not rely on “automatically fixing its own pipeline” as a dependable capability; human review and canary releases are still required. Second, safety evaluations should cover dimensions such as tool misuse, unauthorized access, and long-range goal drift, with audit logs, least privilege, and operation whitelists as default configurations.
6. Low-Cost Frontier: The Practical Value of Specialized Data
A class of new models achieves an experience close to the frontier on Chinese professional tasks and long-text processing at roughly one-tenth the inference cost. The lesson is not that “parameters do not matter,” but that high-quality domain data + targeted post-training + extreme inference optimization often delivers more business value than a few extra points on general leaderboards.
For selection, it is recommended to build a three-dimensional matrix of “scenario—metric—budget”:
| Scenario | Primary Metric | Cost Strategy |
|---|---|---|
| Chinese contract review | Long-text recall and citation accuracy | Long context + caching |
| Customer service Q&A | Refusal accuracy | Small-model routing |
| Code repair | Pass rate and rounds | Tiered routing |
| Offline batch processing | Throughput per unit cost | Batching + asynchronization |
7. Architectural Responses in an Era of Compute Scarcity
Continued infrastructure investment will not eliminate compute constraints, which means architecture design must treat the “compute budget” as a first-class constraint. Common practices include: isolating inference and training resource pools, allocating quotas by business priority, using container platforms for elastic scaling, using monitoring, alerting, and logging services to locate token hotspots, and using object storage to accumulate evaluation sets and prompt versions.
A simplified quota control example:
class Budget:def __init__(self, daily_tokens):self.limit = daily_tokensself.used = 0def allow(self, est_tokens, priority):if priority == "high":return Truereturn self.used + est_tokens <= self.limitdef charge(self, tokens):self.used += tokens
8. Implementation Checklist
- Build your own evaluation set covering real tasks such as terminal repair, repository refactoring, and test completion;
- Use “success rate per dollar” as the primary metric, while recording latency and variance;
- Enable retrieval augmentation and structured validation by default, and treat refusal as a positive metric;
- Adopt tiered routing and semantic caching to push cost down to the lower limit the task allows;
- On the security side, stick to least privilege, operation auditing, and human canary releases;
- On platforms such as Baidu AI Cloud, you can use general capabilities like container platforms, object storage, logging services, and monitoring and alerting to build the evaluation and quota systems described above, keeping them portable and replaceable.
Conclusion: The value of new models lies not in a leaderboard position, but in whether they can reliably complete your task distribution under clear compute and cost constraints. Making evaluation solid and turning reliability into a system capability is the long-term advantage in this efficiency competition.
