Model Configuration
Model Configuration
You can change which model you are using when using Claude Code.
- Start claude for all sessions to use a specific model:
claude --model opus. - Change the current session to another model:
/model sonnet. - Tell it what model to load from your
settings.jsonfile:
{ "permissions": { ... }, "model": "opus" }
- Restrict to specific models:
{ "availableModels": ["sonnet", "haiku"] }
Related: Models, Model Settings