GPT 5.1 Codex models now available in Vercel AI Gateway
Vercel AI Gateway adds support for OpenAI's GPT-5.1 Codex and GPT-5.1 Codex mini, enabling access to both models without separate provider accounts.
You can now access OpenAI's latest Codex models, GPT-5.1 Codex and GPT-5.1 Codex mini with Vercel's and no other provider accounts required. These Codex models are optimized for long-running, agentic coding tasks and are able to maintain context and reasoning over longer sessions without degradation.AI Gateway To use these models with the , set the model to or :AI SDKopenai/gpt-5.1-codexopenai/gpt-5.1-codex-mini 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 , , and intelligent with automatic retries.observabilityBring Your Own Key supportprovider routing Learn more about , view the or try it in our .AI GatewayAI Gateway model leaderboardmodel playground Read more