You can now access GPT 5.2 Codex with Vercel's AI Gateway and no other provider accounts required. GPT 5.2 Codex combines GPT 5.2's strength in professional knowledge work with GPT 5.1 Codex Max's agentic coding capabilities. GPT 5.2 Codex is better at working on long running coding tasks compared to predecessors and can handle more complex tasks like large refactors and migrations more reliably. The model has stronger vision performance for more accurate processing of screenshots and charts that are shared while coding. GPT 5.2 Codex also surpasses GPT 5.1 Codex Max in cyber capabilities and outperformed the previous model in OpenAI's Professional Capture-the-Flag (CTF) cybersecurity eval. To use the GPT 5.2 Codex, with the AI SDK , set the model to openai/gpt-5.2-codex : import { streamText } from 'ai' ; const result = streamText ( { model : 'openai/gpt-5.2-codex' , prompt : ` Take the attached prototypes, diagram, and reference screenshots to build a production app for customer analytics dashboards.…