LLM Service Outages: A Four-Quadrant Breakdown and Troubleshooting Guide

    When an LLM service becomes unavailable, users often jump to speculation. This article breaks down "service down" into four distinct HTTP status codes—429, 503, 500, and 402—explaining their technical meaning, underlying system state, and the correct client-side response for each. Using a publicly documented 22-minute performance degradation as a case study, it shows how to separate passive protection and deliberate capacity reduction from real failures, and outlines standardized client-side fault tolerance practices including exponential backoff, fallback routing, idempotency, circuit breaking, and observability.

    Introduction: “It’s Down” Hides the Real Problem

    Whenever a large model service becomes inaccessible, the community quickly fills with imaginative guesses: Is a new model about to launch? Is the underlying compute cluster rolling out hardware replacements? Is there a supply chain capacity fluctuation? These discussions are lively, but most of them rest on a shared misconception—treating “service unavailable” as a single, well-defined condition.

    For developers with backend architecture experience, the first instinct when facing such issues should be to “split it apart.” In operations and observability, the colloquial word “down” actually covers at least four fundamentally different system states, each requiring different operational actions and client-side strategies.

    This article takes a neutral technical perspective to analyze the four states behind LLM service anomalies. Drawing on a publicly documented short-term performance degradation event, it discusses how to distinguish passive protection, active contraction, and genuine failure, and provides a standardized guide to client-side fault tolerance and troubleshooting.

    1. State Breakdown: The Technical Semantics Behind Four Response Codes

    To accurately assess a service anomaly, you must first set aside emotional language and return to the technical reality of HTTP status codes and business error codes. An LLM API from a cloud provider typically defines service states very clearly, and these four states represent completely different system situations:

    1. 429 Rate Limit Reached (Rate Limiting Triggered)

    • Technical meaning: Requests are being sent too fast, exceeding the account-level concurrency or queries-per-second (QPS) limit.
    • System state: The rate limiting mechanism is active. This actually shows the system as a whole is alive and is protecting itself from being overwhelmed by rejecting excess traffic.
    • Response strategy: The client must implement exponential backoff rather than blindly retrying.

    2. 503 Server Overloaded (Service Overload)

    • Technical meaning: High concurrent traffic has exhausted server-side compute resources, and the request queue has reached its limit.
    • System state: Capacity is temporarily insufficient. The system is in a “sub-healthy” state and is shedding load.
    • Response strategy: The client should reduce request frequency or switch to a backup model/backup route for graceful degradation.

    3. 500 Server Error (Internal Server Error)

    • Technical meaning: Server-side code logic exceptions, dependent middleware timeouts, or underlying compute node crashes.
    • System state: This is a genuine “break” (a real failure), and its occurrence does not necessarily have a linear relationship with external traffic volume.
    • Response strategy: The service provider needs to perform an emergency rollback or scale-out; the client should perform a limited number of idempotent retries.

    4. 402 Insufficient Balance

    • Technical meaning: The account’s available quota is exhausted.
    • System state: A pure business-side interception unrelated to network, compute, or code.
    • Response strategy: Top up or adjust the billing strategy.

    Core conclusion: Among the four states, only the 500 class is a technical failure. 429 and 503 are essentially protection mechanisms in a distributed system at work—it is better to precisely reject a portion of requests than to let the entire cluster collapse. Whether a platform’s engineering capability is strong is not measured by whether it ever returns a 503, but by whether it has established complete queuing, degradation, and client backoff guidance mechanisms before returning a 503.

    2. Case Study: How to Objectively Evaluate a Short-Term Performance Degradation

    Let’s return to a service anomaly event that sparked widespread discussion. If we check the relevant platform’s official status page, we find a record that differs sharply from community perception.

    1. The Time Gap Between Official Records and User Perception

    The official status page recorded only a single event lasting 22 minutes: from 00:53 to 01:16, titled “Conversation service performance degradation,” with the affected components being the web client and the chat interface. The update log had only two lines: 00:53 “investigating” and 01:16 “resolved.”

    However, a large number of developer reports were concentrated during the daytime. This time gap reveals three possibilities:

    1. There was a short jitter window not captured by the status page;
    2. Users encountered local client network fluctuations or DNS cache issues;
    3. Some users were using third-party relay services whose own load balancing strategy had problems.

    As a technical observer, before the provider publishes a root cause analysis (RCA), one should not subjectively assume underlying hardware architecture changes (such as swapping out a specific model of accelerator card). Treating community speculation as a first-hand incident postmortem will only lead to conclusions that deviate from the facts.

    2. Distinguishing “Failure” from “Active Product-Side Contraction”

    More noteworthy than a short-term performance degradation is the quota tightening that appeared on the product side in the following days (such as adjusting free tier limits or tightening concurrency limits). This is not a technical failure but an active contraction by the product side based on resource costs. Conflating “failure” with “active contraction” is the root cause of many technical discussions going off track.

    3. Engineering Practice: How Clients Should Scientifically Handle Server-Side Anomalies

    Since we cannot control the state of upstream cloud services, we must build a highly resilient client-side calling layer. Below is standardized code logic for the four states above (Python pseudocode as an example):

    1. import time
    2. import random
    3. def call_llm_api(request_payload):
    4. max_retries = 3
    5. for attempt in range(max_retries):
    6. response = send_request(request_payload)
    7. if response.status_code == 200:
    8. return response.json()
    9. elif response.status_code == 429:
    10. # Rate limited: use exponential backoff + random jitter to avoid a retry storm
    11. wait_time = (2 ** attempt) + random.uniform(0, 1)
    12. time.sleep(wait_time)
    13. elif response.status_code == 503:
    14. # Service overloaded: switch to a fallback route or extend the wait time
    15. request_payload = switch_to_backup_model(request_payload)
    16. time.sleep(5 * (attempt + 1))
    17. elif response.status_code in [500, 502, 504]:
    18. # Real failure: limited idempotent retries
    19. if attempt == max_retries - 1:
    20. raise Exception("Upstream server internal error")
    21. elif response.status_code == 402:
    22. # Account anomaly: abort immediately, no retry needed
    23. raise Exception("Quota exhausted, please recharge.")
    24. raise Exception("Max retries reached.")

    Key Engineering Details:

    • Idempotency guarantee: Before initiating a retry, you must ensure the request is idempotent to avoid duplicate charges or duplicate streaming output.
    • Circuit breaker: When a large number of 503s or 500s are received consecutively in a short time, the client should trigger a circuit breaker, pausing requests for a period to give the server a recovery window.
    • Observability: Use general-purpose logging and monitoring/alerting capabilities to instrument and track response codes in real time. When the proportion of 429s and 503s spikes, the operations team can step in early rather than reactively responding only after users complain that it’s “down.”

    4. Conclusion

    Evaluating the stability of an LLM service requires stripping away emotional wording and returning to a rigorous distributed systems perspective. A 22-minute short-term performance degradation is a localized failure, while quota adjustments are a product strategy. What developers really need to do is not blindly speculate about changes to the underlying infrastructure, but build a robust calling architecture with rate-limit awareness, backoff retries, route degradation, and real-time monitoring. In the cloud-native era, fault tolerance design is a required course for every AI application developer.