Skip to main content

llm models

API für GPT-6 Astra / Chat-Completions mit Langkontext und transparenten Tokenpreisen

Entwickle mit GPT-6 Astra über PiAPIs OpenAI-kompatiblen Chat-Completions-Endpunkt. Teste Nachrichten im Playground und prüfe die direkte Antwort.

Jetzt loslegen!

Tokenpreise für GPT-6 Astra

Zeitlich begrenzte Aktionspreise (20 % des offiziellen OpenAI-Preises). Alle Preise gelten pro 1 Million Token.

Standard context

$2.00

  • Input: $2.00 / 1M tokens · cached input: $0.20 / 1M tokens · output: $10.00 / 1M tokens.
  • Applies when input context is 272,000 tokens or less.

Long context

$4.00

  • Input: $4.00 / 1M tokens · cached input: $0.40 / 1M tokens · output: $15.00 / 1M tokens.
  • Above 272,000 input tokens, the entire request is billed at this tier.

Bereit, mit GPT-6 Astra zu entwickeln?

Funktionen von GPT-6 Astra

Eine OpenAI-kompatible Chat-API für Anwendungen mit langem Kontext und Entwicklungsabläufe.

OpenAI-kompatibler Chat

Sende ein standardmäßiges messages-Array an POST /v1/chat/completions und erhalte die fertige Antwort direkt.

Steuerung des Denkaufwands

Wähle low, medium oder high als Denkaufwand, um Geschwindigkeit und Tiefe an deinen Arbeitsablauf anzupassen.

Transparente Tokenabrechnung

Die Preise für Eingabe-, gecachte Eingabe- und Ausgabetoken werden für beide Kontextstufen zusammen angezeigt.

Kontextschwelle: 272000 Token

Wenn der Eingabekontext 272000 Token überschreitet, wechselt die gesamte Anfrage zu den Langkontext-Tarifen.

Get started

Create your API key

Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.

Top up credits

Add credits on the billing page when you are ready to scale beyond the free tier.

Call the API

POST your first task following the API docs, then poll the task until the result is ready.

Iterate in the playground

Prototype prompts and settings in the the playground above before wiring them into your product.

curl -X POST 'https://api.piapi.ai/api/v1/task' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "gpt-6-astra",
    "task_type": "chat-completion",
    "input": {
      "messages": [{"role":"user","content":"Explain what an API gateway does, in two sentences."}]
    }
  }'

# → { "task_id": "9d5a…", "status": "pending" }

Häufige Fragen zur GPT-6 Astra API

Wie wird GPT-6 Astra abgerechnet?

Standardanfragen kosten $2.00 pro 1 Million Eingabetoken, $0.20 pro 1 Million gecachte Eingabetoken und $10.00 pro 1 Million Ausgabetoken.

Was passiert bei mehr als 272000 Eingabetoken?

Wenn der Eingabekontext 272000 Token überschreitet, wird die gesamte Anfrage zum Langkontext-Tarif abgerechnet: $4.00 Eingabe, $0.40 gecachte Eingabe und $15.00 Ausgabe pro 1 Million Token.

Welchen Endpunkt verwendet GPT-6 Astra?

Verwende den OpenAI-kompatiblen Endpunkt POST /v1/chat/completions mit einem model-Wert und einem messages-Array.

More questions? See the API docs.

Our blog

GPT-6 Astra API