Codex CLIconfigurationbuilt-in

/model

Choose the active model (and reasoning effort when available). Opens a picker; press s to switch for the current session only.

Syntax

/model [model]

Example

/model gpt-4.1

When to use

  • Switching to gpt-4.1 for complex tasks
  • Using gpt-4.1-mini for fast, cheap iteration
  • Testing a specific model version before committing to it

More Codex CLI commands