LLM Inference Capacity Constraints: Why AI Services Pause New Membership Sign-Ups
This article explains why AI assistant services pause new membership registrations during peak demand, framing the decision as a capacity constraint rather than a product strategy. It covers the first principles of GPU memory and bandwidth in autoregressive decoding, why KV cache can be discarded and rebuilt, a three-tier context state hierarchy across VRAM, host memory, and object storage, recovery strategies that trade loading against recomputation, continuous batching and scheduling, peak-hour degradation and admission control, capacity planning with elastic scaling, and the observability metrics required to manage it all.
1. Behind the Headline: Pausing Sign-Ups Is a Capacity Signal, Not a Product Decision
When an AI assistant service announces that compute is tight and new membership sign-ups are paused, outside observers tend to read it as a go-to-market move. From the engineering side of inference serving, it is usually what happens when available cluster capacity crosses a safety watermark. The cost and throughput structure of a large language model serving stack differs fundamentally from a conventional web service: request latency is measured in seconds rather than milliseconds, the memory a single request occupies grows linearly with context length, and resource consumption varies enormously from request to request. Capacity therefore cannot be described by QPS alone. It takes two dimensions together: how many sessions can be maintained concurrently, and how many tokens can be produced per second.
Rate limiting, pausing new sign-ups, and queuing are all ways of pushing the arrival rate back into the range the cluster can carry, so that latency does not cascade. Once that is clear, every technical tradeoff that follows makes sense.
2. First Principles of Peak Concurrency: GPU Memory Decides How Many Users You Can Serve at Once
Autoregressive decoding proceeds one token at a time. For every active session the server maintains a context state, and for each generated token it reads the entire history state, performs matrix operations, and writes the updated state back. The per-GPU loop can be abstracted as:
while active requests exist:fetch current state for a batch of requestscompute the next tokenwrite back the updated stateif a request finishes -> release its state, admit a new request from the waiting queue
Inside this loop, the genuinely scarce resources are memory capacity and memory bandwidth; compute (FLOPs) is often not the first bottleneck. Memory determines how many context states can be laid out at the same time, and bandwidth determines how fast state is moved at each step. This is why engineers say the amount of GPU resource available sets the peak number of sessions that can be maintained concurrently. Slightly tight per-card memory is not fatal by itself: if decoding is fast enough, a slot is freed sooner for the next request.
A rough capacity estimation illustrates the method (the numbers only show the approach and are not any product’s figures):
per-session state size ≈ layers × 2 × attention heads × head dim × context length × bytes per elementconcurrent sessions ≈ (per-GPU memory - weight footprint - runtime reserve) / per-session state sizepeak token throughput ≈ concurrent sessions × tokens per step per session × steps per second
3. Why KV Cache Is Disposable: The One-Shot Nature of Chat Sessions
The central observation is that context state in chat scenarios is highly disposable. Most sessions are one-shot: questions like “what’s the weather tomorrow” or “what did a public figure eat yesterday” are asked and abandoned. Even in longer conversations, users rarely revise history frequently within the same day. That means the state a server carefully retains for a session sits idle most of the time.
Three engineering conclusions follow:
- Context state is a rebuildable resource, not one that must stay resident. The worst cost of dropping it is recomputation, not data loss.
- Session resumption has a natural time window. Return intervals are typically minutes to days, leaving ample time for cache eviction and asynchronous persistence.
- The optimization goal shifts from “preserve every state” to “maximize useful output per unit of memory.”
4. Tiering Context State: A Three-Level Hierarchy of VRAM, Memory, and Object Storage
Treating context state as a cache with hot and cold tiers yields three levels:
- Hot tier (VRAM): only sessions currently decoding, targeting the lowest latency.
- Warm tier (host memory / local fast disk): evicted copies of recently active sessions, supporting second-level recovery.
- Cold tier (object storage): persisted session history, indexed by session identifier, for recovery across nodes and across time.
The scheduler scores sessions by “last used time + remaining generation length + user tier” to decide who stays in the hot tier and who is evicted. Illustrative logic:
def choose_evict(sessions, need_slots):# Lower score means evict first: idle longer, closer to completion, lower priorityscored = sorted(sessions,key=lambda s: (s.idle_ms, -s.remaining_tokens, s.priority))return scored[:need_slots]
Eviction and recovery should be asynchronous: on eviction, write state in chunks to the warm tier, with the cold tier as a fallback; on recovery, hit the warm tier first, fall back to pulling from the cold tier, and if that still fails, re-prefill while carrying the history text.
5. Recompute or Load: The Economics of Recovery
There are two recovery paths with very different costs:
- Load path: move already-computed state. High bandwidth cost, controllable latency, suitable for warm-tier hits.
- Recompute path: run prefill again. High compute cost, latency rising with history length, but simple to implement and free of storage cost.
Because prefill is highly parallel and friendly to compute utilization while decoding is bandwidth-bound, a hybrid strategy is common: recompute short histories directly, prefer loading for long histories, and fall back to recomputation if loading fails. A “history length threshold” and a “maximum recompute length” prevent a single very long session from dragging down an entire batch.
6. Continuous Batching and Scheduling: Turning Idle Memory into Throughput
Static batching makes short requests wait behind long ones and leaves memory spinning idle. Continuous batching regroups at every step: finished requests leave immediately and waiting requests fill the gap. The following techniques raise effective concurrency further:
- Chunked prefill: split long prompts into small chunks interleaved with decoding steps, so a long prompt does not block the whole batch.
- Priority queues: paid or high-priority requests enter the batch first, while free requests are queued at a lower level during peaks.
- Length-aware scheduling: order batching by estimated output length to reduce fragmentation from mixing long and short requests.
- Preemption and rollback: under extreme congestion, pause low-priority requests and release memory to high-priority ones.
7. Peak-Hour Degradation and Admission Control
When the cluster approaches its watermark, degrade deliberately instead of collapsing:
- Ingress rate limiting: control the rate of new sessions with a token bucket and return explicit queueing or retry-later semantics.
- Output length caps: lower the maximum generation length per request during peaks, directly reducing state size and occupancy time.
- Context trimming: summarize or apply sliding-window truncation to very long histories, pushing state back into a manageable range.
- Model tiering: route simple requests to smaller models and reserve large models for complex reasoning.
- Member and free-tier separation: protect the high-priority tier during peaks and pause new sign-ups at the lower tier. This is the technical meaning of “pausing membership sign-ups.”
8. Capacity Planning and Elasticity: Keeping Compute Supply Ahead of Demand
Capacity planning must separate average from peak. Configuring for the average causes frequent overload; configuring for the peak wastes resources over the long run. A workable approach is “baseline plus elastic scaling”: a baseline cluster handles everyday traffic, metrics (queue time, memory utilization, in-batch idle rate) trigger scale-out, and scale-in uses a cooldown window to avoid flapping. For deferrable batch jobs, a message queue shaves peaks and shifts work into troughs. Using general-purpose capabilities such as container platforms, object storage, and monitoring and alerting from Baidu AI Cloud, scaling, state persistence, and alerting can be linked into a closed loop.
9. Observability: No Metrics, No Capacity
At minimum, collect active session count, queue time, per-step decode time, prefill time, memory utilization, cache hit rate, eviction and recovery counts, and recompute ratio. Cache hit rate and recompute ratio directly shape the cost curve, while queue time shapes the user experience. Set a watermark for each metric class and wire it into alerting so that scale-out or degradation triggers before a threshold is crossed.
10. Conclusion
“Compute is tight, sign-ups are paused” is not a mystery. It is the combined result of memory capacity, decode bandwidth, and scheduling policy. Treat context state as a disposable, rebuildable, tiered cache; use continuous batching to squeeze memory; use tiered degradation to protect high-priority traffic; and use elastic scaling plus observability to absorb fluctuation. That is how peak concurrency and cost are both brought into a reasonable range under finite GPU resources.
