Loading...
Loading...
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. Read the [docs here](https://openrouter.ai/docs/use-cases/reasoning-tokens#reasoning-effort-level) 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. 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.
Quality Index
49.0
11th of 442
Top 2%
Coding Index
43.0
17th of 352
Top 5%
Price/1M
$4.81
621st cheapest
1453% above median
Top 92%
Speed
105 tok/s
Top 25%
TTFT
1.40s
Context Window
400K
41st largest
Top 16%
Input
$1.75
per 1M tokens
Output
$14.00
per 1M tokens
Blended
$4.81
per 1M tokens
Cheaper than 8% of models. Median price is $0.31/1M tokens.
Daily
$4.81
Monthly
$144.39
105
tokens/sec
Faster than 75% of models
1.40
seconds
Faster than 19% of models
1.40
seconds
Faster than 31% of models
Market Median
46 tok/s
131% faster
Median TTFT
0.42s
235% slower
Throughput/Dollar
22
tok/s per $/1M
Speed Comparison
Context Window
400K
tokens
Larger than 84% of models
Max Output
128K
tokens
32% of context