GPT-6 Astra
AvailableGPT-6 Astra is OpenAI’s top model in the GPT-6 generation.
Good for Coding agents · Hard reasoning · Long context · Images and screenshots
Is it right for you?
OpenAI describes it as its most capable model for the most demanding work: complex reasoning, coding, computer use, research and document creation. OpenAI lists a context of about 1.05M tokens, with up to 922K tokens of input and up to 128K tokens per reply. It reads text and images. OpenAI lists reasoning effort levels from low to max. OpenAI lists a higher input price once a prompt passes 272K tokens. A newer model exists: GPT-6.1 Sol, which OpenAI positions for coding and professional work at a lower cost than Astra.
Best for
- The hardest tasks in a coding agent: large refactors, tricky debugging, long plans.
- Research and document work that needs deep reasoning.
- Computer-use and tool-heavy agent runs through the Responses API.
Not ideal for
- Prompts that regularly pass 272K tokens: the input price rises above that size.
- Small, fast or high-volume requests. A smaller model such as GPT-6 Luna fits better.
- Work where you need reasoning off.
- Everyday coding: the newer GPT-6.1 Sol is positioned for it at a lower cost. Pick Astra when a task needs its extra depth.
Next to the rest of the OpenAI line
| Model | Input | Output | Context | Per session |
|---|---|---|---|---|
| GPT-5.4 | $2.8787 | $17.2723 | 266K | $1.0018 |
| GPT-5.5 | $5.7574 | $34.5445 | 266K | $2.0036 |
| GPT-5.6 Luna | $0.2303 | $1.3818 | 266K | $0.0801 |
| GPT-5.6 Sol | $4.6059 | $23.0297 | 266K | $1.4647 |
| GPT-5.6 Terra | $2.3030 | $13.8178 | 266K | $0.8014 |
| GPT-6 Astra (this page) | $11.5148 | $57.5742 | 266K | $3.6617 |
What it costs
Prepaid, per token, no subscription. Set your traffic to see your bill.
30 days, at today's prices. You're billed on actual tokens.
- Per request
- $0.067477
- Coding session
- $3.66
- Per day
- $134.95
- Suggested key budget
- $4,660.00
- Alert at 80%
- $3,728.00
A coding session is 30 requests of 20,000 input tokens, 80% from cache, and 1,000 output tokens each: the same session as the "Per session" column above. Thinking tokens are billed as output, so reasoning raises the cost.
Cached input. When the provider serves part of a prompt from its cache, those tokens are billed at the cache-read price instead of the input price. Writing a prompt into the cache is billed at the cache-write price. Separately, an exact repeat of a recent request is answered from Yunshu’s own cache and not charged.
Capabilities
What GPT-6 Astra can do, as OpenAI lists it.
Get started
Create a key in the console, export it as YUNSHU_API_KEY, then use one of these.
curl https://api.yunshurouter.com/v1/chat/completions \
-H "Authorization: Bearer $YUNSHU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-astra",
"messages": [{"role": "user", "content": "Write a Python function that checks if a string is a palindrome."}]
}'curl https://api.yunshurouter.com/v1/messages \
-H "x-api-key: $YUNSHU_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-astra",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Write a Python function that checks if a string is a palindrome."}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.yunshurouter.com/v1", api_key="YOUR_YUNSHU_KEY")
resp = client.chat.completions.create(
model="gpt-6-astra",
messages=[{"role": "user", "content": "Explain what this regex does: ^\\d{3}-\\d{4}$"}],
)
print(resp.choices[0].message.content)import anthropic
client = anthropic.Anthropic(base_url="https://api.yunshurouter.com", api_key="YOUR_YUNSHU_KEY")
msg = client.messages.create(
model="gpt-6-astra",
max_tokens=1024,
messages=[{"role": "user", "content": "Explain what this regex does: ^\\d{3}-\\d{4}$"}],
)
print(msg.content[0].text)Full steps for each tool: integration guides →
Questions
What is GPT-6 Astra?
GPT-6 Astra is OpenAI’s top model in the GPT-6 generation. See the OpenAI page for the rest of the family.
Does GPT-6 Astra support tool calling?
Yes. Send tools in OpenAI format to /v1/chat/completions or in Anthropic format to /v1/messages. Through the Responses API (used by Codex) only function tools are passed through.
Does GPT-6 Astra support reasoning?
Yes. OpenAI lists effort levels low, medium, high, xhigh and max.
How does GPT-6 Astra compare with GPT-6 Sol and GPT-6.1 Sol?
Astra is the top model of the GPT-6 generation. OpenAI describes GPT-6 Sol as built for complex coding and agentic workflows, and GPT-6.1 Sol, which came later, as aimed at coding and professional work at a lower cost than Astra. OpenAI lists the same context and output limits for Astra and Sol. Use Astra for the hardest tasks and a Sol model for most coding work.