GPT-6.2 Astra API
GPT-6.2 Astra 面向复杂推理、软件开发和长流程任务,可处理文本与图片输入,输出文本,并可结合工具处理代码、文档与计算机操作。
本站目录已上架,请核对 API Key 分组与接口权限后调用。
本站分组:Codex 特价分组、Codex 专属分组、Codex 稳定分组
本站接口:OpenAI 兼容(/v1/chat/completions)
查看实时模型目录注册并创建 API KeyCodex 接入指南
GPT-6.2 Astra 官方参数
| 模型 ID | gpt-6.2-astra |
|---|---|
| 上下文窗口 | 1,050,000 token(105 万) |
| 最大输入 | 922,000 token |
| 最大输出 | 128,000 token |
| 输入与输出 | 文本、图片输入;文本输出 |
| 推理强度 | 新接入建议从 medium 开始;原 none/minimal 改用 low。具体档位以官方与分组支持为准;none 会被拒绝。 |
| 知识截止日期 | 2026-05-18 |
来源:OpenAI 官方模型文档。这些是官方规格;本站各分组的上下文、输出上限和工具权限需按实际配置核对,不等同于所有分组均支持这些上限。
适合哪些任务?
- 软件开发:理解项目、编写和修改代码、分析问题,并结合工具完成多步骤工作。
- 复杂推理与文档:分析长资料、综合信息和修订文档。
- 视觉与计算机操作:理解图片,并在支持的工具环境中执行计算机操作。
官方支持流式输出和结构化输出;工具调用需要 Responses,不能在 Chat Completions 接口中直接启用。若本站目录仅声明 Chat Completions,请先使用文本对话示例。客户端、本站分组和上游需同时兼容,不能仅靠替换模型名启用工具或多智能体能力。
API 接入示例
以下示例按发布时本站目录声明的接口生成。调用前确认 API Key 的分组权限;目录状态可能继续调整。
from openai import OpenAI
client = OpenAI(base_url="https://www.aifast.link/v1", api_key="你的 API Key")
resp = client.chat.completions.create(model="gpt-6.2-astra", messages=[{"role": "user", "content": "你好"}])
print(resp.choices[0].message.content)
从上一代 Astra 迁移
- 把客户端模型 ID 改为
gpt-6.2-astra,核对 API Key 的分组权限。 - 继续使用本站 Base URL
https://www.aifast.link/v1;使用哪种接口以模型广场声明为准。 - Responses 使用
reasoning.effort,Chat Completions 使用reasoning_effort。新接入建议medium,原none/minimal改用low;不要发送none。 - 迁移 Chat Completions 请求时移除
temperature、top_p、logprobs、top_logprobs;Responses 请求移除temperature、top_p、top_logprobs,并从include中移除message.output_text.logprobs。 - 先验证短文本请求和流式输出;工具调用需确认分组开放 Responses,再分别验证图片及长上下文。详见官方迁移指南。
- 核对输出上限和预算;不能假定旧型号的分组、价格或参数限制自动适用于新版。
价格与分组
AIFast Link 的可用分组、售价及计费规则以模型广场实时配置为准;官方标价不等于本站售价,不沿用上一代 Astra 的数值。订阅是否适用需核对对应套餐和分组。
GPT-6.2 Astra API reference
GPT-6.2 Astra accepts text and image inputs and produces text. OpenAI documents a 1,050,000-token context window, up to 922,000 input tokens and 128,000 output tokens. Start with medium reasoning effort; migrate none or minimal to low. Exact supported levels depend on the model and group; none is rejected.
Tool calling requires Responses rather than Chat Completions. Use reasoning.effort in Responses and reasoning_effort in Chat Completions. Remove temperature, top_p, logprobs and top_logprobs from Chat Completions requests. For Responses, remove temperature, top_p and top_logprobs, and remove message.output_text.logprobs from include. Follow the official migration guide before enabling tools.
Listed in the AIFast Link catalog. Verify your API Key group and declared endpoints before calling. Provider specifications do not guarantee that every AIFast Link group exposes every tool or limit. Use gpt-6.2-astra and confirm endpoint support, pricing and group access in the live catalog.