Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
OpenAI
OpenAI

GPT-5 vs GPT-5 Codex

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

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

102 out of our 300 tracked models have had a price change in February.

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

Key Takeaways

GPT-5 wins:

  • Higher intelligence benchmark

GPT-5 Codex wins:

  • Faster response time
  • Better at coding
  • Better at math
Price Advantage
GPT-5
Benchmark Advantage
GPT-5 Codex
Context Window
GPT-5 Codex
Speed
GPT-5 Codex

Pricing Comparison

Price Comparison

MetricGPT-5GPT-5 CodexWinner
Input (per 1M tokens)$1.25$1.25Tie
Output (per 1M tokens)$10.00$10.00Tie
Cache Read (per 1M)$125000.00$125000.00Tie
Both models have similar overall pricing.

GPT-5 Providers

OpenAI $1.25 (Cheapest)
Azure $1.25 (Cheapest)

GPT-5 Codex Providers

OpenAI $1.25 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
3
GPT-5 Wins
2
GPT-5 Codex Wins

Benchmark Scores

BenchmarkGPT-5GPT-5 CodexWinner
Intelligence Index
Overall intelligence score
44.644.5-
Coding Index
Code generation & understanding
36.038.9
Math Index
Mathematical reasoning
94.398.7
MMLU Pro
Academic knowledge
87.186.5
GPQA
Graduate-level science
85.483.7
LiveCodeBench
Competitive programming
84.684.0
Aider
Real-world code editing
88.0--
AIME
Competition math
95.7--
GPT-5 wins 3 out of 8 benchmarks.

Cost vs Quality

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

Context & Performance

Context Window

GPT-5
400,000
tokens
Max output: 128,000 tokens
GPT-5 Codex
400,000
tokens
Max output: 128,000 tokens

Speed Performance

MetricGPT-5GPT-5 CodexWinner
Tokens/second101.9 tok/s338.6 tok/s
Time to First Token80.40s14.88s
GPT-5 Codex responds 232% faster on average.

Capabilities

Feature Comparison

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

License & Release

PropertyGPT-5GPT-5 Codex
LicenseProprietaryProprietary
AuthorOpenAIOpenAI
ReleasedAug 2025Sep 2025

GPT-5 Modalities

Input
textimagefile
Output
text

GPT-5 Codex Modalities

Input
textimage
Output
text

Related Comparisons

Compare GPT-5 with:

Compare GPT-5 Codex with:

Frequently Asked Questions

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