AI API billing and quota errors, by provider
Every provider has its own way to say the money ran out, and several say it with a status that looks like something else. These pages give the exact status and body of each answer, where it is documented, and what keyover does with it.
OpenAI
429 insufficient_quota, credit_balance_exhausted and the spend limit codes.
429Prepaid credit balance is depleted429You exceeded your current quota, please check your plan and billing details429Organization reached the monthly spend limit it set
Anthropic
The 400 that says your credit balance is too low, 402 billing_error and spend limits.
400Your credit balance is too low to access the Anthropic API403A billing_error type on a status the reference does not give it402An issue with your billing or payment information
Gemini API
402 for depleted prepay credits. A 429 quota never moves.
402Your prepayment credits are depleted402Prepay credit balance is depleted (Interactions API)400API key not valid. Please pass a valid API key
OpenRouter
402 insufficient credits and the 403 budget limits, told apart from moderation.
402Your account or API key has insufficient credits402This request's estimated cost is larger than the whole in-flight budget403Key reached the limit set on it
Groq
400 blocked_api_access when the spend limit is reached.
400Organization reached the monthly spend limit it set401Invalid API key498Flex tier capacity exceeded
DeepSeek
402 Insufficient Balance.
402Insufficient Balance401Authentication fails: wrong API key429Rate limit reached
Mistral
402 Payment required.
402Payment required429Too many requests
Together AI
402 when the balance reaches its spend cut-off.
402Organization's balance reached its spend cut-off403Account cannot access the requested model or feature
Fireworks AI
402 for an unpaid plan or exceeded usage limits.
402Account is not on a paid plan or has exceeded usage limits401Invalid API key or insufficient permissions412Account is suspended
Cerebras
402 PaymentRequired.
402Payment required: no active subscription or balance429Too many requests