GPT-6 Astra API

openai/gpt-6-astra
GPT-6 Astra is OpenAI's most capable model, built for long end-to-end work across complex reasoning, coding, computer use and research.
Context
1M tokens
Input
$13 / 1M tokens
Output
$65 / 1M tokens
Released
Sep 3, 2026

How to use GPT-6 Astra API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to openai/gpt-6-astra.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/chat/completions",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    json={
      "model": "openai/gpt-6-astra",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    },
)
print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "openai/gpt-6-astra",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }),
});
console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-6-astra","messages":[{"role":"user","content":"Hello!"}]}'

OpenAI-compatible — swap the base URL and it works with your existing SDK.

GPT-6 Astra API Pricing

TypePrice
Input
$13 / 1M tokens
Output
$65 / 1M tokens
Cached input
$1.3 / 1M tokens

GPT-6 Astra Benchmarks

BenchmarkScoreWhat it measuresSourceRetrieved
Intelligence
52.8
Composite score across standardised reasoning, knowledge and problem-solving evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026
Coding
76.9
Composite score across standardised coding evaluations, measured independently by Artificial AnalysisSourceSeptember 12, 2026

GPT-6 Astra vs other models

ModelInputOutputContextBest for
GPT-6 Astra
This page
$13 / 1M tokens
$65 / 1M tokens
1M tokens
Agentic workflows and computer use
$5.5016 / 1M tokens
$27.508 / 1M tokens
1M tokens
Agentic workflows and structured output
$2.7508 / 1M tokens
$16.5048 / 1M tokens
1M tokens
Agentic workflows and structured output
$0.27508 / 1M tokens
$1.65048 / 1M tokens
1M tokens
Agentic workflows and structured output

Frequently asked questions

GPT-6 Astra has a 1,050,000 tokens context window and can return up to 128,000 tokens.

GPT-6 Astra takes image, text as input and returns text.

Use openai/gpt-6-astra as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

GPT-6 Astra became available on September 3, 2026.

GPT-6 Astra is priced at input $13 / 1M tokens, output $65 / 1M tokens, cached input $1.3 / 1M tokens.

Yes, GPT-6 Astra can stream responses as they are generated.

Yes, GPT-6 Astra accepts image input alongside text.

GPT-6 Astra was built by OpenAI.

No. It accepts image and text input but only outputs text.

Yes, it is available via the endpoint https://api.aimlapi.com/v1/chat/completions.

Yes, it supports function calling, parallel tool calls, and structured outputs.

Start building with GPT-6 Astra

Get API Key
1000+ models, one API.