GPT-5.2 Codex

by OpenAI

GPT-5.2 Codex is a code-tuned variant of GPT-5.2 built for software development. With a 272,000-token context window and tool use, it handles complex coding scenarios such as cross-file consistency, large-scale refactoring, and architectural decisions. It supports structured outputs and is aimed at development teams working through challenging engineering problems where reasoning about code structure and its consequences matters.

Key info

Input
Output
Features
Context window
272K
Max output
128K

Benchmarks

Independent benchmark scores: the Intelligence Index and the individual evaluations behind it, grouped by skill.

Global rank#119 of 523 LLMs
TierEfficient
Output speed141 tok/s
Intelligence Index (previous version)28.5
Agentic & knowledge work
Terminal-Bench Hard
37%
τ²-Bench Telecom
92%
Science & reasoning
Humanity's Last Exam
36%
GPQA Diamond
90%
Long-context reasoning
82%
Knowledge
MMMU-Pro
76%
Math & instruction following
IFBench
78%

Available routes

No routes currently available — GPT-5.2 Codex isn't routed through the Opper gateway right now. It may return.

Contact us about this model →

Available models from OpenAI

Start building with 700+ models

One API key for every major provider, up and running in minutes.

Get startedView Documentation