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.301 ·

/model switch no longer rejected as an invalid model when a shared usage limit is hit

When /model's check hits a five-hour or seven-day limit, the result is flagged sharedLimitReached and the switch can go ahead instead of failing as invalid_model

Group of 2 You'll notice Improvements
JSON All of v2.1.301
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Usage & LimitsArea: what it touches
ImprovementsKind: in v2.1.301,
ImprovementsSection of the release

What

When you switch models with /model, Claude Code first checks the model with Anthropic. That check can be refused with a 429, the error meaning you have hit a usage limit.

  • When the 429 is not about needing credits and the limit is the five_hour or seven_day one, the result is now marked sharedLimitReached: true.
  • A switch that would otherwise fail with invalid_model is now allowed when sharedLimitReached is true and the caller passes acceptSharedLimitRefusal. This works like the existing path for credits-required refusals.
  • The model check now passes acceptSharedLimitRefusal: true, alongside the existing acceptSessionModeRefusal.

Before this release, such a switch was rejected as invalid_model unless credits or another condition allowed it.

Why

Hitting your plan's usage limit during the check no longer makes a valid model look invalid. The switch goes ahead, and the limit can be reported for what it is.

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

Confirmed since Anthropic's documentation has since written up /model, on Choose a permission mode. | Has [`ANTHROPIC_DEFAULT_SONNET_MODEL`](/docs/en/model-config#environment-variables) set | Its value, or Sonnet 5 if its value is Claude Sonnet 5.5 or Claude Opus 5.5 | permission-modes see the edit
Added since A small documentation edit on Agent SDK reference - Python touched a line naming /model after this was published. | `set_model(model)` | Change the model for the current session. Pass `None` to reset to [Claude Code's default model](/docs/en/model-config). A session in `auto` mode [changes to `default` mode](/docs/en/agent-sdk/permissions#auto-mode-au… agent-sdk/python see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesA small documentation edit on Agent SDK reference - Python touched a line naming /model after this was published.

See this entry in the whole of v2.1.301 →

Feedback