

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

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

## ![Orange rounded square icon with white radial loading or progress indicator symbol.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/models/claude.png) Anthropic — Claude Sonnet 5
<a name="model-card-anthropic-claude-sonnet-5-header"></a>

## モデルの詳細
<a name="model-card-anthropic-claude-sonnet-5-details"></a>

Claude Sonnet 5 は、まだ Anthropic で最も能力の高い Sonnet モデルであり、コーディング、エージェント、大規模なプロフェッショナルワーク用に構築されています。これにより、チームが毎日実行するモデルチームにほぼ Opus のインテリジェンスがもたらされ、チームはすでに Sonnet に依存しています。
+ **モデル開始日: 2026 **年 6 月 30 日
+ **モデル終了日:** 該当なし
+ **エンドユーザーライセンス契約と利用規約:** [表示](https://aws.amazon.com/legal/bedrock/third-party-models/)
+ **モデルライフサイクル:** アクティブ
+ **コンテキストウィンドウ:** 1M 万トークン
+ **最大出力トークン:** 128K
+ **推論:** サポート (適応的思考は常にオンになっており、無効にすることはできません。労力レベルは設定可能です)
+ **ナレッジカットオフ:** 2026 年 1 月
+ **Marketplace 製品 ID:** `prod-4ezhkeia6k2cs`


| **入力モダリティ** | **出力モダリティ** | **[サポートされている APIs ](https://docs.aws.amazon.com/bedrock/latest/userguide/apis.html)** | **[サポートされているエンドポイント](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/ja_jp/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/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) Responses | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) bedrock-runtime | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) Chat Completions | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) 音声 | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) Invoke |  | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) テキスト | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) テキスト | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) のビデオ | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) Messages |  | 

## 機能と機能
<a name="model-card-anthropic-claude-sonnet-5-capabilities"></a>

***Bedrock の機能***

**`bedrock-runtime`エンドポイントを使用してサポートされる機能**


| **サポート** | **サポートされていない** | 
| --- | --- | 
|  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  | 

**`bedrock-mantle`エンドポイントを使用してサポートされる機能**


| **サポート** | **サポートされていない** | 
| --- | --- | 
|  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  | 

**プロンプトキャッシュ**

詳細については、[「モデル推論を高速化するためのプロンプトキャッシュ](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html)」を参照してください。


| **サポートされているプロンプトキャッシュ** | **キャッシュチェックポイントあたりの最小トークン数** | **リクエストあたりの最大キャッシュチェックポイント** | **サポートされている TTL** | **プロンプトキャッシュチェックポイントを受け入れるフィールド** | 
| --- | --- | --- | --- | --- | 
| はい | 4,096 | 4 | 5 分、1 時間 | system、messages、および tools | 

**`bedrock-runtime`および `bedrock-mantle`エンドポイントを使用したコンピュータの使用**

詳細については、[「コンピュータの使用](https://docs.aws.amazon.com/bedrock/latest/userguide/computer-use.html)」を参照してください。


| **ツールタイプ** | **ベータヘッダー** | 
| --- | --- | 
| computer\_20251124 | computer-use-2025-11-24 | 

## 料金
<a name="model-card-anthropic-claude-sonnet-5-pricing"></a>

料金については、[Amazon Bedrock の料金](https://aws.amazon.com/bedrock/pricing/)ページを参照してください。

## プログラムによるアクセス
<a name="model-card-anthropic-claude-sonnet-5-programmatic-access"></a>

次のモデル IDs とエンドポイント URLsを使用して、このモデルにプログラムでアクセスします。使用可能な APIs[「サポートされている APIs](https://docs.aws.amazon.com/bedrock/latest/userguide/apis.html)」と[「サポートされているエンドポイント](https://docs.aws.amazon.com/bedrock/latest/userguide/endpoints.html)」を参照してください。


| **Endpoint** | **モデル ID** | **リージョン内エンドポイント URL** | **地理推論 ID** | **グローバル推論 ID** | 
| --- | --- | --- | --- | --- | 
| 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 | 該当なし | 該当なし | 

*たとえば、region が us-east-1 (バージニア北部) の場合、bedrock-runtime エンドポイント URL は「https://bedrock-runtime.us-east-1.amazonaws.com」になり、bedrock-mantle の URL は「https://bedrock-mantle.us-east-1.api.aws/anthropic/v1/messages」になります。*

## サービス階層
<a name="model-card-anthropic-claude-sonnet-5-tiers"></a>

Amazon Bedrock は、ワークロードの要件に合わせて複数のサービス層を提供します。**Standard** はpay-per-tokenアクセスを提供します。**Priority** は、時間ベースのコミットメントでより高いスループットを提供します。**Flex** は、柔軟でnon-time-sensitiveワークロードに低コストのアクセスを提供します。**リザーブド**は、予測可能なワークロードに対するコミットメントという用語で、専用のスループットを提供します。詳細については、[「 サービス層](https://docs.aws.amazon.com/bedrock/latest/userguide/service-tiers-inference.html)」を参照してください。


| **スタンダード** | **優先度** | **Flex** | **予約済み** | 
| --- | --- | --- | --- | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/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/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | 

## リージョン別の利用可能性
<a name="model-card-anthropic-claude-sonnet-5-regional-availability"></a>

***リージョンの可用性の概要***

Bedrock には 3 つの推論オプションがあります。
+ **リージョン内は**、厳格なコンプライアンスのためにリクエストを 1 つのリージョン内に保持します。
+ **地理的クロスリージョン**は、データレジデンシーを尊重しながらスループットを向上させるために、地域 (米国、欧州など) 内のリージョンを横断します。
+ **グローバルクロスリージョン**は、レジデンシーの制約がない場合に、世界中のどこにでもルーティングして最大スループットを実現します。

詳細については、[モデル別のリージョンの可用性](models-region-compatibility.md)「」ページを参照してください。


| **リージョン** | **リージョン内** | **地域** | **グローバル** | 
| --- | --- | --- | --- | 
| us-east-1 (バージニア北部) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| us-east-2 (オハイオ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| us-west-1 (北カリフォルニア) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| us-west-2 (オレゴン) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ca-central-1 (カナダ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ca-west-1 (カルガリー) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-central-1 (フランクフルト) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-central-2 (チューリッヒ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-north-1 (ストックホルム) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-south-1 (ミラノ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-south-2 (スペイン) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-west-1 (アイルランド) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-west-2 (ロンドン) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| eu-west-3 (パリ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-east-2 (台北) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-northeast-1 (東京) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-northeast-2 (ソウル) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-northeast-3 (大阪) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-south-1 (ムンバイ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-south-2 (ハイデラバード) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-1 (シンガポール) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-2 (シドニー) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-3 (ジャカルタ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-4 (メルボルン) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-5 (マレーシア) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-6 (ニュージーランド) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| ap-southeast-7 (タイ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| il-central-1 (テルアビブ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| me-central-1 (アラブ首長国連邦) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| me-south-1 (バーレーン) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| af-south-1 (ケープタウン) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| sa-east-1 (サンパウロ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 
| mx-central-1 (メキシコ) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/ja_jp/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/ja_jp/bedrock/latest/userguide/images/icons/icon-no.png) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/images/icons/icon-yes.png) | 

***地理推論の詳細***

**地域: 米国**

地理推論 ID: `us.anthropic.claude-sonnet-5`


| **ソースリージョン** | **送信先リージョン** | 
| --- | --- | 
| us-east-1 (バージニア北部) | us-east-1 (バージニア北部）、us-east-2 (オハイオ）、us-west-2 (オレゴン) | 
| us-east-2 (オハイオ) | us-east-1 (バージニア北部）、us-east-2 (オハイオ）、us-west-2 (オレゴン) | 
| us-west-1 (北カリフォルニア) | us-east-1 (バージニア北部）、us-east-2 (オハイオ）、us-west-1 (北カリフォルニア）、us-west-2 (オレゴン) | 
| us-west-2 (オレゴン) | us-east-1 (バージニア北部）、us-east-2 (オハイオ）、us-west-2 (オレゴン) | 
| ca-central-1 (カナダ) | us-east-1 (バージニア北部）、us-east-2 (オハイオ）、us-west-2 (オレゴン）、ca-central-1 (カナダ) | 
| ca-west-1 (カルガリー) | us-east-1 (バージニア北部）、us-east-2 (オハイオ）、us-west-2 (オレゴン）、ca-west-1 (カルガリー) | 

**地域: EU**

地理推論 ID: `eu.anthropic.claude-sonnet-5`


| **ソースリージョン** | **送信先リージョン** | 
| --- | --- | 
| eu-central-1 (フランクフルト) | eu-central-1 (フランクフルト）、eu-north-1 (ストックホルム）、eu-south-1 (ミラノ）、eu-south-2 (スペイン）、eu-west-1 (アイルランド）、eu-west-3 (パリ) | 
| eu-central-2 (チューリッヒ) | eu-central-1 (フランクフルト）、eu-central-2 (チューリッヒ）、eu-north-1 (ストックホルム）、eu-south-1 (ミラノ）、eu-south-2 (スペイン）、eu-west-1 (アイルランド）、eu-west-3 (パリ) | 
| eu-north-1 (ストックホルム) | eu-central-1 (フランクフルト）、eu-north-1 (ストックホルム）、eu-south-1 (ミラノ）、eu-south-2 (スペイン）、eu-west-1 (アイルランド）、eu-west-3 (パリ) | 
| eu-south-1 (ミラノ) | eu-central-1 (フランクフルト）、eu-north-1 (ストックホルム）、eu-south-1 (ミラノ）、eu-south-2 (スペイン）、eu-west-1 (アイルランド）、eu-west-3 (パリ) | 
| eu-south-2 (スペイン) | eu-central-1 (フランクフルト）、eu-north-1 (ストックホルム）、eu-south-1 (ミラノ）、eu-south-2 (スペイン）、eu-west-1 (アイルランド）、eu-west-3 (パリ) | 
| eu-west-1 (アイルランド) | eu-central-1 (フランクフルト）、eu-north-1 (ストックホルム）、eu-south-1 (ミラノ）、eu-south-2 (スペイン）、eu-west-1 (アイルランド）、eu-west-3 (パリ) | 
| eu-west-2 (ロンドン) | eu-central-1 (フランクフルト）、eu-north-1 (ストックホルム）、eu-south-1 (ミラノ）、eu-south-2 (スペイン）、eu-west-1 (アイルランド）、eu-west-2 (ロンドン）、eu-west-3 (パリ) | 
| eu-west-3 (パリ) | eu-central-1 (フランクフルト）、eu-north-1 (ストックホルム）、eu-south-1 (ミラノ）、eu-south-2 (スペイン）、eu-west-1 (アイルランド）、eu-west-3 (パリ) | 

**地域: AU**

地理推論 ID: `au.anthropic.claude-sonnet-5`


| **ソースリージョン** | **送信先リージョン** | 
| --- | --- | 
| ap-southeast-2 (シドニー) | ap-southeast-2 (シドニー）、ap-southeast-4 (メルボルン) | 
| ap-southeast-4 (メルボルン) | ap-southeast-2 (シドニー）、ap-southeast-4 (メルボルン) | 

***グローバル推論の詳細***


| **グローバル推論 ID** | **南北アメリカ** | **EMEA** | **アジアパシフィック** | 
| --- | --- | --- | --- | 
| global.anthropic.claude-sonnet-5 |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/bedrock/latest/userguide/model-card-anthropic-claude-sonnet-5.html)  | 

## クォータと制限
<a name="model-card-anthropic-claude-sonnet-5-quotas"></a>

AWS アカウントには、Amazon Bedrock のデフォルトのクォータがあります。これらのクォータは、地域要因、支払い履歴、またはクォータ[引き上げリクエスト](https://docs.aws.amazon.com/bedrock/latest/userguide/quotas-increase.html)の承認に応じて異なる場合があります。詳細については、[Amazon Bedrock のクォータ](quotas.md)「」および「モデル[の制限](https://docs.aws.amazon.com/general/latest/gr/bedrock.html#limits_bedrock)」を参照してください。

## サンプルコード
<a name="model-card-anthropic-claude-sonnet-5-sample-code"></a>

**ステップ 1 - AWS アカウント:** AWS アカウントがすでにある場合は、このステップをスキップします。AWS を初めて使用する場合は、[AWS アカウントに](https://portal.aws.amazon.com/billing/signup)サインアップします。

**ステップ 2 - API キー:** [Amazon Bedrock コンソール](https://console.aws.amazon.com/bedrock/home#/api-keys/long-term/create)に移動し、長期 API キーを生成します。

**ステップ 3 - SDK を取得する:** この入門ガイドを使用するには、Python がすでにインストールされている必要があります。次に、使用している APIs に応じて、関連するソフトウェアをインストールします。

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

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

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

```
pip install boto3
```

------

**ステップ 4 - 環境変数を設定する:** API キーを認証に使用するように環境を設定します。

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

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

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

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

------

**ステップ 5 - 最初の推論リクエストを実行する:** ファイルを として保存する `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)
```

------