View a markdown version of this page

Claude Opus 4.8 - Amazon Bedrock

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

Claude Opus 4.8

Ikon persegi bulat oranye dengan pemuatan radial putih atau simbol indikator kemajuan. Antropik — Claude Opus 4.8

Detail Model

Claude Opus 4.8 adalah model Anthropic Opus yang dioptimalkan untuk pengkodean, agen, dan penalaran yang lebih dalam dalam alur kerja perusahaan.

  • Tanggal peluncuran model: 28 Mei 2026

  • Tanggal model EOL: N/A

  • Perjanjian Lisensi Pengguna Akhir dan Ketentuan Penggunaan: Lihat

  • Siklus hidup model: Aktif

  • Jendela konteks: 1M token

  • Token keluaran maks: 128K

  • Penalaran: Didukung

  • Batas pengetahuan: Januari 2026

  • ID produk Marketplace: prod-bk5rjg4eo2pke

Modalitas Masukan Modalitas Keluaran API didukung Endpoint didukung
Red circle with white X icon indicating error, cancel, or close action.AudioRed circle with white X icon indicating error, cancel, or close action.MenyematkanRed 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.GambarRed circle with white X icon indicating error, cancel, or close action.GambarRed 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.PidatoRed circle with white X icon indicating error, cancel, or close action.PidatoGreen circle with white checkmark icon. Invoke
Green circle with white checkmark icon.TeksGreen circle with white checkmark icon.TeksGreen circle with white checkmark icon. Converse
Red circle with white X icon indicating error, cancel, or close action.VideoRed circle with white X icon indicating error, cancel, or close action.VideoGreen circle with white checkmark icon. Messages

Kemampuan dan Fitur

Fitur Batuan Dasar

Fitur yang didukung menggunakan bedrock-mantle endpoint

Fitur yang didukung menggunakan bedrock-runtime endpoint

Caching cepat

Untuk informasi lebih lanjut, lihat Caching cepat untuk inferensi model yang lebih cepat.

Prompt caching didukung Token min per pos pemeriksaan cache Pos pemeriksaan cache maksimum per permintaan TTL yang didukung Bidang yang menerima pos pemeriksaan cache cepat
Ya 4,096 4 5 menit, 1 jam system, messages, dan tools

Penggunaan komputer menggunakan bedrock-runtime dan titik bedrock-mantle akhir

Untuk informasi selengkapnya, lihat Penggunaan komputer.

Jenis alat Header beta
computer_20251124 computer-use-2025-11-24

Harga

Untuk harga, silakan merujuk ke halaman Harga Amazon Bedrock.

Akses Terprogram

Gunakan ID model dan URL titik akhir berikut untuk mengakses model ini secara terprogram. Untuk informasi selengkapnya tentang API dan titik akhir yang tersedia, lihat API yang didukung dan Endpoint didukung.

Titik akhir ID Model In-Region URL titik akhir ID inferensi geo ID inferensi global
bedrock-runtime anthropic.claude-opus-4-8 N/A

us.anthropic.claude-opus-4-8

eu.anthropic.claude-opus-4-8

jp.anthropic.claude-opus-4-8

au.anthropic.claude-opus-4-8

global.anthropic.claude-opus-4-8
bedrock-mantle anthropic.claude-opus-4-8 https://bedrock-mantle.{region}.api.aws/anthropic/v1/messages N/A N/A

Misalnya, jika wilayah adalah us-east-1 (Virginia N.), maka URL endpoint batuan dasar runtime akan menjadi "" dan untuk mantel dasar akan menjadi "”. https://bedrock-runtime.us-east-1.amazonaws.com https://bedrock-mantle.us-east-1.api.aws/anthropic/v1/messages

Tingkatan Layanan

Amazon Bedrock menawarkan beberapa tingkatan layanan agar sesuai dengan persyaratan beban kerja Anda. Standar menyediakan akses bayar per token tanpa komitmen. Prioritas menawarkan throughput yang lebih tinggi dengan komitmen berbasis waktu. Flex menyediakan akses berbiaya lebih rendah untuk beban kerja yang fleksibel dan tidak sensitif terhadap waktu. Reserved menyediakan throughput khusus dengan komitmen jangka untuk beban kerja yang dapat diprediksi. Untuk informasi selengkapnya, lihat tingkatan layanan.

Standar Prioritas Flex Dilindungi
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.

Ketersediaan Wilayah

Sekilas tentang ketersediaan regional

Bedrock menawarkan tiga opsi inferensi:

  • In-Regionmenyimpan permintaan dalam satu Wilayah untuk kepatuhan yang ketat.

  • Cross-RegionRute geografis lintas Wilayah dalam geografi (AS, UE, dll.) untuk throughput yang lebih tinggi sambil menghormati residensi data.

  • Cross-RegionRute global di mana saja di seluruh dunia untuk throughput maksimum ketika tidak ada kendala residensi.

Untuk detail lebih lanjut, lihat Ketersediaan regional berdasarkan model halaman.

Wilayah In-Region Geo Global
us-east-1(Virginia Utara)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(California Utara)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(Kanada)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.
us-gov-west-1(GovCloud Barat)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 Timur)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.
eu-central-1(Frankfurt am Main)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(Zürich)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(Spanyol)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(Irlandia)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)Green circle with white checkmark icon.Green circle with white checkmark icon.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.Green circle with white checkmark icon.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(Haiderabad)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(Singapura)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.Green circle with white checkmark icon.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(Selandia Baru)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(UEA)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(Sao 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(Meksiko)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.

Detail inferensi geo

Geo: AS

ID Inferensi Geo: us.anthropic.claude-opus-4-8

Wilayah Sumber Wilayah Tujuan
us-east-1 (Virginia Utara)us-east-1 (Virginia N), us-east-2 (Ohio), us-west-2 (Oregon)
us-east-2 (Ohio)us-east-1 (Virginia N), us-east-2 (Ohio), us-west-2 (Oregon)
us-west-1 (California Utara)us-east-1 (Virginia N.), us-east-2 (Ohio), us-west-1 (California N.), us-west-2 (Oregon)
us-west-2 (Oregon)us-east-1 (Virginia N), us-east-2 (Ohio), us-west-2 (Oregon)
ca-central-1 (Kanada)ca-central-1 (Kanada), us-east-1 (Virginia N.), us-east-2 (Ohio), us-west-2 (Ohio), us-west-2 (Oregon)
ca-west-1 (Calgary)ca-west-1 (Calgary), us-east-1 (Virginia N.), us-east-2 (Ohio), us-west-2 (Ohio), us-west-2 (Oregon)

Geo: UE

ID Inferensi Geo: eu.anthropic.claude-opus-4-8

Wilayah Sumber Wilayah Tujuan
eu-central-1 (Frankfurt am Main)eu-central-1 (Frankfurt), eu-north-1 (Stockholm), eu-south-1 (Milan), eu-south-1 (Milan), eu-south-2 (Spanyol), eu-west-1 (Irlandia), eu-west-3 (Paris)
eu-central-2 (Zürich)eu-central-1 (Frankfurt), eu-central-2 (Zurich), eu-north-1 (Stockholm), eu-south-1 (Milan), eu-south-1 (Milan), eu-south-2 (Spanyol), eu-west-1 (Irlandia), eu-west-1 (Irlandia), eu-south-2 (Spanyol), eu-west-1 (Irlandia), eu-south-2 eu-west-3 (Paris)
eu-north-1 (Stockholm)eu-central-1 (Frankfurt), eu-north-1 (Stockholm), eu-south-1 (Milan), eu-south-1 (Milan), eu-south-2 (Spanyol), eu-west-1 (Irlandia), eu-west-3 (Paris)
eu-south-1 (Milan)eu-central-1 (Frankfurt), eu-north-1 (Stockholm), eu-south-1 (Milan), eu-south-1 (Milan), eu-south-2 (Spanyol), eu-west-1 (Irlandia), eu-west-3 (Paris)
eu-south-2 (Spanyol)eu-central-1 (Frankfurt), eu-north-1 (Stockholm), eu-south-1 (Milan), eu-south-1 (Milan), eu-south-2 (Spanyol), eu-west-1 (Irlandia), eu-west-3 (Paris)
eu-west-1 (Irlandia)eu-central-1 (Frankfurt), eu-north-1 (Stockholm), eu-south-1 (Milan), eu-south-1 (Milan), eu-south-2 (Spanyol), eu-west-1 (Irlandia), eu-west-3 (Paris)
eu-west-2 (London)eu-central-1 (Frankfurt), eu-north-1 (Stockholm), eu-selatan-1 (Milan), eu-selatan-2 (Spanyol), eu-barat-1 (Irlandia), eu-west-2 (London), eu-west-1 (Irlandia), eu-west-2 (London), eu-west-2 (London), eu-west-eu-west-3 (Paris)
eu-west-3 (Paris)eu-central-1 (Frankfurt), eu-north-1 (Stockholm), eu-south-1 (Milan), eu-south-1 (Milan), eu-south-2 (Spanyol), eu-west-1 (Irlandia), eu-west-3 (Paris)

Geo: JP

ID Inferensi Geo: jp.anthropic.claude-opus-4-8

Wilayah Sumber Wilayah Tujuan
ap-northeast-1 (Tokyo)ap-northeast-1 (Tokyo), ap-northeast-3 (Osaka)
ap-northeast-3 (Osaka)ap-northeast-1 (Tokyo), ap-northeast-3 (Osaka)

Geo: AU

ID Inferensi Geo: au.anthropic.claude-opus-4-8

Wilayah Sumber Wilayah Tujuan
ap-southeast-2 (Sydney)ap-southeast-2 (Sydney), ap-southeast-4 (Melbourne)
ap-southeast-4 (Melbourne)ap-southeast-2 (Sydney), ap-southeast-4 (Melbourne)

Detail inferensi global

ID Inferensi Global Amerika EMEA Asia Pasifik
global.anthropic.claude-opus-4-8
  • us-east-1 (Virginia Utara)

  • us-east-2 (Ohio)

  • us-west-1 (California Utara)

  • us-west-2 (Oregon)

  • ca-central-1 (Kanada)

  • ca-west-1 (Calgary)

  • sa-east-1 (sa-east-1)

  • mx-central-1 (Meksiko)

  • eu-central-1 (Frankfurt am Main)

  • eu-central-2 (Zürich)

  • eu-north-1 (Stockholm)

  • eu-south-1 (Milan)

  • eu-south-2 (Spanyol)

  • eu-west-1 (Irlandia)

  • eu-west-2 (London)

  • eu-west-3 (Paris)

  • il-central-1 (il-central-1)

  • me-central-1 (UEA)

  • me-south-1 (Bahrain)

  • af-south-1 (Cape Town)

  • ap-timur-2 (Taipei)

  • ap-northeast-1 (Tokyo)

  • ap-northeast-2 (Seoul)

  • ap-northeast-3 (Osaka)

  • ap-south-1 (Mumbai)

  • ap-south-2 (Hyderabad)

  • ap-southeast-1 (Singapura)

  • ap-southeast-2 (Sydney)

  • ap-southeast-3 (Jakarta)

  • ap-southeast-4 (Melbourne)

  • ap-tenggara 5 (Malaysia)

  • ap-southeast-6 (Selandia Baru)

  • ap-tenggara 7 (Thailand)

Kuota dan Batas

Akun AWS Anda memiliki kuota default untuk Amazon Bedrock. Kuota ini dapat berubah tergantung pada faktor regional, riwayat pembayaran, atau persetujuan permintaan kenaikan kuota. Untuk detail lebih lanjut, lihat Kuota untuk Amazon Bedrock dan batasan untuk model.

Kuota default untuk Claude Opus 4.8 adalah input 20M TPM dan 4M output TPM aktif dan 30M TPM aktif untuk setiap wilayah yang didukung. bedrock-mantle bedrock-runtime Claude Opus 4.8 tidak memiliki kuota requests-per-minute (RPM); throttling hanya diatur oleh kuota token-per-menit (TPM) di atas.

Kode Sampel

Langkah 1 - Akun AWS: Jika Anda sudah memiliki akun AWS, lewati langkah ini. Jika Anda baru mengenal AWS, daftar akun AWS.

Langkah 2 - Kunci API: Buka konsol Amazon Bedrock dan buat kunci API jangka panjang.

Langkah 3 - Dapatkan SDK: Untuk menggunakan panduan memulai ini, Anda harus memiliki Python yang sudah diinstal. Kemudian instal perangkat lunak yang relevan tergantung pada API yang Anda gunakan.

Messages API
pip install -U "anthropic[bedrock]"
Invoke/Converse API
pip install boto3

Langkah 4 - Tetapkan variabel lingkungan: Konfigurasikan lingkungan Anda untuk menggunakan kunci API untuk otentikasi.

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

Langkah 5 - Jalankan permintaan inferensi pertama Anda: Simpan file sebagai bedrock-first-request.py

Messages API
from anthropic import AnthropicBedrockMantle client = AnthropicBedrockMantle(aws_region="us-east-1") message = client.messages.create( model="anthropic.claude-opus-4-8", 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-opus-4-8', 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-8', messages=[ { 'role': 'user', 'content': [{'text': 'Can you explain the features of Amazon Bedrock?'}] } ] ) print(response)