Skip to content

[Bug] Usage limit reached despite 1–8% usage on Gemini Code Assist Standard (CLI 0.54.4) #28761

Description

@o4woto

What happened?

I am signed in to Gemini CLI with a Google account that has a Gemini Code Assist Standard license. Gemini CLI repeatedly reports "Usage limit reached for gemini-3.5-flash" even though the built-in model usage display shows that almost all quota remains.

Steps to reproduce

  1. Sign in with a Google account licensed for Gemini Code Assist Standard.
  2. Start Gemini CLI 0.54.4 on macOS and use Auto/model selection for a normal coding task.
  3. Continue after the CLI switches to fallback models.
  4. Open /model and compare the usage display with the limit error.

Actual behavior

  • The CLI switches to fallback gemini-3.1-pro-preview, then to gemini-3.5-flash.
  • One attempt reports [API Error: An unknown error occurred.].
  • The next request is blocked with Usage limit reached for gemini-3.5-flash.
  • At the same time, the usage display shows only:
    • Flash: 1%
    • Flash Lite: 0%
    • Pro: 8%
    • gemini-3.5-…: 1%
    • gemini-3.1-…: 0%
  • This happens repeatedly even though the displayed daily usage is far below 100%.

This looks like a current regression/continuation of #25741, which was automatically closed as stale on 2026-08-02 without a latest-version retest. #13222 is also related, but concerns an older CLI/model and did not include this clear mismatch with the current usage display.

What did you expect to happen?

Requests should continue while quota remains under the Gemini Code Assist Standard entitlement. If a different aggregate or model-specific quota is actually exhausted, the CLI should show that exact quota consistently instead of displaying only 1–8% usage and then blocking all requests.

Fallback model selection should also choose a model with available quota and should not end in an unknown API error or a persistent, incorrect usage-limit prompt.

Client information

Client Information
About Gemini CLI
CLI Version: 0.54.4
Git Commit: 983bbb89d
Model: gemini-3.5-flash
Sandbox: no sandbox
OS: darwin
Auth Method: Signed in with Google
Tier: Gemini Code Assist Standard

Platform: macOS (Darwin)

Login information

Signed in with a Google account (OAuth). The CLI reports the tier as Gemini Code Assist Standard. No API key is being used.

Anything else we need to know?

The screenshots below show the fallback sequence, the error, the low usage percentages, and the /about output.

Related issues reviewed:

This report confirms the problem still reproduces on CLI 0.54.4 with Gemini 3.5 Flash / 3.1 Pro Preview.

Screenshots

Gemini CLI about showing version 0.54.4 and Code Assist Standard tier Low model usage percentages despite an API error and usage-limit behavior Fallback sequence ending in a usage-limit prompt for gemini-3.5-flash

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/coreIssues related to User Interface, OS Support, Core Functionalityeffort/medium2-3 days: UI state, async flow, cross-component refactorskind/bugpriority/p2Important but can be addressed in a future release.status/bot-triagedstatus/need-information

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions