GPT-5 Codex

OpenAI · Mid

Compare →

GPT-5-Codex is a specialized version of GPT-5 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.25

Output / 1M

$10.00

Cached input / 1M

$0.125

Context window

400K

Where it sits

220th-cheapest mid model

by blended $/Mtok among 262 listed mid models

502% above the mid median

blended $/Mtok across 262 mid models

Output costs 8× input

$1.25 in / $10.00 out per 1M

Cached input saves 90%

$0.125 vs $1.25 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.25 $10.00 $0.125 Imported from OpenRouter openrouter.ai

More from OpenAI