GPT-5.2-Codex
OpenAI · GPT-5
Deprecated GPT-5.2 Codex compatibility route scheduled for API shutdown on July 23, 2026.
Overview
Freshness note: Model capabilities, limits, and pricing can change quickly. This profile is a point-in-time snapshot last verified on July 10, 2026.
GPT-5.2-Codex is a deprecated Codex-specialized compatibility route. OpenAI’s API deprecation table schedules it for shutdown on July 23, 2026 and names GPT-5.5 as the direct replacement. It remains relevant only for teams completing a migration from existing coding-agent prompts or evaluation harnesses; new work should begin from current OpenAI Codex and GPT-5.6 guidance.
Capabilities
GPT-5.2-Codex was built for multi-file edits, refactors, test-aware implementation loops, and code review assistance. Its remaining practical use is compatibility testing during an active migration before the shutdown date.
Technical Details
OpenAI’s current model card lists GPT-5.2-Codex with a 400K context window, 128K max output, and reasoning effort controls from low through xhigh. Treat those numbers as compatibility data for older direct API routing, not proof that this is the newest Codex-linked route.
This is now historical compatibility data rather than a current deployment recommendation. OpenAI also lists GPT-5.2 as deprecated in Codex when using ChatGPT sign-in.
Pricing & Access
Published API pricing (per 1M tokens):
- Input: $1.75
- Cached input: $0.175
- Output: $14.00
This pricing profile describes the route before shutdown. Migration budgets should compare the documented replacement with GPT-5.6 and the current Codex product surface rather than plan new usage around this older model.
Best Use Cases
Use GPT-5.2-Codex only for compatibility checks and migration validation before July 23, 2026. Do not start fresh deployments on it.
Comparisons
- GPT-5.3-Codex (OpenAI): Better current explicit Codex-model reference for coding-heavy workflows.
- GPT-5.2 (OpenAI): Better choice when coding is only part of a broader professional workflow.
- Claude Opus family (Anthropic): Strong alternative for premium coding-heavy workflows outside the OpenAI stack.