Last refreshed 2026-11-17. Next refresh: weekly.
Why use GPT-6.2 Astra on OpenAI API?
OpenAI API offers GPT-6.2 Astra with pay-as-you-go pricing at $8.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.
Compare GPT-6.2 Astra across 4 providers to find the best fit for your use caseSetup 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.2-astraRequest example
import os
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
model="gpt-6.2-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.
Compare GPT-6.2 Astra Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| OpenAI API | $8.00 | $40.00 |
| OpenRouter | $8.00 | $40.00 |
| Vercel AI Gateway | $8.00 | $40.00 |
| Azure OpenAI | — | — |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $8.00 |
| Output tokens | $40.00 |
Capabilities
About GPT-6.2 Astra
GPT-6.2 Astra (API id gpt-6.2-astra) is OpenAI's GPT-6.2 frontier model for demanding professional work, announced November 17, 2026 together with GPT-6.2 Sol. OpenAI positions it for complex coding, frontend and 3D work, computer use, and slides, spreadsheets, and documents that follow provided templates and field conventions. First-party docs list a 1,050,000-token context window, 922,000 max input tokens, 128,000 max output tokens, a May 18, 2026 knowledge cutoff, and text and image input with text output.