LLM Service Outages Under Compute Pressure: A Guide to Stability Engineering

    This article analyzes a multi-day LLM service outage in which multiple model tiers failed within minutes, and traces the likely cause to shared inference capacity exhaustion rather than a single bug. It explains the structural pressure created by trillion-parameter models across memory, compute, and cost, then presents three stability practices: tiered capacity planning and traffic routing, circuit breaking with graceful degradation and retry governance, and observability paired with elastic scaling. It closes with practical guidance for developers on gateway abstraction, fallback models, load testing, and cost visibility.

    1. From a Single Failure to an Avalanche of Unavailability

    A conversational AI platform recently drew widespread user reports of service anomalies that appeared to be a full outage. Based on the public timeline, the disruption did not happen at once. It unfolded across two days and several distinct windows: first, API success rates dropped; then third-party account login failed; then a subset of requests to coding models errored out; and finally multiple model tiers — a high-speed version, a standard version, and a preview version — failed in succession within a matter of minutes.

    Stripping away the exact timestamps, a highly representative failure pattern emerges: within a very short window, several logically independent model services entered an abnormal state at the same time. In engineering terms, this rarely points to a single bug. It more likely points to capacity exhaustion in a shared foundation or a blocked dependency chain. Three signals support that reading:

    1. Tight clustering in time: multiple models failing within minutes is consistent with a cascading reaction after resource contention, not with unrelated, sporadic defects.
    2. Full coverage across tiers: everything from a lightweight preview to a high-throughput high-speed tier was affected, which places the bottleneck in the inference resource pool, gateway, or scheduling layer they all depend on.
    3. Multi-day persistence: the disruption carried over from day one into day two, with throttling in between, indicating the system ran at a high watermark for a long period without enough headroom to absorb peaks.

    2. Root Cause: Structural Pressure from Very Large Parameter Counts

    The stability of an LLM service is fundamentally an arithmetic problem of capacity versus cost. The larger the parameter count, the more GPU memory and compute a single inference requires, and the fewer requests can run concurrently. At the trillion-parameter scale, three kinds of pressure are amplified at once:

    • The memory wall: weights themselves consume a large amount of GPU memory, compressing the space left for KV Cache and directly limiting the context length and request count that can run concurrently.
    • The compute wall: even with tensor parallelism and pipeline parallelism splitting the model across multiple GPUs and nodes, single-request latency remains sensitive to batching efficiency, and queueing time rises quickly under peak traffic.
    • The cost wall: the per-request cost of high-tier models is significantly higher than that of lightweight models, and sustained high-watermark operation squeezes both the capacity budget and operations headcount.

    More critically, the model matrix lacked a gradient. When a platform runs several mid-to-large tiers without a genuinely lightweight offload tier, all traffic lands on the expensive resource pools. It is like a highway with only heavy-duty lanes: once traffic builds, there is no buffer to absorb fluctuation, and throttling, timeouts, and avalanche failures follow in order. The “robbing Peter to pay Paul” appearance during the incident is a typical sign of operations teams reshuffling priorities within limited capacity.

    3. Stability Practice 1: Capacity Planning and Tiered Offloading

    The answer is not to pile resources up indefinitely, but to build a layered model service matrix:

    Tier Role Typical Workloads Resource Strategy
    Lightweight High concurrency, low latency Classification, extraction, short Q&A Small models + high concurrency
    Standard General conversation Everyday Q&A, writing Mid-size models + elastic scaling
    High-tier Complex reasoning Code, long-context reasoning Large models + strict quotas

    Three things must accompany this. First, route requests by task complexity, so simple requests never enter the high-tier queue. Second, isolate quotas and priorities, so a single large customer or a single scenario cannot consume all resources. Third, define a capacity watermark red line — for example, trigger scale-out at 70% utilization rather than waiting until 95%.

    A simplified sketch of the routing logic:

    1. def route(request):
    2. if request.task_type in ("classify", "extract", "short_qa"):
    3. return "light_pool"
    4. if request.estimated_tokens > 8000 or request.task_type == "code":
    5. return "heavy_pool" # requires quota check
    6. return "standard_pool"

    4. Stability Practice 2: Circuit Breaking, Degradation, and Retry Governance

    An avalanche is an avalanche because failures get amplified. The goal is to keep failure contained:

    • Circuit breaking: open the breaker quickly on dependencies that keep failing, so threads and connections are not dragged down.
    • Degradation: when the high tier is unavailable, fall back to the standard tier automatically and show a clear message, instead of leaving users with a blank page.
    • Retry governance: exponential backoff with jitter is mandatory, along with a retry budget; otherwise a retry storm will punch through whatever capacity remains.
    • Layered timeouts: gateway, queueing, and inference timeouts must decrease layer by layer, so upstream does not give up while downstream keeps spinning.
    1. @circuit_breaker(failure_rate=0.5, window=30)
    2. @retry(backoff="exponential", jitter=True, max_budget=0.1)
    3. def call_model(payload, fallback="standard_pool"):
    4. try:
    5. return heavy_pool.invoke(payload)
    6. except OverloadedError:
    7. return standard_pool.invoke(payload) # degradation path

    5. Stability Practice 3: Observability and Elastic Scaling

    Repeated anomalies across days usually mean observability is not granular enough. At minimum, cover per-model success rate, time to first token, queueing duration, GPU memory and batching utilization, and the number of throttling events. With these metrics in place, you can tell “traffic genuinely grew” apart from “resources are locked up.”

    On the scaling side, run two tracks: predictive scaling, which pre-warms resources ahead of historical cycles, and reactive scaling, which adds capacity quickly based on watermark and queue length. Because loading model weights takes considerable time, keep a number of warm replicas to avoid a service vacuum during the scale-out window. For releases, stick to canary and phased rollouts so a new version does not stack on top of a capacity problem.

    6. Guidance for Developers on Model Selection and Integration

    1. Do not bind a critical path to a single high-tier model; abstract a unified inference gateway and keep the ability to switch.
    2. Prepare fallback models for different tasks, and make the degradation semantics explicit on the client side.
    3. Include both peak and burst curves in load tests, and verify that throttling and circuit breaking behave as expected.
    4. Make cost observable, accounting for per-request cost by model and by scenario so capacity is not consumed by inefficient calls.

    7. Conclusion

    The technical lesson from this incident is not complicated: as model size keeps climbing and the service matrix lacks a lightweight offload tier, the shared inference foundation fails first under peak load, and it surfaces as multiple peripheral features breaking at the same time. For platform operators, the way out is a tiered model matrix, strict quotas, and fast degradation. For consumers, it is architectural decoupling, fallback design, and resilient retries. Stability is never bought by piling resources onto a single point; it is built through the coordination of capacity, scheduling, and governance.