Skip to content

/model support for "gemini-pro-latest" alias #20588

Description

@hedges333

What happened?

Access to gemini-3.1-pro-preview will be required for all users within 2 weeks, even free tier users, or it will break access because gemini-3-pro will be turned off on March 9, 2026. I received an e-mail today Feb 27, 2026 from googleaistudio-noreply@google.com with the following:

"Action required: Gemini 3 Pro Preview will be discontinued on March 9, 2026 in favor of the new model. Please upgrade to Gemini 3.1 Pro Preview beforehand to prevent any service disruption. Additionally, on March 6, 2026, we will switch the gemini-pro-latest alias to point to the new 3.1 Pro model."

It seems like the real fix moving forward is to support the "gemini-pro-latest" model alias and let the backend figure it out.

Thank you.

hedges@pepita /tmp/bar
2026-02-27 10:03:40 Fri $ gemini --model gemini-pro-latest

 ███            █████████  ██████████ ██████   ██████ █████ ██████   █████ █████
░░░███         ███░░░░░███░░███░░░░░█░░██████ ██████ ░░███ ░░██████ ░░███ ░░███
  ░░░███      ███     ░░░  ░███  █ ░  ░███░█████░███  ░███  ░███░███ ░███  ░███
    ░░░███   ░███          ░██████    ░███░░███ ░███  ░███  ░███░░███░███  ░███
     ███░    ░███    █████ ░███░░█    ░███ ░░░  ░███  ░███  ░███ ░░██████  ░███
   ███░      ░░███  ░░███  ░███ ░   █ ░███      ░███  ░███  ░███  ░░█████  ░███
 ███░         ░░█████████  ██████████ █████     █████ █████ █████  ░░█████ █████
░░░            ░░░░░░░░░  ░░░░░░░░░░ ░░░░░     ░░░░░ ░░░░░ ░░░░░    ░░░░░ ░░░░░


Logged in with Google: the.real.mark.hedges@gmail.com /auth
Plan: Gemini Code Assist for individuals
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
 > test message                                                                                                                                                                                                                                             
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                                                                                          │
│ Model "gemini-pro-latest" was not found or is invalid.                                                                                                                                                                                                   │
│ /model to switch models.                                                                                                                                                                                                                                 │
│                                                                                                                                                                                                                                                          │
│                                                                                                                                                                                                                                                          │
│ ● 1. Keep trying                                                                                                                                                                                                                                         │
│   2. Stop                                                                                                                                                                                                                                                │
│                                                                                                                                                                                                                                                          │
│                                                      

What did you expect to happen?

Expected access to latest gemini 3 model

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here
│ About Gemini CLI                                                                                                                                                                                                                                         │
│                                                                                                                                                                                                                                                          │
│ CLI Version                                                                            0.30.0                                                                                                                                                            │
│ Git Commit                                                                             1e3b992f6                                                                                                                                                         │
│ Model                                                                                  Auto (Gemini 3)                                                                                                                                                   │
│ Sandbox                                                                                no sandbox                                                                                                                                                        │
│ OS                                                                                     linux                                                                                                                                                             │
│ Auth Method                                                                            Logged in with Google (the.real.mark.hedges@gmail.com)                                                                                                            │
│ Tier                                                                                   Gemini Code Assist for individuals                                                                                                                                │
│ GCP Project                                                                            gen-lang-client-0682063418                                                                                                                                        │

Login information

Google Account

Anything else we need to know?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions