LLM Service Capacity and Concurrency Governance Under Compute Constraints
This article examines why large language model (LLM) services may pause new subscriptions when resources are tight, framing the decision as a tradeoff between capacity and service commitments. It explains the two main inference phases, distinguishes online sessions from active and queued requests, analyzes KV-cache capacity and cache tiering, and discusses why average traffic can mask congestion. It then outlines practical approaches for workload profiling, latency and throughput measurement, admission control, request-cost-aware governance, scheduling and cache management, and bottleneck-driven scaling. Readers gain an engineering framework for measuring sustainable throughput and governing LLM service capacity.
1. Pausing New Subscriptions Is Fundamentally a Tradeoff Between Capacity and Service Commitments
When an LLM service pauses new subscriptions because of resource constraints, the more useful technical question is not exactly how many accelerators are missing. The real question is: under what request mix can existing resources provide what quality of service to how many users?
This article does not make factual judgments about any specific announcement or its causes. Instead, it analyzes the general technical mechanisms behind such situations.
LLM services面向用户通常需要同时满足多项约束:请求不能等待过久,首个输出不能出现得太慢,生成过程不能频繁停顿,长上下文请求也不能大量失败。只要其中某一项指标接近容量边界,继续增加付费用户,就可能使服务承诺与实际体验发生冲突。
Therefore, pausing new subscriptions can be an admission-control measure. But it only shows that pressure exists between supply and demand. It cannot by itself prove the model’s technical level, the scale of infrastructure, or the state of the business. To explain the phenomenon, one must first understand how inference resources are consumed.
2. Inference Is Not a Single Compute Task: Input Processing and Token-by-Token Generation Have Different Bottlenecks
LLM inference can usually be divided into two main phases.
2.1 Input Processing: Reading Context and Building Intermediate State
The input-processing phase handles the user question, conversation history, and retrieved materials, and builds the key-value cache needed for subsequent generation.
The load in this phase depends on input length, model structure, batch size, and execution method. Under many common conditions, it has high compute density, but this does not mean it is limited only by compute capacity. Very long contexts, temporary tensor occupancy, inter-device communication, and attention computation can all affect actual performance.
For users, input-processing time is an important part of time to first output. A request with a long input and a short output may consume substantial resources even if it ultimately generates only a few sentences.
2.2 Token-by-Token Generation: Repeatedly Accessing Weights and Historical State
The token-by-token generation phase produces new tokens step by step based on existing content. The generation process for a single request has a strong sequential dependency and cannot simply compute all output positions at once.
In many common inference configurations, this phase is often limited by memory bandwidth: each step requires reading model weights and related caches, and actual speed depends on the coordination of compute, memory access, and scheduling. Increasing batch size can improve the utilization efficiency of some resources, but it also expands cache footprint and may increase the waiting time of individual requests.
Therefore, “accelerators are always at full load” is not an accurate enough description. Busy compute units, saturated memory bandwidth, insufficient memory capacity, and congested communication links are different problems that require different optimization methods.
3. Concurrency Limits Are Not Determined by Compute Alone
When discussing capacity, it is first necessary to distinguish three different kinds of “concurrency”:
- Online sessions: the number of users currently maintaining a connection or having session state.
- In-flight requests: the number of requests that have entered input processing or generation.
- Queued requests: the number of requests that have not yet obtained execution resources and are waiting for scheduling.
Many users online does not mean many requests are simultaneously performing model computation. Conversely, even with few online users, a batch of very long-context tasks can quickly exhaust resources.
The sustainable capacity of an inference service is usually constrained by the following boundaries together:
- Whether compute throughput is sufficient to handle input and generation tasks.
- Whether memory is sufficient to hold weights, active caches, and temporary workspaces.
- Whether memory bandwidth is sufficient to support the target generation speed.
- Whether multi-device communication becomes a critical path.
- Whether the scheduling system can organize requests into effective batches.
- Whether queueing time and tail latency still meet service objectives.
This means that the user limit cannot be derived directly from device count alone. With the same devices, different model sizes, context lengths, output lengths, and latency requirements can support markedly different user scales.
4. Why KV Cache Becomes Central to Capacity Governance
The KV cache stores intermediate results from historical tokens that need to be reused in attention computation, so that subsequent generation does not have to recompute all historical state repeatedly.
Under common attention structures, its capacity can be approximated as:
Cache bytes ≈ 2 × layers × cached tokens × KV heads × head dimension × bytes per element
Here, the coefficient “2” corresponds to the two types of data: keys and values. This expression is useful for understanding basic scale relationships. Actual occupancy is also affected by model structure, cache representation, allocation strategy, and implementation overhead.
If multiple requests each keep independent caches, total occupancy generally accumulates per request. If there is a shared prefix that can be safely reused, it may not be necessary to fully copy all prefix state for every request.
4.1 Active Request Caches Cannot Be Dropped Casually
For a request that is currently generating, the cache is execution state required for continued computation. If it is deleted and no other recoverable copy exists, the relevant historical content must be recomputed, introducing extra latency and compute overhead.
So “drop the cache when memory is short” is not a cost-free general solution. It may simply convert memory pressure into recomputation pressure.
4.2 Idle Session Caches Can Be Evicted, but With Tradeoffs
For sessions that have finished answering and are waiting for the user’s next input, the service can choose to retain the cache, transfer the cache, or release it directly.
Releasing the cache does not necessarily lose the chat history. Chat text can be persisted independently, but when the user asks again, the service needs to reprocess the historical text to restore the corresponding model state.
This is exactly the difference between “session content” and “inference cache”: the former is business data, while the latter is reproducible execution state.
4.3 Recomputation Cost Depends on Workload
For short question-and-answer sessions with low revisit rates, releasing the cache is often easier to accept. For long-document analysis, sustained coding, and multi-turn reasoning tasks, frequent recomputation may cause noticeable losses.
It should not be assumed that all users engage only in one-off conversations. Cache policy should be based on real revisit intervals, context lengths, and interaction frequency, rather than inferred from a single usage scenario.
5. Cache Tiering Is Not Free Capacity Expansion
Moving caches from device memory to host memory or local storage can reduce memory occupancy, but it also introduces data movement, restore latency, and additional state management.
To judge whether cache migration is worthwhile, at least the following must be compared:
- How long cache write-out and read-back take.
- How long reprocessing historical text takes.
- How likely the user is to access the session again in the near future.
- Whether the movement competes for transmission bandwidth needed by other requests.
- Whether cache restoration is constrained by model version and runtime layout.
If a session is almost never revisited, continuously writing a large amount of cache for it may be more wasteful than simply releasing it. Conversely, long sessions that are highly likely to continue interacting in the near future are more worth retaining or migrating.
In addition, caches may contain sensitive intermediate state related to input content. Cross-user reuse, persistent storage, and lifecycle management should follow isolation, access-control, and data-retention requirements; performance benefits cannot be the only consideration.
6. Why Average Traffic Can Be Normal While Users Still Feel Congestion
Service capacity planning cannot look only at the average number of requests per day.
User requests usually have obvious temporal concentration, and input and output lengths vary widely. A small number of long requests can occupy memory and execution slots for a long time, affecting subsequent short requests.
In a stable system, resource occupancy can be understood through a basic relationship:
Average number of requests in the system = average arrival rate × average dwell time
Dwell time here includes queueing and execution. When the arrival rate remains unchanged, if request generation time becomes longer, the number of backlogged requests in the system will increase.
But this relationship cannot replace a complete capacity model. In practice, burst traffic, length distribution, scheduling policy, and resource contention must also be considered. In particular, when load approaches sustainable processing capacity, queueing delay often grows significantly.
Therefore, capacity planning should focus on sustainable throughput that meets latency objectives, not on maximum throughput that ignores waiting time.
7. How Development Teams Should Evaluate Real Capacity
7.1 Use Workload Profiles Instead of a Single Request Count
At a minimum, teams should track input token counts, output token counts, context-length distribution, the share of long sessions, peak arrival rate, and user revisit intervals.
For the same one thousand requests, short question-and-answer workloads and long-document analysis workloads may have very different resource requirements. Using only “requests per second” to describe load can easily obscure the actual differences.
7.2 Separate Latency and Throughput Metrics
It is recommended to observe the following separately:
- Waiting time after a request enters the queue.
- Time from request arrival to first output.
- Time between adjacent outputs during generation.
- Total request completion time.
- Input-processing throughput and output-generation throughput.
- Timeout rate, rejection rate, and cancellation rate.
Measurement boundaries should be clearly defined, and high-percentile latency should be emphasized so that averages do not hide severe waiting for a minority of users.
7.3 Observe Resource and Scheduling State Together
In addition to device compute utilization, teams should monitor memory watermark, cache occupancy, number of active sequences, cache eviction and recomputation counts, batch size, and communication time.
If compute-unit utilization is not high but active caches have already filled memory, further optimizing compute kernels may not solve the concurrency problem. Conversely, if memory is sufficient but generation speed drops, bandwidth, scheduling, or communication bottlenecks should be investigated further.
8. How to Govern by Priority When Capacity Is Insufficient
8.1 Establish Admission Control First to Avoid Uncontrolled Queueing
Set boundaries for in-flight request count, queue length, and waiting time. When boundaries are exceeded, return a clear status promptly or guide the task into asynchronous processing, rather than letting it wait indefinitely.
Unbounded client retries should also be avoided. Repeated submissions during congestion can amplify an originally limited request volume into a more severe traffic shock.
8.2 Apply Tiered Governance Based on Request Cost
Rate limiting solely by request count cannot reflect actual resource consumption. A more reasonable governance approach should consider input length, output limits, context size, and current system load.
For interactive short requests and long-running batch tasks, different queues or resource pools can be used to reduce the impact of long tasks on immediate interactive experience. At the same time, fairness mechanisms should be established so that low-priority tasks do not remain unable to execute for long periods.
8.3 Optimize Scheduling and Cache Management
Continuous batching can introduce new requests after a request completes, improving the utilization efficiency of execution resources. Chunking long inputs can help reduce their continuous occupancy of resources needed by other requests, but the benefits should be evaluated based on the actual implementation.
For caches, eviction policies can be developed by combining revisit probability and restore cost. Prefix caching can be considered for repeated public prefixes that meet safe reuse conditions; low-value idle sessions should be released promptly.
These measures are not unconditionally effective and should be validated through real workload replay and stress testing.
8.4 Confirm the Bottleneck Location Before Scaling
Adding devices can usually increase supply, but resource delivery, model loading, warm-up, and traffic switching all take time.
If the bottleneck lies in the scheduling service, data transmission, or shared dependencies, simply adding inference devices may yield limited benefits. Scaling should focus on the bottleneck and retain necessary redundancy to handle device maintenance, failures, and business bursts.
9. How to Reason About Pausing New Subscriptions
From an engineering perspective, pausing new subscriptions can be a short-term measure to protect the experience of existing users, but it is not the end point of capacity governance.
What really deserves attention is whether the service provider accurately identifies the bottleneck, whether it has transparent queueing and rate-limiting mechanisms, whether it reasonably distinguishes the cost of different requests, and whether it has established continuous scaling and capacity-validation processes.
Resource problems in LLM services cannot be simplified to “if computation is fast enough, insufficient memory does not matter.” Compute, memory, bandwidth, cache, and scheduling are tightly coupled: faster request completion can indeed release resources earlier, but long contexts, active caches, and queueing pressure can also limit this turnover efficiency.
For developers and enterprise users, the most valuable basis for judgment is not an isolated device count, but how much effective throughput the system can sustainably deliver under a defined workload and service objective. Building monitoring, stress testing, admission control, and cache policies around this objective is how short-term resource pressure can become a measurable, optimizable, and sustainably governed engineering problem.
