model vs availableModels
People think model limits which models can be used. It only picks the one a session starts on, and you can switch. availableModels is the list anyone may pick from at all. Set in managed settings, it holds against the model key, the flag and /model.
model Setting
The key that sets which model a new session starts on.
The model setting sets the model every new Claude Code session starts on, so you do not have to pick one with /model each time. It takes an alias, such as sonnet, or a full model ID. You can still switch in a session. The --model flag and the ANTHROPIC_MODEL variable both win over it for one session.
availableModels
A list that limits which models people may pick.
availableModels is a settings key that limits which models people can pick. It holds for the main chat, subagents, skills and the advisor. When IT sets it, it also limits /model, --model and the model key in each person's own files. An ID like claude-opus-5 lets in later ones too, such as Opus 5.5. Left unset, any model is fine.
In one line
- model Setting
- The key that sets which model a new session starts on.
- availableModels
- A list that limits which models people may pick.