Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
OpenAI
OpenAI

Claude Opus 4 vs GPT-4

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

Claude Opus 4 wins:

  • Cheaper input tokens
  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at math
  • Supports vision
  • Has reasoning mode

GPT-4 wins:

  • Cheaper output tokens
  • Better at coding
Price Advantage
Claude Opus 4
Benchmark Advantage
Claude Opus 4
Context Window
Claude Opus 4
Speed
Claude Opus 4

Pricing Comparison

Price Comparison

MetricClaude Opus 4GPT-4Winner
Input (per 1M tokens)$15.00$30.00 Claude Opus 4
Output (per 1M tokens)$75.00$60.00 GPT-4
Cache Read (per 1M)$1500000.00N/A Claude Opus 4
Cache Write (per 1M)$18750000.00N/A Claude Opus 4
Using a 3:1 input/output ratio, Claude Opus 4 is 20% cheaper overall.

Claude Opus 4 Providers

Amazon Bedrock $15.00 (Cheapest)
Google $15.00 (Cheapest)
Anthropic $15.00 (Cheapest)

GPT-4 Providers

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

Benchmark Comparison

8
Benchmarks Compared
2
Claude Opus 4 Wins
0
GPT-4 Wins

Benchmark Scores

BenchmarkClaude Opus 4GPT-4Winner
Intelligence Index
Overall intelligence score
22.212.8
Coding Index
Code generation & understanding
-13.1-
Math Index
Mathematical reasoning
36.3--
MMLU Pro
Academic knowledge
86.0--
GPQA
Graduate-level science
70.1--
LiveCodeBench
Competitive programming
54.2--
Aider
Real-world code editing
72.067.7
AIME
Competition math
56.3--
GPT-4 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Claude Opus 4
Other models

Context & Performance

Context Window

Claude Opus 4
200,000
tokens
Max output: 32,000 tokens
GPT-4
8,191
tokens
Max output: 4,096 tokens
Claude Opus 4 has a 96% larger context window.

Speed Performance

MetricClaude Opus 4GPT-4Winner
Tokens/second38.9 tok/s32.2 tok/s
Time to First Token1.31s0.72s
Claude Opus 4 responds 21% faster on average.

Capabilities

Feature Comparison

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

License & Release

PropertyClaude Opus 4GPT-4
LicenseProprietaryProprietary
AuthorAnthropicOpenAI
ReleasedMay 2025May 2023

Claude Opus 4 Modalities

Input
imagetextfile
Output
text

GPT-4 Modalities

Input
text
Output
text

Related Comparisons

Compare Claude Opus 4 with:

Compare GPT-4 with:

Frequently Asked Questions

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