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.
低至$2.52/ 百万输入 tokens$2.8省 10%
模型 IDgpt-6-astra
输入
文本
输出
对话
供应商
7 家供应商
近 7 天表现 · 近期请求较少,暂无统计数据。
价格按单位计费;未指定供应商时,会路由到支持该参数组合且价格最低的供应商。
| 规格 | 价格(美元) |
|---|---|
| 全部规格 | $12.6 / 百万输出 tokens 1260 积分 |
写代码之前,先测试生成效果、对比各供应商价格并预估费用。
先按 max_tokens 预扣积分,完成后按实际用量结算。
开始对话。回复以流式返回,按实际 token 用量计费。
可直接使用的提示词,一键载入 Playground 再调整。
共 19 条提示词
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.
该模型的接口、请求字段与可直接运行的调用示例。
Base URL
https://01router.com/api/v1将 API_KEY 设为项目密钥,在服务端运行示例。示例中的媒体地址需替换为您自己的公开地址。
自动路由会选择支持当前请求的供应商。选择指定供应商,可查看它的参数约束和调用示例。
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
}'这里只列出当前模型相关的接口,路径已包含 /api/v1。点击接口可跳转到使用说明。
以 Bearer Token 方式发送 API Key,费用从 Key 所属账户的积分中扣除。
Authorization: Bearer YOUR_API_KEY
Content-Type: application/jsonmessages 直接放在请求体最外层,对话接口不使用 input 包装。
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| model | string | 是 | "gpt-6-astra" |
| provider | string | 否 | 指定供应商;不传则自动路由到最便宜的。可选: wavespeed | kie | apimart | evolink | atlascloud | vercel | openrouter |
| messages | object[] | 是 | OpenAI 格式的消息数组,每项含 role 与 content。 |
| stream | boolean | 否 | 为 true 时以 SSE 流式返回。 |
| max_tokens | integer | 否 | 最大输出 token,按此预扣积分(默认 4096)。 |
示例使用 stream: false,从 choices[0].message.content 读取回复。stream: true 时接收 SSE 事件,读取 choices[].delta,直到 [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
}
}| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | string | 是 | Chat completion ID |
| object | string | 是 | chat.completion |
| model | string | 是 | gpt-6-astra |
| choices | object[] | 是 | 回复列表;非流式回复文本位于 message.content。 |
| usage | object | 否 | Token 用量:prompt_tokens、completion_tokens、total_tokens;是否返回取决于供应商。 |
此公开接口返回模型参数,以及各供应商支持的参数约束和价格。
curl "https://01router.com/api/v1/models/gpt-6-astra"结合 HTTP 状态码和 error.message 排查。参数或认证错误需修正后再重试;生成任务失败则通过任务本身的 status 和 error 返回。
{
"error": {
"message": "Invalid or missing API key",
"code": "unauthorized"
}
}400请求体或参数取值不合法
401缺少或无效的 API Key
402积分不足
404模型或任务不存在
429请求过于频繁,请稍后重试
502所有供应商都拒绝了任务(积分已退回)
将本模型文档交给编程助手:纯文本包含接口、输入约束、输出字段和请求示例。
并排对比规格与起步价,选择前建议用同一提示词实测。
| GPT-6 Astra | GPT-6 Sol | GPT-6 Luna | GPT-5.6 Sol | |
|---|---|---|---|---|
| 厂商 | OpenAI | OpenAI | OpenAI | OpenAI |
| 起步价 | $2.52 / 百万输入 tokens | $0.54 / 百万输入 tokens | $0.027 / 百万输入 tokens | $1.26 / 百万输入 tokens |
| 输入 | 文本 | 文本 | 文本 | 文本 |
| 供应商 | 7 家供应商 | 7 家供应商 | 8 家供应商 | 8 家供应商 |
Astra 是 GPT-6 能力最强的版本,适合最难的端到端任务:复杂推理、智能体编程、电脑操作、深度研究和长文档写作。轻量或对延迟敏感的请求建议用 GPT-6 Sol 或 Luna。
上下文约 105 万 token,单次最多输出 12.8 万 token。提示词超过约 27.2 万 token 时,上游会按更高的长上下文价格计费。
支持 low、medium、high、xhigh、max。强度越高,难题效果越好,但会消耗更多输出 token(按输出价格计费)。
支持。可输入文本和图片,支持函数调用和 JSON 结构化输出,也可以通过我们兼容 OpenAI 的 /chat/completions 接口以 SSE 流式返回。
按每百万输入/输出 token 计费,以供应商返回的用量为准。请求时按 max_tokens 预扣积分,结束后按实际用量结算。各供应商价格见价格表。
同一个 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.