GPU Capacity Crunch in LLM Serving: Root Causes and Scheduling Governance
Large model services often face severe compute shortages after launching flagship models, leading to queues, delayed access, or paused onboarding for new users. This article explains why GPU capacity becomes scarce, covering nonlinear demand growth, long-running agent workloads, and the inherent constraints of inference. It then discusses engineering practices for capacity governance, including admission control, rate limiting, priority scheduling, elastic scaling, and tiered subscription design. The goal is to show how platforms can balance commercial priorities with limited compute resources.
1. Capacity pressure: a structural challenge in large model services
Over the past year, several large model services have experienced “queueing delays” or “paused onboarding for new users” after launching major model updates. These issues may look occasional at first glance, but they are often the result of a deeper mismatch between resource supply and demand.
For example, after a large model platform launched a flagship model, user requests quickly exceeded capacity forecasts. The cluster approached its serving limit, and the platform had to pause onboarding for new users while directing limited compute toward existing subscribers.
From a purely commercial perspective, this may seem counterintuitive: giving up new revenue in order to protect existing users. However, when engineering constraints and business models are considered together, this is a standard solution for subscription-based services.
To understand the logic, we first need to break down what actually consumes compute resources.
2. Root causes of compute shortages
2.1 Nonlinear growth in request volume
Load growth in traditional internet services is often linear: if users increase by 10%, request volume roughly increases by 10%.
Large model services behave differently. Their load often shows strong nonlinear characteristics:
- Viral spikes: a single social media wave can produce a peak many times higher than normal within hours.
- Call amplification: one user interaction may trigger multiple model calls, retrieval-augmented generation, or tool invocations. A single user request can therefore become dozens of inference requests.
- Long-tail volatility: traffic can fluctuate sharply within a day or a week, while GPU cluster scaling may take minutes or even hours.
As a result, capacity planning based on average traffic is likely to be overwhelmed at peak times.
2.2 Hidden cost of persistent runtime environments
The key shift in understanding is that large model platforms no longer sell users only a “chat box.” They provide a persistent compute environment.
When a user starts an automated task, a multi-step agent workflow, or a long-running background job, GPUs remain occupied for as long as the environment runs.
This leads to a cost model that is often underestimated:
Traditional SaaS resource use ≈ number of requests × cost per requestLLM agent resource use ≈ runtime duration × concurrency × per-GPU throughput × occupancy duration
Traditional SaaS follows a “pay per use” model. Large model agents follow a different model: as long as the environment is running, resources remain locked.
A user running batch tasks may consume dozens or even hundreds of times more resources than a user engaging in normal chat. If different workload types are not separated, heavy users can squeeze out light users and eventually degrade the experience for everyone.
2.3 Resource rigidity of inference workloads
Unlike stateless web services, large model inference has several rigid constraints:
- GPU memory cannot be oversubscribed easily: once GPU memory is allocated, it cannot be reused as freely as CPU memory. In addition, the KV cache grows roughly linearly with context length.
- Batch processing has practical limits: to control latency per request, batch size cannot be increased without limit. Throughput and latency require a hard tradeoff.
- Scaling is not linear: adding another GPU may theoretically improve throughput, but communication overhead and scheduling overhead can reduce the actual gain.
These constraints mean that large model services cannot rely on simply adding more machines as an unlimited fallback. They require fine-grained scheduling and governance.
3. Capacity governance: stabilize the baseline first
When compute is under pressure, the right order is not “scale up first.” Instead, the priority should be “govern first.”
The following three types of practices should be used together.
3.1 Admission control and rate limiting
At the entry layer, excessive traffic should be intercepted to prevent the system from being overwhelmed. A common approach is the token bucket algorithm, which can limit average request rates while still allowing some burst traffic.
import timeclass TokenBucket:def __init__(self, capacity, refill_rate):self.capacity = capacity # Bucket capacity; determines the burst limitself.refill_rate = refill_rate # Number of tokens added per secondself.tokens = capacityself.last_refill = time.time()def try_acquire(self, need=1):now = time.time()# Refill tokens linearly based on elapsed timeself.tokens = min(self.capacity,self.tokens + (now - self.last_refill) * self.refill_rate)self.last_refill = nowif self.tokens >= need:self.tokens -= needreturn Truereturn False # Reject the request and provide a clear retry hint
The purpose of rate limiting is not only to reject requests. It is also to provide predictable feedback to users, such as “there are N users ahead of you in the queue.” This turns an uncontrolled cascade failure into a controlled waiting experience.
3.2 Priority scheduling
When resources are insufficient, the platform must decide who gets served first and who waits. A clear priority policy is therefore essential. One common approach is to maintain multiple priority queues.
from collections import dequeclass PriorityScheduler:def __init__(self):# High priority (for example, existing paid users)# > Medium priority# > Low priority (for example, trial users or batch jobs)self.queues = {2: deque(), 1: deque(), 0: deque()}def submit(self, task, priority):self.queues[priority].append(task)def dispatch(self, gpu_slots):# High-priority tasks take compute first.# Low-priority tasks may be delayed or degraded.for priority in sorted(self.queues.keys(), reverse=True):while gpu_slots > 0 and self.queues[priority]:task = self.queues[priority].popleft()yield taskgpu_slots -= 1
This mechanism directly supports product decisions such as “pause new users and prioritize existing users.” At the engineering level, existing paid users are simply given higher scheduling priority.
3.3 Elastic scaling
Elastic scaling should be driven by monitoring and alerting signals, such as GPU utilization, GPU memory usage, queue length, and time to first token. These signals can trigger automatic scaling of inference replicas on container platforms.
Object storage and message queues can also help smooth traffic. Instead of processing instantaneous spikes directly, workloads can be turned into buffered asynchronous tasks.
However, elastic scaling can only handle predictable fluctuations. When facing a sudden viral spike, admission control remains the first line of defense.
4. Balancing business goals and resource allocation under a subscription model
4.1 Why existing users are prioritized
The foundation of a subscription business is the renewal rate, not one-time user acquisition.
The cost of acquiring a new user is usually much higher than the cost of maintaining an existing user. More importantly, the renewal decision of an existing user directly affects customer lifetime value.
When compute is limited:
- Losing one paying user means losing predictable revenue and possibly word-of-mouth referrals.
- Delaying one non-paying user means giving up potential revenue that has not yet been realized.
Therefore, protecting existing users is often the better choice for both cash flow and brand reputation. This is also consistent with the common strategy of protecting key customers during resource shortages.
4.2 Renewal logic and user expectations
Existing users usually expect one thing: once they have paid, the service should remain stable and available.
If compute is diluted for the sake of acquiring new users, existing users may experience performance degradation. This can directly reduce their willingness to renew.
To maintain renewal, platforms should use observability tools such as logging and alerting to define and visualize SLOs. This makes the promised level of stability measurable and transparent.
5. Differentiated compute allocation: tiered subscription design
One of the most instructive ideas in the original case is the separation of benefits into “core benefits” and “intelligent coding benefits.”
Behind this design is a practical engineering truth: different users consume compute in very different ways.
5.1 Differences in consumption structure
| User type | Usage characteristics | Resource profile |
|---|---|---|
| General chat users | Short bursts; sessions usually release quickly | A single GPU can serve many concurrent users |
| Intelligent coding users | High frequency, long context, continuous code index access | High resource use per session and heavy GPU memory pressure |
| Batch or agent users | Long-running, multi-step workflows | Resources remain locked and are difficult to reclaim |
If all of these usage patterns are sold under one uniform plan, two problems appear:
- Unfairness: light users end up subsidizing heavy users.
- Unsustainability: heavy users consume too much compute, degrading the experience for everyone.
5.2 Design approach for benefit segmentation
A reasonable approach is to design quotas around the actual dimensions of resource consumption:
- Limit by session or request: suitable for chat scenarios.
- Limit by concurrency: suitable for agent and automation scenarios.
- Limit by context length and call frequency: suitable for coding and long-document scenarios.
With clear quotas and overage policies, users pay for the resources they actually consume. This improves fairness and also makes capacity planning more predictable.
This approach is also commonly used in Baidu AI Cloud through combinations of resource quotas, elastic instances, and pay-as-you-go billing to support fine-grained cost management.
6. Best practices checklist
To address compute pressure in large model services, the following dimensions can be considered systematically:
- Governance before expansion: first stabilize the system with rate limiting, queues, and priority scheduling; then consider scaling.
- Plan for peak demand, not average demand: combine historical data with viral traffic models for capacity estimation.
- Define SLOs and degradation policies clearly: decide which scenarios to protect, which to degrade, and which to queue.
- Differentiate by consumption structure: design differentiated quotas and subscription benefits for different workload patterns.
- Build an observability loop: use monitoring, alerting, logging, and tracing to quantify resource consumption by workload type.
- Encode business logic into scheduling logic: for subscription-based platforms, priority strategies aligned with renewal rates are a fundamental way to get through compute bottlenecks.
Compute pressure is not the end point. It is often the starting point for more refined operations. A mature large model service does not compete only on peak compute capacity. It competes on the ability to allocate limited compute resources fairly, stably, and sustainably.
