Reasoning Models for Long-Horizon Agents and Code Generation: A Capability Breakdown

    This article analyzes the capability upgrades of a new-generation reasoning model across four areas: execution in constrained terminal environments, parametric 3D modeling and engine scripting, end-to-end financial analysis workflows, and engineering governance of factual accuracy and safety alignment. It also covers evaluation methodology, practical implementation patterns, and how tiered pricing and prompt caching affect deployment costs. The goal is to help developers turn long-horizon execution, tool use, and measurable reliability into deliverable engineering systems.

    1. Introduction: From Answering to Doing

    The focus of competition between the last two generations of reasoning models has shifted from single-turn question-answering accuracy to the ability to complete multi-step, long-chain tasks in realistic engineering environments. A long-horizon agent is a model that can maintain goal consistency across dozens or even hundreds of interaction steps, autonomously observing the environment, calling tools, validating results, and rolling back errors. Code capability is the foundation of all of this: only when a model can write executable, debuggable, and iterable code does an agent gain the hands and feet needed to modify a real environment.

    Using the capability upgrades of a new-generation reasoning model as a backdrop, this article abstracts four main threads: execution in constrained terminal tasks, parametric 3D modeling and engine scripting, end-to-end financial analysis workflows, and the engineering governance of factual accuracy and safety alignment. It closes with a discussion of how cost structure affects the way these capabilities are adopted.

    2. Rebuilding the Evaluation Dimensions: Why “Constrained Terminal Tasks” Matter

    Traditional code benchmarks are mostly based on function-level completion or algorithm problems, with environments and dependencies heavily simplified. Models rarely have to deal with real friction such as “dependencies won’t install,” “the port is already in use,” or “insufficient permissions.” The idea behind constrained terminal task evaluation is different: the model is given a goal inside a sandbox where only a command line is available and both network access and permissions are restricted, and it must find its own path to delivery.

    Public information shows that the new-generation model scores about 65.7% on this type of evaluation, the previous generation’s leading closed-source model scores about 58.2%, and another closed-source flagship scores about 66.4%, placing them all in the same tier. More noteworthy is the longitudinal comparison on an internal long-horizon code benchmark: the score rose from about 55.95% in the previous generation to 61.2%, indicating that the improvement is not a single-point trick but a systematic gain in long-chain stability.

    A reproducible evaluation harness looks roughly like this:

    1. # Pseudocode: constrained terminal task evaluation loop
    2. for task in benchmark:
    3. env = Sandbox(network="deny", cpu="2", mem="4Gi", timeout=1800)
    4. obs = env.start(task.prompt)
    5. for step in range(MAX_STEPS):
    6. action = model.plan(obs, history, tools=["shell", "file", "browser_lite"])
    7. obs = env.execute(action) # privilege escalation/network access is blocked and the error is fed back
    8. if env.checker.passed():
    9. score += 1
    10. break
    11. env.destroy()

    Three design points are critical. First, errors must be fed back rather than silently discarded, so the model learns to self-correct. Second, step count and resources must be limited, which forces genuine planning ability to surface. Third, the checker must be independent of the generation process to avoid “grading its own work.”

    3. 3D and Computer-Aided Design: The Toolchain Is the Capability Boundary

    A model’s fluent use of mainstream game engine scripting interfaces and parametric modeling scripts means it can take on the role of “translating design intent into runnable scripts.” The reference data shows a tool-assisted 3D modeling benchmark score of 92.7%, a very small gap from the 96.2% and 95.9% of leading closed-source models.

    A typical parametric modeling script skeleton looks like this:

    1. # Pseudocode: parametric modeling script
    2. params = {"length": 120, "width": 80, "height": 45, "fillet": 6}
    3. body = create_box(params["length"], params["width"], params["height"])
    4. body.apply_fillet(params["fillet"])
    5. body.boolean_subtract(create_cylinder(radius=10, depth=params["height"]))
    6. export(body, "output/model.step") # export a common intermediate format for downstream validation

    The practical recommendation is “scripts first, UI second”: have the model produce script assets that can be versioned, diffed, and regression-tested, then let a pipeline render and validate them in batches, rather than generating one-off binary project files that cannot be reproduced.

    4. Financial Scenarios: Reliability Design for End-to-End Workflows

    The value in the financial domain lies not in single-point Q&A but in chaining financial modeling, investment analysis, and industry research reports into a closed loop. The model achieved 64.4 on an external office-task benchmark, which the official announcement calls the current best result. Three layers of protection are recommended for deployment:

    • Data layer: unify definitions and units, retain data sources and timestamps, and prohibit unsourced numbers from entering the model context;
    • Computation layer: all metrics are calculated by deterministic formulas, with the model responsible only for setting assumptions and generating narrative;
    • Validation layer: cross-footing of the three financial statements, year-over-year and quarter-over-quarter cross-validation, and anomaly threshold alerts; if any check fails, fall back and recompute.

    5. Factual Accuracy: Treating Hallucination as a Measurable Metric

    Internal stress testing shows the single-item factual statement error rate dropped from about 23.4% to 8.3%, and the proportion of answers containing at least one factual error is about 42.4% of the previous generation. The official statement also emphasizes that the test deliberately focuses on error-prone cases and that the numbers do not represent the overall daily level. This evaluation attitude of “proactively exposing weaknesses” is more informative than a polished aggregate score.

    Engineering countermeasures include retrieval augmentation with citation binding, consistency checks between answers and evidence, forcing numerical questions through a computation channel, and outputting “uncertain” rather than fabricating when confidence is low.

    6. Safety Alignment and the Capability Trade-off

    The official statement explains that network attack and defense related data was identified and removed during both the mid-training and reinforcement learning stages, causing the pass rate on the internal attack-and-defense benchmark to fall from 90.5% (unfiltered) to 81.0% (release version). This is a typical “capability versus safety” trade-off: about 9.5 percentage points of capability given up in exchange for controlling abuse risk. For users, the right positioning is an “auditable assistant,” with identity authentication, least privilege, operation logging, and secondary confirmation of sensitive actions added at the gateway.

    7. Cost Structure: Tiered Pricing and the Caching Dividend

    Pricing for the new generation is lower overall than the previous generation: the standard version is 13 CNY per million input tokens and 68 CNY per million output tokens; the high-speed version is 26 and 136, exactly twice the standard version; the previous generation was 20 and 100. The cache hit price drops to 1.30 CNY per million tokens, with cache writes tiered at 13/26 CNY for 5 minutes and 26/52 CNY for 1 hour.

    Optimization points: cache stable prefixes such as system prompts, tool definitions, and long documents to push repeated-call costs down to one-tenth of the original input price; use the standard version for batch offline tasks and switch to the high-speed version for interactive, high-concurrency scenarios; and remember that longer context is not always better, since retrieval and pruning are often cheaper than expanding the window.

    8. Conclusion

    The significance of the new-generation model is that it combines long-horizon execution, tool use, and measurable reliability into deliverable engineering capability. The right move for developers is to rebuild application architecture around evaluation harnesses, scripted assets, deterministic computation, and a caching cost model. Running on a cloud environment with container platforms, object storage, logging services, and monitoring and alerting capabilities, such as Baidu AI Cloud, can further standardize the evaluation and canary release process, so that capability upgrades translate into real business value.