OutageRadar

Checking… Checking…

Gemini API error 429: RESOURCE_EXHAUSTED

What this Gemini API error means, whether it is on Google’s side or yours, and what to do now. All times are UTC.

Is it them or you?

Request limit: your account’s pace

This error is about your account’s request limits. Google’s servers answered and turned the request away, which usually means they are up. The live status below helps rule out a wider problem.

Checking…

Gemini

No public status feed from the provider. Reachability checked by OutageRadar.

Our check: checking…

What it means

Google’s docs describe a 429 RESOURCE_EXHAUSTED as going over one of the Gemini API’s rate limits: requests, tokens, daily requests, or spend-based limits that depend on your account’s billing history and tier.

Google lists it as an error to retry, with exponential backoff.

Shape of the error body, from Google’s docs (the message text varies):

{
  "error": {
    "code": 429,
    "message": "...",
    "status": "RESOURCE_EXHAUSTED",
    "details": [
      "..."
    ]
  }
}

What to do

  1. Check that you are within your model’s limits on Google’s rate limits page, linked below.
  2. Retry with exponential backoff and random jitter, with a maximum number of retries. The official Gemini SDKs already retry 429 errors automatically with backoff.

Retry it safely in your own code

You may not need this: the official SDKs retry on their own (see above). If you call the API directly, this helper waits and retries, using the server’s requested delay when you pass one. Google’s rule: retry 429, 408 and 5xx errors; never retry 400, 402 or 403.

Python

import random
import time


def with_retries(call, is_retryable, retry_after=lambda err: None, attempts=5):
    """Run call(). On a retryable error, wait and try again, up to attempts tries.
    retry_after(err) returns the server's requested wait in seconds, or None."""
    for attempt in range(attempts):
        try:
            return call()
        except Exception as err:
            if attempt == attempts - 1 or not is_retryable(err):
                raise
            wait = retry_after(err)
            if wait is None:
                wait = min(60, 2 ** attempt) + random.random()  # backoff + jitter
            time.sleep(wait)

JavaScript

async function withRetries(call, isRetryable, retryAfter = () => null, attempts = 5) {
  // retryAfter(err) returns the server's requested wait in seconds, or null.
  for (let attempt = 0; ; attempt++) {
    try {
      return await call();
    } catch (err) {
      if (attempt >= attempts - 1 || !isRetryable(err)) throw err;
      let wait = retryAfter(err);
      if (wait == null) wait = Math.min(60, 2 ** attempt) + Math.random(); // backoff + jitter
      await new Promise((resolve) => setTimeout(resolve, wait * 1000));
    }
  }
}

Recent Gemini incidents

History logged by OutageRadar.

Full history: Is Gemini down?

Source: Gemini API errors (Google docs) · Gemini API rate limits (Google docs) · Gemini API troubleshooting: retry strategy (Google docs). Last checked against official docs: Nov 10, 2026. If the docs change, they win.