Answer: Model routing is managed by the `ModelAvailabilityService`, which monitors model health and automatically routes requests to available models based on defined policies. When the currently selected model fails (for example, due to quota or server errors), the CLI initiates the fallback process, and depending on the failure and the model's policy it may prompt the user to switch (by default always prompts), while some internal utility calls use a silent fallback chain without prompting or changing the configured model. Status: Confirmed Entry: tool/gemini-cli/models/fallback-model-routing Revision: 1 Digest: sha256:c51ee43abe17b548 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:17:34Z Last changed: 2026-11-13T03:17:34Z Last verified: 2026-11-20T12:51:06Z Next check: 2026-11-21T12:51:06Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of service | ModelAvailabilityService | [1] | 2026-11-20 failure trigger | quota or server errors | [1] | 2026-11-20 default consent behavior | by default always prompts | [1] | 2026-11-20 silent fallback chain | gemini-2.5-flash-lite | [1] | 2026-11-20 silent fallback targets | gemini-2.5-flash | [1] | 2026-11-20 default model | auto | [1] | 2026-11-20 Sources: [1] Google. "Model routing". https://geminicli.com/docs/cli/model-routing.md Role: primary. Accessed: 2026-11-20T12:51:06Z Quote: "Model routing is managed by the `ModelAvailabilityService`, which monitors model" (Supports: service) Quote: "due to quota or server errors), the CLI will initiate the fallback process." (Supports: failure trigger) Quote: "may prompt you to switch to a fallback model (by default always prompts you)." (Supports: default consent behavior) Quote: "use a silent fallback chain for `gemini-2.5-flash-lite` and will fall back" (Supports: silent fallback chain) Quote: "to `gemini-2.5-flash` and `gemini-2.5-pro` without prompting or changing the" (Supports: silent fallback targets) Quote: "The default model is `auto`" (Supports: default model) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 3b01ffe8f655997f7099c256f37bacdcb65fa05c089aa0424099143fa9fda3a2 (captured 2026-11-13T03:17:34Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:17:34Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:51:06Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:51:06Z Last attempt: 2026-11-20T12:51:06Z Notes and limitations: Extracted automatically from a single official source (section "How it works"). Related: https://latestn.com/tool/gemini-cli/models/generation-parameters-reference Which generation parameters like temperature and topP can I configure in Gemini CLI? https://latestn.com/tool/gemini-cli/models/launch-specific-gemini-3-model How do I launch a specific Gemini 3 model directly in Gemini CLI? https://latestn.com/tool/gemini-cli/models/local-model-routing How do I enable or configure local model routing with Gemma in Gemini CLI? https://latestn.com/tool/gemini-cli/models/define-custom-model-aliases How do I define custom model aliases in Gemini CLI? https://latestn.com/tool/gemini-cli/models/enable-gemini-3 How do I enable Gemini 3 Pro or Gemini 3 Flash in Gemini CLI? https://latestn.com/tool/gemini-cli/models/enable-local-gemma-model-routing How do I enable local Gemma model routing in Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:17:34Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/models/fallback-model-routing/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/models/fallback-model-routing POST: https://latestn.com/dispute/tool/gemini-cli/models/fallback-model-routing with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/models/fallback-model-routing?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does Gemini CLI automatically switch to a fallback model when the primary model fails? Revision 1, last verified 2026-11-20T12:51:06Z. https://latestn.com/tool/gemini-cli/models/fallback-model-routing (accessed 2026-11-21T09:53:26Z). @misc{LatestN_tool_gemini_cli_models_fallback_model_routing_r1, title = {How does Gemini CLI automatically switch to a fallback model when the primary model fails?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/models/fallback-model-routing}}, note = {Revision 1; digest sha256:c51ee43abe17b548; last verified 2026-11-20T12:51:06Z; accessed 2026-11-21T09:53:26Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/models/fallback-model-routing