Claude 3 Opus vs GPT-4
API pricing, context window and capabilities for Claude 3 Opus and GPT-4, side by side. Prices are the cheapest serving route per 1M tokens, verified against LiteLLM and OpenRouter.
Verdict
computed from the published numbersClaude 3 Opus wins on coding, on intelligence and on context window.
Price
Tied
Coding
Claude 3 Opus
Intelligence
Claude 3 Opus
Context window
Claude 3 Opus
Key takeaways
who wins on what, from the published numbersClaude 3 Opus wins
- Cheaper input ($15.00 vs $30.00 /1M)
- Larger context window (200K vs 8K)
- Supports vision
- Supports structured output
GPT-4 wins
- Cheaper output ($75.00 vs $60.00 /1M)
- More serving providers (2 vs 3)
- Supports prompt caching
Cheaper overall
Tied
Larger context
Claude 3 Opus
200K
More providers
GPT-4
3 providers
Pricing & specs
cheapest serving route · per 1M tokens| Claude 3 Opus | GPT-4 | |
|---|---|---|
| Input $/1M | $15.00 best | $30.00 |
| Output $/1M | $75.00 | $60.00 best |
| Context window | 200K best | 8K |
| Max output | 4K | 4K |
| Serving providers | 2 | 3 best |
| Released | 2024-03-04 | 2023-11-06 |
Benchmarks
Artificial Analysis indices, side by side| Claude 3 Opus | GPT-4 | |
|---|---|---|
| Intelligence | 11.8 best | 7.0 |
| Coding | 19.5 best | 13.1 |
| GPQA Diamond | 49% | Not available |
| Output speed | Not available | 42 t/s |
| Latency (TTFT) | Not available | 0.98s |
Cost calculator
choose a serving route for each sideInput tokens / month
Output tokens / month
Claude 3 Opus
via Vercel AI Gateway
$150
GPT-4
via OpenAI
$210
Capabilities
feature support, side by side| Feature | Claude 3 Opus | GPT-4 |
|---|---|---|
| Vision | ✓ | — |
| Tool use | ✓ | ✓ |
| Reasoning | — | — |
| Audio | — | — |
| Prompt caching | — | ✓ |
| Structured output | ✓ | — |
| Web search | — | — |
Related comparisons
Frequently asked questions
Which is cheaper, Claude 3 Opus or GPT-4?
Claude 3 Opus is cheaper for input ($15.00 vs $30.00 per 1M tokens). GPT-4 is cheaper for output ($75.00 vs $60.00 per 1M tokens).
What is the context window difference between Claude 3 Opus and GPT-4?
Claude 3 Opus has a 200K-token context window and GPT-4 has 8K tokens, so Claude 3 Opus can take a larger prompt.
How do Claude 3 Opus and GPT-4 compare on benchmarks?
On the tracked Artificial Analysis indices, Claude 3 Opus leads on coding, and Claude 3 Opus leads on intelligence.
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI