Post-Training Trillion-Parameter Models and Agent Evaluation Methods

    This article examines how capability evaluation for large models is shifting from "answering questions" to "delivering results," and what that means when model scale reaches the trillion-parameter level. It explains why parameter scale remains the capability foundation while system efficiency determines usability, how verifiable rewards can be introduced into reinforcement learning during post-training, and how to build terminal-based Agent evaluations that are reproducible, auditable, and cost-attributable. It also covers complex code-generation testing (using vector animation as a probe), how to operationalize an evaluation system with private task sets, cost attribution, contamination defenses, and sandbox isolation, and how to make deployment decisions based on "cost per successful task." The goal is to help developers and enterprises evaluate models against their own workflows rather than chasing a single public leaderboard ranking.

    1. Background: The Focus Shifts from “Answering” to “Delivering”

    The way we evaluate large models is changing. Early models competed mainly on knowledge Q&A, text summarization, and single-turn code completion. Recent flagship models, however, are clearly moving toward real tasks: locating problems in a complex codebase, executing multi-step commands continuously in a terminal environment, generating runnable interactive programs from natural language, and staying aligned with a goal across long-horizon tasks until acceptance criteria are met. These capabilities are no longer determined by parameter count alone. They emerge from the combined effect of parameter capacity, data quality, post-training methods, tool use, execution feedback, and systems engineering.

    From an industry-trend perspective, trillion-parameter models still matter. A larger total parameter capacity usually means broader knowledge coverage, more complex pattern composition, and greater capacity to carry code corpora. But once a large model enters real production tasks, parameter scale is only the foundation. Whether it can ultimately “deliver” depends on whether it can turn knowledge into verifiable action sequences. A recent class of upgraded models approaching top closed-source models on composite intelligence indices and terminal-task benchmarks shows that “large parameters + reinforcement-learning post-training + an executable environment” remains an effective path. It also exposes new problems around evaluation, cost, stability, and safety governance.

    This article makes no recommendation or review of any specific product. Instead, it abstracts the phenomenon into a general technical question: when model scale reaches the trillion-parameter level, how should teams understand the sources of capability gains, how should they design evaluations for coding and long-horizon Agents, how should they control the cost of each successful task, and how should they safely integrate these capabilities into the development workflow.

    2. Parameter Scale Is Still the Foundation, but System Efficiency Determines Usability

    Trillion-parameter models typically adopt a sparse mixture-of-experts (MoE) architecture, in which the total parameter count is very large but only a subset of parameters is activated for any single input. This expands knowledge capacity while controlling per-inference compute. However, sparse architectures also introduce new engineering challenges:

    1. Routing and load balancing: If expert routing is uneven, some experts become hotspots, causing inference-latency jitter and reduced throughput. Training needs load-balancing loss or routing constraints; inference needs scheduling and caching based on expert distribution.
    2. Distributed training stability: Trillion-parameter training combines multiple forms of parallelism—data, tensor, pipeline, and expert parallelism. A communication bottleneck in any one of them affects training efficiency, and node failures, gradient anomalies, and numerical instability require fast recovery mechanisms.
    3. Data quality and mixing ratios: The larger the model, the more pronounced the amplification effect of low-quality data. Code, math, multilingual, scientific reasoning, and tool-use trajectories need finer mixing ratios and deduplication to avoid “more capacity but lower effective knowledge density.”
    4. Inference cost: Total parameters determine model capacity, while activated parameters and routing strategy affect per-token cost. For Agent tasks, what really needs optimizing is “cost per successful task,” not simply the price per million tokens.

    Parameter scaling therefore remains important, but “big” does not equal “usable.” A model must balance training stability, expert routing, long context, tool use, and inference serving. The clear gains of recent upgraded models across multiple tasks are essentially the result of large-scale parameter capacity, reinforcement-learning post-training, and executable feedback working together.

    3. The Key to Post-Training: Bringing “Verifiable Rewards” into Reinforcement Learning

    Traditional alignment relies mostly on human preference data, which is well suited to adjusting expression style, safety, and helpfulness. But complex coding and terminal Agent tasks require multi-step decision-making that preference data alone struggles to cover. A more effective path is to introduce verifiable rewards: the model’s output is validated by an execution environment, correctness is decided by objective checks, and the policy is then optimized through reinforcement learning.

    For example:

    • Coding tasks can use unit tests, static checks, compilation results, and type checks as rewards.
    • Terminal tasks can use command exit codes, whether target files exist, and whether the final state satisfies an acceptance script as rewards.
    • Vector-animation tasks can check whether the file parses, whether the element count is correct, whether keyframes are continuous, and whether the final render meets visual constraints.
    • Long-horizon Agent tasks can combine outcome rewards and process rewards, penalizing invalid operations, repeated attempts, and dangerous commands in intermediate steps.

    This path is not simple. Reinforcement-learning training of trillion-parameter models faces sample-efficiency, reward-noise, and long-horizon credit-assignment problems. A terminal task may involve dozens of steps, and when it ultimately fails, it is hard for the model to tell which step caused the failure. In engineering practice, this usually requires:

    • Splitting long trajectories into replayable segments, combining outcome and process rewards.
    • Running large numbers of tasks in parallel inside sandboxes to increase sampling throughput.
    • Performing attribution analysis on failed trajectories, filtering out environmental noise and non-reproducible tasks.
    • Keeping a portion of pure exploration tasks so the model does not merely memorize a fixed toolchain.
    • Setting hard constraints on dangerous commands and privilege-escalating operations, rather than relying entirely on the model’s self-restraint.

    In particular, reinforcement learning is prone to “reward hacking.” If the acceptance script only checks whether a file exists, the model may generate an empty file; if it only checks whether a command succeeds, the model may bypass the real objective. Verifiable rewards must therefore stay consistent with real task acceptance and be calibrated regularly through manual spot checks and red-team testing.

    4. Terminal Agent Evaluation: Real Environments Are Stricter Than Question Banks

    The most direct way to test complex coding and long-horizon Agent capability is to have the model complete real terminal tasks in an isolated environment: read requirements, inspect files, modify code, run tests, iterate based on errors, and finally produce an acceptable result. This kind of evaluation is harder than single-turn code generation because:

    • Task descriptions often carry implicit constraints, so the model must proactively explore the environment.
    • Environment state changes with each operation, and a wrong action can cause later steps to fail.
    • The model must use the command line, file system, and development tools appropriately.
    • It must control step count, token, and time cost, with no unlimited trial and error.
    • The final result must be reproducible and auditable.

    When designing terminal Agent evaluations, it is recommended to record at least the following metrics:

    Metric Description
    Task pass rate Whether the goal is met, judged by the acceptance script
    Average steps Whether the model is efficient and whether there is repeated trial and error
    Tokens and duration Inference cost and interaction cost
    Cost per success Total cost divided by passed tasks, closer to a production decision
    Error recovery rate Whether the model can self-correct based on errors after a first failure
    Human acceptance Subjective rating of code quality, maintainability, and safety
    Trajectory auditability Whether key operations and artifacts can be traced back

    A reusable evaluation pipeline can be abstracted as follows:

    1. load private task set(version, split="held-out")
    2. for task in task_set:
    3. env = create_isolated_sandbox(resource_limits, network_policy, timeout)
    4. trajectory = []
    5. for step in 1..max_steps:
    6. obs = env.read_state()
    7. action = model.generate_action(task, obs, trajectory)
    8. record(trajectory, action)
    9. env.execute(action)
    10. if env.passes_acceptance(task.checks): break
    11. result = {
    12. "passed": env.passes_acceptance(task.checks),
    13. "steps": len(trajectory),
    14. "tokens": count_tokens(trajectory),
    15. "cost": estimate_cost(trajectory),
    16. "artifacts": env.export_artifacts()
    17. }
    18. write_log(task.id, result, trajectory)
    19. aggregate pass rate, cost per success, error recovery rate, and human ratings

    The key to this flow is not “running a leaderboard once,” but establishing a reproducible, auditable, cost-attributable evaluation loop. Public leaderboards can be used to observe the industry baseline, but enterprises should ultimately use their own private task sets that cover their own codebases, toolchains, and acceptance standards.

    5. Complex Code-Generation Testing: What Vector Animation Reveals

    Beyond terminal tasks, complex code generation is another important window into model capability. Take “generate a vector animation of a cyclist riding on a highway” as an example. The task looks simple but actually tests several things at once:

    • Whether the code parses and runs independently.
    • Whether scene elements are complete: road, bicycle, cyclist, background.
    • Whether spatial relationships are reasonable: wheel positions, body posture, perspective.
    • Whether the animation is continuous: whether wheel rotation, pedaling, and background movement are coordinated.
    • Whether the artifact is maintainable: whether the structure is clear and easy to modify later.

    Increasing the difficulty further—for example, having multiple characters on screen, layering different motion patterns, and adding objects being tossed and caught with detail decorations—turns the task from single-object animation into a problem of multi-character coordination and timing control. The model must not only generate graphics but also organize state, timelines, and element hierarchies; any small deviation produces clipping, misalignment, broken motion, or non-runnable code.

    A general test prompt can be written as:

    1. Please generate a self-contained vector animation on the theme of a cyclist riding on a highway.
    2. Requirements:
    3. 1. The scene includes a road, a bicycle, a cyclist, and background elements.
    4. 2. The bicycle wheels and pedaling motion require continuous animation.
    5. 3. All elements are described with vector graphics and can be opened independently in a browser.
    6. 4. The code structure is clear, with key elements grouped and commented.
    7. 5. No external resources are required.

    Evaluation should not rely on “first impressions.” The following scoring items are recommended:

    1. Executability: Whether the file parses and renders correctly and whether there are syntax errors.
    2. Semantic completeness: Whether all key elements from the prompt appear and whether the counts are correct.
    3. Spatial plausibility: Whether proportions, positions, and occlusion relationships are natural.
    4. Animation continuity: Whether keyframes are smooth and whether there are jumps, drift, or broken loops.
    5. Structural complexity: Whether it demonstrates multi-character, multi-action, and timing-control capability.
    6. Maintainability: Whether code grouping, naming, and comments make later modification easy.
    7. Safety and compliance: Whether it embeds external requests, uncontrollable scripts, or unnecessary dependencies.

    In engineering practice, testing multiple versions horizontally with the same set of prompts often reveals clear differences: some versions generate a complete, runnable animation but with rough details; some produce good-looking visuals that fail to parse; others have simple structures that break down under multi-character coordination. Complex generation tasks are therefore well suited as “capability probes,” but they must be paired with automated checks and human review, not judged by screenshots alone.

    6. Operationalizing the Evaluation System: Private Sets, Cost, Reproducibility, and Contamination Defense

    To make evaluation truly serve decision-making, upgrade from a “leaderboard mindset” to an “engineering evaluation system.”

    First, build a private task set. Tasks should come from real development scenarios—fixing a known bug, adding a set of tests, migrating a module, or generating a visualization component. The task description, initial environment, acceptance script, and reference artifacts should all be versioned.

    Second, control variables. Fix model parameters, temperature, max steps, tool permissions, and timeouts; run each task multiple times and report confidence intervals for the pass rate rather than a single result.

    Third, attribute cost. Record input tokens, output tokens, number of tool calls, sandbox duration, and manual review time, then compute “cost per successful task.” For Agent tasks, a cheap model that needs many retries is not necessarily more economical than a higher-priced model that passes on the first try.

    Fourth, defend against contamination. Public question banks are easily covered by training data, so enterprises should keep an undisclosed held-out set, periodically generate variant tasks, and rotate acceptance scripts. For coding tasks, some test cases can be hidden; for terminal tasks, file paths, initial states, and requirement details can be randomized.

    Fifth, ensure security isolation. All execution-based evaluations should run in unprivileged, resettable, network-controlled sandboxes with restricted file-system access and external requests, while retaining complete operation logs. For tasks that may execute dangerous commands, whitelists and human review are mandatory.

    At the infrastructure level, object storage can hold task sets, model artifacts, and trajectory logs; a container platform can spin up isolated execution environments; a logging service can collect complete interaction records; and monitoring and alerting can track pass-rate regressions and cost anomalies. If using Baidu AI Cloud, the evaluation pipeline can be composed from general cloud product categories such as object storage, container platform, logging service, and monitoring and alerting. The focus remains on evaluation-set design, isolation strategy, and cost measurement, not on binding to any specific interface.

    7. Deployment and Cost: Decide by “Cost per Successful Task”

    Deploying a trillion-parameter model cannot be based on per-inference price alone. For Agent and coding tasks, consider:

    • Latency fluctuation from activated-parameter scale and expert routing.
    • Cumulative token cost from long context and repeated tool calls.
    • Failed retries, manual review, and waiting time.
    • Throughput gains from batching, caching, quantization, and inference optimization.
    • Data compliance, permission isolation, and audit requirements.

    Common cost-optimization techniques include: using a small model or cached results for stable subtasks; using a large model for planning and a small model for execution on complex tasks; building retrieval augmentation for repeated code patterns; structurally caching tool-call results; and compressing and summarizing long trajectories to reduce ineffective context. If a model later opens its weights, enterprises can gain stronger deployment control and customization space, but must also bear the cost of inference optimization, version upgrades, security patches, and operations.

    When selecting a model, it is recommended to split metrics into three layers: the first is capability pass rate, the second is cost per successful task, and the third is safety and operability. Only when all three are satisfied is a model suitable for the production workflow.

    8. Engineering Implementation Checklist

    1. Define tasks first, then choose the model. Start from the team’s real workflow, not from a leaderboard.
    2. Build a private evaluation set covering code modification, terminal operations, visualization generation, and multi-turn tool use.
    3. Write an executable acceptance script for each task and keep a manual spot-check mechanism.
    4. Run Agents in isolated sandboxes with restricted network, file-system, and command permissions.
    5. Record complete trajectories, including observations, actions, tool outputs, tokens, elapsed time, and cost.
    6. Assess stability with multiple runs and confidence intervals; avoid being misled by a single result.
    7. Rotate tasks and acceptance scripts regularly to reduce data contamination and overfitting risk.
    8. Establish regression gates: a new version must pass capability, cost, and safety checks before release.
    9. Perform attribution analysis on failed trajectories, distinguishing model-capability problems, environment problems, and acceptance-script problems.
    10. Retain human fallback and audit capability, especially for tasks involving production code, data access, and automated execution.

    9. Conclusion

    The upgrade of trillion-parameter models shows that parameter scaling is still effective, but the real leap in capability comes from the combination of “a large-parameter foundation + verifiable reinforcement learning + long-horizon Agent training + engineering-grade evaluation.” Terminal tasks and complex code generation are worth attention because they push models from “generating text” toward “completing delivery,” and push evaluation from “looking at scores” toward “looking at trajectories, cost, and reproducibility.”

    For developers and enterprises, the more rational approach is not to chase a single leaderboard ranking, but to build a private task set, an isolated execution environment, and a cost-measurement system around their own business. Public evaluations can illustrate industry trends, but what ultimately determines whether a model is usable is whether it can reliably pass acceptance in real tasks and deliver continuously at an acceptable cost.