What this error means
Gemini returns HTTP 429 with RESOURCE_EXHAUSTED when a project crosses its per-minute or per-day quota. Bursty agent loops hit it first.
How to fix it
- Back off and retry with exponential jitter
- Request a quota increase in Google AI Studio
- Spread load across keys or fall back to another model
Example error message
{
"error": {
"code": 429,
"message": "You exceeded your current quota, please check your plan and billing details.",
"status": "RESOURCE_EXHAUSTED"
}
}Also seen as
The same underlying error surfaces with these messages across providers and SDKs:
Resource has been exhausted (e.g. check quota).Quota exceeded for quota metric "Generate Content API requests per minute".
Frequently asked
Is a Gemini 429 the same as being rate limited?
Yes. RESOURCE_EXHAUSTED means you hit a per-minute or per-day quota; it clears once the window resets.