GPT-5.2-Codex

OpenAI · Mid

Compare →

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

Input / 1M

$1.75

Output / 1M

$14.00

Cached input / 1M

$0.175

Context window

400K

Where it sits

243rd-cheapest mid model

by blended $/Mtok among 262 listed mid models

742% above the mid median

blended $/Mtok across 262 mid models

Output costs 8× input

$1.75 in / $14.00 out per 1M

Cached input saves 90%

$0.175 vs $1.75 per 1M fresh

Held flat since launch (Jun 2026)

no blended price change recorded

Computed live from current prices and this model's history — not hand-written, so it stays accurate as prices move.

Price history

Only one price on record so far — the history chart appears once a price changes.

Snapshots

Effective Input Output Cached in Note Source
11 Jun 2026 $1.75 $14.00 $0.175 Imported from OpenRouter openrouter.ai

More from OpenAI