OpenAI
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 every 10 minutes.

Cost calculator

Cheaper alternatives to GPT-5.2-Codex

ModelInputOutputContextIntel.
Z.ai (Zhipu)
GLM 5.3 Flash
Z.ai (Zhipu)
$0.0399$0.07841M27.8compare
$0.022$0.401M—compare
$0.098$0.291M28.6compare
Meta Llama
Llama 4 Scout
Meta Llama
$0.10$0.301.3M—compare
$0.14$0.281.1M26.7compare
$0.18$0.18164K—compare
$0.10$0.501M36.5compare
$0.10$0.501.1M—compare

Using a relay or third-party API?

Check for free whether it really serves GPT-5.2-Codex: output fingerprint, tokenizer and billing evidence, results in 1–3 minutes.

Check authenticity →

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

What are cheaper alternatives to GPT-5.2-Codex?

Cheaper options include GLM 5.3 Flash ($0.0399/$0.0784), DeepSeek V4.1 Flash ($0.022/$0.40), DeepSeek V4.1 Flash 1017 ($0.098/$0.29), Llama 4 Scout ($0.10/$0.30).