Newshot

GPT-6.2 Astra 与 Sol 现已在 AI Gateway 上线

AI summary

OpenAI 的 GPT-6.2 Astra 和 GPT-6.2 Sol 现已在 AI Gateway 上线。Astra 适用于复杂、多步骤的项目,在现有代码库中实现和测试改动、遵循文档模板以及 computer use 方面有所改进;Sol 适用于日常编码、写作和智能体工作流,包括根据书面需求说明构建交互式 Web 应用。两个模型的 ID 为 openai/gpt-6.2-astra 或 openai/gpt-6.2-sol,两者均支持 Responses API、fast mode 以及 OpenAI 的 Ultrafast 服务层级。

Translation(model translation, not the source's own text)

OpenAI 的 GPT-6.2 Astra 和 GPT-6.2 Sol 现已在 AI Gateway 上线。

  • GPT-6.2 Astra:适用于复杂的多步骤项目,在现有代码库中实施和测试改动、遵循文档模板以及计算机使用方面均有改进
  • GPT-6.2 Sol:适用于日常编码、写作和 agent 工作流,包括根据书面需求说明构建交互式 Web 应用

使用 openai/gpt-6.2-astra 或 openai/gpt-6.2-sol 作为模型 ID。API 示例中,请将 AI_GATEWAY_API_KEY 设置为你的 AI Gateway API key。


        import { streamText } from 'ai';
const result = streamText({  model: 'openai/gpt-6.2-sol',  prompt: 'Draft a one-page project brief from these meeting notes.',});
      

两个模型也都支持 Responses API。

为了在更高的每 token 价格下获得更低延迟,两个模型均支持 fast mode 和 OpenAI 的 Ultrafast 服务层级。要请求 Ultrafast,请在 AI SDK 中将 providerOptions.openai.serviceTier 设为 'ultrafast',或在 Chat Completions 和 Responses 请求中将 service_tier 设为 'ultrafast'。

GPT-6.2 Astra 的 Ultrafast 输出 token 价格比 GPT-6 Astra 低 60%。

要在 Codex、Cursor 等编码 agent 中使用这些模型,请安装最新的 Vercel CLI 并运行 setup:


        npx vercel ai-gateway setup
      

然后在 agent 中选择 openai/gpt-6.2-astra 或 openai/gpt-6.2-sol。详情参见 coding agents 指南。

在 playground 中试用 GPT-6.2 Astra 或 GPT-6.2 Sol。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗