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

    This article explains why LLM services are introducing peak and off-peak pricing, tighter free-tier quotas, and monthly plans that users find run out faster than expected. It traces the issue to three growing multipliers—rising call volume, the hidden cost of long context, and rigid compute supply—and offers five engineering practices for developers: caching and reuse, batching and asynchronous execution, context compression, model routing by difficulty, and observability and cost metering. It also outlines mechanism design advice for enterprise users, such as tiered quotas, budget guardrails, capacity planning, architecture decoupling, and vendor strategy.

    1. The Symptom: How Compute Pressure Moved from Backend Metrics to Frontend Policy

    Recently, several LLM services have rolled out three related changes:

    • Time-based pricing for developer APIs. Off-peak rates are about half of peak rates, using price as a lever to shift traffic away from peak hours.
    • Clearer usage caps on free tiers. Unlimited calls are being converted into controlled quotas.
    • Monthly plans that users say run out quickly. Consumption is far faster than expected in long-context and long-running task scenarios.

    These are not isolated product decisions. They are the same underlying constraint showing up at different product layers: the effective supply of inference compute is not keeping up with the dual expansion of call volume and per-request computation. Understanding this is the prerequisite for making the right engineering trade-offs.

    2. Root Causes: Three Multipliers Growing at Once

    2.1 Demand Side: Calls Moving from Pilot to Always-On

    When LLMs move from demos into business workflows, call patterns shift from bursty to always-on. A few hundred trial calls per day become continuous requests embedded in code completion, document review, and customer support pipelines. Total request volume rises, and the peak-to-trough ratio flattens, eliminating the headroom that off-peak scheduling used to absorb.

    2.2 Per-Call Cost: Context Length Is the Hidden Multiplier

    Inference compute and memory costs are not independent of context length. Attention computation grows significantly heavier as sequences get longer, and key-value (KV) cache memory usage rises with both length and concurrency. Million-token context windows turn “how much can it handle” into “every call costs more.” A single long-running task can consume tens of times the quota of a short question-and-answer exchange.

    2.3 Supply Rigidity: Compute Expansion Has a Delivery Cycle

    Compute supply is constrained by equipment delivery, cluster buildout, networking, and supporting resources, so short-term elasticity is limited. That leaves operations teams with only two levers: price and quota. Time-based pricing shaves peaks; quota walls provide a backstop. Both are mechanism design in exchange for system stability.

    3. Five Engineering Practices for Developers

    3.1 Caching and Reuse: Eliminate Repeated Computation First

    Scenarios with stable prompt prefixes, fixed system instructions, and reusable retrieval results are good candidates for result caching and prefix reuse. A practical approach is to layer cacheable content explicitly:

    1. [Stable layer] System instructions, tool descriptions, output specs -> reusable long-term
    2. [Semi-stable layer] Retrieved snippets, code repository summaries -> invalidated by version
    3. [Volatile layer] Current-turn user input -> not cached

    Using content hashes as keys and versioned invalidation policies can significantly reduce the overhead of repeated input.

    3.2 Batching and Async: Turn Peak-Trough Gaps into Cost Savings

    Putting latency-insensitive tasks such as offline summarization, batch refactoring, and log attribution into queues and running them during off-peak windows is the most direct benefit under time-based pricing. An illustrative task tiering example:

    1. def route(task):
    2. if task.latency_sensitive:
    3. return run_now(task) # peak path, preserve experience
    4. enqueue(task, window="off_peak") # off-peak path, reduce cost
    5. return "queued"

    The key is to explicitly model what “can wait” instead of forcing every request through the same synchronous path.

    3.3 Context Compression: Control the Hidden Multiplier

    For long-context scenarios, prefer retrieval-based selection and inject only the snippets relevant to the current subtask. Apply rolling summaries to conversation history, keeping conclusions and dropping the process. For code tasks, trim dependencies along the call chain instead of feeding the entire repository. The goal is not to “fit more in” but to “achieve the same result with fewer tokens.”

    3.4 Model Tiering and Routing: Allocate Compute by Difficulty

    Layer requests by complexity. Route simple classification, format conversion, and field extraction to lightweight models or rule engines, and escalate complex reasoning to larger models. The routing layer can start with rules and gradually add confidence-based fallback:

    1. Rule hit -> lightweight model -> low confidence -> escalate and retry (limited)

    This reduces cost and preserves headroom for critical requests during peak hours.

    3.5 Observability and Metering: No Measurement, No Optimization

    Track input and output tokens, cache hit rate, retry rate, and per-task cost by business, pipeline, and user, and configure threshold alerts. Only when cost becomes an attributable metric can quota and routing policies be continuously tuned, rather than reverse-engineered from bills after the fact.

    4. Mechanism Design Advice for Enterprise Users

    • Tiered quotas: Allocate baseline and elastic quotas by team and scenario, with priority for critical paths.
    • Budget guardrails: Set per-task and per-day cost limits, and degrade gracefully instead of failing outright when limits are exceeded.
    • Capacity planning: Treat off-peak resources as plannable “low-cost capacity,” accounted for separately from peak resources.
    • Architecture decoupling: Use common cloud capabilities such as message queues, object storage, container platforms, log services, and monitoring and alerting to decouple inference calls from core business flows, so compute fluctuations do not directly surface as user-visible failures.
    • Vendor strategy: Keep an interface abstraction layer so business logic is not tightly bound to a single model API, making it easier to switch or degrade when supply is tight.

    5. Conclusion

    The compute pain period is essentially a necessary stage as the industry moves from “capability available” to “cost controllable.” Price and quota are only surface signals; the real solution is architectural: eliminate repeated computation, move what can wait, compress context, tier requests, and measure cost clearly. Do these five things, and tight supply becomes not something to passively endure but a sustainable engineering metric to optimize.