Sulat.com
AI models
Vercel AI Gateway logo

Model details

GPT-5.2-Codex

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.

Vercel AI Gatewayopenai/gpt-5.2-codexgpt-codex

Quick Info

Powered by
Provider
Vercel AI Gateway
Model key
openai/gpt-5.2-codex
Release date
Dec 11, 2025
Last updated
Dec 11, 2025
Knowledge cutoff
2025-08-31
Input modalities
Output modalities
Capabilities

Cost

Input token cost
$1.75
Output token cost
$14.00

Limits

Input tokens
272,000 tokens
Output tokens
128,000 tokens
Context window
400,000 tokens

Transparent token rates

Compare gpt-codex pricing

Rates are shown per one million tokens. Combined means one million input plus one million output tokens.

Browse this family

Latest news about GPT-5.2-Codex

Vercel AI Gateway

Official sourceRelease Notes

You can now access the GPT 5.2 Codex model on Vercel's AI Gateway with no other provider accounts required.

Videos about GPT-5.2-Codex

More models around GPT-5.2-Codex