GPT-6 Astra
Use the exact ID gpt-6-astra. Production provider checks passed for text, image input, function calling (including async: true) and strict JSON schema. Responses API is recommended; Chat Completions supports conversations/JSON but tools require Responses.
{"model":"gpt-6-astra","input":"Explain this code briefly.","reasoning":{"effort":"high"}}
Efforts: low, medium (default), high, xhigh, max; none and minimal are unsupported. Omit temperature, top_p and logprobs. Official model limits are 1.05M context, 922K input and 128K output, subject to account and gateway limits; the full window is not load-tested.
Client-side function/custom tools execute in your application. Preserve output items and call IDs and return the corresponding tool result. This transport does not enable hosted web/file search, image generation, containers, shell, computer use, MCP, Skills, WebSocket mid-turn steering, configuration_update, background mode, explicit cache TTL, or Fast/Flex/priority tiers. Unsupported options must not be assumed to work merely because they exist in OpenAI Platform documentation. Native audio/video output is not supported by Astra. Clients must handle upstream failure/safety events without automatic continuation.
Base billing per 1M tokens (input / cache read / cache write / output): $10 / $1 / $12.50 / $50 through 272K input; $20 / $2 / $25 / $75 above 272K for the entire request. Output includes reasoning; cache buckets are not double-counted. Existing API429 discounts apply. Official model, official pricing.
All GPT-family models (including the Codex sub-family) are available through two endpoints:
POST /v1/chat/completions— standard Chat Completions formatPOST /v1/responses— OpenAI Responses API format (recommended for GPT reasoning models; required for Astra tool calling)
GPT-6.2 Sol (gpt-6.2-sol)
For text, use Chat Completions (/v1/chat/completions) or Responses. For function calls, select OpenAI Responses API in your client. Sending tools through Chat Completions returns HTTP 400. For plain chat, turn off tools and omit the tools field.
curl --fail-with-body https://gateway.api429.com/v1/responses \
-H "Authorization: Bearer $API429_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6.2-sol",
"input": "Call get_status.",
"tools": [
{
"type": "function",
"name": "get_status",
"parameters": {
"type": "object",
"properties": {}
}
}
],
"tool_choice": {
"type": "function",
"name": "get_status"
}
}'
Look in output for a function_call item named get_status. Your application runs the function.
Available Models
The current catalog also includes gpt-6.2-sol and gpt-6.2-astra. Check
GET /v1/models with your token for access and the
runtime catalog for current rates.
Prices below are API429 base rates before discounts. They are not all current official vendor list prices. The new GPT-6 Sol/Luna rates use OpenAI's published Standard token rates as of 2026-09-23; existing GPT-5.6 base rates remain unchanged pending a commercial repricing decision. Read the runtime catalog for actual standard retail.
| Model | Input $/1M | Cached input | Cache write | Output $/1M | Context | Best For |
|---|---|---|---|---|---|---|
gpt-6.2-sol |
Rates by input length | See rates | See rates | See rates | — | Text and Responses function calls |
gpt-6.2-astra |
Rates by input length | See rates | See rates | See rates | — | Rates change above 272,000 input tokens |
gpt-6.1-terra |
$1.00 | $0.05 | $1.25 | $5.00 | 1.05M | Text and reasoning |
gpt-6.1-sol |
$2.00 | $0.10 | $2.50 | $10.00 | 1.05M | Near-Astra coding, agents and professional work; Responses tools |
gpt-6-astra |
$10.00 | $1.00 | $12.50 | $50.00 | 1.05M | Reasoning and client-executed agents; Responses tools |
gpt-6-sol |
$2.00 | $0.20 | $2.50 | $10.00 | 1.05M | Complex coding and agentic workflows; Responses tools |
gpt-6-luna |
$0.10 | $0.01 | $0.125 | $0.50 | 1.05M | Focused, high-volume tasks; Responses tools |
| GPT-5.6 | ||||||
gpt-5.6-sol |
$5.00 | $0.50 | $6.25 | $30.00 | 1.05M | Highest capability tier for complex reasoning and agents |
gpt-5.6-terra |
$2.50 | $0.25 | $3.125 | $15.00 | 1.05M | Balanced capability, latency and cost |
gpt-5.6-luna |
$1.00 | $0.10 | $1.25 | $6.00 | 1.05M | Lightweight tier for fast, low-cost tasks |
For ChatGPT Web IDs and canonical Terra, use the current client contract.
Legacy ChatGPT compatibility names do not have an independent static price table:
read the requested model's standard rate from the runtime catalog,
and your personal rate in the dashboard. Search variants, tools, vision and
streaming depend on the exact model and route; do not append -search to an
arbitrary ID or infer feature support from a legacy name. A cache-write price
field does not guarantee cache-write support; billing uses actual usage.
Check GET /v1/models with your token before integrating.
Use the exact model IDs above.
Retired GPT IDs: served as today until 2026-12-01, refused from 2026-12-01.
Until that date a request with one of these IDs is served exactly as it is
today, including IDs that today run on the ChatGPT Web route under that
route's own model for the name. The IDs are no longer listed. Responses carry
Deprecation, Sunset: Tue, 01 Dec 2026 00:00:00 GMT and a Link
(rel="deprecation") to this page. From 2026-12-01 a request with one gets
400 model_not_available at once, as in the retired model table at the top.
Nothing is billed, and the error carries error.suggested_model and
error.available_models. Switch to the model in the right column before then.
Retired ID (also chatgpt-, reasoning-effort and -search spellings) |
Switch to |
|---|---|
gpt-5, gpt-5.1, gpt-5.2, gpt-5.3, gpt-5.3-codex, gpt-5.4 |
gpt-5.6-terra |
gpt-5.5 |
gpt-5.6-sol |
gpt-5-mini, gpt-5.1-mini, gpt-5.2-mini, gpt-5.4-mini, gpt-5.4-nano, gpt-5.5-mini |
gpt-5.6-luna |
chatgpt-gpt-5.6-sol, chatgpt-gpt-5.6-luna, chatgpt-gpt-5.6-terra |
gpt-5.6-sol, gpt-5.6-luna, gpt-5.6-terra |
gpt-6.1 is OpenAI's bare name for gpt-6.1-sol and is not retired. gpt-5.6
is not retired either; it is served under its own name. gpt-5.6-sol,
gpt-5.6-luna and gpt-5.6-terra are served by the route that runs exactly
that model; their -search variants are not available. Older gpt-5*-codex
variants are not public model IDs unless they appear in your token's
GET /v1/models response.
Reasoning effort presets — use reasoning_effort or append a suffix to the model ID:
| Suffix | Effect | Latency Impact | Example |
|---|---|---|---|
-max |
Maximum GPT-5.6 reasoning depth | Highest | gpt-5.6-sol-max |
-xhigh |
Very high reasoning depth | Higher | gpt-5.6-terra-xhigh |
-high |
Deeper reasoning | +30-50% | gpt-5.6-terra-high |
-medium or no suffix |
Medium reasoning | baseline | gpt-5.6-sol |
-low |
Lighter reasoning, faster | -10-20% | gpt-5.6-terra-low |
-none |
Skip reasoning entirely | -30-50% | gpt-5.6-terra-none |
All presets bill at the same token rate as the base model. GPT-6 Sol/Luna and GPT-5.6 accept all six values; GPT-6.1 Sol and GPT-6 Astra do not accept none. Older GPT models may support a subset. For GPT-6 Sol/Luna function calls, use /v1/responses; both models support client-executed function calls.
GPT-6.1 Terra requests above 272K input tokens pay $2 / $0.10 / $2.50 / $7.50 per 1M (input / cached / cache write / output) for the entire request (official model).
GPT-6.1 Sol requests above 272K input tokens pay $4 / $0.20 / $5 / $15 per 1M (input / cached / cache write / output) for the entire request (official GPT-6.1 Sol model).
GPT-6 Sol/Luna requests above 272K input tokens use 2x input/cache rates and 1.5x output rates for the entire request. Their long-context input / cached input / cache write / output rates per 1M tokens are respectively $4 / $0.40 / $5 / $15 for Sol and $0.20 / $0.02 / $0.25 / $0.75 for Luna. These are token rates only; hosted tools and Fast/Flex processing are not enabled on this gateway route. Official Sol model, official Luna model.
GPT-5.6 long-context and cache billing
When usage.input_tokens is greater than 272,000, the long-context rates apply to the entire request:
| Model | Input | Cached input | Cache write | Output |
|---|---|---|---|---|
gpt-5.6-sol |
$10.00 | $1.00 | $12.50 | $45.00 |
gpt-5.6-terra |
$5.00 | $0.50 | $6.25 | $22.50 |
Automatic prompt caching is supported. Responses API reports cache usage in
usage.input_tokens_details.cached_tokens and cache_write_tokens; Chat
Completions exposes the same values under usage.prompt_tokens_details.
Explicit cache-control fields are not currently accepted on the GPT gateway
route. reasoning.mode: "pro" is also not currently available; use
reasoning.effort: "max" for the deepest supported reasoning. The current
gateway route does not enforce max_output_tokens, so clients should stop
generation locally when they require a stricter output cap.
GPT-5.6 Responses requests may use the built-in web_search tool. Each
web_search_call is billed at $10.00 per 1,000 calls ($0.01 per call), and
the search-content tokens returned to the model are billed at the selected
model's input-token rate. The response output array contains the
web_search_call item used for transparent request accounting.
For Instructor clients, Mode.MD_JSON (markdown_json_mode) is supported as
a client-side fallback: Instructor adds the schema to the prompt and parses
the markdown-fenced JSON response locally. Do not send
markdown_json_mode as an API request field. Prefer strict
response_format: {"type":"json_schema", ...} when possible.
Using Responses API (recommended for GPT-5.x)
GPT-5.x models support the OpenAI Responses API natively. Use this endpoint when you want built-in reasoning state and native tool handles.
from openai import OpenAI
client = OpenAI(
base_url="https://gateway.api429.com/v1",
api_key="YOUR_API_KEY",
)
# Simple request
resp = client.responses.create(
model="gpt-5.6-sol",
input="Write a Python quicksort implementation",
)
print(resp.output_text)
# With reasoning effort
resp = client.responses.create(
model="gpt-5.6-sol",
input="Find the bug in this code and explain your reasoning",
instructions="You are a senior code reviewer.",
reasoning={"effort": "max"},
)
print(resp.output_text)
# Streaming
stream = client.responses.create(
model="gpt-5.6-terra",
input="Explain async/await in Python",
stream=True,
)
completed = False
for event in stream:
if event.type == "response.output_text.delta":
print(event.delta, end="", flush=True)
elif event.type in {"response.failed", "response.incomplete", "error"}:
raise RuntimeError("Generation failed or is incomplete; preserve partial output")
elif event.type == "response.completed":
completed = event.response.status == "completed"
if not completed:
raise RuntimeError("Stream ended without a completed response")
Using Chat Completions (also supported)
Examples
Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
base_url="https://gateway.api429.com/v1",
api_key="YOUR_API_KEY"
)
# GPT-5.6 Sol with high reasoning
response = client.chat.completions.create(
model="gpt-5.6-sol",
messages=[
{"role": "system", "content": "You are a senior developer."},
{"role": "user", "content": "Review this Python function for bugs."}
],
reasoning_effort="high",
)
print(response.choices[0].message.content)
Python (Streaming)
stream = client.chat.completions.create(
model="gpt-5.6-terra",
messages=[{"role": "user", "content": "Write a hello world in Rust"}],
stream=True
)
finished = False
for chunk in stream:
if getattr(chunk, "error", None):
raise RuntimeError("Streaming generation failed; preserve partial output")
for choice in chunk.choices: # Usage-only chunks can have no choices.
if choice.delta.content:
print(choice.delta.content, end="", flush=True)
reason = choice.finish_reason
if reason in {"error", "length", "content_filter"}:
raise RuntimeError("Generation failed, was truncated, or was filtered")
if reason in {"stop", "tool_calls"}:
finished = True
if not finished:
raise RuntimeError("Stream ended without a terminal completion")
cURL
curl https://gateway.api429.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-luna",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Quickstart: the first request · Models and prices · Get an API key