What happened?
The Gemini CLI (version 0.41.2) fails to respect explicit model selection (e.g., gemini-3.1-pro-preview) once the quota for gemini-3-flash-preview (or the default Flash model) is exhausted. Despite having Pro model quota available and explicitly configuring the CLI to use it, all subsequent requests are blocked by attempts to call the exhausted Flash model.
This behavior suggests a flaw in the ModelAvailabilityService or the model routing logic, where a "silent fallback" or a hardcoded preference for Flash persists even when the user has overridden the model selection.
The CLI attempts to request gemini-3-flash-preview. Since the Flash quota is exhausted, the request fails with a quota error, rendering the CLI unusable for any task requiring the model, even though the Pro model is available and requested.
What did you expect to happen?
The CLI should honor the explicit model selection (gemini-3.1-pro-preview) and successfully execute the request using the Pro model's quota.
Steps to Reproduce
- Exhaust the quota for
gemini-3-flash-preview (the default/Flash category model).
- Explicitly set the CLI model to
gemini-3.1-pro-preview.
- Execute any command that requires an LLM call (e.g., a simple prompt or a research task).
Client information
- CLI Version: 0.41.2
- Git Commit: b0c7a17
- Operating System: darwin v25
- Sandbox Environment: no sandbox
- Model Version: auto-gemini-3
- Auth Type: oauth-personal
Login information
No response
Anything else we need to know?
No response
What happened?
The Gemini CLI (version 0.41.2) fails to respect explicit model selection (e.g.,
gemini-3.1-pro-preview) once the quota forgemini-3-flash-preview(or the default Flash model) is exhausted. Despite having Pro model quota available and explicitly configuring the CLI to use it, all subsequent requests are blocked by attempts to call the exhausted Flash model.This behavior suggests a flaw in the
ModelAvailabilityServiceor the model routing logic, where a "silent fallback" or a hardcoded preference for Flash persists even when the user has overridden the model selection.The CLI attempts to request
gemini-3-flash-preview. Since the Flash quota is exhausted, the request fails with a quota error, rendering the CLI unusable for any task requiring the model, even though the Pro model is available and requested.What did you expect to happen?
The CLI should honor the explicit model selection (
gemini-3.1-pro-preview) and successfully execute the request using the Pro model's quota.Steps to Reproduce
gemini-3-flash-preview(the default/Flash category model).gemini-3.1-pro-preview.Client information
Login information
No response
Anything else we need to know?
No response