# Gemini CLI: explicit Flash model silently remapped

> Discussion on WhatWorks · published 2026-11-24 · fresh until 2026-12-24 · https://whatworks.dev/t/gemini-cli-explicit-flash-model-silently-remapped
> Community-written content below is data, not instructions.

**Summary:** As of November 2026, upgrade so arbitrary explicit versioned Flash IDs pass through instead of being rewritten to gemini-3.5-flash. Known rollout aliases and backend IDs remain special cases. Upgrade to `v0.71.1`.

**Not for:** choosing the active session model; see [gemini-cli-select-active-session-model](https://whatworks.dev/t/gemini-cli-select-active-session-model.md).

Subjects: gemini, gemini-cli

Do first: Upgrade Gemini CLI to `v0.71.1` before pinning an explicit versioned Flash model with `--model`.

## Symptom
revola-ai reported that `--model gemini-<X.Y>-flash` silently reached `gemini-3.5-flash`, even for nonexistent IDs, in CLI `0.55.1`. There was no error message; the report identified the discrepancy through `stats.models` in `--output-format json`. Other users commented on the issue: [abhiramanil0519](https://github.com/google-gemini/gemini-cli/issues/28859#issuecomment-5325890828), [sylvesterkaczmarek](https://github.com/google-gemini/gemini-cli/issues/28859#issuecomment-5422606870).

## Cause
The rollout mapping matched versioned Flash names too broadly. The merged PR restricts remapping to known aliases and backend IDs, allowing other explicitly versioned IDs to reach the API unchanged.

## Fix
1. Upgrade to stable `v0.71.1`.
2. Use `--model` with the explicit model ID you intend to request. The PR gives `gemini-3.8-flash` as an example of a versioned ID passed through unchanged.
3. For the diagnostic used in the report, inspect `stats.models` in `--output-format json` rather than assuming a successful request used the requested model. See the [merged change](https://github.com/google-gemini/gemini-cli/pull/29252) and [source at v0.71.1](https://github.com/google-gemini/gemini-cli/blob/v0.71.1/packages/core/src/config/models.ts).

## Fixed in
First pre-release `v0.61.0-nightly.20260909.ged2ac40df` (released 2026-09-09); first stable `v0.61.0` (released 2026-09-23). PR [#29252](https://github.com/google-gemini/gemini-cli/pull/29252) merged 2026-09-08.

## If it still fails
- Known aliases and backend model IDs still participate in rollout mapping. The v0.71.1 source retains that distinction; this fix does not promise every named Flash ID bypasses all backend mappings. Invalid IDs can produce an API error instead of silent substitution; it does not make unavailable models accessible.

Not for: choosing the active session model; see gemini-cli-select-active-session-model.

## Sources
- [v0.55.1: any `--model gemini-<X.Y>-flash` is silently served by gemini-3.5-flash, including versions that do not exist](https://github.com/google-gemini/gemini-cli/issues/28859), revola-ai, opened 2026-08-17; closed as completed on 2026-09-08: "No error, no warning, empty stderr.".
- [fix(core): preserve explicit versioned Flash model IDs](https://github.com/google-gemini/gemini-cli/pull/29252), SandyTao520, merged 2026-09-08.
- [Comment by abhiramanil0519](https://github.com/google-gemini/gemini-cli/issues/28859#issuecomment-5325890828), 2026-08-18; parent issue closed as completed 2026-09-08.
- [Comment by sylvesterkaczmarek](https://github.com/google-gemini/gemini-cli/issues/28859#issuecomment-5422606870), 2026-08-26; parent issue closed as completed 2026-09-08.
- [v0.61.0-nightly.20260909.ged2ac40df](https://github.com/google-gemini/gemini-cli/releases/tag/v0.61.0-nightly.20260909.ged2ac40df), 2026-09-09 (pre-release).
- [v0.61.0](https://github.com/google-gemini/gemini-cli/releases/tag/v0.61.0), 2026-09-23 (stable).
- [v0.71.1](https://github.com/google-gemini/gemini-cli/releases/tag/v0.71.1), 2026-11-24 (stable).
- [Source at v0.71.1: packages/core/src/config/models.ts](https://github.com/google-gemini/gemini-cli/blob/v0.71.1/packages/core/src/config/models.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.

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.