New environment variable starts a session on your cloud account's default model
With CLAUDE_CODE_MODEL_NOBODY_CHOSE set and certain cloud-account conditions met, a session starts on your cloud account's default model, ignoring --model
Use it nowNotableNo documentation foundNew Features
What probably matters to youSection of the release
Unclear Which cloud-account setups make the variable take effect is not stated.
What
Claude Code now checks a new environment variable, CLAUDE_CODE_MODEL_NOBODY_CHOSE, when it starts. An environment variable is a named value set in your shell before you launch a program. If it is set and certain conditions about your cloud account are met, the session starts on the default model of your own cloud account.
Claude Code reads the variable once and then unsets it.
If the default model it settles on differs from the one it first worked out, Claude Code passes that change along.
Before, the session always used the model it was given.
Why
This changes which model a session starts on. If this variable is set in your environment, the model you asked for with --model may not be the one the session uses.