The Post-Training Era: How LLM Agent Capabilities Evolve and How to Measure Cost-Effectiveness
This article examines why traditional benchmarks are losing credibility for LLM agents, why parameter count now correlates only weakly with capability, and how to evaluate cost-effectiveness using cost per unit of effective output. It also outlines a reusable agent engineering pattern built on task decomposition, sandboxed tools, verification and rollback, and observability.
1. Introduction: A Real Question Raised by a Model Release
A recent general-availability API release for a domestic Chinese large model set off two lines of discussion: whether its performance on long-horizon agent tasks now rivals the top tier, and whether its cost per unit of output is more attractive. Setting aside the specific model, both questions point to the same technical issue: as base model capabilities converge, what actually determines real-world application results, and how do we quantify “cost-effectiveness”?
This article does not restate benchmark scores for any single product. Instead, it abstracts the discussion into three reusable engineering questions: how to choose an evaluation system, how to break down where capability comes from, and how to account for cost against benefit.
2. Why Traditional Benchmarks Are Failing
Early widely used code benchmarks (such as the widely cited issue-resolution evaluation sets) have three structural problems:
- Data contamination: Problems and their solutions have largely entered public corpora, blurring the boundary between training and test sets and inflating scores.
- Tasks that are too short: Single-turn, patch-style tasks cannot reflect real engineering behavior such as multi-step planning, tool invocation, and failure rollback.
- Distorted scenarios: Real development work is a long chain that spans files and dependencies and requires reading logs and running tests.
As a result, the community increasingly favors long-horizon agent benchmarks: tasks are realistic, contamination control is strict, and models must maintain goal consistency across dozens of interactions. On these leaderboards, the gap between leading open-source and closed-source models is often only a few percentage points, which indicates that the generational gap is being compressed.
3. Parameter Count and Capability: A Weak Positive Correlation
A naïve intuition is “bigger model, stronger model.” From public information, the parameter count of top-tier closed-source models is on the order of a trillion, while one of the best-performing open-source models is around 2.8 trillion. The two are already very close on long-horizon agent benchmarks.
The reason is that current mainstream evaluations measure not “breadth of knowledge” but behavioral quality on specific tasks—writing code, looking up information, operating tools, and completing real workflows. This kind of capability depends heavily on:
- Post-training: Supervised fine-tuning, preference alignment, and reinforcement learning with verifiable rewards directly shape “how work gets done.”
- Data and reward design: Task distribution, verifier quality, and how failure samples are used.
- Test-time compute: The budget for search, sampling, and self-verification.
Pre-training determines “how much is known”; post-training determines “how well it is done.” When the evaluation focus shifts to the latter, the proportional relationship between parameters and scores naturally weakens. A model with high architectural efficiency effectively starts post-training from a better position, which is an important reason why models of similar scale diverge in performance.
4. Building an Actionable Cost-Effectiveness Model
Do not rely on a single price metric. Use “cost per unit of effective output” instead:
cost-effectiveness = effective tasks completed / (input token cost + output token cost + tool invocation cost + retry overhead)
Key variables:
- Effective completions: The number of successful tasks confirmed by verifiers (unit tests, type checks, static scans), not tasks that merely “look done.”
- Retry overhead: The hidden cost of agents failing and rerunning, often more than 30% of total cost.
- Context inflation: In long tasks, history messages accumulate and input cost grows non-linearly.
In engineering terms, cost-effectiveness can be improved along three paths: context compression and summarization, early stopping on failure with budget caps, and handing deterministic logic to code rather than the model.
5. Implementation: A General Agent Engineering Pattern
Regardless of how the base model changes, the following architecture stays stable:
- Task decomposition layer: Break long tasks into verifiable subgoals, each with its own acceptance criteria.
- Tool and sandbox layer: Code execution, file reads and writes, and network access all run in isolated environments with least privilege.
- Verification and rollback layer: Use automated tests as the reward signal and roll back on failure to prevent errors from accumulating.
- Observability layer: Use logging services, monitoring alerts, and distributed tracing to locate “which step is stuck.”
Illustrative pseudocode:
def run_agent(task, budget=50):for step in range(budget):plan = planner.next_action(task, history=compress(history))result = sandbox.execute(plan) # isolated executionif verifier.pass_(result): # objective verificationreturn resulthistory.append(note(result)) # record the failure reasonreturn escalate_to_human(task) # escalate to a human when budget runs out
On the cloud, this can be composed from general capabilities such as container platforms (isolated execution), object storage (artifact archiving), message queues (task distribution), and logging and monitoring (observability), avoiding lock-in to any proprietary interface.
6. Common Pitfalls
- Scoring worship: Leaderboards are samples; different business distributions can reverse conclusions.
- Parameter worship: Ignoring post-training and inference budget leads to selection bias.
- Overlooking hidden costs: Retries, human takeover, and compliance review often cost more than API calls.
- One-off evaluation: Models iterate quickly, so a continuous regression evaluation pipeline should be established.
7. Conclusion
First, long-horizon agent benchmarks are more credible than older ones, and the gap among leading models is narrowing. Second, capability leadership has shifted from pre-training to post-training, and parameters correlate only weakly with results. Third, cost-effectiveness must be measured as cost per unit of effective output, accounting for retries and context inflation. For developers, a solid verification layer, sandbox layer, and observability layer are the long-term assets that carry you through model iteration cycles.
