Three Surprises and One Unexpected Lesson from 10 Million Tokens of LLM Agent Coding
After spending more than 10 million tokens evaluating a newly released open-source large language model, we examined its agentic coding, complex reasoning, lightweight question answering, and cost efficiency. The model showed major gains in long-horizon autonomous execution, while also revealing weaknesses in reasoning stability and simple tasks. This review summarizes the test process, key findings, and practical guidance for developers and enterprise teams.
1. Agentic Coding: A Major Improvement in Long-Horizon Execution
Agentic coding has become one of the main areas of competition among large language models. Unlike one-off code completion, agentic coding requires a model to understand an engineering goal, break it into tasks, create a plan, call tools, execute changes, and verify the result as part of a continuous loop.
For this evaluation, we designed an open-ended engineering task: build a complete system with features such as expense tracking and transaction reporting. We provided the business objective but did not specify the data model, technology choices, or implementation constraints. The goal was to evaluate the model’s ability to plan and execute independently.
Planning Performance
After receiving the task, the model spent a relatively long time on internal reasoning before producing a complete system design. The plan included:
- Eight core functional modules and their responsibilities;
- Six database tables, including primary keys, foreign-key relationships, and indexing recommendations;
- A complete development sequence specifying the implementation order of each component;
- A self-verification checklist with 10 checkpoints to be reviewed after development.
This “plan first, execute second, verify afterward” workflow is an important sign that an AI agent is moving beyond simple code generation toward becoming an engineering collaborator.
Execution Performance
After the planning phase, we allowed the model to work autonomously. It continued for nearly 60 minutes without interruption, infinite loops, or major omissions, and it followed the original plan closely.
The resulting system was somewhat basic in terms of front-end design, but all core functions worked as expected. We also wrote a business record to the system and encountered no errors.
From an engineering perspective, this result suggests that long-horizon task execution depends on three capabilities:
- Context management: The model must retain early decisions throughout a long task and avoid forgetting the existing design.
- Self-correction: When errors occur, it must identify the cause and fix it rather than repeatedly following the same failed path.
- Tool use: It must correctly use tools for file operations, command execution, and test runs, turning reasoning into actual changes.
For enterprise users, this means agentic coding is becoming practical for prototyping, internal tools, and other use cases with relatively high tolerance for errors. Human review should still remain in the loop for core production systems.
2. Complex Reasoning: Strong Points and Clear Weaknesses
We evaluated the model with reasoning tasks across several difficulty levels.
One strong area was situational reasoning. In “Turtle Soup” mystery-style problems, the model could generate multiple hypotheses, eliminate possibilities, and verify assumptions over several rounds. This demonstrated solid deductive reasoning.
However, the model also exposed weaknesses. When solving difficult mathematical competition problems, it sometimes became trapped in circular reasoning, repeatedly pursuing the same incorrect path without escaping it. Stability also varied on some lightweight benchmarks: changing the wording of a problem in the same category could significantly affect the accuracy rate.
This reflects a convergence problem in long reasoning chains. In practice, errors can accumulate as the chain grows. If an early step is wrong, later reasoning may continue building on that mistake.
Potential mitigation strategies include:
- Introducing a result verifier to programmatically validate important intermediate conclusions;
- Using multiple reasoning paths and comparing candidate answers for consistency;
- Assigning tasks according to their characteristics: use deterministic code for high-certainty requirements and delegate ambiguous judgments to the model.
3. The Unexpected Finding: Overthinking on Simple Tasks
The biggest surprise in the evaluation came from a very simple common-sense question, similar to a classic car-wash profit-and-loss problem. The flagship model produced an incorrect answer, while the lightweight model gave a direct and correct response.
The likely explanation is overthinking. Larger models with more aggressive reasoning may apply lengthy, multi-step analysis even to simple questions. Repeated self-doubt can cause them to drift away from the correct intuitive answer. Lightweight models often follow shorter reasoning paths, reducing the chance of introducing additional noise.
This leads to several practical conclusions for model selection:
- Do not assume that the largest model is best for every task. Route requests according to task complexity.
- Use lightweight models for simple, high-volume, low-value tasks to balance quality and cost.
- Use prompt constraints such as “Give the answer directly; no detailed reasoning is needed” when appropriate to reduce unnecessary deliberation.
4. Cost Considerations: The Trade-Off Between Higher Prices and Caching
The new generation of models has higher API pricing than the previous generation, which is visible in the nominal input and output rates. However, long-running tasks often reuse a large amount of context, including system prompts and historical code. When this repeated input is served through caching, the cost of those tokens can drop substantially.
As a result, the actual increase in the total bill may be much smaller than the increase in the listed unit price.
Developers can improve cost efficiency by:
- Placing stable instructions and reusable code frameworks near the beginning of the context to improve cache hit rates;
- Trimming conversation history to avoid repeatedly paying for irrelevant tokens;
- Monitoring token usage by task and analyzing its structure to identify optimization opportunities.
5. Conclusion
After consuming more than 10 million tokens, our overall conclusion is that the new generation of open-source models has crossed the threshold of being genuinely useful for real work. Its long-horizon agentic coding ability was particularly impressive.
At the same time, reasoning stability and robustness on simple tasks remain unresolved issues. Model selection should therefore follow a layered approach based on task requirements, with different models contributing complementary strengths.
For enterprise adoption, a sensible starting point is assisted coding and prototype development. Teams should establish human review and cost-monitoring processes before gradually expanding an agent’s autonomous permissions.
The benefits of the agentic era are real, but capturing them requires more than a stronger model. It also requires a mature engineering methodology.
