Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
OpenAI
OpenAI

GPT-5 Codex vs o3

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:

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

o3 wins:

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

Pricing Comparison

Price Comparison

MetricGPT-5 Codexo3Winner
Input (per 1M tokens)$1.25$2.00 GPT-5 Codex
Output (per 1M tokens)$10.00$8.00 o3
Cache Read (per 1M)$125000.00$500000.00 GPT-5 Codex
Using a 3:1 input/output ratio, GPT-5 Codex is 2% cheaper overall.

GPT-5 Codex Providers

OpenAI $1.25 (Cheapest)

o3 Providers

OpenAI $2.00 (Cheapest)
Vercel $2.00 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
6
GPT-5 Codex Wins
0
o3 Wins

Benchmark Scores

BenchmarkGPT-5 Codexo3Winner
Intelligence Index
Overall intelligence score
44.538.3
Coding Index
Code generation & understanding
38.938.4
Math Index
Mathematical reasoning
98.788.3
MMLU Pro
Academic knowledge
86.585.3
GPQA
Graduate-level science
83.782.7
LiveCodeBench
Competitive programming
84.080.8
Aider
Real-world code editing
-81.3-
AIME
Competition math
-90.3-
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
Max output: 128,000 tokens
o3
200,000
tokens
Max output: 100,000 tokens
GPT-5 Codex has a 50% larger context window.

Speed Performance

MetricGPT-5 Codexo3Winner
Tokens/second314.7 tok/s109.7 tok/s
Time to First Token10.95s20.34s
GPT-5 Codex responds 187% faster on average.

Capabilities

Feature Comparison

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

License & Release

PropertyGPT-5 Codexo3
LicenseProprietaryProprietary
AuthorOpenAIOpenAI
ReleasedSep 2025Apr 2025

GPT-5 Codex Modalities

Input
textimage
Output
text

o3 Modalities

Input
imagetextfile
Output
text

Related Comparisons

Compare GPT-5 Codex with:

Compare o3 with:

Frequently Asked Questions

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