OpenAI: GPT-5.2-Codex

OpenAI: GPT-5.2-Codex

openai · Released Jan 14, 2026
87
Our Score

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. Reasoning effort can be adjusted with the reasoning.effort parameter. It adapts reasoning effort dynamically—providing fast responses for small tasks while sustaining extended multi-hour runs for large projects. The model is trained to perform structured code reviews, catching critical flaws by reasoning over dependencies and validating behavior against tests. It also supports multimodal inputs such as images or screenshots for UI development and integrates tool use for search, dependency installation, and environment setup. Codex is intended specifically for agentic coding applications.

$1.75 / 1M Input Price
$14.00 / 1M Output Price
400,000 tokens Context Window
128,000 tokens Max Output

Capabilities

Tool Use Function Calling Vision

Architecture

ModalityText + Image → Text
TokenizerGPT

Performance Indices

Source: Artificial Analysis

49 Intelligence Index
43 Coding Index
64.6 Agentic Index

Benchmark Scores

Evaluations

GPQA Diamond 89.9%
Graduate-level scientific reasoning
HLE 33.5%
Humanity's Last Exam
SciCode 54.6%
Scientific computing
IFBench 77.6%
Instruction following
LCR 75.7%
Long-context reasoning
TerminalBench Hard 37.1%
Agentic terminal tasks
τ²-Bench 92.1%
Conversational agent benchmark

Benchmark data from Artificial Analysis and Hugging Face

Model Information

OpenRouter ID openai/gpt-5.2-codex
Provideropenai
Release Date January 14, 2026
Context Length400,000 tokens
Max Completion128,000 tokens
Status Active

Pricing

Token Type Cost per 1M tokens Cost per 1K tokens
Input $1.75 $0.001750
Output $14.00 $0.014000

Live Performance

Live endpoint metrics — refreshed every 30 minutes.

100%
Avg Uptime
2,880ms
Best Latency (TTFT)
37 tok/s
Best Throughput
1/2
Active Endpoints
Available via: OpenAI, Azure

Leaderboard Categories