GPT-6 Astra API

OpenAI's most capable model, built for agentic and computer-use work
Context
1.05M 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 vs other models

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

Start building with GPT-6 Astra

Get API Key
1000+ models, one API.