Where Did the Compute Go? The Compute Pain Period of Chinese LLMs

    This article examines why large language model platforms are hitting compute limits despite rapid capability growth, breaking down the real cost of a single inference request across prefill, decode, KV Cache residency, and long-tail overhead. It explains why adding more accelerators cannot solve the problem linearly due to supply, utilization, and cost structure constraints, and presents six engineering optimizations—prefix caching, tiered scheduling, context lifecycle management, batching tuning, quantization and routing, and observability—along with a practical checklist for developers managing token and concurrency budgets.

    In recent years, the capability boundaries of LLM services have been pushed higher at speed: context windows have expanded from a few thousand tokens to hundreds of thousands, while multimodal input, long-document understanding, and multi-step reasoning with AI Agents have become routine. Against this backdrop, an unremarkable operational notice brought the question “where did the compute go?” into the open. In November 2026, a platform informed users that, due to compute constraints, long conversations existing for more than 7 days without active interaction would no longer be supported, the single-input limit was compressed to about 40,000 Chinese characters, and free users who used the service continuously for less than two hours would hit their daily quota. Earlier, in October, another platform launched a new model with a larger parameter count, only to face concentrated feedback from paying users within half a day because quotas were consumed too quickly under strict rate limiting; the incident ended with monthly quotas being reset and compensated.

    These are not isolated operational accidents, but a concentrated manifestation of the structural supply-demand contradiction in compute as LLMs enter the large-scale deployment stage. This article attempts to answer three questions from a technical perspective: where compute is actually consumed; why “adding cards” cannot solve the problem linearly; and what deterministic optimizations the engineering side can make without sacrificing core experience.

    1. Where the Compute Actually Goes: A Real Cost Profile of a Single Request

    Many people’s intuition about inference compute stops at “how big the model is, how many parameters it has,” but the real bill is far more complex. The compute consumption of a single request can be broken into four parts.

    The first is the prefill stage. The model must read and encode all input tokens at once, with computational complexity ranging from roughly linear to quadratic in input length (depending on the attention implementation). This means the “single-input limit” is not an arbitrary product decision, but a hard boundary under dual constraints of GPU memory and latency.

    The second is the decode stage. Autoregressive generation proceeds token by token, and each step must read the entire historical KV Cache, so memory bandwidth often becomes the bottleneck before compute does. This explains a common puzzle: why throughput improves markedly after batch size increases, but per-request time to first token (TTFT) and time per output token (TPOT) do not improve proportionally.

    The third is GPU memory residency cost. KV Cache grows linearly with “concurrency × context length,” and long-conversation or long-document scenarios can fill GPU memory quickly. The so-called “long conversations existing for more than 7 days without active interaction are no longer supported” is essentially reclaiming long-resident context state to prevent GPU memory from being occupied by “zombie sessions.”

    The fourth is long-tail and redundant cost. Repeated delivery of system prompts, repeated computation of identical prefixes, failed retries, and overly long chains of thought all create imperceptible “spikes” on the bill.

    The following illustrative capacity estimation expresses this relationship:

    1. # Illustrates order-of-magnitude relationships only, not real parameters of any specific product
    2. def kv_cache_bytes(layers, kv_heads, head_dim, seq_len, batch, dtype_bytes=2):
    3. # KV elements per token per layer = 2 (K and V) * kv_heads * head_dim
    4. per_token = layers * 2 * kv_heads * head_dim
    5. return per_token * seq_len * batch * dtype_bytes
    6. peak = kv_cache_bytes(layers=60, kv_heads=8, head_dim=128,
    7. seq_len=32_000, batch=64)
    8. print(f"Peak KV Cache is about {peak / 1024**3:.1f} GiB")

    What this code illustrates is that context length and concurrency have a multiplicative relationship. When the product side simultaneously opens up “longer context” and “higher concurrency,” GPU memory demand rises multiplicatively. This is also the fundamental reason rate-limiting policies often target long-context and high-concurrency users first.

    2. Why “Adding Cards” Cannot Solve It Linearly: Three Structural Constraints

    Faced with compute scarcity, the most intuitive solution is to scale out. But in practice, the marginal return of scaling out decays quickly, for three reasons.

    The first is supply and delivery-cycle constraints. The production capacity, delivery, and supporting network upgrades for high-end accelerators all have lead times, so short-term compute elasticity is limited; meanwhile, as cluster size grows, communication overhead and failure rates rise simultaneously, and effective compute utilization may actually decline.

    The second is utilization constraints. A large amount of compute is consumed by “waiting”: request queuing, batches that cannot be filled, GPU memory fragmentation, and long-tail requests slowing down entire batches. If scheduling and batching strategies are poor, newly added cards from scaling out will likewise fall into low utilization.

    The third is cost-structure constraints. In inference cost, GPU memory and bandwidth are often more expensive than peak compute. Simply piling on compute without governing context and caching is equivalent to repeatedly computing the same prefix in a more expensive way.

    Therefore, the right posture during the pain period is not “waiting for more cards,” but “using existing cards harder and more precisely.”

    3. Deterministic Engineering Optimizations: Six Directions Ready to Implement

    1. Prefix Caching and Prompt Governance

    Cache and reuse stable prefixes such as system prompts, tool definitions, and knowledge-base snippets, skipping repeated prefill on a cache hit; at the same time, compress prompt size and remove redundant examples. In engineering practice, a “prefix fingerprint” can be maintained at the gateway layer, routing requests with identical prefixes through the cache path:

    1. Request -> compute prefix fingerprint -> cache hit? -> reuse KV / skip Prefill
    2. |-> miss -> normal Prefill and write to cache

    2. Tiered Scheduling and Quota System

    Classify requests by business value (online interaction, offline batch processing, internal tools), and set differentiated quotas and priority queues; rate-limit long-context requests separately to prevent them from squeezing the latency budget of short requests. Quotas should be measured on two dimensions—“token budget + concurrency budget”—rather than simply by request count.

    3. Context Lifecycle Management

    Set reasonable idle-reclamation and summary-compression mechanisms for sessions: for sessions with no interaction for a long time, compress their history into a summary rather than retaining it in full; for overly long conversations, adopt a sliding window plus key-snippet recall to balance coherence and GPU memory usage.

    4. Batching and Parallelism Strategy Tuning

    Adopt continuous batching to improve throughput, and deploy decode and prefill in separate pools to avoid long prefills blocking short requests; set bucketing strategies for different input-length distributions to reduce padding waste.

    5. Quantization, Distillation, and Routing

    Use low-bit quantization within an acceptable precision-loss range to reduce GPU memory and bandwidth pressure; use a distilled small model to handle simple intents, and route complex requests to the large model, forming a tiered inference approach of “small and large model collaboration.”

    6. Observability and a Closed Loop for Capacity Governance

    Without measurement there is no optimization. At minimum, collect metrics such as TTFT, TPOT, cache hit rate, batch-size distribution, GPU memory watermark, and queue wait time, and connect them with token consumption on the business side to form a closed loop of “metrics -> attribution -> strategy -> validation”:

    1. metrics:
    2. latency: [ttft_p95, tpot_p95]
    3. cache: [prefix_hit_rate]
    4. capacity:[kv_cache_util, queue_wait_p95]
    5. cost: [tokens_per_request, tokens_per_session]
    6. actions:
    7. - if prefix_hit_rate < 0.4: optimize system prompts and cache key design
    8. - if kv_cache_util > 0.85: tighten long-context quota or scale out

    4. A Practical Checklist for Developers

    • Manage “context length” and “concurrency” as budgets, not free resources;
    • Govern sessions and prompts in layers; stable prefixes must be cached;
    • Separate online and offline pools, and bucket long and short requests to avoid mutual interference;
    • Build a token-centric metering and quota system; quotas must be explainable and appealable;
    • Drive capacity decisions with monitoring metrics, and confirm utilization is already sufficient before scaling out.

    Conclusion

    The answer to “where did the compute go” is hidden in every overly long input, every zombie session, and every repeated prefix. The essence of the pain period is the industry shifting from “capability expansion” to “efficiency management.” For developers, whoever establishes an engineering system centered on token budgets, cache reuse, and tiered scheduling earlier will be able to deliver a more stable experience under limited compute. If needed, Baidu AI Cloud can provide standardized infrastructure support for this kind of capacity governance and observability building through general cloud product capabilities such as container platforms, monitoring and alerting, and log services.