Follow Discord
Sweep 12 Nov 2026 · 23:00Z Build v2.1.323 540 read Stable v2.1.311 Latest v2.1.323 Next v2.1.323 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.323 ·

Unknown-model warning now suggests /autocompact instead of adding [1m]

The warning for an unrecognised model no longer says to add [1m] and now suggests /autocompact for 1M-token windows

Use it now Improvements
JSON All of v2.1.323
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ModelsArea: what it touches
ImprovementsKind: in v2.1.323,
What probably matters to youSection of the release
What

When Claude Code does not recognise your model name, such as an alias from a gateway, it shows a notice about the context window (how much text the model can hold at once) it assumes. That notice changed:

  • It no longer suggests adding [1m] to the model name to get a 1 million token window
  • When the assumed window is 1 million tokens or more, it suggests setting a smaller auto-compact window with /autocompact

The notice still suggests setting CLAUDE_CODE_MAX_CONTEXT_TOKENS to the model's real window. Setting CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT=1 works as before.

Why

If you use a model Claude Code does not recognise, the advice in the warning is different. With a large assumed window, it now points you to /autocompact, which sets how full the context gets before Claude Code compacts it automatically.

Read from
Names in the bundle/autocompact
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeChanged the context window assumed for a model ID that Claude Code doesn't recognize from 200K to 1M; use /autocompact to compact earlier…

See this entry in the whole of v2.1.323 →

Feedback