Long-Horizon AI Agents and Coding Upgrades: A Technical Breakdown
This article breaks down the latest model upgrade across two core tracks: coding and long-horizon agents. It covers task completion in constrained terminal environments, tool use and parametric 3D modeling, end-to-end finance and office workflows, measurable hallucination reduction, safety alignment trade-offs, and a detailed pricing structure with cache and high-speed tier selection logic for cloud deployment.
1. The Main Upgrade: From Answering to Doing
The core of this upgrade is not a single-point improvement in question-answering quality. It is the coordinated evolution of the model along two main tracks: code and the long-horizon agent. A long-horizon task is an open-ended problem that requires multi-step planning, continuous tool invocation, repeated trial and error in a constrained environment, and self-correction. The fundamental difference from traditional one-shot Q&A is that failure often does not occur within a single reasoning step, but in the state transfer between steps, constraint preservation, and error accumulation.
Therefore, evaluating this class of models requires looking beyond single-turn accuracy to three things: task completion rate, executability in constrained environments, and whether errors get amplified by subsequent steps. The following sections examine several typical capability areas.
2. Task Completion in Real Terminal Environments
On a public benchmark for constrained tasks in real terminal environments, the new-generation model achieves a completion rate of about 65.7%, a significant improvement over the previous generation of mainstream closed-source models at about 58.2%, and within less than one percentage point of the best result at about 66.4%. The value of this benchmark lies in the word “constrained”: available commands, dependency versions, network access, and permissions are all restricted, so the model must read errors, check dependencies, modify scripts, and re-verify like a real engineer.
The engineering implication is direct: terminal capability is the threshold capability for agent deployment. A model that can only generate code snippets in an idealized sandbox cannot handle real work such as building, migration, and batch operations. Evaluation should focus on:
- Observability utilization: Does it proactively read logs and exit codes instead of blindly retrying?
- Minimal-change tendency: Does it choose less intrusive solutions while satisfying constraints?
- Termination judgment: Can it recognize when a goal has been achieved and avoid infinite loops that consume compute?
On an internal long-horizon coding benchmark, the new version scores about 61.2%, higher than the previous generation’s about 55.95%, showing that the improvement extends beyond short tasks to long-chain scenarios that require maintaining context consistency.
3. Tools and Scripts: From Game Engines to Parametric 3D Modeling
The model’s proficient use of mainstream game engine scripting systems, along with directly writing and running 3D modeling and CAD scripts for parametric modeling, marks a significant expansion of the “code as interface” capability boundary. On a tool-assisted parametric design benchmark, the new version reaches about 92.7%, in the same tier as two reference scores of about 96.2% and 95.9%.
The key to parametric modeling is constraint solving rather than geometric intuition: dimensions, topology, assembly relationships, and recomputability must all hold simultaneously. A schematic script skeleton is shown below:
# General approach to parametric modeling: params -> constraints -> features -> exportparams = {"length": 120.0, "width": 80.0, "height": 45.0, "fillet": 6.0}def build(p):body = box(p["length"], p["width"], p["height"])body = fillet(body, p["fillet"]) # constraint: manufacturabilitybody = align(body, origin="bottom_center") # constraint: assembly datumreturn export(body, fmt="step") # deliverable: exchangeable formatassert build(params).is_valid()
The engineering recommendation is to make “parameters, constraints, and validation” explicit, so the model outputs machine-verifiable intermediate artifacts rather than just a non-recomputable script.
4. End-to-End Workflows in Finance and Office Scenarios
In the finance domain, the model can deliver end-to-end workflows for financial modeling, investment analysis, and industry research, scoring about 64.4 on an external office benchmark. End-to-end means the deliverable is not text advice but a recomputable workbook containing assumptions, formulas, sensitivity analysis, and charts.
The key to implementation is separating unverifiable “opinions” from verifiable “calculations”: assumptions are centrally managed, formulas are traceable, and conclusions come with sensitivity ranges. This way, even if the model’s judgment is wrong, the error is confined to an auditable scope.
5. Factual Accuracy: Treating Hallucination as a Measurable Metric
Of particular note is the quantified governance of factual accuracy. In internal stress tests deliberately focused on error-prone cases, the single-item factual statement error rate dropped from about 23.4% to about 8.3%, and the proportion of responses containing at least one factual error was about 42.4% of the previous generation. The official statement also emphasizes that the test deliberately selected difficult samples and that the error rate does not represent the overall level of daily use—this clarification is itself good evaluation disclosure practice.
The takeaway for developers is that hallucination must be measured before it can be engineered away. A three-layer defense is recommended:
- Retrieval and citation first, requiring conclusions to be bound to verifiable sources;
- Structured output validation, applying rule-based checks to numbers, units, and dates;
- Human confirmation for high-risk actions, moving irreversible operations out of the automated execution chain.
6. Safety Alignment and the Capability-Risk Trade-off
According to the official statement, network attack and defense related data was identified and removed during both mid-training and reinforcement learning stages to reduce misuse risk. On a self-developed constrained safety benchmark, the unfiltered version could solve about 90.5% of problems across three samples, while the final release version reaches about 81.0%. This set of data honestly quantifies the “capability loss from safety alignment” and suggests that enterprises should treat safety policies as configurable options rather than a binary switch.
7. Cost Structure: Choosing Between Cache and High-Speed Tiers
Compared with the previous generation, the new version has an overall price reduction and offers standard and high-speed tiers, with the high-speed tier priced at about twice the standard tier. The price structure can be summarized in the table below (unit: CNY per million tokens):
| Tier | Input | Output | Cache Hit | Cache Write (5min) | Cache Write (1h) |
|---|---|---|---|---|---|
| Standard | 13.00 | 68.00 | 1.30 | 13.00 | 26.00 |
| High-Speed | 26.00 | 136.00 | 1.30 | 26.00 | 52.00 |
| Previous Gen | 20.00 | 100.00 | 2.00 | 20.00 | 40.00 |
Three conclusions: First, the cache hit price is only one-tenth of the input price, so scenarios with repeated long-context prefixes should prioritize fixing the prompt prefix. Second, cache writes are tiered by duration; choose the 5-minute tier for short reuse and the 1-hour tier for long reuse to save costs. Third, the high-speed tier does not change the cache hit price, indicating it is a compute scheduling premium suitable for interactive and real-time pipelines, while offline batch processing should still use the standard tier.
For cloud deployment, you can use object storage to save intermediate artifacts, message queues for task decoupling, container platforms to host execution sandboxes, and logging and monitoring services to track every tool invocation, thereby turning model capability into an operable, auditable, and billable engineering system.
