OpenAI API exposes GPT-6 Astra through model ID gpt-6-astra. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-09-03. Next refresh: weekly.
Quick Start
- 1
- 2
- 3
Code Examples
pip install openaiOPENAI_API_KEYgpt-6-astraUse the model slug directly, e.g. "gpt-4o" or "gpt-4.1-mini".
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)Pricing on OpenAI API
| 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.