Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

/model now gives clear reasons when a 1M-context alias can't be used

Switching /model to a 1M-context alias now explains exactly why it's blocked instead of failing generically

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaModelswhat it touches
KindImprovementsin v2.1.265,
Group of 2 Use it now Notable

Switching /model to a 1M-context alias now explains exactly why it's blocked instead of failing generically

What

When switching to a model alias with a 1M-token context window (a [1m]-suffixed alias), Claude Code now checks for three specific problems before switching, each with its own clear error message telling you what to do instead:

  • 1M context has been turned off via the CLAUDE_CODE_DISABLE_1M_CONTEXT environment variable.
  • The target model doesn't support a 1M-token context window.
  • The alias has no 1M variant for the current mode.

These checks run before the older Opus-1M-specific check that previously handled this.

Why

Previously these failures likely surfaced as a generic error; now each case is distinguished with its own message and telemetry reason, making it clear why a 1M-context switch didn't happen and what to try instead.

Read from
Names in the bundle/modelCLAUDE_CODE_DISABLE_1M_CONTEXT
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.

Confirmed since Anthropic's documentation has since written up CLAUDE_CODE_DISABLE_1M_CONTEXT, on Error reference. | `CLAUDE_CODE_DISABLE_1M_CONTEXT is set, but the 200K limit isn't enforced` | [Configuration warnings](#the-200k-limit-isnt-enforced) | errors see the edit
Confirmed since Anthropic's documentation has since written up /model, on All settings. Cap the [effort level](/docs/en/model-config#adjust-effort-level) a session can use, leaving lower levels available. Any higher level runs at the cap instead, including one from `/effort`, the `/model` picker, `--effort`, [`CLAUDE_CODE_EFF… settings-reference see the edit
Added since A small documentation edit on Agent SDK reference - TypeScript touched a line naming /model after this was published. `effortLevel` accepts an [effort level](/docs/en/model-config#adjust-effort-level) name. It also accepts `"ultracode"`, which requests `xhigh` effort with [ultracode](/docs/en/workflows#let-claude-decide-with-ultracode) on. `applyFlagSetti… agent-sdk/typescript see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesA small documentation edit on Agent SDK reference - TypeScript touched a line naming /model after this was published.
Anthropic's release notes agreeFixed /model opusplan[1m] being rejected with "Model not found"

See this entry in the whole of v2.1.265 →

Feedback