How Post-Training Reshapes AI Agent Capabilities

    This article explains why a model can deliver a major jump in agent performance without any change in parameter count or architecture, and what that implies for engineering teams. It walks through three verifiable effects of post-training: correct tool-call arguments, explicit state management in long-horizon tasks, and reasoning effort that actually improves accuracy. It also covers how to evaluate agents with capability, arena-style, and end-to-end success metrics under fixed settings, how to estimate cost per completed task rather than per-token price, and why keeping training and inference on the same execution harness matters. A practical integration checklist and selection recommendations close the article.

    1. What the Pattern Tells Us: Same Structure, Higher Capability

    A notable model iteration pattern has emerged recently: total and activated parameter counts stay fixed (for example, a sparse architecture with roughly 284B total and 13B activated parameters), and neither the model structure nor the context specification changes. Only post-training is redone, yet agentic tasks show a clear jump, with several benchmarks beating the vendor’s previous flagship preview and closing in on the industry’s top tier.

    The engineering implication is straightforward: on sparse large models, the main source of capability gains is shifting from adding parameters to changing data and objectives. Post-training (supervised fine-tuning, preference alignment, reinforcement learning with verifiable rewards, tool-trajectory training) determines whether a model knows how to use tools, how to decompose a task, and how to fall back after a failure, which are exactly the core variables in agent scenarios.

    It is worth stressing that parameter scale sets the ceiling, while post-training determines how close you get to it. A large change in behavior with an unchanged structure indicates the earlier gap was not about capacity, but about alignment and task-distribution coverage.

    2. What Post-Training Actually Changes: Three Verifiable Paths

    1. Tool calls move from “producing arguments” to “producing correct arguments”

    Early models commonly produced function calls with all fields present but semantically wrong, enum values out of range, or missing null handling. After post-training on real call traces, the model learns to read the tool description and return structure first, then decide arguments, and to correct itself from error messages instead of repeating the same failed call.

    2. State management in long-chain tasks

    Most agent failures are not a single step the model cannot do, but loss of the goal after many steps. Using final task success as the reward in the reinforcement learning stage pushes the model toward an explicit plan-execute-verify loop: periodic self-checks, rollback when necessary, and proactively issuing a query when information is insufficient rather than fabricating a conclusion.

    3. Reasoning compute allocated on demand

    Offering multiple reasoning effort levels (low/medium/high/max) from the same model has become a common industry design. The low tier handles extraction, classification, and formatting; the high tier handles complex debugging and architectural reasoning. Post-training is what turns “spending more compute” into higher accuracy rather than long, unproductive thinking.

    Illustrative call logic (pseudocode, using a generic interface abstraction common in the industry):

    1. # Pick reasoning effort by task complexity to control cost and latency
    2. def solve(task):
    3. tier = "low" if task.is_simple() else "high"
    4. plan = model.plan(task, reasoning_effort=tier)
    5. for step in plan.steps:
    6. result = tool_registry.invoke(step.tool, step.args)
    7. if not result.ok:
    8. plan = model.replan(task, error=result.error) # fall back on failure
    9. return model.verify(task, plan)

    3. Evaluate Three Metric Groups, Not a Single Score

    • Composite capability index: compresses knowledge, reasoning, code, and instruction following into one number for easy cross-model ranking, but it hides scenario differences.
    • Frontend code arena-style ranking: reflects real interactive generation quality and is usually reported per reasoning tier. The same model can rank several places apart between the medium and max tiers, so align tiers before comparing.
    • Agent end-to-end success rate: includes tool selection accuracy, average step count, invalid call rate, and task abandonment rate. A drop in steps often says more about effective post-training than a rise in score.

    A common mistake is comparing a “preview at low effort” against a “GA release at max effort” and drawing the wrong conclusion. The correct approach is a controlled comparison with a fixed task set, fixed tier, fixed temperature, and fixed maximum steps.

    4. Measure Cost per Task, Not per Unit Price

    Unit price (input/output price per million tokens) is only the starting point. The real bill depends on three multipliers: tokens per task, cache hit rate, and number of failed retries.

    A common cost estimation framework:

    1. cost per task = (input tokens × input price × (1 - cache discount × hit rate))
    2. + (output tokens × output price)
    3. + retry count × cost per attempt

    When two models are close in capability, the one with roughly unchanged output length, a higher cache discount, and fewer retries can have a significantly lower cost per task (in practice, 50%–60% lower is a common range). This is why a case of “80% cheaper yet still more expensive” is entirely possible: the comparison baseline should be the total spend to complete the same task.

    5. Training-Inference Consistency: The Long-Term Value of a Self-Built Agent Harness

    When both evaluation and production run on the same self-built execution framework (harness), the prompt templates, tool descriptions, truncation policy, and error-return format used in training and inference are identical. This avoids the case where behavior learned during training is erased online by template differences. It is also why many teams open source their harness: to unify the standard and reduce adaptation noise.

    If building your own is not practical, a generic approach can approximate the same effect: put tool schemas, system prompts, and error structures under version control, and have training and production reference the same configuration artifact.

    6. Engineering Integration Checklist

    1. Prioritize protocol compatibility: prefer models with native support for a generic Responses-style interface and mainstream agentic coding tool integrations, to reduce glue code.
    2. Tiered routing by capability: send simple tasks to a low tier or smaller model and escalate complex ones to a high tier, which can substantially reduce average cost.
    3. Caching and batching: place stable prefixes (system prompt, repository context) first to hit the cache; merge offline tasks into batches.
    4. Observability: connect logging and monitoring with alerting, and record steps per task, tool error codes, tokens, and cost to form a regression baseline.
    5. Sandboxing and least privilege: run code execution in a disposable sandbox on a container platform, granting only the necessary file and network permissions.
    6. Canary and regression: run shadow traffic comparison for a new version first, then decide on rollout using both success rate and cost.

    7. Conclusion and Selection Advice

    “Unchanged structure, upgraded post-training” indicates that the biggest value-for-money gain at this stage comes from alignment quality and execution-framework consistency, not larger parameters. In practice: use cost per task and end-to-end success rate as the core metrics, run controlled evaluations at a fixed reasoning tier, canary at low traffic before ramping up, and keep multi-model routing in place while waiting to reassess after the next flagship GA release. In related work on Baidu AI Cloud, these methods can be implemented with general capabilities such as container platforms, logging services, and monitoring with alerting, forming a sustainable agent engineering loop.