Fix guide

Gemini API Quota Exceeded

Updated August 13, 2026

Your API calls are returning HTTP 429 with RESOURCE_EXHAUSTED. This is a rate limit, not a payment problem.

Immediate fix

  1. Stop retrying in a tight loop. Implement exponential backoff: 1s, 2s, 4s, 8s, with random jitter and a retry cap.
  2. Honour the retry-after header when the response includes one.
  3. Serialise concurrent requests so you stay under requests-per-minute.

Raise the ceiling

Send less

Related help

Independent resource. Not affiliated with, endorsed by, or sponsored by Google.