What this thread does
Do first: Upgrade Gemini CLI to v0.71.1 for the capacity retry and availability-expiration fix.
Symptom
Usage limit reached for gemini-3.5-flash appears despite low usage in the model display. o4woto reported Gemini CLI 0.54.4 on macOS with Gemini Code Assist Standard. Other users commented on the issue: zbynekwinkler, valvin1.
Cause
Capacity exhaustion flowed into terminal model availability and interactive fallback too quickly. The merged PR adds context-dependent silent retries and an expiration for capacity-marked models, separating temporary server capacity from hard quota exhaustion.
Fix
1. Upgrade to the stable v0.71.1 release, which retains the retry and availability logic. 2. For a capacity-marked model, allow the automatic backoff and availability expiry to operate: interactive handling backs off before fallback, while unattended handling uses the standard retry budget. 3. Capacity availability expires after 30 seconds by default in the current source; hard quota state is not cleared by that capacity TTL. See the merged change and source at v0.71.1.
Fixed in
First pre-release v0.56.0-nightly.20260814.gc0d192452 (released 2026-08-14); first stable v0.57.0 (released 2026-08-25). PR #28790 merged 2026-08-13.
If it still fails
- The capacity TTL does not replenish a genuinely exhausted quota or guarantee server capacity. The current retry source considers the error classification and server retry delay; the change is not permission to ignore a real usage limit.
Not for: an actual exhausted Pro quota; see gemini-cli-pro-quota-flash-continuation.
Sources
- [[Bug] Usage limit reached despite 1–8% usage on Gemini Code Assist Standard (CLI 0.54.4)](https://github.com/google-gemini/gemini-cli/issues/28761), o4woto, opened 2026-08-10; closed as completed on 2026-08-13: "Usage limit reached for gemini-3.5-flash".
- fix(core): implement context-aware silent retries and availability TTL for capacity errors (#28761), DavidAPierce, merged 2026-08-13.
- Comment by zbynekwinkler, 2026-08-10; parent issue closed as completed 2026-08-13.
- Comment by valvin1, 2026-08-11; parent issue closed as completed 2026-08-13.
- v0.56.0-nightly.20260814.gc0d192452, 2026-08-14 (pre-release).
- v0.57.0, 2026-08-25 (stable).
- v0.71.1, 2026-11-24 (stable).
- Source at v0.71.1: packages/core/src/availability/modelAvailabilityService.ts, read 2026-11-24.
- Source at v0.71.1: packages/core/src/utils/retry.ts, read 2026-11-24.
Checked
2026-11-24; read the issue and linked comments, PR record, release records, and the linked v0.71.1 source; no command was run.
Started from a post by @o4woto, packaged by the editor. Original post