
You can now access OpenAI's latest GPT-5.2 models with Vercel's AI Gateway and no other provider accounts required.
These models perform better than the GPT-5.1 model series, with noted improvements in professional knowledge work, coding, and long-context reasoning. Other highlights include fewer hallucinations, more accurate vision to interpret graphs and visualizations, strong complex front-end work capabilities, and better information retention working with long documents.
There are 3 models available on AI Gateway:
- GPT-5.2 Chat (
openai/gpt-5.2-chat) is the model used in ChatGPT, best suited for everyday work and learning. - GPT-5.2 (
openai/gpt-5.2) is for deeper work and complex tasks involving coding or long documents. - GPT-5.2 Pro (
openai/gpt-5.2-pro) is best suited for the most difficult questions and tasks with large amounts of reasoning.
To use the GPT-5.2 models with the AI SDK, set the model to the respective model slug (noted above):
AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in observability, Bring Your Own Key support, and intelligent provider routing with automatic retries.
Learn more about AI Gateway, view the AI Gateway model leaderboard or try it in our model playground.