How Post-Training Reshapes AI Agent Capabilities
This article explains why a model version update can deliver major capability gains without changing total or active parameter counts, and what that means for building AI agents. It covers the three stages of post-training, why aggregate benchmark scores are insufficient for agent selection, trajectory-level metrics such as task success rate and retry-and-fix rate, tiered reasoning effort as a tunable resource, training-inference consistency with the execution framework, and cost evaluation that accounts for prompt caching and output length. It closes with a five-step adoption checklist for integrating a model into an AI coding tool and a dual-track selection strategy.
1. The Phenomenon: Same Structure, Very Different Capability
In one model version iteration, both total and active parameter counts stayed the same (for example, a sparse architecture with roughly 284B total parameters and 13B active parameters). Only post-training was redone, yet the model showed clear jumps across multiple benchmarks. This is becoming the norm. Understanding it requires one premise: pre-training determines the ceiling and breadth of a model’s knowledge, while post-training determines how efficiently and consistently that knowledge is organized into usable behavior.
In a sparse architecture, total parameters determine knowledge capacity and active parameters determine the compute cost of a single forward pass. If neither changes, the inference cost structure is essentially unchanged, so any capability gain must come from a redistribution of weights at the behavioral level: the model gets better at knowing when to retrieve, when to call a tool, when to converge on an answer, and how to recover after a failure. That is the core of agent capability.
Post-training can be understood as three stacked stages:
- Supervised fine-tuning: distilling high-quality trajectories (the question, the tool-call sequence, intermediate observations, and the final answer) into the model to establish a baseline behavioral pattern.
- Preference alignment: using pairwise comparisons judged by humans or models to shape a bias toward outputs that are more executable and less redundant.
- Reinforcement learning: using verifiable rewards (unit tests passing, successful compilation, task completion) to drive the model to explore on its own over long-horizon tasks.
Agent capability is most sensitive to the third stage because it requires the model to hold its goal steady across dozens of interaction steps. That ability cannot be obtained linearly by adding parameters; it comes only from task-environment feedback plus optimization over a large volume of trajectories.
2. Capability Evaluation: Why a Single Score Is Not Enough for Selection
Aggregate intelligence indices, which weight questions across disciplines and difficulty levels into a single number, are convenient for side-by-side comparison, but they inherently obscure long-horizon performance. Engineering selection should look at four categories of metrics at the same time:
- Knowledge benchmarks: factual accuracy and reasoning depth, reflecting the model’s ceiling.
- Code generation and repair: executability as the final criterion, usually judged by a hidden test set.
- Front-end and interaction implementation: ranked by blind pairwise evaluation from real users, closer to actual experience.
- Long-horizon tool use: given a terminal, a file system, and a browser, testing multi-step planning and self-correction.
A common misjudgment is using category 1 to infer category 4. In practice, long-horizon failures are often not “cannot write it” but “cannot investigate after writing it wrong.” Evaluating an agent therefore requires trajectory-level metrics:
Task success rate = sessions passing all acceptance checks / total sessionsAverage interaction steps = total tool calls / number of tasksFirst-run usability rate = outputs that run without manual intervention / total outputsRetry-and-fix rate = share of sessions containing a "read logs -> edit code -> rerun" loopCost per task = (input tokens x input price + output tokens x output price) x number of tasks
Among these, retry-and-fix rate best separates “demo-grade usable” from “production-grade usable.” A model may produce a beautiful first draft, then fail immediately when a dependency is missing or the environment does not match. A model with a correction loop treats failure as an observation signal and keeps moving forward.
3. Reasoning Effort Tiers: Turning “Try Harder” into a Tunable Parameter
The new model already ranks near the top in blind front-end implementation evaluations at the middle reasoning effort tier. This points to an important engineering fact: reasoning effort has become a tunable resource rather than a fixed property. It is usually split into low, medium, and high tiers, with the high tier significantly increasing deliberative output and the number of tool round trips.
The practical recommendation is to schedule effort by task layer:
def choose_effort(task):if task.risk == "low" and task.steps < 3:return "low" # copywriting, format conversion, simple lookupsif task.has_tests and task.steps >= 5:return "high" # refactoring, cross-file fixesreturn "medium" # routine feature development
Two caveats: first, the high tier is not monotonically better on every task, and on simple tasks it only amplifies cost and latency; second, if output token volume does not inflate along with capability, the gain comes from more effective thinking rather than longer thinking, which matters a great deal for cost control.
4. Execution Framework and Training-Inference Consistency: The Underrated Variable
When evaluating an agent, the model does not answer in isolation; it is embedded in an execution framework that handles system prompt assembly, tool definitions, history trimming, failure retries, and parallel subtask scheduling. The same model under a different framework can show a double-digit difference in success rate.
This creates a training-inference consistency problem: if the tool signatures, return formats, and error messages used during training differ from the online framework, the calling strategy the model learned will drift, showing up as “it clearly knows how, but keeps calling the wrong tool.” Unifying the training and inference environments onto an in-house or self-hosted framework therefore often pays off more than simply swapping models. A self-built framework should fix at least four contracts:
- Tool contract: names, parameters, return structures, and error codes stay stable.
- Context contract: history compression strategy and truncation points are reproducible.
- Feedback contract: compilation and test output formats are unified so the model can parse them.
- Parallelism contract: subtask boundaries and result-merging rules are explicit.
On the model side, native compatibility with mainstream interface shapes (such as a unified response-style API specification) is needed, along with adaptation for common AI coding tools, to reduce glue code. When migrating to such an interface, watch for differences in three fields: streaming events, incremental tool calls, and finish reasons. Example:
{"event": "response.output_item.done","item": {"type": "function_call","name": "run_tests","arguments": "{\"path\":\"tests/\"}"}}
5. Cost Evaluation: Look Beyond Unit Price to Caching and Output Length
“The lowest price per million tokens” does not mean “cheapest to complete a task.” Real cost is determined by three factors: unit price, cache hit rate, and the total tokens needed to finish the task. Caching typically gives a large discount on repeated prefixes (system prompt, repository context, tool definitions), and that portion dominates long sessions, so caching capability often affects the bill more than unit price differences do.
A reusable estimation approach:
Effective input cost = uncached input x input price + cached input x input price x (1 - discount rate)Cost per task = effective input cost + output tokens x output priceValue index = intelligence index / cost per task
The conclusion: when two models are close in intelligence, the one with a higher cache discount and more concise output can cost a fraction of its competitor per task. Engineering should actively optimize the “cacheable prefix”: put stable system prompts and tool definitions first and volatile user input last to raise the hit rate noticeably.
6. Implementation: Five Steps for Integrating a Model into an AI Coding Tool
When connecting the new model to an AI coding tool, proceed in this order:
- Build the evaluation set before switching models: pick 30-50 tasks from real repositories that can be automatically verified, instead of judging by feel.
- Fix the framework contracts: lock down tool definitions and error formats so results stay comparable across versions.
- Set reasoning effort by tier: low for low-risk tasks, high for cross-file fixes.
- Enable caching and streaming output: lowers cost and improves the interactive feel.
- Build a regression dashboard: track three curves: success rate, average steps, and cost per task.
A minimal integration skeleton:
client = OpenAICompatibleClient(base_url=..., api_key=...)resp = client.run(model="general-purpose-model",effort="medium",tools=[read_file, write_file, run_tests],messages=system_prompt + repo_context + user_task,stream=True,)
7. Limitations and Outlook
It should be stated plainly: even with substantial post-training gains, this class of cost-efficient models still trails top-tier solutions on the most complex long-horizon tasks, especially cross-repository refactoring, clarifying vague requirements, and consistency over very long contexts. A reasonable expectation is that structure-preserving, post-training-driven iteration will keep compressing the capability-cost curve, while flagship versions at larger parameter scales push the ceiling. The selection strategy should therefore be dual-track: route routine batch tasks to the cost-efficient tier, and escalate hard tasks to a flagship tier or add human review.
In summary, what deserves attention in this round of upgrades is not any single score but three trends: post-training has become the main engine of capability, reasoning effort has become a tunable resource, and the execution framework with training-inference consistency has become the engineering moat. Mastering these three is what keeps architecture stable and cost controlled while models iterate quickly.
