O
OpenAI

GPT-5.2-Codex pricing & price history

visionreasoningtoolsopenai/gpt-5.2-codex

GPT-5.2-Codex by OpenAI costs $1.75 per 1M input tokens and $14.00 per 1M output tokens, with a 400K token context window.

$1.75Input / 1M tokens
$14.00Output / 1M tokens
400KContext window
Intelligence index

Price history

$0.00$8.05$16.10 2026-09-24today input /1M output /1M

No price changes since tracking began on 2026-09-24. We check hourly.

Cost calculator

Cheaper alternatives to GPT-5.2-Codex

ModelInputOutputContextIntel.
$0.15$0.15262K5.5compare
M
Llama 4 Scout
Meta Llama
$0.10$0.301.3Mcompare
$0.14$0.281Mcompare
$0.18$0.18164Kcompare
$0.10$0.501.1Mcompare
O
$0.10$0.501.1M37.3compare
$0.20$0.20131Kcompare
$0.20$0.20262K6compare

About GPT-5.2-Codex

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

FAQ

How much does GPT-5.2-Codex cost?

GPT-5.2-Codex by OpenAI costs $1.75 per 1M input tokens and $14.00 per 1M output tokens, with a 400K token context window. A typical request with 2,000 input and 500 output tokens costs about $0.0105.

What is the context window of GPT-5.2-Codex?

GPT-5.2-Codex supports up to 400,000 tokens of context and up to 128,000 output tokens per request.

Has GPT-5.2-Codex’s price changed?

No price changes recorded since ModelBank started tracking it on 2026-09-24.

Is GPT-5.2-Codex being deprecated?

No retirement date has been announced for GPT-5.2-Codex as of 2026-09-24.

What are cheaper alternatives to GPT-5.2-Codex?

Cheaper options include Ministral 3 8B 2512 ($0.15/$0.15), Llama 4 Scout ($0.10/$0.30), MiMo-V2.6-Flash ($0.14/$0.28), Llama Guard 4 12B ($0.18/$0.18).