GPT-6 Astra API
OpenAI's heavier reasoning model for maths, planning and hard problems. Served through RouterHub at $0.7474 input / $3.737 output per million tokens (prices as of ).
GPT-6 Astra pricing
−92% vs the official API price of $10.00 input / $50.00 output per 1M tokens (source, checked 2026-10-13).
- Input
- $0.7474
- Cached input
- $0.07474
- Cache write
- $0.9342
- Output
- $3.737
- Typical message
- ≈ 0.26¢
USD per 1 million tokens. A typical message is about 1,000 input and 500 output tokens. Cached input uses the cache-read rate when the provider reports a cache hit. Billed from your prepaid balance.
API compatibility and context
- Exact model ID
gpt-6-astra- Provider
- OpenAI
- Variant
- Standard
- Supported API
- OpenAI-compatible Responses API (
/v1/responses) - Availability
- Preview
- Context window
- 1,050,000 tokens
- Maximum input
- 922,000 tokens
- Maximum output
- 128,000 tokens
Use GPT-6 Astra through the API
Create a RouterHub account, add prepaid credits and create an API key. Set ROUTERHUB_API_KEY locally, then send a first request with the exact model ID.
curl --connect-timeout 30 --max-time 600 https://routerhub.si/v1/responses \
-H "Authorization: Bearer $ROUTERHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-6-astra","input":"Write a short noir scene set in a lighthouse.","max_output_tokens":256}'Python: install openai with pip. The example requests 256 output tokens and disables automatic retries, so check Usage before resending a paid request.
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["ROUTERHUB_API_KEY"],
base_url="https://routerhub.si/v1",
timeout=600.0,
max_retries=0,
)
response = client.responses.create(
model="gpt-6-astra",
input="Write a short noir scene set in a lighthouse.",
max_output_tokens=256,
)
print(response.output_text)Coding tools that work with GPT-6 Astra
Common questions
What is GPT-6 Astra?
GPT-6 Astra is an OpenAI language model served through RouterHub using the OpenAI-compatible Responses API. Its exact API model ID is gpt-6-astra.
How much does GPT-6 Astra cost?
RouterHub charges $0.7474 input, $0.07474 cached input and $3.737 output per million tokens (prices as of 2026-11-08). A typical chat message of about 1,000 input and 500 output tokens costs about 0.26¢. Usage is billed against your prepaid balance.
What is the GPT-6 Astra context window?
Context window: 1,050,000 tokens. Maximum input: 922,000 tokens. Maximum output: 128,000 tokens.
Which API does GPT-6 Astra support?
Use the OpenAI-compatible Responses API at https://routerhub.si/v1/responses with the exact model ID gpt-6-astra and your RouterHub API key (Authorization: Bearer header).
Which coding tools work with GPT-6 Astra?
OpenCode, Codex CLI, VS Code + Continue. Each setup guide lists only compatible model IDs.
Can I try GPT-6 Astra for free?
GPT-6 Astra needs a free RouterHub account with prepaid credits. New accounts get $5 free on their first top-up of $20 or more.