Evolution of Trillion-Parameter Open-Source LLMs: Engineering Practices from Post-Training RL to Long-Horizon Agents
This article explores the recent upgrade of a trillion-parameter open-source large language model, highlighting the industry's shift from pre-training scale competition to post-training innovations. It details the engineering practices for large-scale reinforcement learning (RL), long-context inference, and sandbox infrastructure. Furthermore, it analyzes model capabilities in code and long-horizon agent tasks, addresses community concerns like model specialization and verbosity, and provides actionable developer integration strategies including prompt caching optimization and leveraging hosted Agent services.
1. Upgrade Background: LLM Competition Enters the “Post-Training Deep Water Zone”
Recently, a large model team released its most capable trillion-parameter model to date, supporting a one-million-token context window. It significantly strengthens capabilities in code generation, 3D creation, financial research, and long-horizon Agents, while simultaneously launching a high-speed version with output speed increased by 2 to 3 times. From an industry perspective, this upgrade reveals a critical trend: the scaling race in the pre-training phase is gradually hitting a ceiling, while compute investment and methodological innovations in the post-training phase are becoming the key differentiators.
Specifically, compared to the previous generation, the notable changes in the new model include:
- Further increasing post-training compute to raise the upper limit of capabilities in reasoning, alignment, and task execution.
- Expanding Reinforcement Learning (RL) from limited general tasks to hundreds of downstream domains, enabling verifiable behavioral improvements in vertical scenarios.
- Launching a high-speed version that leverages inference optimizations (such as more aggressive speculative decoding and more efficient KV cache management) to achieve several times higher throughput while maintaining the same level of intelligence.
2. Systematic Overhaul for Large-Scale RL Joint Training
Running reinforcement learning across hundreds of domains simultaneously requires more than just “stacking compute.” The team systematically restructured its infrastructure, which is the most valuable part for developers and engineering teams to learn from.
2.1 RL Framework and Training Efficiency
The core contradiction in large-scale RL training is the alternation between rollout (generation) and update (training), which leads to extremely low GPU utilization. Common optimization methods include:
- Separating the training and inference engines, using asynchronous pipelines to overlap environment sampling with parameter updates.
- Incremental weight synchronization to avoid broadcasting hundreds of billions of parameters in full during each iteration.
- Mixed precision and gradient checkpointing to strike a balance between memory and compute.
2.2 Long-Context Inference
A one-million-token context window means that the computational overhead of attention grows rapidly with sequence length. The industry’s common practice is to adopt sparse attention, a hybrid structure of sliding window and global attention, and memory paging management technologies like PagedAttention, ensuring that long-sequence inference maintains quality while keeping costs controllable.
2.3 Sandbox Infrastructure and Environment Quality Checks
The scalability of RL depends on the quantity and quality of “environments.” Code tasks require real terminal sandboxes (resource-constrained container environments), financial research requires verifiable data sources, and 3D tasks require executable toolchains. To support this, the team built:
- A large-scale parallel sandbox scheduling system supporting 24/7 operation.
- An environment quality check platform that automatically filters out environments with ambiguous reward functions or unsolvable tasks—dirty environments can lead to reward hacking during RL training, a pitfall many teams have encountered.
3. Capability Evaluation: Code and Long-Horizon Agents as the Main Battlefields
Public data shows that the new model scores about 65.7% in real terminal environment coding agent tests, approaching or even exceeding some of the strongest closed-source models. In internal long-horizon code tests, it improved from 55.95% in the previous generation to 61.2%. The common characteristic of these two types of tests is that they are multi-step, verifiable, and prone to failure—the model needs to execute dozens of commands sequentially and self-correct, where any single error leads to task failure. This is exactly why RL yields the greatest returns in verifiable domains (code, math): the reward signals are objective and clear, allowing training to iterate thoroughly.
It is worth noting that while evaluation scores have improved, the community generally focuses on two issues: first, “specialization”—the model has made rapid strides in code and Agents, but its performance in general capabilities like daily conversation and writing requires independent verification; second, verbosity—over-RL may cause the model to output wordy and redundant steps, which directly increases token costs in real-world integrations.
4. Productization and Developer Integration Suggestions
From an engineering perspective, the product forms released this time are worth studying:
- Multi-layer product coverage: The web, desktop, and terminal programming tools are all integrated with the new model, indicating that the decoupling of the foundation model and the product layer has matured.
- Tiered cache pricing: Cache hit inputs are significantly cheaper than uncached inputs and outputs. This suggests that when designing prompts, developers should place stable system prompts and context at the front and dynamic content at the back to maximize the prefix cache hit rate, potentially reducing input costs by an order of magnitude.
- Hosted Agent services: The platform provides the runtime framework supporting long-duration Agent operations as a cloud infrastructure, supporting 24/7 long-horizon tasks and multi-agent collaboration. This “Agent as a Service” model is becoming an industry standard. Similar capabilities are available on major cloud platforms, such as the model service and agent development platform provided by Baidu AI Cloud, where developers can choose to self-build a harness or use managed solutions as needed.
A simple cost optimization example:
# Inefficient: Dynamic content mixed in system prompts, low cache hit ratemessages = [{"role": "system", "content": base_prompt + today_data},{"role": "user", "content": query}]# Efficient: Stable prefix fixed, dynamic data placed at the endmessages = [{"role": "system", "content": base_prompt}, # Can hit cache{"role": "user", "content": today_data + query} # Dynamic part]
5. Conclusion
The essence of this upgrade is the industry’s shift of more post-training compute from “making models chat better” to “making models work continuously.” For developers, three signals are worth noting: the capability ceiling in verifiable domains (code, finance, 3D) is still rising rapidly; inference speed and costs are being continuously optimized through engineering; and Agent runtimes are transitioning from “self-hosted” to “platform-managed.” The next thing to watch is the open-source release pace of the full model weights. If the weights are released as scheduled, community practices in fine-tuning, distillation, and local deployment will further test the actual cost-effectiveness of such trillion-parameter models.
