OpenAI: gpt-5.2-codex

deprecatedproprietary

Status: Shut down

Intelligence
Reasoning
Speed
Context
400K
Max output
128K
Input price
$1.75/1M tokens
Output price
$14/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming

Details

Model IDopenai/gpt-5.2-codex
Creator OpenAI
Familygpt-5.2
Licenseproprietary
Statusdeprecated
Typechat
Input modalitiestext
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window400K tokens
Max input272K tokens
Max output128K tokens
Reasoning tokensYes
Knowledge cutoff
Release date
Deprecation date
Sourceofficial

Pricing

Input
$1.75
Output
$14
Cache write
—
Cache read
—
Batch in
—
Batch out
—

Family Comparison: gpt-5.2

ModelContextMax outPricing
Azure OpenAI: gpt-5.2-chat——$1.75$14
Azure OpenAI: gpt-5.2-codex——$1.75$14
Azure OpenAI: gpt-5.2——$1.75$14
OpenAI: gpt-5.2-20251211400K128K$1.75$14
OpenAI: gpt-5.2-chat-20251211——$1.75$14
OpenAI: gpt-5.2-chat——$1.75$14
OpenAI: gpt-5.2-codex-20260114——$1.75$14
OpenAI: gpt-5.2-codex400K128K$1.75$14
OpenAI: gpt-5.2400K128K$1.75$14
OpenRouter: openai/gpt-5.2-20251211——$1.75$14
OpenRouter: openai/gpt-5.2-chat-20251211——$1.75$14
OpenRouter: openai/gpt-5.2-chat——$1.75$14
OpenRouter: openai/gpt-5.2-codex-20260114——$1.75$14
OpenRouter: openai/gpt-5.2-codex——$1.75$14
OpenRouter: openai/gpt-5.2——$1.75$14
OpenAI: gpt-5.2-pro-20251211400K128K$21$168
OpenAI: gpt-5.2-pro400K128K$21$168
OpenRouter: openai/gpt-5.2-pro-20251211——$21$168
OpenRouter: openai/gpt-5.2-pro——$21$168

API

GET/v1/models/cloudflare-ai-gateway/openai/gpt-5.2-codex