Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Gemini CLI error

Gemini CLI: API error: 429 - Resource exhausted

Error message
API error: 429 - Resource exhausted

Status: WorkaroundLast verified 3 documented fixes4 sources

What it means

The request was rejected because a rate limit or quota was exceeded (HTTP 429 Too Many Requests / RESOURCE_EXHAUSTED).

Causes

  • Per the official FAQ, you have exceeded your API request limit; the Gemini API has rate limits to prevent abuse and ensure fair usage.
  • Per the quotas doc, requests are limited per user per minute and depend on service availability at times of high demand. Daily limits: 1,000 requests for Gemini Code Assist (Individual), 1,500 for Google AI Pro, 2,000 for Google AI Ultra, and 250 for an unpaid Gemini API key.
  • Maintainers opened tracking issue #24937 to centralize 429 and capacity reports.

How to fix it

  1. Fix 1.

    Check your usage in Google AI Studio or your Google Cloud project dashboard.

  2. Fix 2.

    If you send many requests in a short period, batch your prompts or add delays between requests.

  3. Fix 3.

    If you consistently need a higher limit, request a quota increase or move to a plan with higher limits (see the Quotas and pricing page).

More Gemini CLI errors

All 19 Gemini CLI errors

FAQ

What does "API error: 429 - Resource exhausted" mean in Gemini CLI?

The request was rejected because a rate limit or quota was exceeded (HTTP 429 Too Many Requests / RESOURCE_EXHAUSTED).

How do I fix "API error: 429 - Resource exhausted"?

There are 3 documented fixes. Start with the first: Check your usage in Google AI Studio or your Google Cloud project dashboard.

Is this Gemini CLI error fixed?

Status: Workaround. No release removes the cause. The documented fixes work around it. Affected versions: All versions; ongoing reports tracked in #24937

Sources

Last verified against 4 sources: official docs, maintainer replies and release notes.

Newsletter

Fixes for the tools you use, weekly

One email per week. New coding agent releases, what broke, and how developers are working around it.