Skip to main content

llm models

API voor GPT-6 Astra / Chat met lange context en transparante tokenprijzen

Bouw met GPT-6 Astra via het OpenAI-compatibele chat-endpoint van PiAPI. Gebruik de testomgeving om berichten te testen en het directe antwoord te bekijken.

Aan de slag!

Tokenprijzen voor GPT-6 Astra

Promotietarieven voor beperkte tijd (20% van de officiële OpenAI-prijs). Alle prijzen per 1 miljoen tokens.

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.

Klaar om met GPT-6 Astra te bouwen?

Mogelijkheden van GPT-6 Astra

Een OpenAI-compatibele chat-API voor toepassingen met lange context en ontwikkelprocessen.

OpenAI-compatibele chat

Stuur een standaard messages-array naar POST /v1/chat/completions en ontvang direct het volledige antwoord.

Instellingen voor redeneren

Kies low, medium of high als redeneerinspanning om de balans tussen snelheid en diepgang op je werkwijze af te stemmen.

Transparante tokenfacturering

De prijzen voor inputtokens, gecachte inputtokens en outputtokens worden voor beide contextniveaus samen weergegeven.

Contextdrempel van 272000 tokens

Bij meer dan 272000 inputtokens schakelt het volledige verzoek over naar de tarieven voor lange context.

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" }

Veelgestelde vragen over de GPT-6 Astra API

Hoe wordt GPT-6 Astra gefactureerd?

Standaardverzoeken kosten $2.00 per 1 miljoen inputtokens, $0.20 per 1 miljoen gecachte inputtokens en $10.00 per 1 miljoen outputtokens.

Wat gebeurt er boven 272000 inputtokens?

Bij meer dan 272000 inputtokens wordt het volledige verzoek afgerekend tegen het lange-contexttarief: $4.00 input, $0.40 gecachte input en $15.00 output per 1 miljoen tokens.

Welk endpoint gebruikt GPT-6 Astra?

Gebruik het OpenAI-compatibele endpoint POST /v1/chat/completions met een model-waarde en een messages-array.

More questions? See the API docs.

Our blog

GPT-6 Astra API