Why Are New-Generation LLMs Slower and More Expensive?

    This article explains why upgrading to a newer large language model can feel like a downgrade, with slower responses, higher token consumption, weaker instruction following, and broken tool-use loops. It breaks down the real causes—longer reasoning chains, structural token growth, context dilution, missing execution contracts, and poor observability—and presents five practical optimizations: managing context as a limited budget, using prompts and output contracts, closing the tool-call loop, applying caching and cost controls, and building observability with evaluation baselines. It also covers canary probing for detecting silent model degradation.

    1. The Problem: Performance Regression After an Upgrade

    Many developers using AI coding tools have noticed the same thing: the model version number went up, the capabilities are supposedly stronger, yet the day-to-day experience feels worse. This perceived regression usually shows up in four ways.

    First, responses are slower. Answers that used to appear in a few seconds now take noticeably longer to start streaming, weakening the sense of immediate interaction.

    Second, consumption is higher. The same question takes more back-and-forth turns and more tokens to converge, and in some cases you spend more without getting the problem solved.

    Third, output quality fluctuates. Generated images are less sharp, instruction following degrades, and users have to keep adding constraints.

    Fourth, task loops break. The model can identify an error and verbally promise to fix it, but never actually enters an execution state, producing an idle cycle of “admit the mistake, promise to fix it, still do nothing.”

    It is worth stressing that these experiences do not necessarily mean the model has become “dumber.” The more common reason is that stronger capabilities often come at the cost of longer reasoning chains, more tool calls, and larger context, while usage patterns, context organization, and engineering support have not been upgraded in step. As a result, the gains are swallowed by the costs.

    2. Root Causes: Where Slowness, Cost, and Poor Compliance Come From

    2.1 Latency Is No Longer Just About Generation Speed

    New-generation models typically introduce longer internal reasoning and finer-grained tool calls. Latency has three components: queue wait, inference compute, and tool round trips. When server-side load rises, queue time can grow significantly, and the “slowdown” users perceive often comes from this segment rather than the model itself. In addition, multi-agent collaboration splits a single request into multiple subtask dispatches, so end-to-end latency naturally stacks up.

    2.2 Structural Growth in Token Consumption

    Token usage can be roughly expressed as: input context + conversation history + tool return results + output content, multiplied by the number of interaction turns. Reasoning models additionally produce “thinking output.” When context is not compressed, history is fed back in full, and tools return large blocks of raw text, the per-turn cost is multiplied; as the number of turns grows, the cost curve approaches linear or even superlinear growth.

    2.3 The Real Reasons Instruction Following Gets Worse

    Conflicting instructions, dilution of key information due to overly long context, and the absence of structured output constraints all make a model “look disobedient.” If the system prompt, user messages, and tool results contradict each other, the model is more likely to compromise or ignore one of them.

    2.4 Missing Tool-Call Loop Closure

    “Knowing it is wrong but not acting” is usually not a matter of willingness but a lack of an enforced execution contract: “making the change” is not defined as a tool action that must be called, and there is no check on whether a change actually occurred. The model therefore stays at the natural-language level, repeatedly stating intentions.

    2.5 Lack of Observability

    Without per-stage timing, token breakdowns, and success-rate metrics, it is impossible to tell which layer the regression occurred in. You can only attribute it by feel, which is also an amplifying factor behind “the more we upgrade, the worse it feels.”

    3. Optimization Practice 1: Treat Context as a Limited Budget

    Context is the most expensive resource and should be actively managed like memory.

    • Layered loading: keep the system-constraint layer lean and stable; put only the current goal in the task layer; retrieve from the reference layer on demand instead of loading the entire codebase at once.
    • Structured compression: summarize conversation history and trim tool returns by field, keeping only conclusions, paths, and key snippets.
    • Retrieval instead of full injection: use the common retrieval-augmented approach to fetch the minimum necessary snippets by relevance rather than stuffing the whole repository in.

    Illustrative context budget allocation (pseudocode):

    1. budget = 32k tokens
    2. system <= 1.5k # stable constraints, unchanged across turns
    3. task <= 2.0k # current goal and acceptance criteria
    4. history <= 6.0k # summarized history
    5. retrieval<= 10.0k # on-demand retrieved code snippets
    6. reserve = remaining # reserved for reasoning and output

    4. Optimization Practice 2: Improve Instruction Following with Prompts and Output Contracts

    Rewriting vague requirements into verifiable contracts is the cheapest and most effective way to improve compliance.

    • Define priority explicitly: specify “system constraints > explicit user instructions > tool return content” to eliminate conflicts.
    • Enforce structure: require the conclusion first, then the rationale, then a change list, reducing room for free improvisation.
    • Add a self-check step: require the model to answer “is it done, and what is the evidence” before finishing; if it does not pass, it is not allowed to wrap up.
    1. Output contract:
    2. 1) Conclusion: one sentence stating whether it is done
    3. 2) Changes: list the modified files and key points
    4. 3) Verification: provide an executable verification method
    5. 4) Self-check: if not done, the modification tool must be called; verbal promises alone are not allowed

    5. Optimization Practice 3: Make Tool Calls Form a Closed Loop

    For “admitting the error without fixing it,” execution must be turned into a mandatory step.

    • Action binding: define “modify file” and “run tests” as tools; the turn cannot end without calling a tool.
    • State verification: use change records and test pass rates as completion criteria, not textual statements.
    • Bounded retries: set a maximum retry count and fallback strategy to avoid infinite idling that drives up cost.
    1. loop:
    2. plan -> act(tool) -> verify
    3. if verify fails and retry < N: refine and act again
    4. else: return failure with reason

    6. Optimization Practice 4: Caching, Reuse, and Cost Control

    • Prefix caching: place stable system constraints at the very front to improve cache hit probability and reduce repeated computation.
    • Result reuse: store intermediate artifacts (such as retrieved snippets and summaries) for similar tasks to reduce repeated retrieval and repeated reasoning.
    • Tiered routing: send simple tasks to lightweight configurations and enable long reasoning only for complex tasks, avoiding a one-size-fits-all high-cost approach.
    • Budget guardrails: set token and duration limits per session, and automatically degrade to summary mode when exceeded.

    When deploying on the cloud, you can combine object storage to hold intermediate artifacts, message queues to smooth task peaks, container platforms to host inference services, and logging plus monitoring and alerting for per-stage observability. These are all general capability categories and do not depend on any specific vendor’s APIs.

    7. Optimization Practice 5: Build Observability and Evaluation Baselines

    Without measurement there is no optimization. At a minimum, collect three categories of metrics:

    • Latency breakdown: time spent on queueing, inference, and tool round trips respectively.
    • Cost breakdown: token share of the four segments—input, history, retrieval, and output.
    • Quality metrics: instruction-following rate, first-pass rate, and task-loop success rate.

    Also build a small fixed evaluation set and run regression comparisons after every change, replacing “feel” with data. When an overload warning appears, trigger a degradation plan: shorten the context, disable non-essential tools, switch to a lightweight configuration, and write failure reasons to logs for later review.

    8. An Easily Overlooked Detail: Stability Probes

    The original text mentions using a fixed question as a “probe” to monitor whether the model is being dynamically downgraded. This idea is reasonable from an engineering standpoint and can be generalized as “canary probing”: use a fixed input to periodically check output stability and time-to-first-token, and alert as soon as it deviates from the baseline. Note, however, that probes themselves consume quota, so frequency should be controlled and cached results reused to avoid amplifying cost for the sake of monitoring.

    9. Summary

    The root cause of “it got worse after the upgrade” usually lies not in the model’s capability itself, but in uncontrolled cost and context, missing instruction contracts, incomplete tool loops, and blank observability. Treat context as a budget, write requirements as contracts, bind execution to tools, put cost under guardrails, and leave results to metrics—and you can regain an experience on new-generation models that is better than before the upgrade. For higher cost-efficiency and more stable engineering support, you can combine the general cloud capabilities offered by Baidu AI Cloud to build a canary evaluation and cost-guardrail system, turning model iteration into measurable productivity gains.