Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
OpenAI
OpenAI

GPT-5 Codex vs o4 Mini High

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

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

Key Takeaways

GPT-5 Codex wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math

o4 Mini High wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Has reasoning mode
Price Advantage
o4 Mini High
Benchmark Advantage
GPT-5 Codex
Context Window
GPT-5 Codex
Speed
GPT-5 Codex

Pricing Comparison

Price Comparison

MetricGPT-5 Codexo4 Mini HighWinner
Input (per 1M tokens)$1.25$1.10 o4 Mini High
Output (per 1M tokens)$10.00$4.40 o4 Mini High
Cache Read (per 1M)$125000.00$275000.00 GPT-5 Codex
Using a 3:1 input/output ratio, o4 Mini High is 44% cheaper overall.

GPT-5 Codex Providers

OpenAI $1.25 (Cheapest)

o4 Mini High Providers

OpenAI $1.10 (Cheapest)

Benchmark Comparison

6
Benchmarks Compared
0
GPT-5 Codex Wins
0
o4 Mini High Wins

Benchmark Scores

BenchmarkGPT-5 Codexo4 Mini HighWinner
Intelligence Index
Overall intelligence score
44.5--
Coding Index
Code generation & understanding
38.9--
Math Index
Mathematical reasoning
98.7--
MMLU Pro
Academic knowledge
86.5--
GPQA
Graduate-level science
83.7--
LiveCodeBench
Competitive programming
84.0--
GPT-5 Codex significantly outperforms in coding benchmarks.

Cost vs Quality

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

Context & Performance

Context Window

GPT-5 Codex
400,000
tokens
Max output: 128,000 tokens
o4 Mini High
200,000
tokens
Max output: 100,000 tokens
GPT-5 Codex has a 50% larger context window.

Speed Performance

MetricGPT-5 Codexo4 Mini HighWinner
Tokens/second314.7 tok/sN/A
Time to First Token10.95sN/A

Capabilities

Feature Comparison

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

License & Release

PropertyGPT-5 Codexo4 Mini High
LicenseProprietaryProprietary
AuthorOpenAIOpenAI
ReleasedSep 2025Apr 2025

GPT-5 Codex Modalities

Input
textimage
Output
text

o4 Mini High Modalities

Input
imagetextfile
Output
text

Related Comparisons

Compare GPT-5 Codex with:

Compare o4 Mini High with:

Frequently Asked Questions

o4 Mini High has cheaper input pricing at $1.10/M tokens. o4 Mini High has cheaper output pricing at $4.40/M tokens.
GPT-5 Codex scores higher on coding benchmarks with a score of 38.9, compared to o4 Mini High's score of N/A.
GPT-5 Codex has a 400,000 token context window, while o4 Mini High has a 200,000 token context window.
GPT-5 Codex supports vision. o4 Mini High supports vision.