Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
OpenAI
OpenAI

GPT-4 vs GPT-4o

A detailed comparison of pricing, benchmarks, and capabilities

Sponsor Price Per Token Reach 5000+ developers comparing LLM APIs

116 out of our 296 tracked models have had a price change in January.

Make informed model choices with updates on pricing, new releases, and tools with our weekly newsletter.

Key Takeaways

GPT-4 wins:

  • Better at coding

GPT-4o wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Supports vision
Price Advantage
GPT-4o
Benchmark Advantage
GPT-4
Context Window
GPT-4o
Speed
GPT-4o

Pricing Comparison

Price Comparison

MetricGPT-4GPT-4oWinner
Input (per 1M tokens)$30.00$2.50 GPT-4o
Output (per 1M tokens)$60.00$10.00 GPT-4o
Cache Read (per 1M)N/A$1250000.00 GPT-4o
Using a 3:1 input/output ratio, GPT-4o is 88% cheaper overall.

GPT-4 Providers

OpenAI $30.00 (Cheapest)
OpenRouter $30.00 (Cheapest)
Azure $30.00 (Cheapest)

GPT-4o Providers

OpenAI $2.50 (Cheapest)
Vercel $2.50 (Cheapest)
OpenRouter $2.50 (Cheapest)
Azure $2.50 (Cheapest)

Benchmark Comparison

6
Benchmarks Compared
0
GPT-4 Wins
2
GPT-4o Wins

Benchmark Scores

BenchmarkGPT-4GPT-4oWinner
Intelligence Index
Overall intelligence score
12.815.6
Coding Index
Code generation & understanding
13.1--
GPQA
Graduate-level science
-52.1-
LiveCodeBench
Competitive programming
-31.7-
Aider
Real-world code editing
67.774.4
AIME
Competition math
-11.7-
GPT-4 significantly outperforms in coding benchmarks.

Cost vs Quality

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

Context & Performance

Context Window

GPT-4
8,191
tokens
Max output: 4,096 tokens
GPT-4o
128,000
tokens
Max output: 16,384 tokens
GPT-4o has a 94% larger context window.

Speed Performance

MetricGPT-4GPT-4oWinner
Tokens/second25.4 tok/s77.3 tok/s
Time to First Token0.81s0.51s
GPT-4o responds 205% faster on average.

Capabilities

Feature Comparison

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

License & Release

PropertyGPT-4GPT-4o
LicenseProprietaryProprietary
AuthorOpenAIOpenAI
ReleasedMay 2023May 2024

GPT-4 Modalities

Input
text
Output
text

GPT-4o Modalities

Input
textimagefile
Output
text

Related Comparisons

Compare GPT-4 with:

Compare GPT-4o with:

Frequently Asked Questions

GPT-4o has cheaper input pricing at $2.50/M tokens. GPT-4o has cheaper output pricing at $10.00/M tokens.
GPT-4 scores higher on coding benchmarks with a score of 13.1, compared to GPT-4o's score of N/A.
GPT-4 has a 8,191 token context window, while GPT-4o has a 128,000 token context window.
GPT-4 does not support vision. GPT-4o supports vision.