LLM Service Outages: How Developers Can Keep Applications Running
Frequent LLM service outages can disrupt APIs, automation pipelines, and long-running tasks. This article explains the difference between rate limiting and server overload, how failures spread across shared dependencies, and how developers can limit disruption with independent monitoring, backoff, circuit breakers, checkpoints, and fallback models.
1. Three Outages in One Day Reveal a Broader Reliability Problem
An AI coding and chat service recently experienced three outages in a single day, affecting its API, web application, and collaboration features in succession. Its status page repeatedly shifted between disruption and recovery. Public status records showed multiple incidents that month, affecting developers who relied on the service for automated workflows. One user reported that an outage interrupted a task that had been running for nine hours, rendering all completed work unusable.
Such incidents are not isolated. LLM services can experience availability fluctuations under high concurrency and during long-running tasks. Understanding how these failures appear—and why they happen—is essential to designing resilient applications.
2. HTTP 429 vs. 529: Different Errors Require Different Responses
Many users received 529 Overloaded errors during the disruption. Understanding their significance requires distinguishing them from ordinary rate-limit errors.
429 Too Many Requests: The Caller Has Reached a Limit
A 429 Too Many Requests response indicates that the caller has hit a rate or quota limit. The service is still running, but the caller has exceeded an allowance.
Possible causes include limits on requests per minute, tokens per minute, concurrent requests, or account quotas. It does not necessarily mean requests are arriving too quickly.
Before deciding how long to wait, check the Retry-After response header or the provider’s error details.
529 Overloaded: Server Capacity Is Exhausted
A 529 Overloaded response indicates server-side overload: the available capacity pool is saturated. The resource constraint is on the provider’s side. Client retries cannot restore that capacity and may instead increase traffic.
Blind retries can intensify a cascading failure. The appropriate response is to reduce requests, fail fast, and switch to a fallback path.
However, 529 is not a standard HTTP status code. Some providers use it in their APIs, while others may return 503 or 500 for overload. Always interpret errors according to the relevant provider documentation.
According to public status records, the overload in this incident lasted nearly three hours. After identifying the root cause, the provider disclosed neither technical details nor an estimated recovery time. That lack of information made it difficult for downstream teams to decide whether to switch to an alternative.
3. Why Failures Spread Across Services
Multiple model versions became unavailable during the incident. The web interface, API, command-line tools, and collaboration features were almost entirely affected, while only a few administrative entry points remained operational.
This pattern of widespread disruption commonly points to three failure mechanisms:
- Shared dependencies amplify failures. If inference clusters, authentication services, and gateway routing share underlying resources or a configuration service, a problem in one area can spread across other components.
- Failures persist in supporting paths. A healthy status page does not guarantee that users can access the service. In past incidents, session authentication, configuration pages, and usage reporting continued returning errors after the main service recovered. The status page may show normal operation while users still cannot sign in.
- Returning traffic causes another overload. Requests can surge back as soon as a service starts recovering, triggering a second overload. This helps explain repeated cycles of disruption and apparent recovery.
To assess whether a failure could spread across your application’s dependencies, ask:
- Do requests pass through the same gateway or load-balancing entry point?
- Do authentication and business APIs rely on the same dependencies?
- Can a configuration service or feature flag affect multiple components?
- Do inference workloads share a resource pool or region with other services?
If most answers point to the same resources, assume that a single incident could affect several features at once and prepare a degradation strategy in advance.
4. Go Beyond Status Pages: Independent Probes and Backoff
Some community-run automated accounts publish outage notifications. For developers, however, relying solely on an official status page can delay detection. Independent probes can reveal problems sooner.
The following code provides a basic framework:
import randomimport timeimport requestsdef probe(endpoint, payload, headers=None, timeout=10):try:r = requests.post(endpoint, json=payload, headers=headers, timeout=timeout)except requests.RequestException:return "DOWN"if r.status_code == 429:return "LIMITED"if r.status_code in (401, 403):return "AUTH_ERR"if 400 <= r.status_code < 500:return "CLIENT_ERR"if r.status_code >= 500:return "DOWN"return "OK"def call_with_backoff(fn, max_retry=5, base=1, cap=60):for i in range(max_retry):state = fn()if state == "OK":return Trueif state != "LIMITED":# Do not retry DOWN, AUTH_ERR, or CLIENT_ERR; defer to the circuit breaker.return Falsedelay = min(base * 2 ** i, cap)time.sleep(delay + random.uniform(0, 1))return False
Several design choices matter here:
- Retry only 429 responses with backoff. In this framework,
5xxfailures return immediately and should be logged rather than retried, avoiding additional pressure on the upstream service. - Do not treat 4xx responses as successful availability checks. Authentication failures and invalid requests do not establish that the service is usable. Classify them separately to support troubleshooting.
- Add random jitter to backoff delays. When many clients retry at once, jitter spreads their requests over time and reduces the risk of a retry storm.
- Account for probe costs. Probe requests consume quota and can themselves trigger rate limits if sent too frequently. Prefer a provider-supplied lightweight endpoint that does not consume inference quota, where available. Use minute-scale probe intervals and reserve a separate quota allocation for monitoring.
- Set timeouts according to business needs. A timeout that is too short can produce false alarms; one that is too long delays failure detection.
The example is a basic framework. For actual rate-limit handling, use the provider’s Retry-After header or error details, when available, to determine the appropriate wait.
5. High-Availability Practices for Developers
Save Progress with Checkpoints
Break long-running tasks into stages and persist intermediate results to object storage or a database. After a failure, resume from the latest checkpoint instead of restarting the entire task.
Prepare Multiple Fallback Paths
Configure a backup model or service path for critical workflows, with automatic switching when the primary path fails.
Before switching, evaluate the backup model’s output quality, per-call cost, and compliance with data-processing requirements. Identify the source in fallback results so they can be reviewed later.
Use Queues to Absorb Traffic Spikes
Replace synchronous calls with asynchronous, message-queue-driven processing where appropriate, and rate-limit consumers. During upstream instability, tasks can wait in the queue rather than fail immediately.
Apply Circuit Breakers
When the error rate exceeds a threshold, temporarily stop calling the upstream service. After a waiting period, send a small number of requests to test whether it has recovered.
Failing fast makes the impact easier to contain than waiting indefinitely.
Monitor from Multiple Sources
Probe the service from different network locations and combine those observations with logs and alerting tools. This helps detect situations where the official status page reports normal operation but the application remains unusable.
6. Keep Upstream Uncertainty Within Your Control
LLM service reliability depends on capacity planning, dependency isolation, staged rollouts, and transparent communication. Developers consuming these services cannot control those factors, but they can control their own system design.
Do not assume that an upstream service will always be available. Preserve progress with checkpoints, manage traffic with backoff and circuit breakers, maintain core functionality through fallback paths, and detect problems early with independent monitoring.
Together, these measures can keep upstream instability from becoming an uncontrolled application outage.
