

Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.

# Claude Opus 4.1
<a name="model-card-anthropic-claude-opus-4-1"></a>

## ![Icône carrée arrondie orange avec design blanc en forme de spinner à chargement radial.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/models/claude.png) Anthropique — Claude Opus 4.1
<a name="model-card-anthropic-claude-opus-4-1-header"></a>

## Détails du modèle
<a name="model-card-anthropic-claude-opus-4-1-details"></a>

Claude Opus 4.1 est une mise à niveau du modèle d'Anthropic avec des capacités améliorées de codage, de raisonnement et de tâches agentiques. Pour plus d'informations sur le développement et les performances des modèles, consultez la [ model/service fiche](https://www-cdn.anthropic.com/9fa30625273bafdf5af82c93719d7ca606485a16.pdf).
+ **Date de lancement du modèle : 05 ** août 2025
+ **Date EOL du modèle : 8 ** janvier 2027
+ **Contrats de licence utilisateur final et conditions d'utilisation : ** [ Afficher ](https://aws.amazon.com/legal/bedrock/third-party-models/)
+ **Cycle de vie du modèle : ** Legacy
+ **Fenêtre contextuelle : ** 200 000 jetons
+ **Nombre maximum de jetons de sortie : ** 32 K
+ **Raisonnement : ** soutenu
+ **Clôture des connaissances : mars 2025 **
+ **Identifiant du produit Marketplace : ** `prod-w3q2d6rfge4tw`


| **Modalités de saisie ** | **Modalités de sortie ** | **[API prises en charge ](bedrock/latest/userguide/apis.html) ** | **[Points de terminaison pris en charge ](bedrock/latest/userguide/endpoints.html) ** | 
| --- | --- | --- | --- | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Audio | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Insertion | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) Responses | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) bedrock-runtime | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)Image | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Image | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) Chat Completions | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) bedrock-mantle | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Discours | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Discours | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) Invoke |  | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)Texte | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)Texte | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/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/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Vidéo | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Vidéo |  |  | 

**Astuce**  
Dans la mesure du possible, nous vous recommandons d'utiliser le `bedrock-runtime` point de terminaison pour les nouvelles applications. Consultez [Points de terminaison pris en charge par Amazon Bedrock](endpoints.md) pour plus de détails.

## Capacités et fonctionnalités
<a name="model-card-anthropic-claude-opus-4-1-capabilities"></a>

***Caractéristiques de Bedrock * **

**Fonctionnalités prises en charge via `bedrock-runtime` Endpoint **


| **Supporté ** | **Non pris en charge ** | 
| --- | --- | 
|  + ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)[Streaming de réponses ](bedrock/latest/APIReference/API_runtime_InvokeModelWithResponseStream.html)<br />+ ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)[Détection des abus ](bedrock/latest/userguide/abuse-detection.html)<br />+ ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)[Rambardes ](bedrock/latest/userguide/guardrails.html)<br />+ ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)[Comptez les jetons ](bedrock/latest/userguide/count-tokens.html)<br />+ ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)[Utilisation de l'ordinateur ](bedrock/latest/userguide/computer-use.html)  |  + ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)[Routage rapide intelligent ](bedrock/latest/userguide/prompt-routing.html)<br />+ ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)[Optimisation rapide ](bedrock/latest/userguide/prompt-management-optimize.html)<br />+ ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)[Base de connaissances ](bedrock/latest/userguide/knowledge-base.html)<br />+ ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)[Évaluation du modèle ](bedrock/latest/userguide/evaluation.html)<br />+ ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)[Gestion rapide ](bedrock/latest/userguide/prompt-management.html)<br />+ ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)[Flux ](bedrock/latest/userguide/flows.html)<br />+ ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)[Agents ](bedrock/latest/userguide/agents.html)  | 

**Mise en cache rapide à l'aide `bedrock-runtime` du terminal **

Pour plus d'informations, voir Mise en cache [ rapide pour une inférence ](bedrock/latest/userguide/prompt-caching.html) de modèle plus rapide.


| **Mise en cache rapide prise en charge ** | **Nombre minimal de jetons par point de contrôle du cache ** | **Nombre maximum de points de contrôle du cache par demande ** | **TTL pris en charge ** | **Champs acceptant les points de contrôle rapides du cache ** | 
| --- | --- | --- | --- | --- | 
| Oui | 1,024 | 4 | 5 minutes | system, messages et tools | 

**Utilisation de l'ordinateur à l'aide du `bedrock-runtime` terminal **

Pour plus d'informations, consultez la section Utilisation de l'[ordinateur](bedrock/latest/userguide/computer-use.html).


| **Type d'outil ** | **En-tête bêta ** | 
| --- | --- | 
| computer\_20250124 | computer-use-2025-01-24 | 

## Tarification
<a name="model-card-anthropic-claude-opus-4-1-pricing"></a>

Pour plus d'informations sur les tarifs, consultez la [ page de tarification d'](https://aws.amazon.com/bedrock/pricing/)Amazon Bedrock.

## Accès programmatique
<a name="model-card-anthropic-claude-opus-4-1-programmatic-access"></a>

Utilisez les ID de modèle et les URL de point de terminaison suivants pour accéder à ce modèle par programmation. Pour plus d'informations sur les API et les points de terminaison disponibles, consultez les sections [ API prises en charge ](bedrock/latest/userguide/apis.html) et Points de [ terminaison pris en charge. ](bedrock/latest/userguide/endpoints.html)


| **Point de terminaison** | **ID du modèle ** | **In-Region URL du terminal ** | **ID d'inférence géographique ** | **ID d'inférence global ** | 
| --- | --- | --- | --- | --- | 
| bedrock-runtime | anthropic.claude-opus-4-1-20250805-v1:0 | N/A | us.anthropic.claude-opus-4-1-20250805-v1:0 | N/A | 

*Par exemple, si la région est us-east-1 (Virginie du Nord), l'URL du point de terminaison bedrock-runtime sera « ». https://bedrock-runtime.us-east-1.amazonaws.com *

## Niveaux de service
<a name="model-card-anthropic-claude-opus-4-1-tiers"></a>

Amazon Bedrock propose plusieurs niveaux de service pour répondre à vos exigences en matière de charge de travail. **Standard ** fournit un accès au paiement par jeton sans engagement (définissez `"service_tier": "default"` ou omettez le champ). **Priority ** offre les temps de réponse les plus rapides pour un prix plus élevé (fixe`"service_tier": "priority"`). **Flex ** fournit un accès à moindre coût pour des charges de travail flexibles et non sensibles au facteur temps (set). `"service_tier": "flex"` **Reserved ** fournit un débit dédié assorti d'un engagement à terme pour des charges de travail prévisibles ; il est défini au niveau du compte plutôt que par demande (contactez l'équipe responsable de votre compte AWS pour l'activer). Pour plus d'informations, consultez la section Niveaux [ de service](bedrock/latest/userguide/service-tiers-inference.html).


| **Standard** | **Priorité** | **Flexible ** | **Réservé ** | 
| --- | --- | --- | --- | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/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/fr_fr/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/fr_fr/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/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 

## Disponibilité par région
<a name="model-card-anthropic-claude-opus-4-1-regional-availability"></a>

***La disponibilité régionale en un coup d'œil * **

Amazon Bedrock propose trois options d'inférence : ** In-Region ** conserve les demandes dans une seule région pour des raisons de stricte conformité, ** géolocalise Cross-Region ** les itinéraires entre les régions d'une même zone géographique (comme les États-Unis, l'UE et l'APAC) tout en respectant la résidence des données, et les Cross-Region ** itinéraires ** mondiaux partout dans le monde lorsqu'il n'y a aucune contrainte de résidence. Consultez la [Disponibilité régionale par modèle](models-region-compatibility.md) page pour plus de détails.


| **Région** | **In-Region** | **Géo ** | **Solution internationale** | 
| --- | --- | --- | --- | 
| us-east-1(Virginie du Nord) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/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/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| us-east-2(Ohio) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/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/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| us-west-2(Oregon) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/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/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 

***Détails de l'inférence géographique * **

**Géographie : États-Unis **

ID d'inférence géographique : `us.anthropic.claude-opus-4-1-20250805-v1:0`


| **Région source ** | **Régions de destination ** | 
| --- | --- | 
| us-east-1 (Virginie du Nord) | us-east-1 (Virginie du Nord), us-east-2 (Ohio), us-ouest-2 (Oregon) | 
| us-east-2 (Ohio) | us-east-1 (Virginie du Nord), us-east-2 (Ohio), us-ouest-2 (Oregon) | 
| us-west-2 (Oregon) | us-east-1 (Virginie du Nord), us-east-2 (Ohio), us-ouest-2 (Oregon) | 

## Quotas et limites
<a name="model-card-anthropic-claude-opus-4-1-quotas"></a>

Votre AWS compte possède des quotas par défaut afin de maintenir les performances du service et de garantir une utilisation appropriée d'Amazon Bedrock. Les quotas par défaut attribués à un compte peuvent être mis à jour en fonction de facteurs régionaux, de l'historique des paiements, d'une utilisation frauduleuse ou de and/or l'approbation d'une demande d'[augmentation de quota](bedrock/latest/userguide/quotas-increase.html). Pour plus d'informations, consultez [Quotas pour Amazon Bedrock](quotas.md) la documentation et consultez [ les ](general/latest/gr/bedrock.html#limits_bedrock) limites du modèle.

## Exemple de code
<a name="model-card-anthropic-claude-opus-4-1-sample-code"></a>

**Étape 1 - AWS Compte : ** Si vous avez déjà un AWS compte, ignorez cette étape. Si vous êtes nouveau sur AWS AWS, créez un compte [ AWS](https://portal.aws.amazon.com/billing/signup).

**Étape 2 - Clé API : ** Accédez à la console [ Amazon Bedrock ](https://console.aws.amazon.com/bedrock/home#/api-keys/long-term/create) et générez une clé API à long terme.

**Étape 3 - Téléchargez le SDK : ** pour utiliser ce guide de démarrage, Python doit déjà être installé. Installez ensuite le logiciel approprié en fonction des API que vous utilisez.

```
pip install boto3
```

**Étape 4 - Définissez les variables d'environnement : ** configurez votre environnement pour utiliser la clé API pour l'authentification.

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

**Étape 5 - Exécutez votre première demande d'inférence : ** enregistrez le fichier sous `bedrock-first-request.py`

------
#### [ Invoke API ]

```
import json
import boto3

client = boto3.client('bedrock-runtime', region_name='us-east-1')
response = client.invoke_model(
    modelId='anthropic.claude-opus-4-1-20250805-v1:0',
    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-opus-4-1-20250805-v1:0',
    messages=[
        {
            'role': 'user',
            'content': [{'text': 'Can you explain the features of Amazon Bedrock?'}]
        }
    ]
)
print(response)
```

------