Skip to content
Dashboard

GPT-6.2 Astra and Sol now available on AI Gateway

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.

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

Both models also support the Responses API.

For lower latency at higher per-token rates, both models support fast mode and OpenAI’s Ultrafast service tier. 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:

npx vercel ai-gateway setup

Then select openai/gpt-6.2-astra or openai/gpt-6.2-sol in the agent. See the coding agents guide for details.

Try GPT-6.2 Astra or GPT-6.2 Sol in the playground.