Where Did the Compute Go? The Compute Crunch Behind Chinese LLMs

    This article examines why leading Chinese large language model services are tightening quotas, limiting long conversations, and slowing down at peak times, and breaks the problem into three layers: surging demand, constrained supply, and untapped engineering efficiency. It explains why token consumption and compute consumption are not linear, then details practical optimizations—context governance, prefix/semantic/result caching, scheduling and elasticity, and token cost observability—along with a developer checklist and degradation strategies for turning limited compute into a stable user experience.

    1. The Symptom: Compute Pressure Behind Service Rollbacks

    Over the past month, several leading LLM products in China have rolled out tighter quotas, limits on long conversations, and slower responses at peak hours. For everyday users, the most visible changes are concrete: a session with dozens of turns of accumulated context, already tuned with formatting rules and background material, can no longer accept new messages; the amount of text allowed per input has been compressed; and free quotas are exhausted after less than two hours of continuous use. Some paid subscribers have found their monthly quota draining far faster than expected, forcing providers to reset quotas and issue compensation.

    These are not isolated product operations decisions. They are the outward signs of tight compute supply on the inference side. To understand where the compute went, the problem needs to be split into three layers: why demand surged, why supply cannot expand quickly, and what efficiency headroom remains on the engineering side.

    2. Demand Side: Why the Call Volume Curve Turned Steep

    Public statistics aggregating data from multiple model providers show that weekly calls to a certain class of lightweight inference models grew more than eightfold in under three months, jumping from the low trillions of tokens per week to the tens of trillions, and now rank among the highest call volumes globally. The surge typically comes from four overlapping factors:

    1. Longer context windows. Million-token context makes it possible to feed an entire manual plus an entire codebase in a single pass, multiplying the tokens per request.
    2. A shift from question answering to long-horizon execution. Tasks such as code generation, batch document processing, and data analysis often require multiple rounds of tool calls and self-verification, so one user request is amplified into dozens of model calls behind the scenes.
    3. Multi-agent concurrency. To improve answer quality, systems launch multiple sub-agents in parallel to divide the work, producing a multiplicative effect on token consumption per task.
    4. Free and low-cost entry points at scale. Price cuts and free quotas lower the barrier to entry and push peak concurrency even higher.

    The key point is that token consumption and compute consumption are not linearly related. The computation in the attention mechanism grows quadratically with sequence length, while the GPU memory used by the KV cache accumulates linearly with context length and concurrency. The longer the context and the higher the concurrency, the faster the number of requests a single card can serve drops, which makes “prices went down, but quotas run out faster” an inevitable outcome.

    3. Supply Side: Why Compute Cannot Keep Up Immediately

    Compute expansion is constrained by three factors. The first is hardware delivery timelines: procuring accelerators, upgrading data center power and cooling, and commissioning clusters all take months or even quarters. The second is effective compute rather than peak compute: actual throughput depends on parallelism strategy, interconnect bandwidth, and memory capacity, so more cards does not automatically mean faster. The third is cost structure: inference is a continuous expense, and stocking for the worst-case peak significantly lowers overall utilization.

    As a result, the industry commonly uses “price levers plus tiered service” to shape demand: peak and off-peak pricing for developer APIs, with off-peak prices around half of peak rates; quota walls for free users; and separate rate limiting for long-context and high-concurrency workloads. These measures can smooth out spikes, but they cannot replace efficiency improvements.

    4. Engineering Side: Getting More Out of Every Unit of Compute

    With hardware hard to expand in the short term, engineering optimization is the most cost-effective “second growth curve.”

    1. Context Governance

    Context is the resource most easily wasted. A layered approach to message history is recommended: keep recent turns verbatim, compress older turns into summaries, and switch retrieval-style material to on-demand recall instead of full concatenation. Illustrative logic:

    1. def build_context(history, max_tokens):
    2. recent = history[-6:] # Keep recent turns verbatim
    3. older = summarize(history[:-6]) # Compress older turns into summaries
    4. snippets = retrieve(older, query) # Recall relevant snippets on demand
    5. ctx = assemble(recent, snippets)
    6. return truncate_by_token(ctx, max_tokens)

    Combined with automatic archiving of idle sessions and prompts to start a new session once a threshold is crossed, this can substantially reduce repeated computation over ineffective long contexts.

    2. Caching and Reuse

    Prefix caching reuses the KV computation results for system prompts and fixed background sections; semantic caching can return historical answers directly for highly similar questions; and result caching suits batch, idempotent offline tasks. One engineering caveat: cache keys must include parameters such as model version and temperature to avoid cross-contamination.

    3. Scheduling and Elasticity

    Split request pools into “interactive short requests” and “long-horizon batch jobs,” placing long jobs in a low-priority queue with queuing and timeout fallback; combine monitoring and alerting with autoscaling, and use idle-time resources for warm-up and offline evaluation; deploy across multiple availability zones so a single point of failure does not escalate into a prolonged outage.

    4. Cost and Observability

    Build token metering dashboards sliced by business dimension, tracking input and output tokens, cache hit rate, and cost per request by tenant, scenario, and API, with budget alerts and quotas. Example metric structure:

    1. {
    2. "tenant": "team-a",
    3. "input_tokens": 1200000,
    4. "output_tokens": 180000,
    5. "cache_hit_rate": 0.42,
    6. "cost": 96.5,
    7. "quota_usage": 0.61
    8. }

    5. A Practical Checklist for Developers

    • Enable context compression and summarization by default, and set a per-session token limit;
    • Route fixed content through prefix caching and repeated Q&A through semantic caching;
    • Make long jobs asynchronous, with progress queries and resume-from-checkpoint support;
    • Instrument the full stack and calculate per-task cost by scenario;
    • Design a degradation strategy: automatically switch to a smaller-parameter model or shorten outputs at peak times.

    6. Conclusion

    The essence of the compute crunch is that the demand growth curve rises far faster than the supply expansion curve. In the short term, rate limiting and time-based pricing shave the peaks; in the mid term, caching, context governance, and elastic scheduling improve efficiency; in the long term, cluster scale and inference framework iteration expand capacity. For consumers of these services, understanding the nonlinear relationship between tokens and compute, and proactively optimizing context and task orchestration, is the key to converting limited compute into a stable experience. For a fuller elastic architecture and cost governance approach, the general capabilities of Baidu AI Cloud in container platforms, monitoring and alerting, and log services can be combined for implementation.