OpenAI · Text

GPT-6.2 Astra API

Model IDgpt-6.2-astra

GPT-6.2 Astra is an OpenAI text model. On APIRail you call it with the same Chat Completions or Responses requests you already send to OpenAI: change the base URL to api.apirail.dev, use your ar-live key, and pay 30% of the list price per token.

GPT-6.2 Astra API pricing

Billed itemAPIRailList price
Input tokens per 1M tokens$2.40$8.00
Cached input tokens per 1M tokens$0.12$0.40
Cache write tokens per 1M tokens$3.00$10.00
Output tokens per 1M tokens$12.00$40.00

Specs

Provider
OpenAI
Modality
Text
Context window
922,000 tokens
Max output
128,000 tokens
Endpoints
POST /v1/chat/completionsOpenAI Chat CompletionsPOST /v1/responsesOpenAI ResponsesPOST /v1/messagesAnthropic Messages

Quickstart

Replace ar-live-YOUR_KEY with a key from Dashboard → API keys.

curl https://api.apirail.dev/v1/chat/completions \
  -H "Authorization: Bearer ar-live-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-6.2-astra",
    "stream": true,
    "messages": [{"role": "user", "content": "Say hello in one sentence."}]
  }'
OpenAI · Text

GPT-6.2 Sol

gpt-6.2-sol

Context
922K
Input / 1M
$2.00$0.60
Output / 1M
$10.00$3.00
OpenAI · Text

GPT-6.1 Sol

gpt-6.1-sol

Context
922K
Input / 1M
$2.00$0.60
Output / 1M
$10.00$3.00
OpenAI · Text

GPT-6 Sol

gpt-6-sol

Context
922K
Input / 1M
$2.00$0.60
Output / 1M
$10.00$3.00
OpenAI · Text

GPT-6 Astra

gpt-6-astra

Context
922K
Input / 1M
$10.00$3.00
Output / 1M
$50.00$15.00
OpenAI · Text

GPT-6 Luna

gpt-6-luna

Context
922K
Input / 1M
$0.10$0.03
Output / 1M
$0.50$0.15
OpenAI · Text

GPT-5.6 Sol

gpt-5.6-sol

Context
922K
Input / 1M
$4.00$1.20
Output / 1M
$20.00$6.00

FAQ

How do I get a GPT-6.2 Astra API key?

Sign in to APIRail with Google, create a key under Dashboard → API keys and top up at least $20. The same ar-live key works for GPT-6.2 Astra and every other model in the catalog.

How much does the GPT-6.2 Astra API cost?

$2.40 per 1M input tokens and $12.00 per 1M output tokens, 30% of the list price of $8.00 and $40.00. Cached input costs $0.12 per 1M tokens.

Which endpoints can I use with GPT-6.2 Astra?

POST /v1/chat/completions, POST /v1/responses, POST /v1/messages. Send the model ID gpt-6.2-astra in the request.

Can I use GPT-6.2 Astra with Codex CLI or Cursor?

Yes. For Codex CLI set OPENAI_BASE_URL=https://api.apirail.dev/v1 and OPENAI_API_KEY to your APIRail key; in Cursor enter the same base URL and key in the OpenAI settings, then add gpt-6.2-astra as a custom model.