Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.302 ·

CLAUDE_CODE_AUTO_MODE_MODEL now sits on a list of environment variables

Claude Code now lists CLAUDE_CODE_AUTO_MODE_MODEL with PATH, CLAUDE_CODE_EXTRA_BODY and CLAUDE_CODE_HOST_CREDS_FILE, and refers to it in more places

Under the hood Internal Changes
JSON All of v2.1.302
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Auto ModeArea: what it touches
Internal ChangesKind: in v2.1.302,
Internal ChangesSection of the release

Unclear It is not clear what this list is for, or whether setting CLAUDE_CODE_AUTO_MODE_MODEL changes which model auto mode uses.

What

An environment variable is a named value set in your shell before you start a program. Claude Code keeps a list of environment variables that it handles together. That list includes PATH, CLAUDE_CODE_EXTRA_BODY and CLAUDE_CODE_HOST_CREDS_FILE, and now also includes CLAUDE_CODE_AUTO_MODE_MODEL. The variable name already existed, and Claude Code now refers to it in more places than before.

Why

The name suggests the model used by auto mode may be settable through this variable. That is not confirmed here.

Read from
Names in the bundleCLAUDE_CODE_AUTO_MODE_MODEL
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Model configuration touched a line naming CLAUDE_CODE_AUTO_MODE_MODEL after this was published. * **`CLAUDE_CODE_AUTO_MODE_MODEL`**: Claude Code ignores the variable and picks the model for its [auto mode classifier requests](/docs/en/permission-modes#default-classifier-model) as if you hadn't set it model-config see the edit
Confirmed since Anthropic's documentation has since written up CLAUDE_CODE_AUTO_MODE_MODEL, on Error reference. * If the message returns on every retry and names the model you set in [`CLAUDE_CODE_AUTO_MODE_MODEL`](/docs/en/permission-modes#choose-the-classifier-model), check that the API or cloud provider your session runs on serves that model ID. … errors see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what this list is for, or whether setting `CLAUDE_CODE_AUTO_MODE_MODEL` changes which model auto mode uses.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_AUTO_MODE_MODEL, on Error reference.
Anthropic's release notes agreeAdded CLAUDE_CODE_AUTO_MODE_MODEL to choose the model the client-side auto mode classifier uses; it does not change the model for…

See this entry in the whole of v2.1.302 →

Feedback