Skip to main content

llm models

API di GPT-6 Astra / Chat a contesto lungo con prezzi trasparenti per token

Sviluppa con GPT-6 Astra tramite l’endpoint di chat compatibile con OpenAI di PiAPI. Usa l’area di prova per testare i messaggi e consultare la risposta immediata.

Inizia ora!

Prezzi dei token GPT-6 Astra

Prezzi promozionali a tempo limitato (20% del prezzo ufficiale di OpenAI). Tutti i prezzi sono per 1 milione di 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.

Vuoi iniziare a sviluppare con GPT-6 Astra?

Funzionalità di GPT-6 Astra

Un’API di chat compatibile con OpenAI per applicazioni con contesto lungo e flussi di sviluppo.

Chat compatibile con OpenAI

Invia un array messages standard a POST /v1/chat/completions e ricevi subito la risposta completa.

Controlli del ragionamento

Scegli un livello di impegno nel ragionamento low, medium o high in base all’equilibrio tra velocità e profondità richiesto dal tuo flusso di lavoro.

Fatturazione trasparente dei token

I prezzi dei token di input, input in cache e output sono mostrati insieme per entrambi i livelli di contesto.

Soglia di contesto di 272000 token

Quando il contesto di input supera 272000 token, l’intera richiesta passa alle tariffe long-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" }

FAQ dell’API GPT-6 Astra

Come viene fatturato GPT-6 Astra?

Le richieste standard costano $2.00 per 1 milione di token di input, $0.20 per 1 milione di token di input memorizzati nella cache e $10.00 per 1 milione di token di output.

Cosa succede oltre 272000 token di input?

Quando il contesto di input supera 272000 token, l’intera richiesta viene fatturata alla tariffa long-context: $4.00 input, $0.40 input in cache e $15.00 output per 1 milione di token.

Quale endpoint utilizza GPT-6 Astra?

Usa l’endpoint POST /v1/chat/completions compatibile con OpenAI con un valore model e un array messages.

More questions? See the API docs.

Our blog

GPT-6 Astra API