Pull request review
CodingReview this diff and list only the blocking issues. For each one give the file, the line and a one-sentence fix. <paste diff here>
OpenAI GPT-6 Astra: the most capable GPT-6 tier for hard reasoning, coding and agents. 1.05M context.
from$2.52/ 1M input tokens$2.810% off
Model IDgpt-6-astra
Input
Text
Output
Chat
Provider
7 providers
Last 7 days · not enough recent requests for stats yet.
Prices are per unit; requests without a provider are routed to the cheapest provider that supports your parameters.
| Option | Price (USD) |
|---|---|
| All options | $12.6 / 1M output tokens 1260 Credits |
Test output quality, compare provider prices and estimate cost before writing any code.
Credits for max_tokens are held first, then settled to the actual usage.
Start a conversation. Replies stream in and are billed by actual token usage.
Ready-to-use prompts. Load one into the playground and tweak it.
19 prompts
Review this diff and list only the blocking issues. For each one give the file, the line and a one-sentence fix. <paste diff here>
Write a two-page brief on the home battery storage market in Europe: key players, pricing trends, regulation and the three biggest risks for a new entrant. End with a recommendation.
I need to migrate 40 microservices from REST to gRPC with zero downtime. Produce a phased plan with milestones, rollback points and the checks an automated agent should run after each phase.
Summarize the content without using lists, Markdown, or exceeding 80 words.
Fix the invalid JSON structure without changing the original meaning.
Generate a response that is exactly 3 sentences, no more and no less, while fully answering the question.
Endpoints, request fields and runnable examples for this model.
Base URL
https://01router.com/api/v1Set API_KEY to your project key, then run a sample from your server. Replace example media URLs with your own public URLs.
Auto-routing chooses a provider that supports the request. Select a provider to see its input constraints and pinned request examples.
curl https://01router.com/api/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-astra",
"messages": [{ "role": "user", "content": "Hello!" }],
"stream": false
}'Only endpoints relevant to this model are listed. Paths below include /api/v1. Click an endpoint to read its usage.
Send your API key as a Bearer token. Requests are billed to the key owner's credits.
Authorization: Bearer YOUR_API_KEY
Content-Type: application/jsonSend messages directly in the request body. Chat requests do not use an input wrapper.
| Name | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | "gpt-6-astra" |
| provider | string | No | Pin a provider; omit to auto-route to the cheapest. One of: wavespeed | kie | apimart | evolink | atlascloud | vercel | openrouter |
| messages | object[] | Yes | OpenAI-format messages, each with role and content. |
| stream | boolean | No | true returns an SSE stream. |
| max_tokens | integer | No | Output token cap; credits are pre-held for it (default 4096). |
This example uses stream: false. Read the reply from choices[0].message.content. With stream: true, read SSE chunks from choices[].delta until [DONE].
{
"id": "chatcmpl-example",
"object": "chat.completion",
"model": "gpt-6-astra",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 8,
"total_tokens": 17
}
}| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Chat completion ID |
| object | string | Yes | chat.completion |
| model | string | Yes | gpt-6-astra |
| choices | object[] | Yes | Reply choices; message.content contains the non-streaming response. |
| usage | object | No | Token usage: prompt_tokens, completion_tokens and total_tokens. Availability depends on the provider. |
This public endpoint returns the model parameters and each provider’s supported constraints and prices.
curl "https://01router.com/api/v1/models/gpt-6-astra"Check the HTTP status and error.message. Fix the request before retrying validation or authentication errors. A failed generation is reported in status and error on the task itself.
{
"error": {
"message": "Invalid or missing API key",
"code": "unauthorized"
}
}400Invalid body or parameter value
401Missing or invalid API key
402Not enough credits
404Unknown model or generation
429Too many requests — retry after the given seconds
502Every provider rejected the task (credits refunded)
Give your coding assistant this model reference: endpoints, input constraints, output fields and request examples in plain text.
Specs and starting prices side by side. Test with the same prompt before you choose.
| GPT-6 Astra | GPT-6 Sol | GPT-6 Luna | GPT-5.6 Sol | |
|---|---|---|---|---|
| Vendor | OpenAI | OpenAI | OpenAI | OpenAI |
| Starting price | $2.52 / 1M input tokens | $0.54 / 1M input tokens | $0.027 / 1M input tokens | $1.26 / 1M input tokens |
| Input | Text | Text | Text | Text |
| Provider | 7 providers | 7 providers | 8 providers | 8 providers |
Astra is the most capable GPT-6 tier, aimed at the hardest end-to-end work: complex reasoning, agentic coding, computer use, deep research and long document creation. Route lighter or latency-sensitive traffic to GPT-6 Sol or Luna.
About 1.05M tokens of context with up to 128K output tokens per response. Very long prompts (above roughly 272K tokens) are billed at a higher long-context rate by the upstream provider.
Astra supports low, medium, high, xhigh and max. Higher effort improves hard problems but uses more output tokens, which are billed at the output rate.
Yes. It accepts text and image input, supports function calling and JSON structured output, and can stream responses over SSE through our OpenAI-compatible /chat/completions endpoint.
Per 1M input and output tokens, using the usage returned by the provider. Credits are reserved from max_tokens and settled to actual usage when the response finishes. See the pricing table for each provider's rate.
Other models you can call with the same API key.
OpenAI GPT-6 Sol: balanced GPT-6 tier for everyday reasoning, coding and tool use. 1.05M context.
OpenAI GPT-6 Luna: the fastest, lowest-cost GPT-6 tier for high-volume tasks. 1.05M context.
OpenAI GPT-5.6 Sol: flagship GPT-5.6 tier for complex reasoning and coding.
OpenAI GPT-5.6 Terra: mid GPT-5.6 tier balancing quality and cost.
OpenAI GPT-5.6 Luna: small, fast GPT-5.6 tier.
Anthropic Claude Opus 5.5: frontier model for agentic coding, long-horizon tasks and deep analysis. 1M context.