How to change the model in Gemini CLI?

To change the model in Gemini CLI, type /model in a session and pick an option from the dialog; the Gemini CLI documentation says the change applies to all later interactions.

As of December 3, 2026, the documented options are:

  • /model dialog: Auto (Gemini 3), which chooses between gemini-3-pro-preview and gemini-3-flash-preview; Auto (Gemini 2.5), which chooses between gemini-2.5-pro and gemini-2.5-flash; or Manual, to pick a specific available model. Google recommends Auto.
  • At startup: gemini --model MODEL_NAME (or -m) sets the model for that session.
  • Default model: set model.name in settings.json, or the GEMINI_MODEL environment variable, for example export GEMINI_MODEL="gemini-3-flash-preview".

Neither /model nor --model changes the model used by subagents, so usage reports may still show other models. The docs also note that unpaid tier and Google One users were moved from Gemini CLI to Antigravity CLI on June 18, 2026.

Related: How to update Gemini CLI?, Gemini CLI 0.71 power-user guide and How to change the model in Copilot CLI?

Source: Gemini CLI docs, Model selection (/model command); Gemini CLI docs, Configuration reference

Image: Google Gemini logo by Google, public domain (trademarked), via Wikimedia Commons, placed on a white background and resized. Gemini is a trademark of Google LLC. FreeAnswers is not affiliated with or endorsed by Google.



Related answers

Leave a Comment