View a markdown version of this page

GPT-5.6 Luna - 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.

GPT-5.6 Luna

Symbol, das ein kreisförmiges Muster mit verwobenen gekrümmten Segmenten zeigt, die ein Windrad-Design bilden. OpenAI — Luna GPT-5.6

Modelldetails

GPT-5.6 Luna ist das schnelle und erschwingliche Modell von OpenAI. Verwenden Sie Luna für umfangreiche Inferenzaufgaben wie Klassifizierung, Zusammenfassung, Routing und Echtzeitanwendungen, bei denen Latenz und Kosten pro Token am wichtigsten sind. Weitere Informationen zur Modellentwicklung und Leistung finden Sie auf der Karte. model/service

Modalitäten der Eingabe Modalitäten der Ausgabe
Red circle with white X icon indicating error, cancel, or close action.AudioRed circle with white X icon indicating error, cancel, or close action.Einbetten
Green circle with white checkmark icon.BildRed circle with white X icon indicating error, cancel, or close action.Bild
Red circle with white X icon indicating error, cancel, or close action.RedeRed circle with white X icon indicating error, cancel, or close action.Rede
Green circle with white checkmark icon.TextGreen circle with white checkmark icon.Text
Red circle with white X icon indicating error, cancel, or close action.-VideoRed circle with white X icon indicating error, cancel, or close action.-Video

Endpunkte und APIs werden unterstützt

Die folgenden Tabellen zeigen, welche Endpunkte und APIs für GPT-5.6 Luna unterstützt werden. Weitere Informationen erhalten Sie unter Von Amazon Bedrock unterstützte APIs und Von Amazon Bedrock unterstützte Endpunkte.

Unterstützung von Endpunkten

Endpunkt Unterstützt
bedrock-runtime supported
bedrock-mantle supported

Auf dem bedrock-runtime Endpunkt unterstützte APIs

Nachrichten Antworten Abschlüsse des Chats Converse Invoke
not-supported supported supported supported not-supported

Auf bedrock-mantle dem Endpunkt unterstützte APIs

Nachrichten Antworten Abschlüsse des Chats Converse Invoke
not-supported supported supported not-supported not-supported
Anmerkung

Neinbedrock-mantle, beide APIs verwenden den /openai/v1 Basispfad, nicht/v1. Verwenden Sie eine der beiden APIs mit diesem Modell:

  • Verwenden Sie für Antworten/openai/v1/responses.

  • Verwenden /openai/v1/chat/completions Sie für Chat-Abschlüsse.

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-runtime von Endpoint unterstützt werden

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

Unterstützt Nicht unterstützt

Preisgestaltung

Alle Preise sind in USD pro 1 Million Tokens für die Standard-Stufe angegeben.

In-Region Die kommerziellen Preise beinhalten eine Gebühr von 10% gegenüber den OpenAI-Tarifen. Sie müssen diese Gebühr nicht hinzufügen.

Die Stufen Priority und Flex werden für dieses Modell nicht unterstützt.

Kommerzielle Regionen — kurzer Kontext (272.000 Eingabe-Token oder weniger)

Option „Inferenz“ Eingabe Eingabe — 30 MB Cache beim Schreiben Eingabe — Cache gelesen Ausgabe
In-Region0,22$0,275$0,022$1,32$
Geo CRIS0,22$0,275$0,022$1,32$
Globales CRIS0,20$0,25$0,02$1,20$

Kommerzielle Regionen — langer Kontext (mehr als 272.000 Eingabe-Token)

Option „Inferenz“ Eingabe Eingabe — 30 MB Cache beim Schreiben Eingabe — Cache gelesen Ausgabe
In-Region0,44$0,55$0,044$1,98$
Geo CRIS0,44$0,55$0,044$1,98$
Globales CRIS0,40$0,50$0,04$1,80$

AWS GovCloud (US-East und US-West)

Kurzer Kontext (272.000 Eingabe-Token oder weniger)

Option „Inferenz“ Eingabe Eingabe — 30 MB Cache beim Schreiben Eingabe — Cache gelesen Ausgabe
In-Region0,264$0,33$0,0264$1,584$

Langer Kontext (mehr als 272.000 Eingabe-Token)

Option „Inferenz“ Eingabe Eingabe — 30 MB Cache beim Schreiben Eingabe — Cache gelesen Ausgabe
In-Region0,528$0,66$0,0528$2,376$

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-mantle openai.gpt-5.6-luna https://bedrock-mantle.{region}.api.aws/openai/v1 Nicht unterstützt Nicht unterstützt
bedrock-runtime openai.gpt-5.6-luna Nicht unterstützt us.openai.gpt-5.6-lunaim kommerziellen Bereich AWS-Regionen, in.openai.gpt-5.6-luna in den Regionen Indien global.openai.gpt-5.6-luna

Wenn die Region beispielsweise US-East-1 (Nord-Virginia) lautet, lautet die Bedrock-Mantle-Endpunkt-URL "“. https://bedrock-mantle.us-east-1.api.aws/openai/v1 Aufbedrock-runtime, die Basis-URL lautet "https://bedrock-runtime.{region} .amazonaws. com/openai/v1 "und Anfragen müssen die geografische regionsübergreifende Inferenz-ID als Modell angeben. us.openai.gpt-5.6-luna

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. Red circle with white X icon indicating error, cancel, or close action.

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.

Die Verfügbarkeit ist je nach Endpunkt unterschiedlich.

Verfügbarkeit unter Verwendung des bedrock-mantle Endpunkts

Region In-Region Geo Global
us-east-1(Nord-Virginia)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.
us-east-2(Ohio)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.
us-west-2(Oregon)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.
us-gov-west-1(GovCloud Westen)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.
us-gov-east-1(GovCloud Ost)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.

Verfügbarkeit mithilfe des bedrock-runtime Endpunkts

Region In-Region Geo Global
us-east-1(Nord-Virginia)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-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.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
eu-central-2(Zürich)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-north-1(Stockholm)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-south-1(Mailand)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-south-2(Spanien)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-west-1(Irland)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-west-2(London)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-west-3(Paris)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-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)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(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.Red circle with white X icon indicating error, cancel, or close action.Green circle with white checkmark icon.
ap-south-1(Mumbai)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-2(Hyderabad)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-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.Red circle with white X icon indicating error, cancel, or close action.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)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-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.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(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.

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.

Auf dem bedrock-runtime Endpunkt werden die Grenzwerte als Tokens per Minute (TPM) mit einer 10-fachen Burndown-Rate verwaltet, wobei ein Ausgangstoken 10 Token verbraucht.

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.

Wählen Sie für beide APIs die Registerkarte OpenAI SDK.

OpenAI SDK
pip install openai

Schritt 4 — Umgebungsvariablen festlegen

Konfigurieren Sie Ihre Umgebung so, dass der API-Schlüssel für die Authentifizierung verwendet wird.

bedrock-mantle
OPENAI_API_KEY="<provide your Bedrock API key>" OPENAI_BASE_URL="https://bedrock-mantle.us-east-1.api.aws/openai/v1"
bedrock-runtime
OPENAI_API_KEY="<provide your Bedrock API key>" OPENAI_BASE_URL="https://bedrock-runtime.us-east-1.amazonaws.com/openai/v1"
Anmerkung

Anbedrock-runtime, benennen Sie ein regionsübergreifendes Inferenzprofil als Modell — us.openai.gpt-5.6-luna oder. global.openai.gpt-5.6-luna Dieses Modell ist für regionsinterne Inferenz an diesem Endpunkt nicht verfügbar. Ihre IAM-Identität muss zusätzlich bedrock:InvokeModel zum Inferenzprofil auch im Standardprojekt (arn:aws:bedrock:{region}:{account-id}:project/default) Ihres Kontos enthalten sein.

Schritt 5 — Führen Sie Ihre erste Inferenzanfrage aus

Speichern Sie die Datei unter bedrock-first-request.py

Bedrock-Mantel

Verwenden Sie die Einstellungen aus Schritt 4 — Umgebungsvariablen festlegen. Wählen Sie die Registerkarte bedrock-mantle aus. Der Chat-Tab verwendet die Chat Completions API.

Responses API
from openai import OpenAI client = OpenAI() response = client.responses.create( model="openai.gpt-5.6-luna", input="Can you explain the features of Amazon Bedrock?" ) print(response)
Chat
from openai import OpenAI client = OpenAI() response = client.chat.completions.create( model="openai.gpt-5.6-luna", messages=[{"role": "user", "content": "Can you explain the features of Amazon Bedrock?"}] ) print(response)

bedrock-runtime: OpenAI SDK

Verwenden Sie die Einstellungen aus Schritt 4 — Umgebungsvariablen festlegen. Wählen Sie die Registerkarte bedrock-runtime aus. Senden Sie Ihre Anfrage mit der Responses API.

Responses API
from openai import OpenAI client = OpenAI() response = client.responses.create( model="us.openai.gpt-5.6-luna", input="Can you explain the features of Amazon Bedrock?" ) print(response)