Verified error fix

429 — Resource exhausted / rate limit exceeded

Gemini API 429 Rate Limit Exceeded: direct meaning, scoped diagnosis, corrective action, official source, and linked current limit.

Platform · Gemini APIHTTP 429 Verified Aug 22, 2026
Quick answer

The Google Cloud project exhausted a model-tier RPM, TPM, RPD, or batch allowance.

Verified Aug 22, 2026

Why does this error happen?

  • Aggregate traffic across API keys in the same project exceeded at least one active limit dimension.
  • The effective account, plan, runtime, model, region, or deployment scope may be more restrictive than a headline platform maximum.
  • Retries or parallel workers can amplify the condition when they are not bounded or coordinated.

How do you diagnose it?

  1. Match the model and project to AI Studio limits and compare requests, tokens, daily usage, and batches.
  2. Correlate the provider request identifier and UTC timestamp with application logs and metrics without recording secrets.
  3. Reproduce with the smallest safe request and verify the exact account, plan, endpoint, region, runtime, or model involved.

How do you fix it?

  1. Throttle the exhausted dimension, honor retry guidance, reduce tokens, or qualify for a higher usage tier.
  2. Retry only when the documented error is temporary; use bounded attempts, jitter, idempotency, and a dead-letter path.
  3. Verify recovery with a controlled request, then monitor the same limiter or failure signal under normal traffic.

How do you prevent it from recurring?

Turn the confirmed cause of 429 — Resource exhausted / rate limit exceeded into an observable boundary for Gemini API. Track the relevant request count, token volume, payload size, execution time, connection pressure, billing state, or upstream health before it reaches the documented failure condition. Preserve the platform request ID and timestamp so future incidents can be correlated without logging sensitive payloads.

Test the fix under representative concurrency and failure injection, not only with one successful request. Alert on remaining headroom and repeated retries, and keep the linked limit page and official error source with the runbook so responders can distinguish a configuration problem from temporary service pressure or account state.

Do not paste API keys, database URLs, tokens, or sensitive payloads into public error reports. Redact secrets before sharing diagnostics.
Related

Linked limits, tools, and alternatives