Back to models
OpenAIText APIOperationalUpdated

GPT-6.2 Astra API

OpenAI’s flagship GPT-6.2 model for complex reasoning and multi-step work, such as planning and revising code.

API access

Endpoint
POST /v1/chat/completions
POST /v1/responses
Base URL
https://api.apiko.app/v1

Speaks OpenAI Chat Completions / OpenAI Responses; one APIKO key reaches every listed model.

Input price

94% off

$8.00

$0.450

/ 1M tokens

Output price

94% off

$40.00

$2.25

/ 1M tokens

Context

1.05M

Context window

Max output

32K

Per response on APIKO · official 128K

Longer prompts bill at a higher tier — see Pricing.

Start testing GPT-6.2 Astra

Ask a question — the answer streams in, followed by token usage, latency and an estimated cost.

GPT-6.2 Astra API quickstart

Call GPT-6.2 Astra in the OpenAI Chat Completions / OpenAI Responses format. Copy-ready cURL, Python and Node.js samples below.

Code sample

Endpoint:/v1/chat/completions

curl https://api.apiko.app/v1/chat/completions \
  -H "Authorization: Bearer $APIKO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-6.2-astra",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Tip: set APIKO_API_KEY to a key created on the API keys page.

Works with the official SDKs — swap in the base URL, API key and model ID.

Full GPT-6.2 Astra API docsManage API keysOne APIKO key works across every listed model.

GPT-6.2 Astra API pricing

Billed on the input, output and cached tokens reported in usage; every price is per 1M tokens.

Currency
Input tokens94% off
$8.00$0.450/ 1M tokens

The prompt and context you send to the model

Output tokens94% off
$40.00$2.25/ 1M tokens

What the model generates, reasoning tokens included

Cached input
$0.400$0.0225/ 1M tokens
Long-context tiers
Context windowInputOutputCached input
≤ 272,000 tokens$0.450$2.25$0.0225
> 272,000 tokens$0.792$2.97$0.0396

GPT-6.2 Astra specs

Specs follow APIKO's public request contract first; anything it does not publish is taken from the model vendor's official docs, and shows as not disclosed only when neither publishes it.

Streaming
Supported
Tool calling
Supported
Structured JSON
Supported
Reasoning mode
Supported
Input modality
text · image
Output modality
text
Reasoning levels
low · medium · high · xhigh · max
Max output
32K per response (16K on the free trial); official 128K

Source: vendor's official model docs (checked 2026-11-18)

About GPT-6.2 Astra

OpenAI’s flagship GPT-6.2 model for complex reasoning and multi-step work, such as planning and revising code.

APIKO serves this model at /v1/chat/completions / /v1/responses. Try prompts and parameters in the playground on this page first, then connect your server with the same APIKO API key.

Provider
OpenAI
Endpoint
/v1/chat/completions/v1/responses
Context window
1.05M
Model ID
gpt-6.2-astra

How to use GPT-6.2 Astra

The playground and the API share one model ID — three steps take you from trying a prompt to production calls.

  1. Step 1

    Try it online

    Test the system prompt, output length and sampling settings in the playground.

  2. Step 2

    Manage API keys

    Sign in to see your keys or create one; one key works across every listed model.

  3. Step 3

    Connect your server

    Send requests to /v1/chat/completions and record cost from the usage field.

Compare GPT-6.2 Astra with other OpenAI models

Live APIKO prices per 1M tokens. Every model here works with the same API key — switch by changing the model ID.

Currency
ModelInputOutput
GPT-5.4 Minigpt-5.4-mini$0.922$5.53
GPT-5.6 Lunagpt-5.6-luna$0.180$1.08
GPT-5.6 Solgpt-5.6-sol$0.400$2.00
GPT-5.6 Terragpt-5.6-terra$0.200$1.20
GPT-6 Astragpt-6-astra$1.00$5.00
GPT-6 Solgpt-6-sol$0.200$1.00
GPT-6.1 Solgpt-6.1-sol$0.200$1.00
GPT-6.1 Terragpt-6.1-terra$0.100$0.500
GPT-6.2 AstraThis pagegpt-6.2-astra$0.450$2.25
GPT-6.2 Solgpt-6.2-sol$0.113$0.563

OpenAI API docs

Comparing models and price tiers?

See live prices for every model

GPT-6.2 Astra FAQ

When should I choose GPT-6.2 Astra over Sol?

Choose Astra for complex reasoning and multi-step work, such as planning and revising code. Sol is the lower-cost choice for routine coding and tool calls. For prompts up to 272,000 input tokens, Astra’s input and output rates on APIKO are each four times Sol’s. Both use the same API key.

How is GPT-6.2 Astra billed?

By input and output tokens at the per-1M rates above; cached input uses its published rate when available. See the failed-request question below for the refund rule.

Is it OpenAI-compatible?

Yes. Point the OpenAI SDK at the gateway base URL, replace the model id, and keep the rest of your request unchanged.

How do I get an API key?

Sign up, then create an API key in your console. One API key can call every model on the gateway.

Is there a free trial for the GPT-6.2 Astra API?

Yes. Sign in with Google using a Gmail address and $0.20 of trial credit is added to your balance, no card needed, once per person. It works on gpt-6.2-astra and every other model. Output is capped at 16k tokens per request during the trial.

Can I stream responses?

Yes. Set stream: true; for Chat Completions, also send stream_options.include_usage = true to receive usage in the final event.

What if a request fails?

You are not billed for failed or errored calls. Retry, and if it keeps failing, contact us via the live chat at the bottom right of the page.