Sulat.com
AI models
$10 off the fastest DeepSeek V4.1 Flash, Kimi K3 and GLM 5.3 from Synthetic
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-5.2-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

Coverage

AI Flash Report's third-party model page for GPT-5.2-Codex records concrete technical specifications attributed to OpenAI's release of December 18, 2025: a 256K-token context window, 64K max output, text and image input modalities, and text output. Pricing is listed at $1.50 per million input tokens and $12.00 per mill The same page positions GPT-5.2-Codex as a prior-generation Codex variant of GPT-5.2 focused on agentic coding, with features including specialized software engineering tuning, enhanced agentic coding, multi-file refactoring, and advanced debugging. It notes GPT-5.2-Codex as the predecessor to GPT-5.3-Codex, and shows

Jiekou.AI

Coverage

The egghead.io AI Dev Essentials #37 newsletter explicitly identifies GPT-5.2-Codex as OpenAI's most advanced agentic coding model at the time of its launch, reporting a 400K context window for the model. This provides a direct, exact-version technical data point about the subject variant rather than family-level or su Because the subject model GPT-5.2-Codex is served via the Jiekou.AI inference gateway, any gateway/hosting/pricing claims are excluded under model-subject rules. The newsletter's utility is limited to the single concrete specification (400K context window) and its confirmation that GPT-5.2-Codex was positioned by OpenA

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