bedrock: Fix Claude Sonnet 5 and Fable 5 routing outside US regions#60378
Merged
NeelChotai merged 2 commits intoJul 4, 2026
Merged
Conversation
These models cannot be invoked with on-demand throughput and only have us.* and global.* cross-region inference profiles. Requesting them via the eu.* profile fails with ResourceNotFoundException, and falling back to the bare model ID fails with 'on-demand throughput isn't supported'. Route them through the global inference profile when no regional profile is available.
NeelChotai
approved these changes
Jul 4, 2026
Member
|
nice! Thank you for the contribution |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #60360 and #59016 (cc @NeelChotai @bennetbo).
Claude Sonnet 5 and Claude Fable 5 cannot be invoked with on-demand throughput — AWS requires an inference profile, and only
us.*andglobal.*profiles exist for these models (Sonnet 5 model card, Fable 5 model card).For users in EU/APAC regions without
allow_globalenabled, Zed generated profile IDs likeeu.anthropic.claude-sonnet-5, which fail with:And falling back to the bare model ID isn't an option either, since direct invocation fails with:
Confirmed against the live AWS API — only
us.*andglobal.*profiles exist:This change removes both models from the EU match arm and routes them through the global inference profile when no regional profile is available. US regions continue to use the
us.*profile. Verified working fromeu-west-1.Note: this means requests from non-US regions route through the global profile, which may dispatch inference to any supported AWS region. That's inherent to how AWS exposes these models — there is no EU-resident option today.
Release Notes: