Back to Models
GPT-6.2 Astra
openaiopenai/gpt-6.2-astra
OpenAI GPT-6.2 Astra: flagship model for the hardest coding, reasoning, and agentic work.
Context Length
1.1M
Max Output
128K
Input Priceper 1M tokens
$8.64/ 1M tokens
Output Priceper 1M tokens
$43.20/ 1M tokens
Modalities
textimageβtext
Capabilities
Vision
Pricing Breakdown
| Type | Rate |
|---|---|
| Prompts up to 272K tokens | |
| Input | $8.64 / 1M tokens |
| Output | $43.20 / 1M tokens |
| Cached input | $0.432 / 1M tokens |
| Prompts over 272K tokens | |
| Input | $17.28 / 1M tokens |
| Output | $64.80 / 1M tokens |
| Cached input | $0.864 / 1M tokens |
Tiered pricing: when a request's prompt (input, cached tokens included) is over 272K tokens, every token in that request is billed at the long-context rates; exactly 272K is still the base rate.
Prompt-cache writes are billed at the standard input rate.
Supported Parameters
max_tokenstoolstool_choicereasoning
API Usage Examples
Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.
cURL
curl https://api.therouter.ai/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $THE_ROUTER_API_KEY" -d '{
"model": "openai/gpt-6.2-astra",
"messages": [
{"role": "user", "content": "Summarize the key points from this input."}
]
}'