Trillion-Parameter Model Upgrade: Engineering Practices for Long-Horizon Agents
This article analyzes a new trillion-parameter flagship model upgrade with a shift toward long-horizon agent capabilities, covering million-token context management, post-training and reinforcement learning, terminal and long-horizon coding benchmarks, standard versus high-speed inference trade-offs, hosted agent harness infrastructure, and a practical checklist for evaluation, sandboxing, cost observability, and staged rollout.
1. Background: A Model Upgrade Centered on Agents
On October 24, an AI team released the first version of its new flagship model. The model has around 3 trillion parameters, supports a million-token context, and focuses on stronger code generation, 3D content creation, financial research, and long-horizon agent capabilities. A high-speed inference version was also introduced, delivering roughly 2–3x higher output speed while maintaining the same intelligence level. According to the published evaluation results, the model is close to the strongest current closed-source models on coding, agent, and knowledge benchmarks. The full model weights are planned to be opened before November 4.
From an engineering perspective, the most important part of this upgrade is not the parameter count itself, but the shift in focus: more post-training compute is being invested in “agent environments that can keep working,” including coding, financial research, 3D tool invocation, and long-running task execution. Alongside this, the team introduced a hosted agent service that provides the execution harness needed to keep agents running over long periods as cloud infrastructure. It can run 24/7 long-horizon tasks and support multi-agent collaboration.
This marks a new stage in large-model competition: a shift from single-turn answer quality to long-cycle task completion rate.
2. Capability Breakdown: How Long Context, Post-Training, and Reinforcement Learning Work Together
2.1 The Real Value of Million-Level Context
The value of long context is not how much you can fit into it, but whether the model can actually use it reliably. In long-horizon tasks, the context carries at least four types of information: task goals and constraints, tool-call history, environment state snapshots, and summaries of intermediate artifacts. When the context grows too long, common problems include dilution of key information, forgetting of early constraints, and non-linear growth in inference cost.
A practical engineering approach is layered context management:
[System constraint layer] Immutable: safety boundaries, output rules, permission scope[Task state layer] Mutable: goals, current subtask, acceptance criteria[Evidence layer] Prunable: logs, retrieved snippets, file diffs (keep summaries and citation anchors)[Conversation history] Compressible: rolling summaries + verbatim retention of key decisions
Combined with external memory and retrieval backfill, this can maintain stable task consistency within a million-token budget instead of relying only on window length.
2.2 Post-Training Compute Moves Upstream: From Alignment to “Executability Alignment”
Compared with the previous generation, the most visible change in this upgrade is a further increase in post-training compute and the expansion of reinforcement learning to hundreds of downstream domains. The logic is that pre-training solves “knowing,” while post-training solves “doing it correctly under constraints.” For agents, the post-training objective should be closer to real execution outcomes, such as whether the task is completed, whether tests pass, and whether side effects occur.
Practical training signal designs typically include:
- Outcome rewards: unit test pass rate, return values from task acceptance scripts;
- Process rewards: step legitimacy, tool parameter correctness, and whether permissions are exceeded;
- Cost penalties: token consumption, execution time, and repeated ineffective calls;
- Safety constraints: interception of dangerous operations and protection against sensitive data leakage.
2.3 Infrastructure Changes to Support Large-Scale Joint Training
The team said it systematically upgraded the reinforcement learning framework, long-context inference, training efficiency, sandbox infrastructure, scheduling system, and environment quality inspection platform to support this training. For readers, this part is the most instructive because it shows where the hidden costs of long-horizon agents lie:
- Sandbox infrastructure: execution environments that can be created quickly, snapshotted and rolled back, with restricted network and file system access;
- Scheduling system: mixed orchestration of two heterogeneous workloads, model inference and environment interaction, while handling long-tail tasks;
- Environment quality inspection: automatic verification of whether environments are reproducible, dependencies are complete, and initial states are uncontaminated;
- Training efficiency: pipeline parallelism across sampling, replay, and reward computation to reduce GPU idle time.
3. Coding and Long-Horizon Agents: Capability Gains and Remaining Debates
In a real, resource-constrained terminal environment benchmark, the new model scored about 65.7%, higher than a closed-source model’s 58.2% and less than 1 percentage point behind another closed-source model’s 66.4%. In an internal long-horizon coding test, the score rose from about 55.95% in the previous generation to 61.2%.
These results need careful interpretation:
- Terminal benchmarks measure “completing tasks under real constraints,” which is closer to engineering reality than static code generation, but still differs in distribution from business codebases;
- Gains in long-horizon tests indicate improved multi-step planning and self-correction, but “uneven performance” (inconsistent results across languages, frameworks, and legacy systems) and “verbose output” (too many ineffective explanations and overly broad changes) remain recurring issues in practice;
- In deployment, teams should rely on regression test sets from their own repositories and build a “reproducible task set + automated acceptance” process rather than only looking at public leaderboards.
A practical acceptance script skeleton example:
def verify(task):assert task.branch_clean(), "The workspace must be in a clean state"result = run_tests(task.target_tests) # unit/integration testsassert result.passed_ratio >= 0.95assert result.changed_files <= task.max_files, "Change scope exceeds expectations"assert not result.touched_forbidden_paths, "Restricted directories were touched"return result.summary()
4. Inference Modes and Cost: Choosing Between Standard and High-Speed Versions
The high-speed version was released at the same time, with the same capabilities, about 2–3x higher output speed, and a price about 2x that of the standard version. The standard version’s API pricing is 1.3 CNY per million cached-hit input tokens, 13 CNY per million cache-miss input tokens, and 68 CNY per million output tokens (subject to the latest official announcement).
Architecturally, high-speed output usually comes from a combination of general techniques: speculative decoding, more aggressive batching and parallelism, and resource prioritization for the output stage. Selection recommendations:
- Interactive coding and real-time conversation: prioritize the high-speed version, since latency has the biggest impact on experience;
- Offline batch processing and long-document analysis: prioritize the standard version, since cost is more sensitive;
- Hybrid strategy: use the standard version for planning and retrieval first, then the high-speed version for incremental generation.
For cost optimization, cache hit rate is the leverage point. Placing stable content such as system prompts, tool definitions, and project conventions at the front and keeping it unchanged can significantly improve the hit rate; compressing ineffective output also reduces the “verbosity tax.”
5. Hosted Agents: Turning the Harness into Infrastructure
The core of the hosted agent service is to make the shell required to run agents cloud-native: task orchestration, tool gateway, sandbox runtime, state persistence, logging and monitoring alerts, failure retries, and human takeover. For enterprises building their own systems, a reference layering is:
Access layer: API gateway / authentication / quotasOrchestration: task graph (DAG), multi-agent collaboration, priority queuesExecution layer: sandbox containers, file and network policies, snapshot rollbackData layer: object storage (artifacts), message queue (events), logging service (audit)Operations: monitoring alerts, cost accounting, canary release and rollback
The engineering keys to multi-agent collaboration are “single responsibility + clear interfaces + arbitrable conflicts”: the planner produces the task graph, executors operate only on restricted resources, reviewers judge based on acceptance scripts, and escalation to humans happens when necessary.
6. Product Coverage and Release Schedule
The model already covers the main product lines: it can be used directly on web and mobile; the desktop version supports mainstream PCs and ARM-architecture laptops; and coding scenarios can invoke it in terminal and desktop environments. Full weights are planned for release before November 4, which means enterprises can conduct private evaluations and compliance reviews in controlled environments.
7. Deployment Checklist
- Build an evaluation set first: extract 100–300 automatically verifiable tasks from real tickets;
- Layer the context: put stable constraints first, make evidence prunable, and use rolling summaries for history;
- Enforce strong sandbox constraints: least privilege, rollback capability, and auditability;
- Make cost observable: track tokens and time per task to locate verbosity and repeated calls;
- Keep humans in the loop: require manual confirmation for high-risk operations and retain the full decision chain;
- Roll out gradually: pilot in low-risk repositories first, then expand scope step by step.
8. Conclusion
The significance of this generation of models is that it moves the focus of competition from “whether the answer sounds right” to “whether the task can be completed continuously.” For developers and enterprises, the real moat is not model parameters, but the evaluation system, sandbox and scheduling infrastructure, and fine-grained governance of context and cost. Whoever first makes long-horizon tasks reproducible, verifiable, and operable will be able to turn agent productivity into stable business returns earlier.
