Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
OpenAI
OpenAI

GPT-5.2-Codex vs GPT-5.4 Pro

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

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

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

Key Takeaways

GPT-5.2-Codex wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Has reasoning mode

GPT-5.4 Pro wins:

  • Larger context window
Price Advantage
GPT-5.2-Codex
Benchmark Advantage
GPT-5.2-Codex
Context Window
GPT-5.4 Pro
Speed
GPT-5.2-Codex

Pricing Comparison

Price Comparison

MetricGPT-5.2-CodexGPT-5.4 ProWinner
Input (per 1M tokens)$1.75$30.00 GPT-5.2-Codex
Output (per 1M tokens)$14.00$180.00 GPT-5.2-Codex
Cache Read (per 1M)$0.17N/A GPT-5.2-Codex
Using a 3:1 input/output ratio, GPT-5.2-Codex is 93% cheaper overall.

GPT-5.2-Codex Providers

No provider data available

GPT-5.4 Pro Providers

No provider data available

Benchmark Comparison

3
Benchmarks Compared
0
GPT-5.2-Codex Wins
0
GPT-5.4 Pro Wins

Benchmark Scores

BenchmarkGPT-5.2-CodexGPT-5.4 ProWinner
Intelligence Index
Overall intelligence score
49.0--
Coding Index
Code generation & understanding
43.0--
GPQA
Graduate-level science
89.9--
GPT-5.2-Codex significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Other models

Context & Performance

Context Window

GPT-5.2-Codex
400,000
tokens
GPT-5.4 Pro
1,050,000
tokens
GPT-5.4 Pro has a 62% larger context window.

Speed Performance

MetricGPT-5.2-CodexGPT-5.4 ProWinner
Tokens/second67.5 tok/sN/A
Time to First Token9.85sN/A

Capabilities

Feature Comparison

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

License & Release

PropertyGPT-5.2-CodexGPT-5.4 Pro
LicenseProprietaryProprietary
AuthorOpenAIOpenAI
ReleasedJan 2026Mar 2026

GPT-5.2-Codex Modalities

Input
textimage
Output
text

GPT-5.4 Pro Modalities

Input
textimagefile
Output
text

Related Comparisons

Compare GPT-5.2-Codex with:

Compare GPT-5.4 Pro with:

Frequently Asked Questions

GPT-5.2-Codex has cheaper input pricing at $1.75/M tokens. GPT-5.2-Codex has cheaper output pricing at $14.00/M tokens.
GPT-5.2-Codex scores higher on coding benchmarks with a score of 43.0, compared to GPT-5.4 Pro's score of N/A.
GPT-5.2-Codex has a 400,000 token context window, while GPT-5.4 Pro has a 1,050,000 token context window.
GPT-5.2-Codex supports vision. GPT-5.4 Pro supports vision.
Advertise with us