Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
OpenAI
OpenAI

GPT-5 Codex vs GPT-5.2

A detailed comparison of pricing, benchmarks, and capabilities

Track Your LLM Costs Across Every Provider Broken down by user, feature, and endpoint

107 out of our 483 tracked models have had a price change in March.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

GPT-5 Codex wins:

  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math

GPT-5.2 wins:

  • Cheaper input tokens
  • Cheaper output tokens
Price Advantage
GPT-5.2
Benchmark Advantage
GPT-5 Codex
Context Window
GPT-5.2
Speed
GPT-5 Codex

Pricing Comparison

Price Comparison

MetricGPT-5 CodexGPT-5.2Winner
Input (per 1M tokens)$1.25$0.88 GPT-5.2
Output (per 1M tokens)$10.00$7.00 GPT-5.2
Cache Read (per 1M)$0.13$0.17 GPT-5 Codex
Using a 3:1 input/output ratio, GPT-5.2 is 30% cheaper overall.

GPT-5 Codex Providers

No provider data available

GPT-5.2 Providers

No provider data available

Benchmark Comparison

6
Benchmarks Compared
6
GPT-5 Codex Wins
0
GPT-5.2 Wins

Benchmark Scores

BenchmarkGPT-5 CodexGPT-5.2Winner
Intelligence Index
Overall intelligence score
44.633.6
Coding Index
Code generation & understanding
38.934.7
Math Index
Mathematical reasoning
98.751.0
MMLU Pro
Academic knowledge
86.581.4
GPQA
Graduate-level science
83.771.2
LiveCodeBench
Competitive programming
84.066.9
GPT-5 Codex shows stronger mathematical reasoning abilities.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
GPT-5 Codex
Other models

Context & Performance

Context Window

GPT-5 Codex
400,000
tokens
GPT-5.2
400,000
tokens

Speed Performance

MetricGPT-5 CodexGPT-5.2Winner
Tokens/second174.9 tok/s61.9 tok/s
Time to First Token5.91s0.59s
GPT-5 Codex responds 182% faster on average.

Capabilities

Feature Comparison

FeatureGPT-5 CodexGPT-5.2
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGPT-5 CodexGPT-5.2
LicenseProprietaryProprietary
AuthorOpenAIOpenAI
ReleasedSep 2025Dec 2025

GPT-5 Codex Modalities

Input
textimage
Output
text

GPT-5.2 Modalities

Input
fileimagetext
Output
text

Related Comparisons

Compare GPT-5 Codex with:

Compare GPT-5.2 with:

Frequently Asked Questions

GPT-5.2 has cheaper input pricing at $0.88/M tokens. GPT-5.2 has cheaper output pricing at $7.00/M tokens.
GPT-5 Codex scores higher on coding benchmarks with a score of 38.9, compared to GPT-5.2's score of 34.7.
GPT-5 Codex has a 400,000 token context window, while GPT-5.2 has a 400,000 token context window.
GPT-5 Codex supports vision. GPT-5.2 supports vision.