How Large-Parameter Models Are Built: From Architecture Design to Agent Training
This article breaks down the technical roadmap behind a newly released trillion-parameter flagship model, focusing on the shift from pre-training to post-training reinforcement learning (RL) across hundreds of downstream domains. It covers the required infrastructure upgrades (RL frameworks, long-context inference, sandbox environments, schedulers), evaluates long-horizon agent capabilities, and offers practical guidance on API cost optimization and caching strategies for developers building production-grade AI applications.
The New Competitive Focus in the Era of Trillion-Parameter Models
A recent platform release introduced a flagship model with three trillion parameters, supporting million-token context windows and targeting code generation, 3D content creation, financial research, and long-horizon agent tasks. A high-speed variant of the same model delivers roughly 2–3× faster output while maintaining comparable intelligence, driven by a series of inference-side engineering optimizations.
Public benchmark results show the model approaching or matching the strongest closed-source models on coding, agent, and knowledge benchmarks. But beyond individual leaderboard scores, the more significant signal is the shift in technical direction: compared to the previous generation, this upgrade substantially increases post-training compute and extends reinforcement learning (RL) to hundreds of downstream domains.
This trend matters for developers because the center of gravity in large-model competition is moving from “more data and more compute” during pre-training to “fine-grained capability shaping” during post-training.
Why Post-Training RL Has Become the New Battleground
Division of Labor: Pre-training vs. Post-training
Pre-training solves the “knowledge density” problem—learning linguistic patterns and world knowledge from massive corpora. Post-training solves the “capability alignment” problem—making the model produce reliable, verifiable behavior on specific tasks. For tasks with quantifiable outcomes like programming and financial analysis, reinforcement learning is almost the only efficient way to shape behavior.
Challenges of Multi-Domain Joint Training
Scaling RL to hundreds of downstream domains is not simply combining hundreds of reward functions. The key difficulties include:
- Reward signal design: Different domains have vastly different reward scales and sparsity; unified reward normalization and weight-scheduling mechanisms are required.
- Training stability: Multi-task gradients can conflict, necessitating task sampling strategies and gradient-conflict mitigation.
- Data flywheel: Each domain needs a continuous supply of high-quality prompts and verifiers; otherwise, RL quickly overfits.
According to disclosed information, the team systematically rebuilt several infrastructure layers to support this large-scale joint training, which is the focus of the next section.
Infrastructure Overhaul for Ultra-Large-Scale RL
Large-scale RL training places far higher demands on infrastructure than standard SFT training, across four key layers:
RL Training Framework
A standard RLHF pipeline involves high-frequency data exchange among the inference engine, training engine, and reward model. When task counts reach hundreds and rollout concurrency reaches tens of thousands, the framework must address:
- Efficient weight synchronization between inference and training (hot parameter updates).
- Pipelined asynchronous sampling and training to avoid GPU idle time.
- Fine-grained memory management to support KV cache reuse under long sequences.
Long-Context Inference
Million-token context means attention computation grows quadratically. Common optimization paths include sparse attention, KV cache quantization, hierarchical caching, and sequence- or context-parallelism to split ultra-long sequences during training. For agent scenarios, long context is not just “can read long documents”—it provides full memory of multi-step tool-call histories.
Sandbox Infrastructure
Agent training requires the model to execute code, call tools, and observe results in real environments. This demands isolated, reproducible, high-concurrency sandbox environments. Key engineering points include:
- Environment snapshots and sub-second cold starts to maintain rollout throughput.
- Resource quotas and security isolation to prevent dangerous operations from leaking during training.
- Structured, denoised result feedback to preserve reward signal quality.
Scheduler and Environment Quality Checks
When inference clusters and sandbox clusters are mixed, the scheduler must perform global orchestration based on task type and resource profiles. Meanwhile, an “environment quality-check platform” for hundreds of downstream environments continuously validates whether task definitions are sound and whether rewards can be gamed (reward hacking)—a step that is often overlooked but is the most critical for RL scale-up.
Long-Horizon Agents: Evaluation and Capability Boundaries
Real-World Code Evaluation
On a coding-agent benchmark based on real, resource-constrained terminal environments, the model scored 65.7%, narrowing the gap to the strongest competitor to within 1 percentage point. On its internal long-horizon coding test, the score improved from 55.95% in the previous generation to 61.2%.
These evaluations matter because they do not measure single-file completion; they measure the entire closed loop—installing dependencies, debugging errors, and multi-file refactoring—in a real terminal, closely resembling a developer’s daily workflow.
From “Answering Questions” to “Working Continuously”
The core leap in agent capability lies in task duration: from minute-level single-turn Q&A to multi-hour or even 7×24 long-horizon tasks. Supporting this form requires the model to handle task decomposition, state memory, failure recovery, and self-validation—and also requires a cloud-side runtime framework for continuous operation, i.e., “delivering the agent harness as infrastructure.”
For enterprise developers, this means multi-agent collaborative tasks can run directly in a managed cloud environment without building their own scheduling and fault-tolerance systems.
Engineering Considerations for the Model API and Selection Advice
Based on public pricing, the model uses a typical three-tier billing structure: approximately 1.3 CNY per million cached input tokens, 13 CNY per million uncached input tokens, and 68 CNY per million output tokens. The high-speed version has identical capabilities but is priced at roughly 2× the standard version.
Two general engineering lessons emerge from these numbers:
Cache hit rate is the first lever for cost optimization. For multi-turn agent sessions, stable and reusable system prompts and tool definitions should be placed at the beginning of the context to significantly improve prefix cache hits, potentially reducing overall cost by an order of magnitude.
The speed-price trade-off should be decided by scenario. Interactive coding assistants benefit from the high-speed version for responsiveness, while batch-oriented tasks like data analysis or document extraction are better suited to the standard version for cost control.
A representative call structure (pseudocode):
response = llm.chat(messages=[{"role": "system", "content": stable_system_prompt}, # leverage prefix cache{"role": "user", "content": dynamic_task_input}],temperature=0.2, # low temperature for agent tasks to ensure stabilitytools=tool_schemas, # structured tool definitionsmax_context=1_000_000 # long-context support)
Closing Thoughts
The upgrade path of this model generation clearly signals an industry trend: post-training compute is shifting from “making the model more conversational” to “making the model more useful for real work.” The full-stack engineering around RL frameworks, long context, sandboxes, and scheduling systems constitutes the technical foundation for next-generation agent models.
For developers, three things are worth attention: first, check whether your tooling supports ultra-long contexts and multi-turn tool calls; second, make caching strategy a core part of cost design; third, watch for managed agent infrastructure—a new form that could significantly lower the barrier for long-horizon automation tasks. News that the model weights will soon be open-sourced also suggests the community will see a wave of reproduction and fine-tuning experimentation in the coming weeks.
