Models & pricingGPT-6 Astra

GPT-6 Astra API: pricing and how to call it

GPT-6 Astra has the model ID gpt-6-astra. On MYUSAPI it costs $2.50 per 1M input tokens and $12.50 per 1M output tokens, prepaid and charged by usage. The model is never swapped or downgraded, and you are billed by the usage the upstream reports.

GPT-6 Astra API pricing

ItemPer 1M tokens
InputOfficial$10.00, our price$2.50
OutputOfficial$50.00, our price$12.50
Cache readOfficial$1.00, our price$0.25
Cache write$3.125

USD. The struck figure is OpenAI’s official standard list price; bold is ours, with input and output at 25% of list. Source of the list price

Example: a job that uses 1M input tokens and 200K output tokens costs $5.00 at our rates and $20.00 at list price.

Official rates: Requests over 272K tokens: 2× input and cache, 1.5× output.

Specifications

Model IDgpt-6-astra
ProviderOpenAI
Context window1.05M tokens
Max output128K tokens
EndpointsResponses, Chat Completions
CapabilitiesReasoning, Computer use, Tools

OpenAI’s flagship, with adjustable reasoning, computer use, and built-in tools.

How to call the GPT-6 Astra API

Sign up, add credit and put your key in the MYUSAPI_API_KEY environment variable.

Sign up and get an API key

Tested 2026-11-12: the cURL requests on this page answered for gpt-6-astra. The Python samples were not run.

Responses (cURL)

The address is https://myusapi.com/v1/responses. Add "stream": true to the body to stream.

cURL
curl https://myusapi.com/v1/responses \
  -H "Authorization: Bearer $MYUSAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-6-astra","input":"Hello"}'

OpenAI SDK (Python, Chat Completions)

A project already on the OpenAI SDK changes only base_url (https://myusapi.com/v1) and the model ID.

Python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://myusapi.com/v1",
    api_key=os.environ["MYUSAPI_API_KEY"],
)

reply = client.chat.completions.create(
    model="gpt-6-astra",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

Chat Completions (cURL)

cURL
curl https://myusapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MYUSAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-6-astra", "messages": [{"role": "user", "content": "Hello"}]}'

Whether your key can call it now is what GET https://myusapi.com/v1/models returns.

Use GPT-6 Astra in Codex CLI

Set model to "gpt-6-astra" in ~/.codex/config.toml; the Codex CLI guide has the full steps.

Set up Codex CLI with MYUSAPI: a custom provider in config.toml

Other OpenAI models

All models and prices