Skip to content

Permission of AWS bedrock Claude 3.5 Sonnet on US East (N. Virginia)

0

HOW can I access Claude 3.5 Sonnet using AWS bedrock on US East (N. Virginia)? As doc says, I've tried to get an response from the model (Claude 3.5), but I got API call returns that it is not supported.

asked 2 years ago1.1K views

4 Answers
1

Hello.

Did you enable model access for Claude 3.5 Sonnet in the Northern Virginia region using the steps in the document below?
https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html#model-access-modify

If it is enabled, the status should be "Access granted".
a

By the way, how do you make requests in the API?
Depending on the content of the error, the parameter used in the request may be incorrect, causing the error.

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • By the way, with AWS CLI, you can make a request as follows.

    aws bedrock-runtime invoke-model --model-id anthropic.claude-3-5-sonnet-20240620-v1:0 --body "{\"messages\":[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"hello.\"}]}],\"anthropic_version\":\"bedrock-2023-05-31\",\"max_tokens\":2000,\"temperature\":1,\"top_k\":250,\"top_p\":0.999,\"stop_sequences\":[]}" --cli-binary-format raw-in-base64-out --region us-east-1 invoke-model-output.txt
    
  • I think you are facing the same problem as the question in the URL below. If you have a problem like this, please contact AWS Support by opening a case under "Account and billing". Inquiries under "Account and billing" can be made free of charge. https://repost.aws/ja/questions/QU53zsiMRwQeGuXPg_7fVaiw/claude-3-5-sonnet-operation-not-allowed-error

  • What kind of message did you use to ask AWS Support? Did you mention that the status is "Unavailable" on the Amazon Bedrock model access screen? This issue cannot be resolved by the user, so you will need to ask AWS Support to enable it. Please send the following message to AWS Support.

    The status of Claude 3.5 Sonnet is "Unavailable" in the Amazon Bedrock Model Access console.
    The region we are using is the Northern Virginia region.
    Unable to successfully enable model access.
    Please check if there are any restrictions on your AWS account.
    
0

Enter image description here

Yes I checked the docs you just gave many times before, but I can not enable model access for Claude 3.5 Sonnet in the Northern Virginia region(; like image that I added)

answered 2 years ago

0

Thank you for your time on my issues. As you said, I also already contact 'Account and Billing' category for support assist. But the answer is like attached picture. (answer that use re:Post). How can I activate Sonnet 3.5 on AWS bedrock for api usage? Enter image description here

answered 2 years ago

0

Hi, I also happen to have the same region with Bedrock API service - I am using cross region inference for Claude 3.5 v2


This is modelId: us.anthropic.claude-3-5-sonnet-20241022-v2:0


Read more here: https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/inference-profiles

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.