Trillion-Parameter Models and Long-Horizon AI Agents: Post-Training, RL, and Infrastructure

    This article breaks down a new trillion-parameter model release and explains why the real shift is from pre-training scale to post-training and reinforcement learning across hundreds of domains. It covers the infrastructure needed for large-scale agent training, the trade-offs of million-token context, how to read terminal and long-horizon coding benchmarks, the latency-versus-cost model of high-speed variants, and how hosted agent runtimes turn the harness into cloud infrastructure. It closes with practical selection advice for engineering teams.

    1. Introduction: Parameter Scale Is No Longer the Whole Story

    On October 24, a large model team released a new flagship model at the three-trillion-parameter scale, along with a high-speed inference version. The official messaging emphasized two points: first, the model approaches the strongest current closed-source models on coding, agentic, and knowledge evaluations; second, output speed improves by roughly two to three times at a comparable level of intelligence. Full weights are planned to open within two weeks.

    What is notable is that the focus of this upgrade is not that “the parameter count grew again,” but that more compute went into the post-training stage, and reinforcement learning was extended to hundreds of downstream domains. For engineering teams, this signals a shift in the competitive focus from pre-training scale to “agent environments that can work for long stretches.”

    2. Where the Capability Gains Actually Come From: Post-Training and RL

    1. Pre-training sets the ceiling; post-training determines usability

    Pre-training gives a model world knowledge and language ability, but real business use cases demand stable format adherence, tool calling, and self-correction after failures. These behaviors are shaped mainly by post-training, including supervised fine-tuning, preference alignment, and reinforcement learning.

    2. What extending RL to hundreds of domains means

    The traditional approach applies reinforcement learning to only a few general tasks, which easily overfits to evaluation style. Extending coverage to hundreds of vertical domains is essentially expanding the “reward signal” from single-answer correctness to verifiable process metrics, such as whether code passes tests, whether structured output can be parsed, and whether tool-call arguments are valid.

    A schematic way to organize domain tasks looks like this (pseudocode, expressing the idea only):

    1. # Each domain provides: a task generator + a verifiable checker + an environment snapshot
    2. DOMAIN_REGISTRY = {
    3. "code": TaskGen(), Verifier(run_unit_tests),
    4. "finance": TaskGen(), Verifier(check_schema_and_arithmetic),
    5. "three_d": TaskGen(), Verifier(validate_scene_graph),
    6. "long_task": TaskGen(), Verifier(check_final_state),
    7. }
    8. def rollout(model, domain, env_snapshot):
    9. env = restore(env_snapshot) # reproducible environment
    10. traj = model.act(env, max_steps=200) # long-trajectory sampling
    11. return Verifier(domain).score(traj) # verifiable reward

    3. Infrastructure changes needed for large-scale joint training

    To keep the above pipeline running stably, six categories of systemic changes are typically required:

    • RL framework: support for high-concurrency sampling and asynchronous weight synchronization;
    • Long-context inference: paged caching, prefix reuse, and context compression;
    • Training efficiency: operator fusion, parallelism strategies, and communication overlap;
    • Sandbox infrastructure: strong isolation, snapshotting, and rollback;
    • Scheduling system: task prioritization, preemption, and quota management;
    • Environment quality inspection platform: automatic detection of environment drift and “reward hacking.”

    Environment quality inspection is the most easily overlooked. If sandbox images or dependency versions drift, the reward signal becomes distorted, and the trained policy can actually degrade in real environments.

    3. Million-Token Context: Capability and Cost Together

    The value of a million-token context lies in whole-repository code understanding, analysis of very long research reports, and cross-document reasoning. But engineering practice must confront three costs:

    1. Attention overhead grows non-linearly with length, and first-token latency and memory pressure rise significantly;
    2. Recall of information in the middle of a long context drops, requiring retrieval and reranking to compensate;
    3. The cost structure changes, and small differences in cache hit rate get amplified into billing differences.

    In practice, a hybrid architecture of “long context + retrieval augmentation” is more advisable: first use retrieval to narrow the candidate set, then place the key fragments into the long context for fine-grained reasoning, rather than unconditionally filling the window.

    4. Coding and Long-Horizon Agents: How to Read the Benchmarks

    In the official terminal-style evaluation, the new model scores about 65.7%, higher than a closed-source model’s 58.2% and within less than one percentage point of another closed-source model’s 66.4%; the internal long-horizon coding test improved from 55.95% to 61.2%.

    Three points to keep in mind when reading such data:

    • Terminal-style evaluations run in resource-constrained real environments and measure “whether the task can be completed,” which is closer to engineering reality than static completion;
    • Differences within one percentage point are usually in the noise range and should not be the sole basis for selection;
    • Improvements in long-horizon ability often come with longer outputs and more steps, so watch for verbosity and uneven “specialization” problems.

    The engineering response is to bring evaluations into your own pipeline:

    1. # Schematic: run a task in an isolated sandbox and verify the final state
    2. run_agent_task --sandbox snapshot://repo@commit --max-steps 200 \
    3. --assert unit-tests --assert schema-valid

    5. High-Speed Version and the Cost Model

    The high-speed version improves output speed by about two to three times at the same level of intelligence, at a price roughly twice that of the standard version. This is essentially an optional “trade latency for cost” choice: interactive coding and real-time Q&A suit the high-speed version; offline batch processing and large-scale data processing suit the standard version.

    Official pricing separates input into cache-hit and cache-miss, and prices output separately. For long-context applications, this means architecture design directly affects the bill: stably reusing system prompts and repository prefixes can significantly raise the cache hit ratio.

    6. Hosted Agents: Turning the Harness into Cloud Infrastructure

    A “hosted agent” service provides the runtime that supports agents running for long periods (commonly called the Harness, including loop control, a tool gateway, state storage, and failure recovery) as a cloud capability, supporting 24/7 tasks and multi-agent collaboration.

    A minimal viable long-horizon agent loop looks like this:

    1. while not done and step < MAX_STEPS:
    2. plan = model.plan(goal, state) # planning
    3. result = tool_gateway.call(plan) # tool call (controlled)
    4. state = memory.commit(state, result) # state persistence
    5. done = verifier.check(goal, state) # termination check
    6. step += 1

    For deployment, it is advisable to pair this with general cloud capabilities: object storage for artifacts, message queues to decouple tasks, container platforms to host sandboxes, and logging and monitoring/alerting services for observability, while applying least-privilege and auditing to the tool gateway.

    7. Conclusion: Selection Advice for Technical Teams

    This generation of model upgrades shows that agent competition has shifted from “can the model write code” to “can it work continuously in a real environment for hours and deliver verifiable results.” For selection, the advice is:

    • Run small-scale comparative evaluations on your own task set rather than relying only on public leaderboards;
    • Define latency and cost boundaries clearly, and route interactive and batch scenarios separately;
    • Prioritize building sandboxes, state storage, and observability before discussing multi-agent orchestration;
    • Pay attention to the pace of weight release and compliance requirements, and design a replaceable model abstraction layer in advance.

    If an enterprise has already built applications on Baidu AI Cloud, it can directly reuse its general container platform, object storage, and monitoring/alerting capabilities to support the architecture above, without being tied to a specific model interface.