Last refreshed 2026-09-03. Next refresh: weekly.
Why use GPT-6 Astra on OpenAI API?
OpenAI API offers GPT-6 Astra with pay-as-you-go pricing at $10.00/1M input tokens. OpenAI is a leading AI research and deployment company dedicated to developing safe and beneficial artificial general intelligence (AGI) for humanity.
Setup recipe
Python + curlpip install openaiexport OPENAI_API_KEY=...import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(gpt-6-astraRequest example
import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
model="gpt-6-astra",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Use the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
- The examples expect OPENAI_API_KEY; rename it only if your application config maps the new variable.
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $10.00 |
| Output tokens | $50.00 |
Capabilities
About GPT-6 Astra
GPT-6 Astra is OpenAI's flagship GPT-6 model, announced September 3, 2026 as a new generation of intelligence for computer use, browsing, software engineering, cybersecurity, science, and professional work. Official OpenAI API id gpt-6-astra. Docs list a 1,050,000-token context window, 922,000 max input tokens, 128,000 max output tokens, Apr 30, 2026 knowledge cutoff, image+text input to text output, reasoning.effort low/medium/high/xhigh/max (none is not supported), function calling, structured outputs, prompt caching, Batch API, computer use, and code interpreter. OpenAI API Standard list is $10 per 1M input tokens and $50 per 1M output tokens.