LLM Overthinking Problem: Reasoning Step Inflation and Token Governance

    This article examines why more capable long-horizon agents can consume tokens non-linearly, and how to control it. It explains how step inflation and repeated context resending drive quadratic input growth, why architecture alone does not determine token efficiency, and presents a five-layer governance approach covering step and token budgets, context compression, prefix caching, task parallelization, and observability. It also recommends making subscription quotas an explainable budget with per-task estimates, alerts, and explicit continue-or-converge choices.

    1. The Phenomenon: The “Bill Paradox” of Capability Upgrades

    A cloud provider recently opened its flagship coding model to subscription users. The official messaging highlighted new visual understanding, stronger coding ability, and a roughly 50% increase in the weekly quota compared with the previous generation. Real user experience, however, diverged sharply. One developer recorded a code generation task that started in the early afternoon and had still not converged by nearly 7 p.m.—more than three hours for only about 60% completion, with repeated “reconnecting” messages in between. Others hit persistent errors that blocked the task entirely. The most concentrated complaints were about quota: the balance on paper had increased, yet it ran out faster in practice.

    This is not an isolated issue for a single provider. It is a general engineering challenge that almost inevitably appears once the long-horizon agent paradigm enters large-scale open service. To understand it, you must separate two things: model capability and service cost.

    2. Mechanism: Why “Thinking a Few More Times” Makes Token Consumption Rise Non-Linearly

    2.1 Step inflation is the main cost driver, not a higher per-step price

    There are reference experiments from the industry: lock the maximum number of steps, and the two generations of models consume roughly the same tokens on the same task. Once the step limit is lifted, the newer model may autonomously take six to seven times as many steps as the previous generation. It reads auxiliary scripts thoroughly, establishes a baseline, and re-verifies item by item—behaving more like a cautious senior engineer. The problem is not that a single step costs more, but that the total number of steps grows.

    2.2 Every agent step resends the history context

    In a mainstream agent loop, each round reassembles the prior conversation, tool call results, and file snippets into the request. Let the newly added context per step be c; the input size at step n is roughly n×c, so total input grows on the order of O(n²). Scale the steps by six, and input tokens grow by roughly thirty-six times in theory—this is the mathematical root of the “shrinking quota” experience.

    Illustration (pseudocode):

    1. history = []
    2. for step in range(max_steps):
    3. # Resend the full history each round; input grows linearly per step, quadratically in total
    4. prompt = system + render(history) + current_task
    5. resp = model.call(prompt, tools=tool_schema)
    6. history.append(resp)
    7. if resp.done:
    8. break

    2.3 “Reflection and self-correction” is a double-edged sword

    Having the model continuously reflect and self-correct during reasoning does improve success rates on long-horizon tasks, and this is a widely recognized capability direction in the industry. But without a budget constraint, reflection degrades into repeated re-reading and repeated verification, with diminishing returns and sharply rising cost. The key is not to remove thinking, but to give thinking a budget and a brake.

    2.4 Engineering teething during a new architecture migration

    Using a reasoning architecture first validated only at small-to-medium scale for a flagship-scale service for the first time requires re-tuning server-side adaptation, connection stability, and error retries. Frequent reconnects and API errors usually belong to service stability issues, which are separate from a model “thinking too long,” but on the user side they stack into the same bad experience. Note that specific attribution remains speculation and should defer to the provider’s official statements.

    3. Attribution Clarification: Architecture Is Not the Only Factor in Token Efficiency

    A common community view blames overthinking directly on a particular new architecture. A more rigorous view is that token efficiency depends on the combined effect of architecture, training objectives, reasoning budget strategy, and engineering implementation (caching, parallelism, context management). The same architecture can differ enormously in token efficiency under different implementations. So attributing the cost problem simply to “switching architectures” does not hold; the real levers are reasoning budgets and context governance.

    4. Governance: Five Layers to Control Overthinking

    Layer 1: Step and token budgets

    Set hard caps and soft thresholds per task; force convergence and output the current best result as a threshold is approached.

    1. BUDGET = {"max_steps": 40, "max_input_tokens": 200_000}
    2. def guard(step, used_tokens):
    3. if step >= BUDGET["max_steps"] or used_tokens > BUDGET["max_input_tokens"]:
    4. return "force_summarize_and_exit"
    5. return "continue"

    Layer 2: Context compression and summarization

    Produce structured summaries of completed tool results, keeping only conclusions, paths, and key diffs while discarding verbose raw output, so history does not grow without bound.

    Layer 3: Prefix caching and result reuse

    Cache and reuse the system prompt, tool definitions, and stable prefixes; cache results for identical or similar subtasks to reduce repeated computation and repeated transmission.

    Layer 4: Task layering and parallelism

    Split a large task into independently verifiable subtasks and run them in parallel, shortening the critical path while reducing the length of any single context.

    Layer 5: Observability and evaluation

    Instrument each task to record steps, input/output tokens, reconnect rate, error rate, and task success rate; build a two-dimensional “capability–cost” dashboard; and run a fixed evaluation set for regression to prevent “capability up, efficiency down.”

    Sample metric structure:

    1. {
    2. "task_id": "demo-001",
    3. "steps": 63,
    4. "input_tokens": 1850000,
    5. "output_tokens": 42000,
    6. "retries": 7,
    7. "success": false,
    8. "latency_sec": 12840
    9. }

    5. Platform Recommendations: Make Quotas an “Explainable Budget”

    The essence of subscription quota disputes is that users cannot anticipate “how much a single task will cost.” Viable directions include: showing task-level token estimates and real-time consumption in the console, providing budget alerts, letting users set a per-task step limit, and giving an explicit “continue/converge” choice for long tasks. These capabilities can be built on general monitoring and alerting, logging services, message queues, and container platforms—common industry approaches rather than a single vendor’s proprietary interfaces.

    6. Conclusion

    “Overthinking” is not a surplus of capability but an absence of budget. For developers, mastering step budgets, context compression, cache reuse, and observability is how you hold the cost line as capabilities upgrade. For platforms, turning quotas from a “black-box number” into an explainable, estimable, and alertable budget is the fundamental way to resolve the “more on paper, less in practice” experience.