View a markdown version of this page

Claude Haiku 4.5 - Amazon Bedrock

Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.

Claude Haiku 4.5

Orangefarbenes abgerundetes quadratisches Symbol mit weißem radialem Ladespinner-Design. Anthropisch — Claude Haiku 4.5

Modelldetails

Claude Haiku 4.5 ist das leichte Modell von Anthropic, das auf Geschwindigkeit und Effizienz optimiert ist und eine starke Codierungs- und Agentenleistung bietet. Weitere Informationen zur Modellentwicklung und Leistung finden Sie auf der Karte. model/service

  • Datum der Markteinführung des Modells: 16. Oktober 2025

  • EOL-Datum des Modells: Nicht früher als /2026 10/1

  • Endbenutzer-Lizenzverträge und Nutzungsbedingungen: Anzeigen https://aws.amazon.com/legal/bedrock/third-party-models/

  • Lebenszyklus des Modells: Aktiv

  • Kontextfenster: 200.000 Token

  • Max. Ausgabe-Token: 64K

  • Begründung: Unterstützt

  • Anmeldeschluss: Februar 2025

  • Marketplace-Produkt-ID: prod-xdkflymybwmvi

Modalitäten der Eingabe Modalitäten der Ausgabe Unterstützte APIs Unterstützte Endpunkte
Red circle with white X icon indicating error, cancel, or close action.AudioRed circle with white X icon indicating error, cancel, or close action.EinbettenRed 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.BildRed circle with white X icon indicating error, cancel, or close action.BildRed 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.RedeRed circle with white X icon indicating error, cancel, or close action.RedeGreen circle with white checkmark icon. Invoke
Green circle with white checkmark icon.TextGreen circle with white checkmark icon.TextGreen 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
Tipp

Wann immer möglich, empfehlen wir, den bedrock-runtime Endpunkt für neue Anwendungen zu verwenden. Details dazu finden Sie unter Von Amazon Bedrock unterstützte Endpunkte.

Fähigkeiten und Funktionen

Funktionen von Bedrock

Funktionen, die mithilfe bedrock-mantle von Endpoint unterstützt werden

Funktionen, die mithilfe von bedrock-runtime Endpoint unterstützt werden

Promptes Zwischenspeichern

Weitere Informationen finden Sie unter Prompt-Caching für eine schnellere Modellinferenz.

Prompt-Caching wird unterstützt Mindestanzahl an Tokens pro Cache-Checkpoint Max. Cache-Checkpoints pro Anfrage Unterstütztes TTL Felder, die Prompt-Cache-Checkpoints akzeptieren
Ja 4.096 4 5 Minuten, 1 Stunde system, messages und tools

Computernutzung unter Verwendung von bedrock-runtime bedrock-mantle Endpunkten

Weitere Informationen finden Sie unter Computernutzung.

Typ des Werkzeugs Beta-Header
computer_20250124 computer-use-2025-01-24

Preisgestaltung

Preisinformationen finden Sie auf der Preisseite von Amazon Bedrock.

Programmatischer Zugriff

Verwenden Sie die folgenden Modell-IDs und Endpunkt-URLs, um programmgesteuert auf dieses Modell zuzugreifen. Weitere Informationen zu den verfügbaren APIs und Endpunkten finden Sie unter Unterstützte APIs und Unterstützte Endpunkte.

Endpunkt Modell-ID In-Region URL des Endpunkts Geoinferenz-ID Globale Inferenz-ID
bedrock-runtime anthropic.claude-haiku-4-5-20251001-v1:0 N/A

us.anthropic.claude-haiku-4-5-20251001-v1:0

eu.anthropic.claude-haiku-4-5-20251001-v1:0

au.anthropic.claude-haiku-4-5-20251001-v1:0

jp.anthropic.claude-haiku-4-5-20251001-v1:0

global.anthropic.claude-haiku-4-5-20251001-v1:0
bedrock-mantle anthropic.claude-haiku-4-5 https://bedrock-mantle.{region}.api.aws/anthropic/v1/messages N/A N/A

Wenn die Region beispielsweise us-east-1 (Nord-Virginia) ist, lautet die Bedrock-Runtime-Endpunkt-URL "" und für https://bedrock-runtime.us-east-1.amazonaws.com bedrock-Mantle "“. https://bedrock-mantle.us-east-1.api.aws/anthropic/v1/messages

Servicestufen

Amazon Bedrock bietet mehrere Servicestufen, um Ihren Workload-Anforderungen gerecht zu werden. Standard bietet Pay-per-Token-Zugriff ohne Verpflichtung (setzen Sie das Feld ein "service_tier": "default" oder lassen Sie es weg). Priority bietet die schnellsten Reaktionszeiten gegen einen Preisaufschlag (Set). "service_tier": "priority" Flex bietet kostengünstigen Zugriff auf flexible, nicht zeitkritische Workloads (Set). "service_tier": "flex" Reserved bietet einen dedizierten Durchsatz mit einer bestimmten Laufzeit für vorhersehbare Workloads. Dieser Wert wird auf Kontoebene und nicht pro Anfrage festgelegt (wenden Sie sich zur Aktivierung an Ihr AWS-Kontenteam). Weitere Informationen finden Sie unter Servicestufen.

Standard Priorität Flex Reserviert
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. Green circle with white checkmark icon.

Regionale Verfügbarkeit

Regionale Verfügbarkeit auf einen Blick

Amazon Bedrock bietet drei Ableitungsoptionen: In-Region Es werden Anfragen innerhalb einer einzigen Region zur strikten Einhaltung der Vorschriften gespeichert, Cross-Region Geo-Routen zwischen Regionen innerhalb einer Region (z. B. USA, EU und APAC) unter Berücksichtigung der Datenresidenz, und globale Cross-Region Routen überall auf der Welt, wenn keine Wohnsitzbeschränkungen bestehen. Weitere Informationen finden Sie auf der SeiteRegionale Verfügbarkeit nach Modellen.

Region In-Region Geo Global
us-east-1(Nord-Virginia)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(Nordkalifornien)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.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
eu-central-1(Frankfurt)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(Mailand)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(Spanien)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(Irland)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(Taipeh)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(Tokio)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(Ōsaka)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(Hyderabad)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(Singapur)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(Malaysien)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(Neuseeland)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-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(VAE)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(Bahrein)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(Kapstadt)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(São 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(Mexiko)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.

Einzelheiten zur Geo-Inferenz

Geo: USA

Geo-Inferenz-ID: us.anthropic.claude-haiku-4-5-20251001-v1:0

Quellregion Zielregionen
us-east-1 (N. Virginia)US-Ost-1 (Nord-Virginia), US-Ost-2 (Ohio), US-West-2 (Oregon)
us-east-2 (Ohio)US-Ost-1 (Nord-Virginia), US-Ost-2 (Ohio), US-West-2 (Oregon)
us-west-1 (Nordkalifornien)US-East-1 (Nord-Virginia), US-East-2 (Ohio), US-West-1 (Nordkalifornien), US-West-2 (Oregon)
us-west-2 (Oregon)US-Ost-1 (Nord-Virginia), US-Ost-2 (Ohio), US-West-2 (Oregon)
ca-central-1 (Kanada)ca-central-1 (Kanada), US-East-1 (Nord-Virginia), US-East-2 (Ohio), US-West-2 (Oregon)

Region: EU

Geo-Inferenz-ID: eu.anthropic.claude-haiku-4-5-20251001-v1:0

Quellregion Zielregionen
eu-central-1 (Frankfurt)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-Süd-1 (Mailand), EU-Süd-2 (Spanien), EU-West-1 (Irland), EU-West-3 (Paris)
eu-central-2 (Zürich)eu-central-1 (Frankfurt), eu-central-2 (Zürich), eu-nord-1 (Stockholm), eu-süd-1 (Mailand), eu-süd-2 (Spanien), eu-west-1 (Irland), eu-west-3 (Paris)
eu-nord-1 (Stockholm)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-Süd-1 (Mailand), EU-Süd-2 (Spanien), EU-West-1 (Irland), EU-West-3 (Paris)
eu-Süd-1 (Mailand)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-Süd-1 (Mailand), EU-Süd-2 (Spanien), EU-West-1 (Irland), EU-West-3 (Paris)
eu-Süd-2 (Spanien)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-Süd-1 (Mailand), EU-Süd-2 (Spanien), EU-West-1 (Irland), EU-West-3 (Paris)
eu-west-1 (Ireland)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-Süd-1 (Mailand), EU-Süd-2 (Spanien), EU-West-1 (Irland), EU-West-3 (Paris)
eu-west-2 (London)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-Süd-1 (Mailand), EU-Süd-2 (Spanien), EU-West-1 (Irland), EU-West-2 (London), EU-West-3 (Paris)
eu-west-3 (Paris)EU-Zentral-1 (Frankfurt), EU-Nord-1 (Stockholm), EU-Süd-1 (Mailand), EU-Süd-2 (Spanien), EU-West-1 (Irland), EU-West-3 (Paris)

Region: AU

Geoinferenz-ID: au.anthropic.claude-haiku-4-5-20251001-v1:0

Quellregion Zielregionen
ap-southeast-2 (Sydney)AP-Southeast-2 (Sydney), AP-Southeast-4 (Melbourne)
AP-Soudost-4 (Melbourne)AP-Soudost-2 (Sydney), AP-Soudost-4 (Melbourne)
ap-southeast-6 (Neuseeland)ap-southeast-2 (Sydney), ap-southeast-4 (Melbourne), ap-southeast-6 (Neuseeland)

Region: JP

Geo-Inferenz-ID: jp.anthropic.claude-haiku-4-5-20251001-v1:0

Quellregion Zielregionen
ap-northeast-1 (Tokyo)ap-northeast-1 (Tokio), ap-northeast-3 (Osaka)
ap-northeast-3 (Ōsaka)ap-northeast-1 (Tokio), ap-northeast-3 (Osaka)

Einzelheiten der globalen Inferenz

Globale Inferenz-ID Amerika EMEA Asien-Pazifik
global.anthropic.claude-haiku-4-5-20251001-v 1:0
  • us-east-1 (N. Virginia)

  • us-east-2 (Ohio)

  • us-west-1 (Nordkalifornien)

  • us-west-2 (Oregon)

  • ca-central-1 (Kanada)

  • ca-west-1 (Calgary)

  • sa-east-1 (São Paulo)

  • mx-central-1 (Mexiko)

  • eu-central-1 (Frankfurt)

  • eu-central-2 (Zürich)

  • eu-nord-1 (Stockholm)

  • eu-south-1 (Mailand)

  • eu-south-2 (Spanien)

  • eu-west-1 (Ireland)

  • eu-west-2 (London)

  • eu-west-3 (Paris)

  • il-Central-1 (Tel Aviv)

  • me-central-1 (Vereinigte Arabische Emirate)

  • me-south-1 (Bahrain)

  • af-south-1 (Kapstadt)

  • ap-east-2 (Taipeh)

  • ap-northeast-1 (Tokyo)

  • ap-northeast-2 (Seoul)

  • ap-northeast-3 (Ōsaka)

  • ap-south-1 (Mumbai)

  • ap-south-2 (Hyderabad)

  • ap-southeast-1 (Singapur)

  • ap-southeast-2 (Sydney)

  • ap-southeast-3 (Jakarta)

  • AP-Southeast-4 (Melbourne)

  • ap-southeast-5 (Malaysia)

  • ap-southeast-6 (Neuseeland)

  • ap-southeast-7 (Thailand)

Kontingente und Einschränkungen

Ihr AWS Konto verfügt über Standardkontingente, um die Leistung des Dienstes aufrechtzuerhalten und eine angemessene Nutzung von Amazon Bedrock sicherzustellen. Die einem Konto zugewiesenen Standardkontingente können je nach regionalen Faktoren, Zahlungsverlauf, betrügerischer Nutzung und and/or Genehmigung einer Anfrage zur Kontingenterhöhung aktualisiert werden. Weitere Informationen finden Sie in der Kontingente für Amazon Bedrock Dokumentation und in den Grenzwerten für das Modell.

Beispiel-Code

Schritt 1 — AWS Konto: Wenn Sie bereits ein AWS Konto haben, überspringen Sie diesen Schritt. Wenn Sie neu bei uns sind AWS, registrieren Sie sich für ein AWS-Konto.

Schritt 2 — API-Schlüssel: Gehen Sie zur Amazon Bedrock-Konsole und generieren Sie einen langfristigen API-Schlüssel.

Schritt 3 — Holen Sie sich das SDK: Um dieses Handbuch für die ersten Schritte verwenden zu können, muss Python bereits installiert sein. Installieren Sie dann die entsprechende Software je nach den von Ihnen verwendeten APIs.

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

Schritt 4 — Umgebungsvariablen festlegen: Konfigurieren Sie Ihre Umgebung so, dass der API-Schlüssel für die Authentifizierung verwendet wird.

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

Schritt 5 — Führen Sie Ihre erste Inferenzanforderung aus: Speichern Sie die Datei unter bedrock-first-request.py

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