GPT-5.2 Codex

by OpenAIChatdeprecated 2026-07-23

Coding-optimized GPT model for repository edits, reviews, and agentic software work

Context
400K tokens
Max output
128,000 tokens
Released
2025-12-11
Weights
Closed

Feed

openai/gpt-5-2-codex · also seen as azure/gpt-5.2-codex, eu/gpt-5.2-codex, us/gpt-5.2-codex, openai/gpt-5.2-codex-20260114

Specifications

Full facts as recorded, incl. what is unknown.

Released
2025-12-11
Weights
Closed
Input
Text, Image
Output
Text
Context window
400,000 max across endpoints
Max output
128,000
Providers
5 + 17 gateways, not counted as providers
Epoch Capabilities Index
not evaluated
Direct price range
$1.75 in · $14 out per 1M tokens · 2 of 5 providers have a comparable price
More details
Last updated
2026-01-15
Knowledge cutoff
2025-08-31
Developer country
United States of America

Capabilities

Across all endpoints: supported if any endpoint supports it.

  • Tool calling
  • Parallel tools
  • Structured output
  • Reasoning
  • Image input
  • PDF input
  • Audio input
  • Audio outputunknown
  • Video input
  • Prompt caching
  • Web search
  • Computer useunknown
  • System messages
  • Assistant prefillunknown
  • Temperature
  • Streaming
  • Attachments

Endpoints

One row per provider and variant; gateways are listed separately.

Loading endpoints…

Price history

Atom feed

No change since 19 Oct 2026. The cheapest direct price has been $1.75 in / $14 out per 1M tokens at Azure on every data refresh since then.

Tracked from 19 Oct 2026. Headline-eligible direct prices only, so a price the sanity check flags never draws a spike. Series as JSON

Cost calculator

Loading endpoints…

Similarly priced models

Blended rate per 1M tokens, each at its own cheapest provider (10M input : 2M output mix).

ModelBlended/1MIn/1MOut/1MContextvs GPT-5.2 Codex
GPT-5.2 ChatOpenAI$3.79$1.75$14128K+0%
GPT-5.3 ChatOpenAI$3.79$1.75$14128K+0%
GPT-5.3 CodexOpenAI$3.79$1.75$14400K+0%
GPT-5.3 Codex SparkOpenAI$3.79$1.75$14128K+0%
GLM 5.3 PrimeZ.ai (Zhipu AI)$3.80$2.80$8.801M+0%
Command ACohere$3.75$2.50$10256K−1% cheaper
Command A PlusCohere$3.75$2.50$10128K−1% cheaper
Command A ReasoningCohere$3.75$2.50$10256K−1% cheaper

More from OpenAI

Newest OpenAI models in the catalogue. All OpenAI models

ModelReleasedContextListed price
GPT-6.1 Sol Ultrafast2026-10-081.05Mfrom $12
GPT-6 Luna Decisions2026-10-061.05Munpriced
GPT-6.1 Sol2026-09-291.05Mfrom $2.00
GPT-6.1 Sol Pro2026-09-291.05Mfrom $2.00
GPT-6 Luna2026-09-221.05Mfrom $0.10
GPT-6 Sol2026-09-221.05Mfrom $2.00
GPT-6 Sol Pro2026-09-221.05Mfrom $2.00
GPT-6 Luna Pro2026-09-221.05Mfrom $0.10
Heads up: prices are indicative list rates scraped from provider pricing pages; verify with the provider before relying on them. Report incorrect data for this model