GPT-6.2 Astra and GPT-6.2 Sol from OpenAI are now available on AI Gateway.
GPT-6.2 Astra: for complex, multi-step projects, with improvements to implementing and testing changes in existing codebases, following document templates, and computer use
GPT-6.2 Sol: for everyday coding, writing, and agent workflows, including building interactive web applications from a written brief
Use `openai/gpt-6.2-astra` or `openai/gpt-6.2-sol` as the model ID. For the API examples, set `AI_GATEWAY_API_KEY` to your [AI Gateway API key](https://vercel.com/docs/ai-gateway/authentication-and-byok/api-keys).
Both models also support the [Responses API](https://vercel.com/docs/ai-gateway/sdks-and-apis/responses).
For lower latency at higher per-token rates, both models support [fast mode](https://vercel.com/docs/ai-gateway/models-and-providers/fast-mode) and OpenAI’s [Ultrafast service tier](https://vercel.com/docs/ai-gateway/models-and-providers/service-tiers#ultrafast). To request Ultrafast, set `providerOptions.openai.serviceTier` to `'ultrafast'` in the AI SDK, or set `service_tier` to `'ultrafast'` in Chat Completions and Responses requests.
GPT-6.2 Astra’s Ultrafast output-token price is 60% lower than GPT-6 Astra’s.
To use the models in coding agents like Codex, Cursor, and more, install the latest Vercel CLI and run setup:
Then select `openai/gpt-6.2-astra` or `openai/gpt-6.2-sol` in the agent. See the [coding agents guide](https://vercel.com/docs/ai-gateway/coding-agents) for details.
Try [GPT-6.2 Astra](https://vercel.com/ai-gateway/models/gpt-6.2-astra) or [GPT-6.2 Sol](https://vercel.com/ai-gateway/models/gpt-6.2-sol) in the playground.