Pangram verdict · v3.3
We believe that this document is fully human-written
AI likelihood · overall
HumanArticle text · 174 words · 1 segments analyzed
This guide shows you three ways to change which Claude model you're using with Claude Code: the quick /model command for instant changes, the --model flag for one-time session changes, and environment variables to set your preferred model as the permanent default.Easiest method: Use /model commandThe simplest way to change models is to use the /model command directly within Claude Code. This works immediately without restarting your terminal.Supported modelsChange model for current session onlyUse the --model flag when starting Claude Code. Change default model for all future sessions Step 1) Check your shell type by running: echo $SHELLStep 2) Add model setting to your shell config:For ZSH users (macOS)For BASH users (Linux)Step 3) Apply the changes:Step 4) Close Terminal completely, then reopen it.Step 5) Start Claude Code in a fresh Terminal session: claude.Now your chosen model will be the default for all future Claude Code sessions.Related ArticlesHow up-to-date is Claude's training data?How large is the Claude API’s context window?Using Claude in Microsoft FoundryModel availability in Claude for GovernmentModels, usage, and limits in Claude Code