EN / 中文
Model prices / OpenAI / GPT-5.2 Codex

GPT-5.2 Codex

OpenAI · released 2025-12-11

No price from the maker itself is on record for GPT-5.2 Codex. The lowest of 19 providers is AIHubMix: $1.75 per 1M input tokens and $14 per 1M output tokens (as of 2026-11-12). Context window: 400K tokens, up to 128K output tokens per request.

Price by providerUSD per 1M tokens

ProviderInputOutputCachedNotes
AIHubMixLowestgpt-5.2-codex
$1.75$14$0.175LowestOfficial docs
EEden AIazure/gpt-5.2-codex
$1.75$14$0.175Official docs
IImpossiblopenai/gpt-5.2-codex
$1.75$14$0.175Official docs
JJiekou.AIgpt-5.2-codex
$1.75$14$0.175Official docs
KKilo Gatewayopenai/gpt-5.2-codex
$1.75$14$0.175Official docs
$1.75$14$0.175Official docs
LLLM Gatewayazure/gpt-5.2-codex
$1.75$14$0.175Official docs
NNanoGPTopenai/gpt-5.2-codex
$1.75$14$0.175Official docs
OOfoxopenai/gpt-5.2-codex
$1.75$14$0.18Official docs
OpenCodegpt-5.2-codex
$1.75$14$0.175Official docs
OpenRouteropenai/gpt-5.2-codex
$1.75$14$0.175Official docs
OOrcaRouteropenai/gpt-5.2-codex
$1.75$14$0.175Official docs
7 more listings
ProviderInputOutputCachedNotes
Vercel AI Gatewayopenai/gpt-5.2-codex
$1.75$14$0.175Official docs
ZenMuxopenai/gpt-5.2-codex
$1.75$14$0.175Official docs
QQiHangDeprecatedgpt-5.2-codex
$0.14$1.14—DeprecatedOfficial docs
PoeDeprecatedopenai/gpt-5.2-codex
$1.6$13$0.16DeprecatedOfficial docs
AAbacusDeprecatedgpt-5.2-codex
$1.75$14$0.175DeprecatedOfficial docs
VVivgridDeprecatedgpt-5.2-codex
$1.75$14$0.175DeprecatedOfficial docs
GGitLab DuoDeprecatedduo-chat-gpt-5-2-codex
$0$0—DeprecatedOfficial docs

Providers are those listed by models.dev. This site has not vetted them one by one; each provider's own page has the binding price.

About

Code-specialist GPT for repository edits, reviews, and long-running software agents

Description from models.dev.

Specs

Type
Text
Context
400K
Max output
128K
Input
Text, Image, PDF
Output
Text
Reasoning
Yes
Tool calling
Yes
Structured output
Yes
Knowledge cutoff
2025-08-31
Open weights
No
Released
2025-12-11

Source

Prices and specs come from models.dev (MIT licence), updated 2026-11-12. Each provider's name links to its official docs. A provider priced at 0 usually includes the model in a subscription; it is not necessarily a free API.