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

モデルの詳細

Claude Sonnet 5 は Anthropic の最も能力の高い Sonnet モデルで、コーディング、エージェント、大規模なプロフェッショナルワーク用に構築されています。これにより、チームが毎日実行しているモデルにほぼ Opus のインテリジェンスがもたらされ、チームはすでに Sonnet に依存しています。

  • モデル開始日: 2026 年 6 月 30 日

  • モデル終了日: 該当なし

  • エンドユーザーライセンス契約と利用規約: サードパーティーモデル条項

  • モデルライフサイクル: アクティブ

  • コンテキストウィンドウ: 1Mトークン

  • 最大出力トークン: 128K

  • 推論: サポート (適応的思考は常にオンになっており、無効にすることはできません。労力レベルは設定可能です)

  • ナレッジカットオフ: 2026 年 1 月

  • Marketplace 製品 ID: prod-4ezhkeia6k2cs

入力モダリティ 出力モダリティ サポートされている APIs サポートされているエンドポイント
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. ResponsesGreen circle with white checkmark icon. bedrock-runtime
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. Chat CompletionsGreen circle with white checkmark icon. bedrock-mantle
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. Invoke
Green circle with white checkmark icon. テキストGreen circle with white checkmark icon. テキストGreen circle with white checkmark icon. Converse
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. Messages
ヒント

可能な限り、新しいアプリケーションには bedrock-runtimeエンドポイントを使用することをお勧めします。詳細については、「Amazon Bedrock でサポートされているエンドポイント」を参照してください。

機能と機能

Bedrock の機能

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

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

プロンプトキャッシュ

詳細については、「モデル推論を高速化するためのプロンプトキャッシュ」を参照してください。

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

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

詳細については、「コンピュータの使用」を参照してください。

ツールタイプ ベータヘッダー
computer_20251124 computer-use-2025-11-24

料金

料金については、Amazon Bedrock の料金ページを参照してください。

プログラムによるアクセス

次のモデル IDs とエンドポイント URLsを使用して、このモデルにプログラムでアクセスします。使用可能な APIs「サポートされている APIs」と「サポートされているエンドポイント」を参照してください。

Endpoint モデル ID リージョン内エンドポイント URL 地理推論 ID グローバル推論 ID
bedrock-runtime anthropic.claude-sonnet-5 該当なし

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 該当なし 該当なし

たとえば、リージョンが 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」です。

サービス階層

Amazon Bedrock は、ワークロードの要件に合わせて複数のサービス層を提供します。Standard はpay-per-tokenアクセスを提供します ( フィールドを設定"service_tier": "default"または省略)。Priority は、料金プレミアム (設定 ) に対して最速の応答時間を提供します"service_tier": "priority"Flex は、柔軟でnon-time-sensitiveワークロード (セット ) に低コストのアクセスを提供します"service_tier": "flex"リザーブドは、予測可能なワークロードに対するコミットメントという用語を持つ専用スループットを提供します。これは、リクエストごとではなくアカウントレベルで設定されます (AWS アカウントチームに連絡して有効にしてください)。詳細については、「 サービス層」を参照してください。

スタンダード 優先度 Flex 予約済み
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.

リージョン別の利用可能性

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

Amazon Bedrock には 3 つの推論オプションがあります。

  • In-Region は、厳格なコンプライアンスのためにリクエストを 1 つのリージョン内に保持します。

  • 地理的クロスリージョンは、データレジデンシーを尊重しながら、地域 (米国、欧州、APAC など) 内のリージョンを横断します。

  • グローバルクロスリージョンは、レジデンシーの制約がない場合に、世界中のどこにでもルーティングされます。

詳細については、モデル別のリージョンの可用性「」ページを参照してください。

リージョン リージョン内 地域 グローバル
us-east-1 (バージニア北部)Green circle with white checkmark icon.Green circle with white checkmark icon.Green circle with white checkmark icon.
us-east-2 (オハイオ)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 (北カリフォルニア)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 (オレゴン)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 (カナダ)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 (カルガリー)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 (フランクフルト)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 (チューリッヒ)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 (ストックホルム)Green circle with white checkmark icon.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-south-1 (ミラノ)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 (スペイン)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 (アイルランド)Green circle with white checkmark icon.Green circle with white checkmark icon.Green circle with white checkmark icon.
eu-west-2 (ロンドン)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 (パリ)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 (台北)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 (東京)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 (ソウル)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 (大阪)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 (ムンバイ)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 (ハイデラバード)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 (シンガポール)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 (シドニー)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 (ジャカルタ)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 (メルボルン)Green circle with white checkmark icon.Green circle with white checkmark icon.Green circle with white checkmark icon.
ap-southeast-5 (マレーシア)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 (ニュージーランド)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 (タイ)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 (テルアビブ)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 (アラブ首長国連邦)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 (バーレーン)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 (ケープタウン)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 (サンパウロ)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 (メキシコ)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 西部)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 東部)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.

データレジデンシー

  • 米国ジオ (us.anthropic.claude-sonnet-5): 米国およびカナダリージョン内のデータを保持します。

  • EU geo (eu.anthropic.claude-sonnet-5): EU リージョン内にデータを保持します。

  • AU geo (au.anthropic.claude-sonnet-5): オーストラリアリージョン内にデータを保持します。

  • グローバル (global.anthropic.claude-sonnet-5): レジデンシーの制約のない世界中のルート。

クォータと制限

AWS アカウントには Amazon Bedrock のデフォルトのクォータがあります。これらのクォータは、地域要因、支払い履歴、またはクォータ引き上げリクエストの承認に応じて異なる場合があります。詳細については、Amazon Bedrock のクォータ「」および「モデルの制限」を参照してください。

サンプルコード

ステップ 1 - AWS アカウント: AWS アカウントがすでにある場合は、このステップをスキップします。を初めて使用する場合は AWS、AWS アカウントにサインアップします。

ステップ 2 - API キー: Amazon Bedrock コンソールを開き、長期 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)