Vercel AI Gateway
You can now access the GPT 5.2 Codex model on Vercel's AI Gateway with no other provider accounts required.
Model details
GPT-5.2-Codex is the first model in OpenAI's Codex lineage that is explicitly tuned for long-horizon agentic work across large, complex codebases. Rather than just excelling at single-turn code generation, this model is built to maintain state and continuity through extended software engineering sessions—handling large refactors, multi-step code migrations, and sustained feature development. The architecture incorporates context compaction techniques that allow it to reason effectively even when working with sprawling codebases that would overwhelm older models. For Windows developers specifically, it delivers more reliable agentic coding than its predecessors, addressing a historical pain point for native Windows environments. Its security-aware design also makes it well-suited for defensive cybersecurity tasks, including bug hunting, with safeguards built into the product level.
The model builds on the broader GPT-5.2 family, which posted state-of-the-art results on coding and reasoning benchmarks such as SWE-Bench Pro and GPQA, applying those gains toward real-world engineering workflows. OpenAI evaluated GPT-5.2-Codex under its Preparedness Framework, finding it "very capable" in cybersecurity while planning deployments as though future models may eventually cross higher capability thresholds—hence the addition of product-level safeguards like sandboxing and configurable network access. Developers can access it through the Responses API as well as directly within major IDEs including Visual Studio Code, Visual Studio, JetBrains IDEs, Xcode, and Eclipse, and it is available across GitHub Copilot tiers from Pro through Enterprise. The combination of benchmark-leading coding performance, extended context handling, and explicit safety boundaries positions this model as a practical choice for engineering teams and security teams looking to deploy autonomous coding agents responsibly.
Transparent token rates
Rates are shown per one million tokens. Combined means one million input plus one million output tokens.
Vercel AI Gateway
You can now access the GPT 5.2 Codex model on Vercel's AI Gateway with no other provider accounts required.
This exact model name is also listed by 18 other providers.