Gemini CLI quota exceeded: which limit, and when it resets

Gemini CLI says quota exceeded when you pass a per-minute or a daily request limit. Per-minute limits clear on their own and Gemini CLI retries them for you; a daily limit lasts until the reset, which for a Gemini API key is midnight Pacific time.

Contents

Gemini CLI says quota exceeded when you pass one of two limits: requests per minute, or requests per day. A per-minute limit clears by itself, and Gemini CLI retries it for you. A daily limit holds until the reset, which for a Gemini API key is midnight Pacific time. If you signed in with a personal Google account, it may not be a quota at all.

That last case catches a lot of people, so rule it out first. Everything below comes from Google's docs and Gemini CLI's open-source code, read on 24 October 2026.

First: is it the quota, or the June 2026 change?#

On 18 June 2026 Gemini CLI stopped serving personal Google accounts on the free Gemini Code Assist for individuals and on Google AI Pro and Ultra (Google's announcement). If that's how you sign in, every request fails, and no reset will fix it. Gemini CLI still runs on a Gemini Code Assist Standard or Enterprise licence and on paid Gemini API keys. Our Gemini CLI free tier guide covers what changed and where those users went. If you'd rather move to another agent, see Gemini CLI alternatives.

Which Gemini CLI quota did you exceed?#

Google's quota page lists daily limits per user: 1,500 requests on Code Assist Standard and 2,000 on Enterprise. API keys have tiers that vary by model. Every sign-in also has a per-minute limit, for which the page gives no number.

Gemini CLI tells the two apart when Google's error says which quota it was. We read the code that decides:

What Google reports What Gemini CLI does
A per-minute limit, or a short wait Waits and retries by itself
A wait longer than 5 minutes Treats it as a hard stop
A per-day limit Stops with "You have exhausted your daily quota on this model."
Capacity used up on Google's side Stops, with a message about high demand

When it stops, the message reads "Usage limit reached for" and the model's name, then "Access resets at" a time if Google sent one, then two commands: /stats model for usage details and /model to switch models (source). On a Google sign-in it adds /auth to switch to an API key.

"High demand" is different. That's Google running short of capacity for the model, not your quota running out.

When does it reset?#

  • Gemini API key: Google's rate-limit page says "Requests per day (RPD) quotas reset at midnight Pacific time." That's 09:00 in Amsterdam for most of the year.
  • Code Assist licence: the quota page states no reset time. Use the time in the "Access resets at" line when there is one.
  • Per-minute limits clear within the minute.

Run /stats model to see your usage and the limits that apply before you plan the rest of the day.

Why it happens sooner than you expect#

A request isn't a prompt. While the agent reads files, searches and runs tools, one prompt turns into several model requests, and each of them counts.

On an API key there are two more traps. Google applies limits "per project, not per API key", so a second key from the same project shares the first one's quota. And a project with no billing account sits on the free tier: Gemini CLI's quota page still lists 250 requests a day for an unpaid key, on the Flash model only, though Google's June announcement names only paid keys as the way Gemini CLI stays available. Tier 1 needs an active billing account. Tier 2 needs $100 paid and 3 days since your first payment; Tier 3 needs $1,000 and 30 days.

What to do when the quota is exceeded#

  1. Wait out a per-minute limit. Gemini CLI already retries it; give it the minute.
  2. Wait for the daily reset if it's close. For an API key, midnight Pacific time.
  3. Add billing to the API key's project. That moves it from the free tier to Tier 1, with higher limits, billed per token.
  4. Switch sign-in with /auth, from a licence to a paid API key or back, if you have both.
  5. Use a source in another project or licence you own. A key from a different Google Cloud project has its own quota. Use only accounts and keys you own and are entitled to use; Gemini CLI's terms depend on how you sign in.

How Shuriken handles Gemini quotas#

Shuriken runs Gemini CLI as one of its 67 coding agents, and every Google sign-in and Gemini API key you add is its own source. Each sign-in gets its own folder (Shuriken sets GEMINI_CLI_HOME per source), so adding a second one never replaces the first, and your GEMINI.md, commands, extensions and skills are shared between them. We wrote up the setup in Gemini CLI, set up as easily as Claude.

When the source in use reports a limit, Shuriken moves your Gemini chats to another of your Gemini sources at the end of their current turn, on every linked device. That's our hot swapping: Shuriken moves your chats to another of your accounts or sources when one nears its limit. Sign-ins come first. A chat moves from a sign-in onto an API key only if you turn on "Switch to API keys", which is off by default and stops each fallback run at a $25 spend cap. Source switching has the details.

Shuriken can't add quota you don't have. If you hold more than one paid Gemini source, download Shuriken and add each of them.

Sources

  1. Gemini CLI: Quotas and pricing (accessed 24 October 2026)
  2. Gemini API: Rate limits (accessed 24 October 2026)
  3. google-gemini/gemini-cli on GitHub: packages/core/src/utils/googleQuotaErrors.ts (accessed 24 October 2026)
  4. google-gemini/gemini-cli on GitHub: packages/cli/src/ui/hooks/useQuotaAndFallback.ts (accessed 24 October 2026)
  5. Google Developers Blog: Transitioning Gemini CLI to Antigravity CLI (accessed 24 October 2026)

Frequently asked questions

Why does Gemini CLI say quota exceeded after one prompt?

One prompt can make several model requests while the agent reads files and runs tools, and each one counts. On an unpaid API key, Google's quota page lists 250 requests a day, on the Flash model only.

When does the Gemini CLI quota reset?

For a Gemini API key, Google says requests-per-day quotas reset at midnight Pacific time. On a Code Assist licence, Gemini CLI prints the reset time in its message when Google sends one.

Does a second Gemini API key give me more quota?

Not in the same Google Cloud project. Google applies rate limits per project, not per API key, so a second key only helps if it belongs to another project you own.

How do I check my Gemini CLI usage?

Run /stats model inside Gemini CLI. Google's quota page says it shows your current token usage and the limits that apply to you.

My personal Google sign-in fails every time. Is that the quota?

No. Since 18 June 2026 Gemini CLI no longer serves personal Google accounts on the free tier or Google AI Pro and Ultra. Google points those users to Antigravity CLI.

Free tools