

As traduções são geradas por tradução automática. Em caso de conflito entre o conteúdo da tradução e da versão original em inglês, a versão em inglês prevalecerá.

# Claude Soneto 5
<a name="model-card-anthropic-claude-sonnet-5"></a>

## ![Ícone quadrado arredondado laranja com carregamento radial branco ou símbolo indicador de progresso.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/models/claude.png) Antrópico — Claude Sonnet 5
<a name="model-card-anthropic-claude-sonnet-5-header"></a>

## Detalhes do modelo
<a name="model-card-anthropic-claude-sonnet-5-details"></a>

O Claude Sonnet 5 é o modelo de Sonnet mais eficiente da Anthropic até agora, criado para codificação, agentes e trabalho profissional em grande escala. Ele traz inteligência quase OPUS para o modelo que as equipes usam todos os dias, com o mesmo equilíbrio entre capacidade, custo e velocidade que as equipes já usam no Sonnet.
+ **Data de lançamento do modelo:** 30 de junho de 2026
+ **Data de EOL do modelo:** N/A
+ **Contratos de licença de usuário final e termos de uso:** [Exibir](https://aws.amazon.com/legal/bedrock/third-party-models/)
+ **Ciclo de vida do modelo**: Ativo
+ **Janela de contexto:** 1 milhão de tokens
+ **Tokens de saída máximos:** 128K
+ **Raciocínio:** suportado (o pensamento adaptativo está sempre ativo e não pode ser desativado; o nível de esforço é configurável)
+ Limite de **conhecimento: janeiro de 2026**
+ **ID do produto do Marketplace:** `prod-4ezhkeia6k2cs`


| **Modalidades de entrada** | **Modalidades de saída** | **[APIs suportadas](https://docs.aws.amazon.com/bedrock/latest/userguide/apis.html)** | **[Endpoints suportados](https://docs.aws.amazon.com/bedrock/latest/userguide/endpoints.html)** | 
| --- | --- | --- | --- | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png)Áudio | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png)Incorporação | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) Responses | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) bedrock-runtime | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png)Imagem | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png)Imagem | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) Chat Completions | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) bedrock-mantle | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png)Discurso | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png)Discurso | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) Invoke |  | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png)Texto | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png)Texto | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) Converse |  | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png)Vídeo | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png)Vídeo | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) Messages |  | 

## Capacidades e recursos
<a name="model-card-anthropic-claude-sonnet-5-capabilities"></a>

***Características do Bedrock***

**Recursos compatíveis com o `bedrock-runtime` endpoint**


| **Suportado** | **Não suportado** | 
| --- | --- | 
|  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  | 

**Recursos compatíveis com o `bedrock-mantle` endpoint**


| **Suportado** | **Não suportado** | 
| --- | --- | 
|  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  | 

**Cache imediato**

Para obter mais informações, consulte [Prompt caching para uma inferência mais rápida do modelo](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html).


| **Suporte para cache imediato** | **Número mínimo de tokens por ponto de verificação de cache** | **Máximo de pontos de verificação de cache por solicitação** | **TTL suportado** | **Campos que aceitam pontos de verificação de cache imediatos** | 
| --- | --- | --- | --- | --- | 
| Sim | 4.096 | 4 | 5 minutos, 1 hora | system, messages, e tools | 

**Uso do computador, uso `bedrock-runtime` e `bedrock-mantle` endpoints**

Para obter mais informações, consulte [Uso do computador](https://docs.aws.amazon.com/bedrock/latest/userguide/computer-use.html).


| **Tipo de ferramenta** | **Cabeçalho beta** | 
| --- | --- | 
| computer\_20251124 | computer-use-2025-11-24 | 

## Preços
<a name="model-card-anthropic-claude-sonnet-5-pricing"></a>

Para obter os preços, consulte a página de [preços do Amazon Bedrock](https://aws.amazon.com/bedrock/pricing/).

## Acesso programático
<a name="model-card-anthropic-claude-sonnet-5-programmatic-access"></a>

Use os seguintes IDs de modelo e URLs de endpoint para acessar esse modelo programaticamente. [Para obter mais informações sobre as APIs e os endpoints disponíveis, consulte [APIs suportadas e Endpoints suportados](https://docs.aws.amazon.com/bedrock/latest/userguide/apis.html).](https://docs.aws.amazon.com/bedrock/latest/userguide/endpoints.html)


| **Endpoint** | **ID do modelo** | **In-Region URL do endpoint** | **ID de inferência geográfica** | **ID de inferência global** | 
| --- | --- | --- | --- | --- | 
| bedrock-runtime | anthropic.claude-sonnet-5 | https://bedrock-runtime.{region}.amazonaws.com | `us.anthropic.claude-sonnet-5`<br />`eu.anthropic.claude-sonnet-5`<br />`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 | 

*Por exemplo, se a região for us-east-1 (Norte da Virgínia), a URL do endpoint bedrock-runtime será "" e para bedrock-mantle será https://bedrock-runtime.us-east-1.amazonaws.com "“. https://bedrock-mantle.us-east-1.api.aws/anthropic/v1/messages*

## Níveis de serviço
<a name="model-card-anthropic-claude-sonnet-5-tiers"></a>

O Amazon Bedrock oferece vários níveis de serviço para atender às suas necessidades de carga de trabalho. O **Standard** fornece acesso pago por token sem compromisso. O **Priority** oferece maior produtividade com um compromisso baseado em tempo. O **Flex** fornece acesso de baixo custo para cargas de trabalho flexíveis e não urgentes. O **Reserved** fornece taxa de transferência dedicada com um compromisso de longo prazo para cargas de trabalho previsíveis. Para obter mais informações, consulte [níveis de serviço](https://docs.aws.amazon.com/bedrock/latest/userguide/service-tiers-inference.html).


| **Padrão** | **Priority** | **Flexionar** | **Reservado** | 
| --- | --- | --- | --- | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | 

## Disponibilidade regional
<a name="model-card-anthropic-claude-sonnet-5-regional-availability"></a>

***Visão geral da disponibilidade regional***

O Bedrock oferece três opções de inferência:
+ **In-Region**mantém as solicitações em uma única região para conformidade estrita.
+  Cross-RegionRotas **geográficas** entre regiões dentro de uma geografia (EUA, UE etc.) para maior produtividade, respeitando a residência dos dados.
+  Cross-RegionRotas **globais** em qualquer lugar do mundo para máxima produtividade quando não há restrições de residência.

Para obter mais detalhes, consulte a [Disponibilidade regional por modelos](models-region-compatibility.md) página.


| **Região** | **In-Region** | **Geo** | **Global** | 
| --- | --- | --- | --- | 
| us-east-1(Norte da Virgínia) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| us-east-2(Ohio) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| us-west-1(Norte da Califórnia) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| us-west-2(Oregon) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ca-central-1(Canadá) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ca-west-1(Calgary) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-central-1(Frankfurt) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-central-2(Zurique) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-north-1(Estocolmo) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-south-1(Milão) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-south-2(Espanha) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-west-1(Irlanda) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-west-2(Londres) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-west-3(Paris) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-east-2(Taipei) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-northeast-1(Tóquio) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-northeast-2(Seul) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-northeast-3(Osaka) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-south-1(Mumbai) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-south-2(Hyderabad) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-1(Cingapura) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-2(Sidney) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-3(Jacarta) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-4(Melbourne) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-5(Malásia) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-6(Nova Zelândia) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-7(Tailândia) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| il-central-1(Telavive) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| me-central-1(EMIRADOS ÁRABES UNIDOS) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| me-south-1(Bahrein) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| af-south-1(Cidade do Cabo) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| sa-east-1(São Paulo) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| mx-central-1(México) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/images/icons/icon-yes.png) | 

***Detalhes da inferência geográfica***

**Geo: EUA**

ID de inferência geográfica: `us.anthropic.claude-sonnet-5`


| **Região de origem** | **Regiões de destino** | 
| --- | --- | 
| us-east-1 (N. Virginia) | us-east-1 (Norte da Virgínia), us-east-2 (Ohio), us-west-2 (Oregon) | 
| us-east-2 (Ohio) | us-east-1 (Norte da Virgínia), us-east-2 (Ohio), us-west-2 (Oregon) | 
| us-west-1 (Norte da Califórnia) | us-east-1 (Norte da Virgínia), us-east-2 (Ohio), us-west-1 (Norte da Califórnia), us-west-2 (Oregon) | 
| us-west-2 (Oregon) | us-east-1 (Norte da Virgínia), us-east-2 (Ohio), us-west-2 (Oregon) | 
| ca-central-1 (Canadá) | us-east-1 (Norte da Virgínia), us-east-2 (Ohio), us-west-2 (Oregon), ca-central-1 (Canadá) | 
| ca-west-1 (Calgary) | us-east-1 (Norte da Virgínia), us-east-2 (Ohio), us-west-2 (Oregon), ca-west-1 (Calgary) | 

**Geo: UE**

ID de inferência geográfica: `eu.anthropic.claude-sonnet-5`


| **Região de origem** | **Regiões de destino** | 
| --- | --- | 
| eu-central-1 (Frankfurt) | eu-central-1 (Frankfurt), eu-north-1 (Estocolmo), eu-south-1 (Milão), eu-south-2 (Espanha), eu-west-1 (Irlanda), eu-west-3 (Paris) | 
| eu-central-2 (Zurique) | eu-central-1 (Frankfurt), eu-central-2 (Zurique), eu-north-1 (Estocolmo), eu-south-1 (Milão), eu-south-2 (Espanha), eu-west-1 (Irlanda), eu-west-3 -west-3 (Paris) | 
| eu-north-1 (Estocolmo) | eu-central-1 (Frankfurt), eu-north-1 (Estocolmo), eu-south-1 (Milão), eu-south-2 (Espanha), eu-west-1 (Irlanda), eu-west-3 (Paris) | 
| eu-south-1 (Milão) | eu-central-1 (Frankfurt), eu-north-1 (Estocolmo), eu-south-1 (Milão), eu-south-2 (Espanha), eu-west-1 (Irlanda), eu-west-3 (Paris) | 
| eu-south-2 (Espanha) | eu-central-1 (Frankfurt), eu-north-1 (Estocolmo), eu-south-1 (Milão), eu-south-2 (Espanha), eu-west-1 (Irlanda), eu-west-3 (Paris) | 
| eu-west-1 (Irlanda) | eu-central-1 (Frankfurt), eu-north-1 (Estocolmo), eu-south-1 (Milão), eu-south-2 (Espanha), eu-west-1 (Irlanda), eu-west-3 (Paris) | 
| eu-west-2 (Londres) | eu-central-1 (Frankfurt), eu-north-1 (Estocolmo), eu-south-1 (Milão), eu-south-2 (Espanha), eu-west-1 (Irlanda), eu-west-2 (Londres), eu-west-1 (Irlanda), eu-west-2 (Londres), eu-west-3 (Paris) | 
| eu-west-3 (Paris) | eu-central-1 (Frankfurt), eu-north-1 (Estocolmo), eu-south-1 (Milão), eu-south-2 (Espanha), eu-west-1 (Irlanda), eu-west-3 (Paris) | 

**Geografia: AU**

ID de inferência geográfica: `au.anthropic.claude-sonnet-5`


| **Região de origem** | **Regiões de destino** | 
| --- | --- | 
| ap-southeast-2 (Sydney) | ap-southeast-2 (Sydney), ap-southeast-4 (Melbourne) | 
| ap-southeast-4 (Melbourne) | ap-southeast-2 (Sydney), ap-southeast-4 (Melbourne) | 

***Detalhes da inferência global***


| **ID de inferência global** | **Américas** | **EMEA** | **Ásia-Pacífico** | 
| --- | --- | --- | --- | 
| global.anthropic.claude-sonnet-5 |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  | 

## Cotas e limites
<a name="model-card-anthropic-claude-sonnet-5-quotas"></a>

Sua conta da AWS tem cotas padrão para o Amazon Bedrock. Essas cotas podem mudar dependendo de fatores regionais, histórico de pagamentos ou aprovação de uma solicitação de [aumento](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas-increase.html) de cota. Para obter mais detalhes, consulte [Cotas do Amazon Bedrock](quotas.md) e os [limites](https://docs.aws.amazon.com/general/latest/gr/bedrock.html#limits_bedrock) do modelo.

## Código de exemplo
<a name="model-card-anthropic-claude-sonnet-5-sample-code"></a>

**Etapa 1 - Conta da AWS:** se você já tem uma conta da AWS, pule esta etapa. Se você é novo na AWS, cadastre-se em uma [conta da AWS](https://portal.aws.amazon.com/billing/signup).

**Etapa 2 - Chave de API:** acesse o [console do Amazon Bedrock](https://console.aws.amazon.com/bedrock/home#/api-keys/long-term/create) e gere uma chave de API de longo prazo.

**Etapa 3 - Obtenha o SDK:** para usar este guia de introdução, você deve ter o Python já instalado. Em seguida, instale o software relevante, dependendo das APIs que você está usando.

------
#### [ Messages API ]

```
pip install -U "anthropic[bedrock]"
```

------
#### [ Invoke/Converse API ]

```
pip install boto3
```

------

**Etapa 4 - Definir variáveis de ambiente:** configure seu ambiente para usar a chave de API para autenticação.

------
#### [ Messages API ]

```
AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"
```

------
#### [ Invoke/Converse API ]

```
AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"
```

------

**Etapa 5 - Execute sua primeira solicitação de inferência:** salve o arquivo como `bedrock-first-request.py`

------
#### [ Messages API ]

```
from anthropic import AnthropicBedrockMantle

client = AnthropicBedrockMantle(aws_region="us-east-1")

message = client.messages.create(
    model="anthropic.claude-sonnet-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Can you explain the features of Amazon Bedrock?"}],
)

print(message.content[0].text)
```

------
#### [ 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)
```

------