Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
OpenAI
OpenAI

GPT-4.1 vs GPT-5

A detailed comparison of pricing, benchmarks, and capabilities

108 out of our 483 tracked models have had a price change in March.

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

Key Takeaways

GPT-4.1 wins:

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

GPT-5 wins:

  • Cheaper input tokens
  • Better at coding
  • Has reasoning mode
Price Advantage
GPT-4.1
Benchmark Advantage
GPT-4.1
Context Window
GPT-4.1
Speed
GPT-4.1

Pricing Comparison

Price Comparison

MetricGPT-4.1GPT-5Winner
Input (per 1M tokens)$2.00$1.25 GPT-5
Output (per 1M tokens)$8.00$10.00 GPT-4.1
Cache Read (per 1M)$0.50$0.13 GPT-5
Using a 3:1 input/output ratio, GPT-5 is 2% cheaper overall.

GPT-4.1 Providers

No provider data available

GPT-5 Providers

No provider data available

Benchmark Comparison

8
Benchmarks Compared
3
GPT-4.1 Wins
4
GPT-5 Wins

Benchmark Scores

BenchmarkGPT-4.1GPT-5Winner
Intelligence Index
Overall intelligence score
26.323.9
Coding Index
Code generation & understanding
21.825.1
Math Index
Mathematical reasoning
34.731.7
MMLU Pro
Academic knowledge
80.680.6-
GPQA
Graduate-level science
66.667.3
LiveCodeBench
Competitive programming
45.755.8
Aider
Real-world code editing
52.488.0
AIME
Competition math
43.736.7
GPT-5 wins 4 out of 8 benchmarks.

Cost vs Quality

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

Context & Performance

Context Window

GPT-4.1
1,047,576
tokens
GPT-5
400,000
tokens
GPT-4.1 has a 62% larger context window.

Speed Performance

MetricGPT-4.1GPT-5Winner
Tokens/second72.5 tok/s51.2 tok/s
Time to First Token0.53s0.93s
GPT-4.1 responds 41% faster on average.

Capabilities

Feature Comparison

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

License & Release

PropertyGPT-4.1GPT-5
LicenseProprietaryProprietary
AuthorOpenAIOpenAI
ReleasedApr 2025Aug 2025

GPT-4.1 Modalities

Input
imagetextfile
Output
text

GPT-5 Modalities

Input
textimagefile
Output
text

Related Comparisons

Compare GPT-4.1 with:

Compare GPT-5 with:

Frequently Asked Questions

GPT-5 has cheaper input pricing at $1.25/M tokens. GPT-4.1 has cheaper output pricing at $8.00/M tokens.
GPT-5 scores higher on coding benchmarks with a score of 25.1, compared to GPT-4.1's score of 21.8.
GPT-4.1 has a 1,047,576 token context window, while GPT-5 has a 400,000 token context window.
GPT-4.1 supports vision. GPT-5 supports vision.