How Post-Training Reshapes AI Agent Capabilities
This article explains why a model version can deliver major capability gains without any change in parameter count, and what that means for engineering teams. It covers a three-layer evaluation approach, treating reasoning effort as a tunable experimental variable, the long-term value of a training-inference consistent tool-calling framework, interface protocol and toolchain adaptation, and how to calculate cost per task rather than per-token price. It closes with practical guidance on building reusable evaluation, effort-tier, cache-friendly context, and cost visibility infrastructure.
1. What Capability Gains Without Parameter Changes Tell Us
In one model version iteration, total and activated parameter counts stayed exactly the same (for example, roughly 284B total and 13B activated in a sparse architecture). Only post-training was redone, yet several benchmarks showed clear jumps. That alone is a meaningful signal: once a sparse architecture has fixed the capacity-to-compute relationship, the marginal gains in the capability ceiling come mostly from data mixture, supervision signal design, reinforcement learning strategy, and coordinated optimization of the reasoning path — not from stacking more parameters.
The direct implication for engineering teams: shorten the model selection observation window to the version level. An unchanged architecture codename does not mean unchanged behavior. Any pipeline that depends on a fixed output format should treat each post-training version as a potential behavior change and run a regression pass.
2. Why a Single Leaderboard Is Not Enough for Decisions
An aggregated intelligence index (knowledge, reasoning, code, instruction following, and other dimensions normalized and weighted) works for coarse screening, but it has two blind spots: the weights are opaque, and it does not match your actual business distribution. The reliable approach is to split evaluation into three layers:
- Aggregate index layer: determine whether the model has entered a new capability range;
- Domain benchmark layer: look at code generation, frontend reproduction, and long-context understanding separately;
- Your own scenario layer: run a small-sample regression on 100–300 real requests, with metrics fixed to task success rate, first-pass rate, and average interaction turns.
An illustrative structure for evaluation records:
@dataclassclass CaseResult:case_id: strsuccess: bool # whether the task was actually completedturns: int # interaction turns, lower is betterin_tokens: intout_tokens: intlatency_ms: intdef score(results: list[CaseResult]) -> dict:n = len(results)return {"pass_rate": sum(r.success for r in results) / n,"avg_turns": sum(r.turns for r in results) / n,"cost": sum(r.in_tokens * p_in + r.out_tokens * p_outfor r in results),}
3. Reasoning Effort Tiers: Make the Tier Part of Your Experiment Design
The new model ranks near the top in the frontend code arena at the middle reasoning effort tier, while the highest tier usually still has room to improve. This suggests reasoning effort is an adjustable knob, not a fixed property. Treat it as an experimental variable:
- Low tier: classification, extraction, format conversion — optimize for throughput and cost;
- Middle tier: routine business code and scripting — the best cost-performance balance;
- Highest tier: complex refactoring and cross-file debugging — even at per-call pricing, the payoff must be calculated.
The practical recommendation is to fix a default tier per task category and make it configurable at the gateway layer, rather than hardcoding the tier into business code.
4. Training-Inference Consistency: The Long-Term Value of an In-House Tool-Calling Framework
When evaluating agent tasks, using the same tool-calling framework as in training removes the shift between the training distribution and the inference distribution: tool description format, error return structure, and multi-turn state management all stay consistent, so the patterns the model saw during training closely match what it encounters in production. The result is fewer wasted retries and fewer turns. Such frameworks typically share a few elements:
[system] role and constraints[tools] name/description/parameter schema[user] task[assistant] -> tool_call(id, name, args)[tool] structured return for the given id (including error codes)
When building similar capabilities in-house, the point is not to imitate a specific implementation but to hold three lines: tool returns must be structured and carry error semantics; the history truncation strategy must be stable; and failures must be rollback- and retry-safe.
5. Interface Protocol and Toolchain Adaptation
Native support for the mainstream stateful-response protocol style (the server holds the context and the client sends only increments), plus adaptation for common AI coding tools, can significantly reduce integration cost. Migration checklist:
- Sessions and context are managed server-side; the client no longer resends the full history;
- Event granularity and end markers for streaming output;
- Return ordering for tool calls and parallel calls;
- Retry semantics for timeouts, rate limits, and error codes.
6. Calculate Cost-Performance as Cost per Task
The lowest unit price does not mean the lowest bill. The right formula is: cost per task = (input tokens × input price + output tokens × output price) × (1 − cache hit rate × cache discount). Context cache hits can yield very high discounts, so stable prefixes such as long system prompts, fixed tool descriptions, and codebase summaries should be explicitly designed as cacheable segments.
def task_cost(in_t, out_t, p_in, p_out, hit=0.0, cache_off=0.98):billable_in = in_t * (1 - hit * cache_off)return billable_in * p_in + out_t * p_out
Also watch whether output tokens are inflating: similar capability with more verbose output eats away the unit-price advantage.
7. Implementation Recommendations
On a general cloud architecture, model capabilities can be exposed through an inference gateway hosted on a container platform, with object storage used to accumulate evaluation sets, a message queue used to smooth traffic peaks, and logging plus monitoring and alerting used to track three curves: success rate, turns, and cost. If you use the relevant general capabilities of Baidu AI Cloud, the same recommendation applies: integrate through a replaceable model abstraction layer that preserves room for multi-model canary releases and fast rollback.
Conclusion: the path of keeping the architecture unchanged while upgrading post-training is becoming the norm. What teams actually need to build are four pieces of infrastructure — an evaluation system, a tier strategy, cache-friendly context, and a cost dashboard. Models will be replaced; this set of capabilities stays reusable for the long term.
