GPT-5.2-Codex

OpenAI model details for pricing, context, and release tracking.

Pricing data updated:  Prices normalized to USD per 1M tokens Sample workload: 1M input + 500K output
Model Specs
ProviderOpenAI
Model IDopenai/gpt-5.2-codex
Prompt Price
per 1M tokens
$1.75
Completion Price
per 1M tokens
$14
Sample Workload Cost
1M input + 500K output
$8.75
Context Window400K
Release Date2026-01-14
Popularity RankUnranked
Daily DemandN/A

Estimate your workload cost

Estimate this model for your workload

Prices are normalized to USD per 1M tokens.
GPT-5.2-Codex Calculating… Estimated monthly API cost
Unit prices $1.75 input / $14 output Per 1M tokens

This estimate uses normalized public API pricing per 1M tokens. It is a planning aid, not a billing quote. Verify provider pricing, limits, and terms before production use.

Model Introduction

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

Best Fit

GPT-5.2-Codex is best suited for general API evaluation.

Cost Example

A 1M input token plus 500K output token workload is estimated at $8.75.

Decision Shortcuts

Compare this model

Search head-to-head pages that include GPT-5.2-Codex and review input price, output price, context, and sample workload cost.

Find comparisons

OpenAI catalog

See other OpenAI models before narrowing your shortlist.

Open provider hub

Cheaper alternatives

Start from models ranked by a standard cost estimate when budget is the first constraint.

Browse low-cost models

Popular Comparisons

Search all comparisons
ComparisonNewest Release
Aion-2.0 vs GPT-5.2-Codex2026-02-23
Anthropic Claude Haiku Latest vs GPT-5.2-Codex2026-04-27
Anthropic Claude Sonnet Latest vs GPT-5.2-Codex2026-04-27
🔥Claude 4.6 Opus vs GPT-5.2-Codex2026-01-14
Claude Opus 4.6 (Fast) vs GPT-5.2-Codex2026-04-07
Claude Opus 4.6 vs GPT-5.2-Codex2026-02-04
NewClaude Opus 4.7 (Fast) vs GPT-5.2-Codex2026-05-12
🔥Claude Opus 4.7 vs GPT-5.2-Codex2026-04-16
Claude Opus Latest vs GPT-5.2-Codex2026-04-21
🔥Claude Sonnet 4.6 vs GPT-5.2-Codex2026-02-17