The Compute Dilemma of Domestic LLMs: Why Your Tokens Run Out Faster Despite Falling Prices
Chinese large language model providers are cutting API prices, yet users report that monthly quotas and pay-as-you-go credits are draining faster than ever. This article explains the paradox by examining the compute supply-demand imbalance behind it: the quadratic complexity of attention mechanisms, the massive memory footprint of KV caches in long-context inference, and the rising per-task compute demands of long-context and Agent workloads. It also traces how compute scarcity reaches end users through supply constraints, throttling, and pricing strategies, and offers practical engineering tactics—context management, model tiering, caching, and off-peak batching—to help developers get more value from every token.
The Paradox: Falling Prices, Faster-Draining Quotas
Over the past year or so, the domestic LLM industry has shown a curious phenomenon. On one hand, prices for mainstream model APIs keep dropping—input prices for some models have fallen by more than 30%, with output prices falling even further. On the other hand, both individual subscribers on monthly plans and enterprise developers paying by usage complain that their quotas “don’t go as far as they used to.” Prices are down, yet the experience feels more expensive. The apparent contradiction is actually the inevitable result of a compute supply-demand imbalance.
Take long-context models as an example. A recently released model extended its context window to the million-token level, delivering impressive results in code generation, long-document understanding, and long-horizon Agent tasks. But users quickly noticed that the same plan quota now covers far fewer conversation turns or completed tasks. This sense of “compute tightness” is not an isolated case—it’s an industry-wide condition.
Root Cause: Why the Context Window Is a Compute Black Hole
To understand why quotas drain faster, we need to look at the technical nature of inference cost.
1. The quadratic complexity of attention. Self-attention in Transformers scales quadratically with sequence length. Extending context from 8K to 1 million tokens increases the computation per forward pass by over ten thousand times in theory—and even with mitigations like sparse attention and sliding-window attention, actual costs still grow superlinearly.
2. KV Cache memory pressure. Long-context inference requires caching the Key-Value states of all historical tokens. For a typical mid-sized model, a million-token context can consume tens of gigabytes of KV cache memory. This directly inflates per-request memory usage and reduces how many requests a single GPU can serve concurrently.
3. Long-horizon tasks lengthen sessions. Long-context models have spawned new usage patterns such as repository-level code analysis and multi-turn Agent execution. These tasks typically involve tens of thousands of input tokens per call, and in multi-turn conversations, accumulated history gets re-billed repeatedly. The “fast quota drain” users perceive is essentially an order-of-magnitude increase in compute consumed per task.
The Transmission Chain: From Compute Shortage to User Experience
Compute scarcity reaches end users through three layers:
Layer 1: Constrained supply. Access to high-end training and inference chips remains uncertain, and domestic alternatives still lag in per-card performance and interconnect bandwidth. As a result, effective compute supply is growing slower than the demands of advancing model capabilities.
Layer 2: Scheduling and prioritization. When demand outstrips supply, providers typically protect service stability through rate limiting, reduced free quotas, and “fair use” policies for subscribers. The poor durability of monthly plans is often the result of tightened implicit quotas—official terms may not change, but throttling, queuing, and truncation trigger more frequently once usage exceeds thresholds.
Layer 3: Pricing strategy games. Proactive price cuts are a market play to win over developers; shrinking quotas are a survival play to control costs. Running in parallel, they mark an industry transition from “competing on parameters” to “competing on compute cost-efficiency.”
What Developers Can Do: Optimization Practices Under Compute Constraints
As tight compute becomes the norm, engineering optimization on the application side matters more than ever:
1. Context management. Avoid blindly stuffing in ultra-long contexts. Compress and summarize conversation history in multi-turn dialogues, and carefully control the number of retrieved chunks in RAG pipelines—this can cut token consumption by an order of magnitude.
# Example: rolling summary compression of conversation historydef compress_history(history, max_tokens=2048):if estimate_tokens(history) <= max_tokens:return historysummary = llm_summarize(history[:-2])return [{"role": "system", "content": summary}] + history[-2:]
2. Tiered model routing. Route simple tasks to lightweight or small-parameter models, and reserve flagship models for complex reasoning. Mixed scheduling can significantly reduce overall cost.
3. Leverage caching and prompt-prefix reuse. For repeated content such as fixed system prompts or long documents, prefer inference services that support context caching to avoid the cost and latency of redundant computation.
4. Batch and off-peak scheduling for non-real-time tasks. For offline evaluation, data labeling, and similar workloads, use batch APIs or schedule during off-peak hours—this typically yields better unit costs.
Outlook: The Industry After the Growing Pains
This compute crunch is essentially a necessary stage for domestic LLMs as they shift from “catching up on capability” to “competing on efficiency.” As model architectures improve (such as more efficient long-context attention schemes), inference engines evolve (such as more aggressive quantization and speculative decoding), and the domestic compute ecosystem matures, the cost per token will keep falling. For developers, the core strategy today is to design architectures on the assumption that compute is limited, and to spend every token where it counts. The teams that make it through this period will be those that excel at both model efficiency and engineering optimization.
