Skip to content
Discussion options

You must be logged in to vote

Your colleague is passing an inference profile ID; you are passing the bare model ID. The error says so, but the wording buries it.

What is going on. Many models are not served on-demand under their plain model ID. They are invoked through a cross-Region inference profile, whose ID carries a geography prefix — us., eu. and others depending on the geography.

anthropic.claude-sonnet-4-5-20250929-v1:0        ← the model
us.anthropic.claude-sonnet-4-5-20250929-v1:0     ← the profile you actually invoke

Find what your region offers:

aws bedrock list-inference-profiles --region us-east-1 \
  --query 'inferenceProfileSummaries[].[inferenceProfileId,status]' --output table

Use that value as modelId

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by akash-coded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
track: bedrock Converse API, tokens, tool use, guardrails level: foundational Start here — no prior lab needed type: reference Look-up material
1 participant