LLM Reference
OpenAI API

GPT-6 Astra on OpenAI API

GPT-6 · OpenAI

Serverless

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.

Input / 1M
$10.00
Output / 1M
$50.00
Cache
read $1.00
Batch
-50% · in $5.00 / out $25.00

Setup recipe

Python + curl
Install
pip install openai
Auth
export OPENAI_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI()  # reads OPENAI_API_KEY from env
response = client.chat.completions.create(
Model ID
gpt-6-astra

Request 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

TypePrice (per 1M)
Input tokens$10.00
Output tokens$50.00

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsCode ExecutionPrompt CachingBatch API

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.

Get Started

Model Specs

Released2026-09-03
Context1.05m
Knowledge cutoff2026-04