Testing LLM Agentic Coding and Reasoning Over 10 Million Tokens
This article reports a hands-on evaluation of a large language model across long-horizon agentic coding, complex reasoning, and lightweight question answering, consuming more than 10 million tokens in total. It covers how the model planned and built a complete application, where its reasoning held up and where it failed, how overthinking led to a wrong answer on a simple question, and how context caching affected costs. The article closes with routing and monitoring recommendations for teams selecting models for production use.
1. Why We Ran a Token-Intensive Evaluation
When a new model launches and claims open-source leadership in reasoning and agentic coding, leaderboard scores are only a starting point. Real engineering workloads matter most for model selection. We designed a set of tests covering long-horizon engineering tasks, complex logical reasoning, and lightweight question answering. Together they consumed more than 10 million tokens. This volume was not wasteful. Long-context autonomous coding naturally generates large token throughput, and only by running a model through realistic workflows at full scale can you reveal its real level of stability, planning ability, and cost control.
2. Agentic Coding: Impressive Long-Horizon Execution
2.1 Test Design
We focused on autonomous planning and sustained execution. We connected the model to an agentic coding workflow and gave it a requirement that described only the goal, with no process constraints: build a complete application with bookkeeping and transaction statistics features. We then observed whether the model could break down the task, write the code, and verify its own work independently.
2.2 Process and Results
After receiving the task, the model first produced a complete design plan. It divided the work into eight core functional modules and six data tables. It also planned the development process and drew up a verification checklist with ten items. It then moved into continuous coding, which ran for nearly 60 minutes. Throughout, there were no interruptions, no loops, and no missed key steps. The model largely followed the plan it had written at the start.
The core features of the output all ran correctly. Create, read, update, and delete operations on the data produced no errors. The interface was somewhat rough in visual polish. For backend logic and database structure, where functionality matters most, this result is good enough for practical use as a development assistant.
2.3 Key Takeaways
Long-horizon agentic capability is the most noticeable improvement in this generation of models. It shows up in three ways. First, planning is thorough: the model works out the architecture and validation criteria before acting. Second, it corrects itself during execution: when it encounters a compilation or runtime error, it can roll back and fix the problem on its own. Third, its tool use stays coherent: it keeps context consistent across multiple rounds of file reads and writes and command execution. For teams, this means module-level development tasks can be delegated to an agent with confidence, while people focus on requirement clarification and final review.
3. Complex Reasoning: Strengths and Weaknesses
In logic puzzle tests, the model showed strong multi-step reasoning. It reached correct answers through a path of hypothesis, verification, and backtracking. Two types of problems exposed clear weaknesses:
- Hard math problems: On competition-level questions, the model sometimes fell into repeated derivation loops. Token consumption spiked without converging on an answer.
- Questions with tricky boundary conditions: The model gave conclusions that looked plausible but were wrong, and it expressed high confidence, which could mislead users.
These results show that raising the ceiling of reasoning ability does not automatically raise stability. In production, key decision-making tasks still need result verification. Options include sampling multiple reasoning paths and comparing them, applying rule-based checks after generation, or adding human review steps.
4. Lightweight Tasks: Overthinking Causes an Unexpected Failure
The most surprising finding came from a simple, common-sense question. The high-capability version got it wrong. Its reasoning chain grew too long, and it kept weighing conditions that were obvious. A lightweight, fast version answered directly and got it right.
This illustrates the risk of overthinking. As reasoning mechanisms become stronger, a model may apply complex reasoning templates even to simple questions, so it thinks too much and answers incorrectly. The engineering takeaway is to route models by task complexity. Simple Q&A should go to a lightweight model, and complex tasks should go to a flagship model. This keeps accuracy high while controlling latency and cost.
5. Cost Accounting: Caching Under Higher Prices
The newer API version has a higher list price than the previous generation. However, measured bills rose noticeably less than list prices. The reason is that in long-horizon tasks, much of the context can be reused through caching, and cached portions are billed at a lower rate. Developers should keep three points in mind. Maintain session context continuity to raise cache hit rates. Place static system prompts and examples at the beginning. Templatize highly repetitive tasks to maximize reuse of prompt prefixes.
6. Conclusions and Selection Advice
Across more than 10 million tokens of testing, we reached four conclusions. First, agentic coding has reached the stage where module-level tasks can be delegated, and long-horizon planning and self-correction were the biggest surprises. Second, the ceiling for complex reasoning has risen, but stability still requires engineering safeguards. Third, for lightweight tasks, watch for overthinking and route requests by complexity. Fourth, caching can effectively offset price increases.
For enterprise users, the goal is a complete loop of evaluation, routing, and observability. Model services from major platforms such as Baidu AI Cloud, combined with general cloud capabilities like monitoring and alerting and log analysis, can help build that loop. With it, large models can run both productively and reliably in real business settings.
