A 3-Trillion-Parameter Model with Million-Token Context: What Actually Changed in Post-Training

    This article breaks down a new 3-trillion-parameter flagship model that supports a million-token context, focusing less on the headline parameter count and more on three structural shifts: a large increase in post-training compute, reinforcement learning expanded across hundreds of downstream domains, and long-context inference rebuilt alongside sandbox and scheduling infrastructure. It explains the engineering constraints behind million-token serving, how to estimate input and output costs with prefix caching, what a long-running agent runtime needs, how to read the published benchmark numbers, and practical architecture guidance for developers.

    1. Introduction: The Real Shift Is in Post-Training, Not Parameters or Context Length

    In late October, a model team released a new flagship model at the 3-trillion-parameter scale, with support for a million-token context. The release emphasizes code generation, 3D content creation, financial research, and long-horizon agent tasks. A high-speed variant ships alongside it, claiming roughly 2-3x higher output throughput at the same level of intelligence. Published evaluation results show the model reaching or approaching the strongest current closed-source models on code, agent, and knowledge benchmarks.

    For developers, the noteworthy part is not that the parameter count grew again. It is three structural changes:

    1. Post-training compute was increased substantially, with reinforcement learning extended to hundreds of downstream domains.
    2. Long-context inference and supporting infrastructure such as sandboxes, scheduling, and environment quality checks were systematically reworked.
    3. Model capability is now delivered as a “sustainable agent runtime,” not just a chat interface.

    This article abstracts those technical points from a neutral perspective and discusses their engineering implications and how to adopt them.

    2. Technical Breakdown of the Capability Upgrade

    2.1 Post-Training Compute Is the Main Increment

    The most visible change versus the previous generation is the large increase in compute spent during post-training. Large model training is commonly split into two stages: pre-training injects world knowledge and language ability, while post-training (supervised fine-tuning, preference optimization, reinforcement learning, and so on) aligns those abilities to concrete task shapes. As pre-training scale approaches diminishing marginal returns, shifting compute toward post-training often improves the “deliverable task completion rate” more directly.

    2.2 Reinforcement Learning Moves from a Single Point to Hundreds of Domains

    Extending reinforcement learning across hundreds of downstream domains shifts the training objective from “answering correctly” to “getting it done.” This kind of training typically requires three things working together: verifiable reward signals, reusable task environments, and execution sandboxes that can carry heavy concurrency. Horizontal expansion of reinforcement learning is therefore fundamentally an infrastructure engineering effort, not just algorithm tuning.

    A schematic way to organize domain tasks (pseudocode, structure only):

    1. # Generic structure for domain task registration and reward verification
    2. domains = ["code", "data_analysis", "finance_research", "three_d_tooling"]
    3. def rollout(task):
    4. with sandbox(task.resources) as env: # resource-constrained isolated environment
    5. trace = agent.solve(task, env)
    6. return verify(env, trace) # domain tests provide verifiable reward
    7. for domain in domains:
    8. train_rl(register_tasks(domain), rollout)

    2.3 Six Areas of Rework to Support Large-Scale Joint Training

    Carrying the training above usually requires systematic rework across six layers: the sampling and update pipeline of the RL framework, memory and cache management for long-context inference, training and inference efficiency, sandbox infrastructure, the task scheduling system, and an environment quality check platform. Environment quality checks are easy to overlook but directly determine whether the reward signal is trustworthy: if an environment has missing dependencies, network jitter, or residual state, the model learns opportunistic behavior unrelated to the task.

    3. Engineering Constraints of Long Context and High-Speed Inference

    The challenges of a million-token context concentrate on memory footprint for attention computation and cache reuse efficiency. Common engineering measures include chunked prefill, key-value cache reuse, prefix cache hit billing, and request-level batch scheduling. The high-speed variant generally achieves several times higher output speed at the same intelligence level through more aggressive parallel decoding and better batch scheduling, not by reducing model capability.

    For cost-sensitive workloads, call overhead can be estimated as follows (illustrative):

    1. def estimate_cost(in_tokens, out_tokens, cache_hit_ratio=0.8):
    2. price_hit, price_miss, price_out = 1.3, 13.0, 68.0 # per million tokens
    3. in_cost = in_tokens * (cache_hit_ratio * price_hit +
    4. (1 - cache_hit_ratio) * price_miss) / 1e6
    5. return in_cost + out_tokens * price_out / 1e6

    The conclusion is straightforward: in long-context scenarios, input-side cost is driven mainly by the cache hit ratio, so system design should place stable, unchanging prefixes (system prompts, tool definitions, codebase context) first and reuse them.

    4. Long-Horizon Agents: From Model to Runtime

    The original text notes that the “Harness” supporting long-running agents is offered as cloud infrastructure, able to execute 24/7 long-horizon tasks with multi-agent collaboration. Abstractly, a usable long-horizon agent runtime contains at least five layers: task decomposition and state storage, tool invocation with permission boundaries, isolated execution sandboxes, observability and checkpoint recovery, and multi-agent messaging with result merging.

    Implementation recommendations:

    • Externalize state: write intermediate artifacts to object storage and events to a message queue to avoid unbounded context growth.
    • Least privilege: restrict network and filesystem scope in the container platform, and route sensitive operations through human confirmation.
    • Observability: track every tool call with logging and monitoring alerts to enable failure attribution and cost control.
    • Checkpoint recovery: save progress as checkpoints so failed long tasks do not have to rerun from zero.

    5. How to Read the Benchmark Numbers

    Public data shows this class of model scoring about 65.7% on a coding benchmark in a real constrained terminal environment, with an internal long-horizon coding test improving from about 55.95% in the previous generation to 61.2%, trading wins with the strongest current closed-source models within a gap on the order of 1 percentage point. Three points matter when reading such numbers: benchmark environments differ from real business distributions; long-horizon metrics reflect engineering usability better than single-turn metrics; and you should run small-scale regression evaluations against your own codebase rather than taking leaderboards at face value.

    6. Product Coverage and Openness Strategy

    This class of capability typically covers web, mobile, desktop, and coding tool form factors at the same time, with full weights opened within one to two weeks, alongside token-billed APIs and hosted agent services. For platform teams integrating such capability into their own products, Baidu AI Cloud can build isolated sandboxes, caching layers, and observability systems on general cloud product categories such as container platforms, object storage, message queues, logging, and monitoring alerts, turning model capability into stable business delivery.

    7. Conclusion

    The real signal from this generation is that the competitive focus has shifted from “parameters and leaderboards” to “post-training depth plus agent infrastructure.” Developers should adjust their architecture accordingly: prefix the context, externalize state, sandbox execution, and normalize evaluation, which is what yields stable returns on long-horizon tasks.