GPT-5.2-Codex

OpenAI · openai/gpt-5.2-codex

← Back to leaderboard

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....

GPT-5.2-Codex ranks #329 of 377 models in the default AI Benchmark Hub order (quality first, then cost). At $7.88 blended per million tokens, it is cheaper than 11% of models with published API pricing. Its 400,000-token context window is 1.5× the catalog median (262,144 tokens).

imagetexttext+image->text

Context

Max context: 400000
Max output: 128000

Pricing

Input / 1M: 1.75
Output / 1M: 14.00
Blend / 1M: 7.88

Quality

Quality index: —

Provider

Provider: OpenAI
Moderated: no

Monthly cost at this blended rate

Estimated API spend if every token is billed at $7.88per million (the blend of this model's input and output prices). Real bills depend on the input/output mix.

Tokens / monthEst. cost (USD)
1,000,000$7.88
10,000,000$78.75
100,000,000$787.50

Related models

Same lab, similar price, or similar quality — useful next comparisons.

More from OpenAI

Closest API price