Email me

AI API errors · Anthropic, OpenAI, Gemini · checked Oct 24, 2026

AI API errors: retry it, or fix it?

Paste the error your app threw. You get what it means, whether retrying will help, and the fix, for Claude, OpenAI and Gemini.

The cheat sheet

StatusAnthropicOpenAIGeminiRetry?
429rate_limit_errorrate limit, slow_downRESOURCE_EXHAUSTEDYes, with backoff. Except quota/billing 429s (OpenAI insufficient_quota, a monthly spend cap).
500api_errorserver errorINTERNALYes
503 / 529529 overloaded_error503 server_is_overloaded503 UNAVAILABLEYes, then fall back to another model
504timeout_error-DEADLINE_EXCEEDEDYes; stream long outputs
400invalid_request_errorinvalid_request_errorINVALID_ARGUMENTNo: fix the request
401 / 403authentication / permissioninvalid key, IP, countryPERMISSION_DENIEDNo: fix the key or access
402billing_error(429 insufficient_quota)payment_requiredNo: fix billing

Rule of thumb: 429 and 5xx are worth retrying with exponential backoff and jitter (honor retry-after). 4xx other than 429 never fix themselves, and neither do quota or spend-limit 429s.

Anthropic (Claude)

OpenAI

Google Gemini API

Up next

Pick a fallback modelAI model pricesRead it next →

Did this answer your question?

Up next

Get 3 picks for your job, volume and budgetPick an AI model for your jobLLM API pricing for 71 models per 1M tokens, checked at the source. Pick for me: your job, volume and budget give 3 models with the monthly cost. Filters, CSV.Read it next →

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ