AI API error 503: unavailable or overloaded endpoints
A 503 means the responding endpoint is unavailable for this request. Read its error details and the matching official report; it does not by itself confirm a global outage.
Quick answer
A 503 means the responding endpoint is unavailable for this request. Read its error details and the matching official report; it does not by itself confirm a global outage.
Provider differences
OpenAI documents 503 overload responses, including error.code=server_is_overloaded; honor Retry-After when supplied. Gemini GenerateContent uses 503 UNAVAILABLE, while Interactions uses error.code=service_unavailable. A failure at one endpoint does not establish that every model or product is unavailable.
For direct REST requests or custom retry logic, retry only failures identified as transient, with exponential backoff, jitter and a retry cap. A 429 caused by an exhausted daily quota or spend limit is not a reason to retry immediately. Errors such as 400, 402 and 403 require the documented request, billing or access checks.
Claude’s direct API documents 529 for overload. A 503 seen through a gateway should be attributed to the responding layer until you have further evidence.
Official SDKs can retry before your code sees an error. Claude’s official SDKs retry connection errors, rate limits and 5xx server errors twice by default with exponential backoff and honor retry-after when present. Gemini’s Python SDK retries timeouts, network issues, 429 and 5xx responses up to four times, with an initial delay of about 1 second and a maximum delay of 60 seconds.
Recommended application response
Use exponential backoff with jitter and an explicit attempt and time budget. Avoid sending the same failed request in a tight loop. Keep a request ID and sanitized response details for investigation.
If you consider another endpoint, verify its supported model, authentication, data handling and actual response. A normal status page is only one piece of evidence. A router’s report cannot establish every upstream model’s availability.
Related service pages
Each entry shows its own collection coverage. A linked service is not necessarily automatically collected.
Editorial review date applies to this guide. Live report collection times appear on the service pages.