Claude Code: Automatic Step-Down to Older Models on Third-Party Clouds
Claude Code 2.1.332 makes sessions on Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry recover when a cloud refuses the model they asked for. Instead of failing, Claude Code now steps down to an older model in the same family that answers, honoring availableModels lists. --model default follows the same rule, and Foundry marks Sonnet 4, Opus 4 and Opus 4.1 as retired.
Key Takeaways
- Refused models no longer end sessions, because Claude Code now steps down to an older model in the same family that answers.
availableModelslists are respected, with enforced lists stepping to the next allowed model, ideally listed newest first.--model defaultfalls back instead of erroring, and in auto mode only to models auto mode accepts.- Foundry retires Sonnet 4, Opus 4 and Opus 4.1, so step-downs stop above them and pins to them warn.
- The Bedrock Mantle
sonnetalias bug is fixed, so it no longer lands on Haiku 4.5 and now means Sonnet 5. - Bedrock sub-agents use the model's own profile when the parent's region has none, even outside that region.
Sessions no longer die when a cloud refuses a model
Claude Code 2.1.332 changes how sessions behave on third-party clouds when the requested model is not available. Previously, a refused default model, or a gateway that rejected a model in its own words, could end a session with an error. Now Claude Code steps down to an older model that answers, so work continues.
Step-down rules
- When the cloud refuses the default model and an
availableModelslist that is not enforced names neither it nor an older model of that family, the session no longer fails. - When an enforced list contains older models, Google Cloud's Agent Platform and Foundry now move to the next model in that family if the first is refused. This works when the list is ordered newest first.
- The
opusalias on Bedrock, Google Cloud's Agent Platform and Foundry steps down to an older model that answers when a gateway refuses the newer one. - On Foundry, when an admin's list blocks the version that
sonnet,opusorhaikupoints to, sessions use the newest allowed version of that family instead of leaving it. --model defaultand a Default pick now move to an older model when the preferred one is unavailable, instead of stopping with an error. In auto mode, the fallback only goes to a model that auto mode accepts.
Related fixes
- The start-up model upgrade offer on Bedrock and Google Cloud's Agent Platform no longer names a model that the
availableModelslist leaves out. - Bedrock sub-agents no longer fail when the account lists no inference profile for their model in the parent's region. They use the model's own profile, even if it sits outside that region.
- The
sonnetalias on Bedrock Mantle no longer resolves to Haiku 4.5. It now means Sonnet 5, not Sonnet 5.5, and an account without Sonnet 5 gets a clear error, so the model must be enabled first. - A
sonnetfamily name in--fallback-modelis no longer dropped whenavailableModelsallows only an older version. - Microsoft Foundry now treats Claude Sonnet 4, Opus 4 and Opus 4.1 as retired. Step-downs stop above them, and pinning to one of them shows a warning.
Who is affected
Teams running Claude Code through Bedrock, Google Cloud or Foundry, especially behind gateways or with restrictive model lists, should see fewer hard failures when a model is not yet enabled in their account. Teams that pinned retired Foundry models will now see a warning.