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

OpenCodegpt-5.2-codexgpt-codex

Quick Info

Powered by
Provider
OpenCode
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-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

Abacus

CoverageBenchmark

This Magica model directory page lists GPT-5.2-Codex as developed by OpenAI with a context window of 400K tokens, an output limit of 128K tokens, and a release date of January 14, 2026. The page reports pricing at $1.75 per million input tokens, $14.00 per million output tokens, $0.01 per web search, and $0.175 per mil The page also reports a Best Design Arena Score of 1,176 Elo, placing GPT-5.2-Codex 19th in the Android Native category with a 47.5% win rate, sourced from arena comparisons. According to the supplied excerpt, the page includes comparison widgets pairing GPT-5.2-Codex against models such as GPT-5.6 Luna, GLM 5.3 Flash,

OrcaRouter

Coverage

A third-party model registry entry for GPT-5.2 Codex lists it as a closed-source, proprietary dense model with a 400K context length, text modality, and a stated July 2025 knowledge cutoff. It frames the model as specialized for autonomous multi-file refactoring, visual UI debugging, and secure system design, with pers The same page reports LiveBench category scores including Coding 0.84, Data Analysis 0.78, Global 0.74, Agentic Coding 0.49, Mathematics 0.89, Average 0.74, Reasoning 0.78, and a WebDev Arena score of 1338, giving an overall rank of 84 and a Coding rank of 37. These benchmark figures have unverified provenance and meth

Videos about GPT-5.2 Codex

More models around GPT-5.2 Codex