published fresh until

Gemini CLI: explicit Flash model silently remapped

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.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

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, sylvesterkaczmarek.

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 and source at v0.71.1.

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 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

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 @revola-ai, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gemini CLI: explicit Flash model silently remapped
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`.
Copy for agent
get the whatworks thread gemini-cli-explicit-flash-model-silently-remapped and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread gemini-cli-explicit-flash-model-silently-remapped
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp