GPT-5.2 Codex

openai

GPT-5.2 Codex is an upgraded version of GPT-5.1 Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks. The model supports building projects from scratch, feature development, debugging, large-scale refactoring, and code review. Compared to GPT-5.1 Codex, 5.2 Codex is more steerable, adheres closely to developer instructions, and produces cleaner, higher-quality code outputs. Codex integrates into developer environments including the CLI, IDE extensions, GitHub, and cloud tasks. It adapts reasoning effort dynamically, providing fast responses for small tasks while sustaining extended multi-hour runs for large projects.

Try Now

Capabilities

Image Input

Extended Thinking

Tool Use

Example Use Cases

Building projects from scratch

Large-scale code refactoring

Complex debugging and code review

Technical Specifications

Context Window

400,000 tokens

Max Output

128,000 tokens

Pricing

Token Costs (per 1M tokens)

Cache Miss Input

$1.75

Non-Reasoning Output

$14

Cache Read Input

$0.175

Tool Costs (per 1K calls)

Web Search

$15

Code Execution

$0.19

⚠️ Legacy

Made legacy on

Reason

Untested

Recommended Replacement

Qwen3.5 Plus