GeminiError.com

Gemini API

Fix Gemini API 429 quota exceeded.

A 429 usually means your project is sending too many requests, using too many tokens, hitting a daily quota, missing billing, or retrying too aggressively.

API checklist

Reduce load, then verify quota.

Immediate mitigation

  1. Stop automatic retry storms.
  2. Add exponential backoff with jitter.
  3. Reduce concurrency and batch non-urgent work.
  4. Shorten prompts and requested outputs.

Project checks

  1. Open Google Cloud quota pages for the project.
  2. Check daily quota, RPM, TPM and billing status.
  3. Confirm the model and endpoint match your quota.
  4. Check whether free-tier or regional limits apply.

Logging

  1. Log status code, model, endpoint and latency.
  2. Record retry count and backoff delay.
  3. Store response body without exposing API keys.
  4. Separate user-facing traffic from batch jobs.

Related

More quota and limit guidance.