- Newest
- Most votes
- Most comments
Hi,
You just have to replace the current value of model with with the ARN of an Inference Profile that you'll find on the Bedrock console in "Cross-Region Inference" tab
Best,
Didier
The error you're encountering suggests that you're trying to invoke the Anthropic Claude 3 Haiku model using on-demand throughput, which is not supported for this particular model on Amazon Bedrock.
To resolve this issue, you need to use an inference profile that contains the Claude 3 Haiku model. Inference profiles in Amazon Bedrock allow you to configure and manage model invocations with specific settings, including throughput.
Here are the steps you should take:
- Go to the Amazon Bedrock console.
- Navigate to the "Inference profiles" section.
- Create a new inference profile or select an existing one that includes the Claude 3 Haiku model.
- Make sure the inference profile is properly configured with the desired settings for your use case.
- When making API calls or using Langchain, specify the ID or ARN (Amazon Resource Name) of this inference profile instead of directly using the model ID.
By using an inference profile, you'll be able to manage the throughput and other invocation settings for the Claude 3 Haiku model more effectively. This approach is required for certain models in Bedrock that don't support direct on-demand invocations.
If you continue to face issues after setting up and using an inference profile, double-check your AWS credentials, region settings, and ensure that your IAM permissions include the necessary actions to invoke models and use inference profiles in Amazon Bedrock.
Sources
Resolve InvokeModel API error in Amazon Bedrock | AWS re:Post
Community | Getting started with different LLMs on Amazon Bedrock
Relevant content
asked 10 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 17 days ago

Great answer, thanks Didier.
There's also a nice shortcut: Depending on the AWS region, you can simply prefix the model ID with
us.,eu., orapac.(at the time of writing, inference profiles aren't vailable in South America yet):In the case of Claude 3.5 Haiku that would be:
us.anthropic.claude-3-5-haiku-20241022-v1:0eu.anthropic.claude-3-5-haiku-20241022-v1:0apac.anthropic.claude-3-5-haiku-20241022-v1:0