GPT-6 Astra
OpenAI's GPT-6 Astra flagship: long-horizon agentic work, code and deep analysis, 1M context.
First request
from openai import OpenAI
client = OpenAI(
base_url="https://api.altrouter.ai/v1",
api_key="ar-...",
)
resp = client.chat.completions.create(
model="gpt-6-astra",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.altrouter.ai/v1",
apiKey: process.env.ALTROUTER_API_KEY, // ar-...
});
const resp = await client.chat.completions.create({
model: "gpt-6-astra",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);curl https://api.altrouter.ai/v1/chat/completions \
-H "Authorization: Bearer ar-..." \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-astra",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'The interface is OpenAI-compatible: in existing code only the base_url, the key and the model id change — nothing else.
GPT-6 Astra against its price neighbours
| Model | Input / 1M | Output / 1M | Context | |
|---|---|---|---|---|
| GPT-5.6OpenAI | $2.13 | $12.75 | 400K | Open |
| Claude Opus 4.8Anthropic | $4.50 | $22.50 | 200K | Open |
| GPT-5.6 ProOpenAI | $4.25 | $25.50 | 400K | Open |
| Claude Fable 5Anthropic | $6.00 | $30.00 | 200K | Open |
| GPT-6 Astrathis pageOpenAI | $8.50 | $42.50 | 1.1M |
Prices and parameters come from the same catalog as the price above; this is not a benchmark, it is comparable billing terms.
Limits
Context is 1.1M tokens per request, and it holds everything you send: the system prompt, the conversation history and the current question together. Whatever does not fit is not seen by the model — trimming the history is your side of the job, and you pay for exactly what fit.
Supported: a reasoning mode, tool calling, image input.
There is no subscription: every successful request is billed at the price above, and a failed one is not billed at all. That price is already 15% below the vendor's official one — the official price is shown struck through next to it so it can be checked. No OpenAI account of your own is needed, and no VPN: requests go to api.altrouter.ai and we make the upstream call.
Rate limiting is shared across models and counted per key: 600 requests per minute by default, and a 429 with retry-after: 60 above it. An individual key can get its own limit and a spending cap per day, week, month or lifetime in the dashboard.
When to pick GPT-6 Astra, and when a neighbour
The cheaper neighbour is Claude Fable 5: $6.00 per 1M input tokens against $8.50 for GPT-6 Astra. On the same volume the bill comes out 1.4× smaller. Its context is smaller: 200K against 1.1M — long documents will need splitting. It is the sensible pick where the task is repetitive and high-volume — labelling, classification, short templated answers — the kind of work where quality is bounded by the prompt rather than the model.
Guessing is more expensive than checking: the table above is prices and parameters, not a benchmark, and it cannot tell you which model does better on your own prompt. Switching costs one line — the model id in the request changes, the base_url and the key stay — so running both on your own data takes minutes.
OpenAI-compatible chat completions endpoint, with SSE streaming.
/v1/chat/completionsStructured fields (tools, response_format, stop and more) are in the full parameter reference.