70% off Wan3.0 Standard and 50% off Wan3.0 Prime. Try Wan3.0

GPT-6 Astra API

Frontier reasoning and tool-use model for demanding end-to-end professional workflows

Get an API key
Input per 1M
from$10.00
Cached input per 1M
from$1.00
Output per 1M
from$50.00
Context window
1.1M

Call GPT-6 Astra in one request

Runware's endpoint takes the OpenAI Chat Completions format, so the OpenAI SDK works as it is. Change the base URL, key, and model ID. GPT-6 Astra is also available through the OpenAI Responses API.

Model ID:openai:gpt@6-astra
GPT-6 Astra API docs
Request
import os

from openai import OpenAI

client = OpenAI(
    api_key=os.environ["RUNWARE_API_KEY"],
    base_url="https://api.runware.ai/v1",
)

stream = client.chat.completions.create(
    model="openai:gpt@6-astra",
    messages=[
        {"role": "user", "content": "What is the capital of France?"},
    ],
    stream=True,
    stream_options={"include_usage": True},
)

for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
    if chunk.usage:
        print("\n", chunk.usage)

Usage and cost come back with the response. The stream ends with the request's token counts and its cost, so there is no second call to make.

About GPT-6 Astra

GPT-6 Astra is OpenAI's frontier model for complex reasoning, coding, computer use, research, and document creation. It combines a 1,050,000-token context window with up to 128,000 output tokens, image understanding, structured outputs, function calling, and broad tool support. Configurable reasoning from low through max makes it well suited to long-running agent workflows that must plan, execute, and verify work across code, browsers, and professional software.

Developer
OpenAI
Released
18 Sep, 2026
Input
Text, Image
Context window
1.1M tokens
Max output
128K tokens
API
OpenAI Chat Completions, OpenAI Responses

Already on another provider?

Code that uses the OpenAI SDK moves over with three changes: the base URL, the API key and the model ID. Moving production traffic? We'll help you plan the switch.

Read the docs

GPT-6 Astra pricing

Pay per token with prepaid credits, on the same key and billing as every other model on Runware. No subscription.

≤ 272K context

Input
$10.00/1M tokens
Cached input
$1.00/1M tokens
Cache write
$12.50/1M tokens
Output
$50.00/1M tokens

> 272K context

Input
$20.00/1M tokens
Cached input
$2.00/1M tokens
Cache write
$25.00/1M tokens
Output
$75.00/1M tokens

Start on demand. Scale on dedicated.

Call your first model in minutes, or tell us about your workload and we will size dedicated capacity for it.

Get an API key