OpenAI
GPT-6.2 Astra
GPT-6.2 Astra is OpenAI's most capable model for demanding reasoning and coding, released in November 2026. It improves on GPT-6 Astra in agentic coding, computer use and professional knowledge work, writes shorter answers at the same reasoning effort, and costs 20% less at list price. It keeps a 1.05M-token context window with up to 128K output tokens.
Our price
input / output per 1M
Official
USD · Published rate · Updated 2026-10-12
First request
Availablecurl https://api.tokely.me/v1/chat/completions \
-H "Authorization: Bearer $TOKELY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6.2-astra",
"messages": [{"role": "user", "content": "Hello!"}],
"max_tokens": 1024
}'Set TOKELY_API_KEY to your dashboard key. Requests require a funded Tokely balance. Base URL: https://api.tokely.me/v1.
Capabilities & limits
- Context window
- 1,050,000 tokens
- Model max output
- 128,000 tokens
- Cached input price
- $0.2 per 1M tokens · Official: $0.4
- Provider
- OpenAI
- API model ID
gpt-6.2-astra- Category
- Text
- Endpoints
POST /v1/chat/completionsPOST /v1/responses- Tokely max output
- 128,000 tokens / request, including reasoning tokens
- Default output
- 256 tokens. Set an explicit limit for longer responses.
- Request limits
- 16 MB JSON body (including base64) · 128 messages · 32 function tools
- Rate limit
- 60 requests / minute / account, across its keys
- Supported input
- Text and function tool results · inline PNG, JPEG and WebP images
- Model modalities
- image, text. Tokely accepts text, inline images and PDFs where listed above; audio and video input are not enabled.
The context includes your instructions, conversation history, tool definitions and generated output. Keep the input and requested output within the model’s context window.
API reference
Authenticate with Authorization: Bearer YOUR_TOKELY_API_KEY. Use an OpenAI SDK with the Tokely base URL.
- model
- Required string:
gpt-6.2-astra - messages
- An array of system, developer, user, assistant and tool messages.
- max_tokens
- Optional integer, 1–128,000. Defaults to 256.
- stream
- Set true for Server-Sent Events (SSE).
- reasoning_effort
- Optional reasoning effort. Supported values depend on the model; omit to use its default.
- tools
- Function definitions executed by your application. Provider-hosted tools are not enabled.
The response contains choices with message or tool_calls, finish_reason, and usage (prompt_tokens, completion_tokens, total_tokens). Streaming sends chat completion chunks.
- 400 / 415
- Invalid request, parameter, endpoint for this model, or content type.
- 401 / 403
- Invalid, revoked or restricted API key.
- 402
- Insufficient account balance or API key budget.
- 429
- Request limit reached. Retry after the indicated delay.
- 502 / 503 / 504
- Upstream failure, temporary service unavailability or request timeout.
Compare nearby prices
| Model | Input | Output | Context |
|---|---|---|---|
| GPT-6.2 AstraOpenAI · this model | $4 | $20 | 1,050,000 |
| GPT-6 AstraOpenAI | $4 | $20 | 1,050,000 |
| Claude Opus 4.6Anthropic | $3.75 | $18.75 | 1,000,000 |
| Claude Opus 4.7Anthropic | $3.75 | $18.75 | 1,000,000 |
| Claude Opus 4.8Anthropic | $3.75 | $18.75 | 1,000,000 |
Frequently asked questions
How much does GPT-6.2 Astra cost?
$4 per million input tokens, $20 per million output tokens and $0.2 per million cached input tokens. Usage is charged to your Tokely balance.
Do I need a separate OpenAI account?
Use your Tokely API key and balance. A separate provider key is not required.
How do I switch to this model?
Set model to gpt-6.2-astra and use /v1/chat/completions. Keep your Tokely base URL and API key.
What is the context window?
1,050,000 tokens, including input and output. The Tokely request body and output limits listed above also apply.
More OpenAI models & prices
Compare GPT-6.2 Astra with other OpenAI versions and with the official developer rates.
All OpenAI models on Tokely · Cheap GPT API — Model Prices & Discounts · Compare AI API gateways · Estimate your token cost