API errors
LLM API error codes: 429, 529, overload and quota, from official docs
On this page
TL;DR · The short answer
#Official documentation checked 27 November 2026. When an LLM API call fails, read the HTTP status and the machine-readable type or code in the JSON body—not just the status. OpenAI, Anthropic and Gemini each document several different 429s. Retrying helps for rate limits and overloads when the docs say to follow Retry-After or backoff. It does not restore access for billing, credit or spend-cap errors.
These pages quote official docs only. Independent explainer. Litmiq is not affiliated with, endorsed by or sponsored by OpenAI, Anthropic, Google, Microsoft or Cloudflare. Product names are used nominatively to identify official error codes.
Key takeaways
#- Start with the HTTP status, then the provider’s error type or code:
- Claude overloaded_error (HTTP 529) — Anthropic says the API is temporarily overloaded.
- These pages are not a live status dashboard and they do not measure how often each error occurs.
How to read an error
#Start with the HTTP status, then the provider’s error type or code:
- OpenAI: inspect
error.codeto tell a rate-limit 429 from a billing 429. Official docs note thaterror.typecan still beinsufficient_quotafor billing-related errors. - Anthropic: a 429
rate_limit_errormay be a rate limit or a spend cap. On the Messages API, a spend-cap response setserror.details.error_codetoenforced_spend_limit_reachedand has noretry-afterheader. - Gemini: the rate-limits guide documents
429 RESOURCE_EXHAUSTEDfor spend-based limits. The Interactions API errors page listsrate_limit_exceeded,quota_exceededandtoo_many_requestsas HTTP 429 codes.
The pages
#- Claude overloaded_error (HTTP 529) — Anthropic says the API is temporarily overloaded.
- Anthropic 429 rate_limit_error — rate limit versus monthly spend cap.
- OpenAI 429 rate limit reached — too many requests or tokens, and
slow_down. - OpenAI 429 quota and spend limits — credits, spend limits and usage limits; retrying does not restore access.
- Gemini 429 RESOURCE_EXHAUSTED — RPM, TPM, RPD and official backoff guidance.
- OpenAI 503 model temporarily overloaded — capacity, not a rate limit.
- Anthropic 413 request_too_large — request byte size, not a 429.
What this is not
#These pages are not a live status dashboard and they do not measure how often each error occurs. Limits change by model, project and usage tier; the providers say to check your console or AI Studio for the limits that apply to you. Litmiq cannot raise a provider cap or add credits. You can use Litmiq to test a shorter prompt or a smaller eval once the API accepts requests again.
Sources
#- OpenAI API error codes — 429, 503 and billing error.code values
- OpenAI rate limits — RPM, TPM and related limit dimensions
- Anthropic API errors — 529 overloaded_error, 429, 413
- Anthropic rate limits — spend cap versus rate limit
- Gemini API rate limits — RPM, TPM, RPD and 429 RESOURCE_EXHAUSTED
- Gemini troubleshooting — backoff for 429 and 503
- Gemini Interactions API errors — rate_limit_exceeded, quota_exceeded
Official documentation checked 27 November 2026. Independent explainer. Litmiq is not affiliated with, endorsed by or sponsored by OpenAI, Anthropic, Google, Microsoft or Cloudflare. Product names are used nominatively to identify official error codes.
FAQ
#Are these official error strings?
Yes. Each page quotes HTTP statuses and error types or codes from the provider’s own documentation, checked 27 November 2026, and links to those pages.
Can Litmiq lift a rate limit or add API credits?
No. Rate limits, spend caps and prepaid credits are enforced by the model provider. Litmiq is an eval tool that runs in your browser with your own key.
Why is there no context_length_exceeded page?
That string is widely searched, but OpenAI’s error-codes guide as fetched on 27 November 2026 does not list it as a current error.code. These pages only cover codes that official docs still describe.
Test your own prompt once the API accepts requests
#Litmiq cannot lift a provider rate limit, spend cap or credit balance. You can still run a smaller eval in your browser with your own API key.
- Free, no signup
- Runs in your browser
- Your OpenAI key, sent only to OpenAI
Newsletter
Get Litmiq AI Weekly
Practical AI tips and the best tools of the week, in plain English.