View a markdown version of this page

Claude Sonnet 5 - Amazon Bedrock

Claude Sonnet 5

Orange rounded square icon with white radial loading or progress indicator symbol. Anthropic — Claude Sonnet 5

Model Details

Claude Sonnet 5 is the most capable Sonnet model from Anthropic, built for coding, agents, and professional work at scale. It brings near-Opus intelligence to the model teams run every day, with the same balance of capability, cost, and speed teams already rely on Sonnet for.

  • Model launch date: June 30, 2026

  • Model EOL date: N/A

  • End User License Agreements and Terms of Use: Third-party model terms

  • Model lifecycle: Active

  • Context window: 1M tokens

  • Max output tokens: 128K

  • Reasoning: Supported (adaptive thinking is always on and cannot be disabled; effort level is configurable)

  • Knowledge cutoff: January 2026

  • Marketplace product ID: prod-4ezhkeia6k2cs

Input Modalities Output Modalities
Red circle with white X icon indicating error, cancel, or close action. AudioRed circle with white X icon indicating error, cancel, or close action. Embedding
Green circle with white checkmark icon. ImageRed circle with white X icon indicating error, cancel, or close action. Image
Red circle with white X icon indicating error, cancel, or close action. SpeechRed circle with white X icon indicating error, cancel, or close action. Speech
Green circle with white checkmark icon. TextGreen circle with white checkmark icon. Text
Red circle with white X icon indicating error, cancel, or close action. VideoRed circle with white X icon indicating error, cancel, or close action. Video

Endpoints and APIs supported

The following tables show which endpoints and APIs are supported for Claude Sonnet 5. For more information, see APIs supported by Amazon Bedrock and Endpoints supported by Amazon Bedrock.

Endpoint support

Endpoint Supported
bedrock-runtime supported
bedrock-mantle supported

APIs supported on bedrock-runtime endpoint

Messages Responses Chat Completions Converse Invoke
supported not-supported not-supported supported supported

APIs supported on bedrock-mantle endpoint

Messages Responses Chat Completions Converse Invoke
supported not-supported not-supported not-supported not-supported
Tip

Whenever possible, we recommend using the bedrock-runtime endpoint for new applications. See Endpoints supported by Amazon Bedrock for details.

Capabilities and Features

Bedrock Features

Features supported using bedrock-runtime endpoint

Features supported using bedrock-mantle endpoint

Prompt caching

For more information, see Prompt caching for faster model inference.

Prompt caching supported Min tokens per cache checkpoint Max cache checkpoints per request Supported TTL Fields that accept prompt cache checkpoints
Yes 4,096 4 5 minutes, 1 hour system, messages, and tools

Computer use using bedrock-runtime and bedrock-mantle endpoints

For more information, see Computer use.

Tool type Beta header
computer_20251124 computer-use-2025-11-24

Pricing

For pricing, see the Amazon Bedrock Pricing page.

Programmatic Access

Use the following model IDs and endpoint URLs to access this model programmatically. For more information about the available APIs and endpoints, see APIs supported and Endpoints supported.

Endpoint Model ID In-Region endpoint URL Geo inference ID Global inference ID
bedrock-runtime anthropic.claude-sonnet-5 N/A

us.anthropic.claude-sonnet-5

eu.anthropic.claude-sonnet-5

au.anthropic.claude-sonnet-5

global.anthropic.claude-sonnet-5
bedrock-mantle anthropic.claude-sonnet-5 https://bedrock-mantle.{region}.api.aws/anthropic/v1/messages N/A N/A

For example, if the Region is us-east-1 (N. Virginia), the bedrock-runtime endpoint URL is "https://bedrock-runtime.us-east-1.amazonaws.com" and the bedrock-mantle endpoint URL is "https://bedrock-mantle.us-east-1.api.aws/anthropic/v1/messages".

Service Tiers

Amazon Bedrock offers multiple service tiers to match your workload requirements. Standard provides pay-per-token access with no commitment (set "service_tier": "default" or omit the field). Priority delivers the fastest response times for a price premium (set "service_tier": "priority"). Flex provides lower-cost access for flexible, non-time-sensitive workloads (set "service_tier": "flex"). Reserved provides dedicated throughput with a term commitment for predictable workloads; it is set at the account level rather than per request (contact your AWS account team to enable). For more information, see service tiers.

Standard Priority Flex Reserved
Green circle with white checkmark icon. Red circle with white X icon indicating error, cancel, or close action. Red circle with white X icon indicating error, cancel, or close action. Red circle with white X icon indicating error, cancel, or close action.

Regional Availability

Regional availability at a glance

Amazon Bedrock offers three inference options:

  • In-Region keeps requests within a single Region for strict compliance.

  • Geo Cross-Region routes across Regions within a geography (such as US, EU, and APAC) while respecting data residency.

  • Global Cross-Region routes anywhere worldwide when there are no residency constraints.

For more details, see the Regional availability by models page.

Region In-Region Geo Global
us-east-1 (N. Virginia)Green circle with white checkmark icon.Green circle with white checkmark icon.Green circle with white checkmark icon.
us-east-2 (Ohio)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
us-west-1 (N. California)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
us-west-2 (Oregon)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
ca-central-1 (Canada)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
ca-west-1 (Calgary)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-central-1 (Frankfurt)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-central-2 (Zurich)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-north-1 (Stockholm)Green circle with white checkmark icon.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-south-1 (Milan)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-south-2 (Spain)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-west-1 (Ireland)Green circle with white checkmark icon.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-west-2 (London)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-west-3 (Paris)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Green circle with white checkmark icon.
ap-east-2 (Taipei)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-northeast-1 (Tokyo)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-northeast-2 (Seoul)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-northeast-3 (Osaka)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-south-1 (Mumbai)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-south-2 (Hyderabad)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-1 (Singapore)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-2 (Sydney)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-3 (Jakarta)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-4 (Melbourne)Green circle with white checkmark icon.Green circle with white checkmark icon.Green circle with white checkmark icon.
ap-southeast-5 (Malaysia)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-6 (New Zealand)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-southeast-7 (Thailand)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
il-central-1 (Tel Aviv)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
me-central-1 (UAE)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
me-south-1 (Bahrain)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
af-south-1 (Cape Town)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
sa-east-1 (São Paulo)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
mx-central-1 (Mexico)Red circle with white X icon indicating error, cancel, or close action.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
us-gov-west-1 (GovCloud West)Green circle with white checkmark icon.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.
us-gov-east-1 (GovCloud East)Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.Red circle with white X icon indicating error, cancel, or close action.

Data residency

  • US geo (us.anthropic.claude-sonnet-5): Keeps data within US and Canada regions.

  • EU geo (eu.anthropic.claude-sonnet-5): Keeps data within EU regions.

  • AU geo (au.anthropic.claude-sonnet-5): Keeps data within Australia regions.

  • Global (global.anthropic.claude-sonnet-5): Routes worldwide with no residency constraints.

Quotas and Limits

Your AWS account has default quotas for Amazon Bedrock. These quotas might change depending on regional factors, payment history, or approval of a quota increase request. For more details, see Quotas for Amazon Bedrock and the limits for the model.

Sample Code

Step 1 - AWS Account: If you have an AWS account already, skip this step. If you are new to AWS, sign up for an AWS account.

Step 2 - API key: Open the Amazon Bedrock console and generate a long-term API key.

Step 3 - Get the SDK: To use this getting started guide, you must have Python already installed. Then install the relevant software depending on the APIs you are using.

Messages API
pip install -U anthropic aws-bedrock-token-generator
Invoke/Converse API
pip install boto3

Step 4 - Set environment variables: Configure your environment to use the API key for authentication.

Messages API
AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"
Invoke/Converse API
AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"

Step 5 - Run your first inference request: Save the file as bedrock-first-request.py

Messages API
from anthropic import Anthropic from aws_bedrock_token_generator import provide_token token = provide_token(region="us-east-1") client = Anthropic( base_url="https://bedrock-runtime.us-east-1.amazonaws.com/anthropic", api_key=token, ) response = client.messages.create( model="global.anthropic.claude-sonnet-5", max_tokens=1024, messages=[{"role": "user", "content": "Can you explain the features of Amazon Bedrock?"}], ) print(response)
Invoke API
import json import boto3 client = boto3.client('bedrock-runtime', region_name='us-east-1') response = client.invoke_model( modelId='anthropic.claude-sonnet-5', body=json.dumps({ 'anthropic_version': 'bedrock-2023-05-31', 'messages': [{ 'role': 'user', 'content': 'Can you explain the features of Amazon Bedrock?'}], 'max_tokens': 1024 }) ) print(json.loads(response['body'].read()))
Converse API
import boto3 client = boto3.client('bedrock-runtime', region_name='us-east-1') response = client.converse( modelId='anthropic.claude-sonnet-5', messages=[ { 'role': 'user', 'content': [{'text': 'Can you explain the features of Amazon Bedrock?'}] } ] ) print(response)