Guides · Updated October 26, 2026

Gemini CLI usage limits: daily quotas, the June 2026 change, and keeping costs in check

Gemini CLI limits work differently from most coding agents: on a Google sign-in you get a number of model requests per day, not a dollar budget, and one prompt can use many requests. On an API key there is no daily ceiling at all, just a per-token bill. And since June 18, 2026, which one you’re on also decides whether Gemini CLI works for you at all. This guide covers the current limits, what to do when you hit them, and how to keep an API-key session from running up the bill.

The short version

1. The limits, by how you sign in

Gemini CLI’s quota depends on the authentication method, per Google’s quotas and pricing page:

Sign-inTierRequests per user per day
Google Workspace / Google CloudCode Assist Standard1,500
Google Workspace / Google CloudCode Assist Enterprise, Workspace AI Ultra2,000
Gemini API keyFree (unpaid)250, Flash only
Gemini API keyPaidVaries by tier; billed per token
Vertex AIExpress mode / paidVaries by account; paid is billed per token

There are also per-minute limits, and requests can be throttled when demand is high. Two details catch people out:

2. What changed on June 18, 2026

Google announced in May 2026 that Gemini CLI would stop serving requests for Gemini Code Assist for individuals (the free Google sign-in) and for Google AI Pro and Ultra subscribers on June 18, 2026. Those users are now pointed to Antigravity CLI, which keeps Gemini CLI’s core features (skills, hooks, subagents, and extensions as plugins) but isn’t a one-to-one copy. Gemini CLI still works with Code Assist Standard and Enterprise licenses, Google Cloud projects, and paid Gemini API keys.

So if Gemini CLI suddenly stopped working on a personal Google account, it’s not your daily quota. Your options are to move to Antigravity CLI on the same account, or keep Gemini CLI and sign in with an API key or Vertex AI instead, which means paying per token.

3. When you hit the limit

4. Check what a session is using

/stats model shows the current session’s token usage per model and information about the limits on your current quota. Gemini CLI also prints a usage summary when you exit. On an API key, multiply the tokens by your model’s price for an estimate; the billing page in Google Cloud or AI Studio is the real number.

Large input-token counts with a small output usually mean the same context is being re-sent many times: big files read repeatedly, long command output, or a long session that hasn’t been compressed.

5. Bound sessions and spending

Gemini CLI has a few settings in settings.json (user-level ~/.gemini/settings.json or project-level .gemini/settings.json) that limit how far one session can run:

{
  "model": {
    "maxSessionTurns": 60,
    "compressionThreshold": 0.5,
    "summarizeToolOutput": {
      "run_shell_command": { "tokenBudget": 2000 }
    }
  }
}

On a paid API key or Vertex AI, the daily request cap is gone, so the money limit has to come from somewhere else:

When a session does loop, stop it (Esc cancels the current request, Ctrl+C twice exits), undo the edits with git or /restore if you have checkpointing on, and start a fresh session with what you learned rather than asking it to try again in the same context.

Where LoopGuard fits

LoopGuard enforces per-session and daily dollar caps and blocks no-progress repeats through the hook systems of Claude Code, Codex CLI and Cursor. It doesn’t guard Gemini CLI or Antigravity CLI today, so for Gemini the settings and billing controls above are the limits to use. If you also use one of those three agents, npm i -g loopguard-cli && loopguard init adds the caps in about a minute. Related: Codex usage limits and Claude Code usage limits.

Related

LoopGuard on GitHub · Pricing