Sulat.com
AI models
OpenCode Zen logo

Model details

GPT-5.2 Codex

GPT-5.2 Codex is positioned by OpenAI as its most advanced agentic coding model for complex, real-world software engineering, described as a version of GPT-5.2 optimized for agentic coding inside Codex. It was evaluated under OpenAI's Preparedness Framework, with safety measures spanning both the model and the product layer, including specialized training against harmful tasks and prompt injections, along with agent sandboxing and configurable network access in deployment. These evaluations placed it below the High capability threshold for cybersecurity, while still treating it with biology safeguards consistent with the broader GPT-5 family.

The model's design centers on sustained, project-scale work rather than short isolated completions. Key engineering improvements include context compaction for long-horizon tasks, stronger performance on refactors and migrations, better behavior in Windows environments, and notably stronger cybersecurity capabilities. Its successor, GPT-5.3-Codex, builds directly on this frontier coding foundation, confirming that GPT-5.2 Codex set the prior benchmark for agentic coding that later generations extended. Practically, this makes the model well suited to software teams seeking a Codex-tuned agent capable of multi-step repository work, refactoring campaigns, and security-aware development workflows.

OpenCode Zengpt-5.2-codexgpt-codex

Quick Info

Powered by
Provider
OpenCode Zen
Model key
gpt-5.2-codex
Release date
Jan 14, 2026
Last updated
Jan 14, 2026
Knowledge cutoff
2025-08-31
AI SDK package
@ai-sdk/openai
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

Videos about GPT-5.2 Codex

More models around GPT-5.2 Codex