Key Takeaways
Claude 3.5 Sonnet wins:
- Larger context window
- Higher intelligence benchmark
- Better at coding
GPT-4o wins:
- Cheaper input tokens
- Cheaper output tokens
- Faster response time
Price Advantage
GPT-4o
Benchmark Advantage
Claude 3.5 Sonnet
Context Window
Claude 3.5 Sonnet
Speed
GPT-4o
Pricing Comparison
Price Comparison
| Metric | Claude 3.5 Sonnet | GPT-4o | Winner |
|---|---|---|---|
| Input (per 1M tokens) | $6.00 | $2.50 | GPT-4o |
| Output (per 1M tokens) | $30.00 | $10.00 | GPT-4o |
| Cache Read (per 1M) | $0.60 | $1.25 | Claude 3.5 Sonnet |
| Cache Write (per 1M) | $7.50 | N/A | Claude 3.5 Sonnet |
Using a 3:1 input/output ratio, GPT-4o is 64% cheaper overall.
Claude 3.5 Sonnet Providers
Vercel $3.00 (Cheapest)
Amazon Bedrock $6.00
GPT-4o Providers
OpenAI $2.50 (Cheapest)
Vercel $2.50 (Cheapest)
Azure $2.50 (Cheapest)
Benchmark Comparison
7
Benchmarks Compared
5
Claude 3.5 Sonnet Wins
0
GPT-4o Wins
Benchmark Scores
| Benchmark | Claude 3.5 Sonnet | GPT-4o | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | 15.9 | 15.6 | - |
Coding Index Code generation & understanding | 30.2 | 16.6 | |
MMLU Pro Academic knowledge | 77.2 | - | - |
GPQA Graduate-level science | 59.9 | 52.1 | |
LiveCodeBench Competitive programming | 38.1 | 31.7 | |
Aider Real-world code editing | 84.2 | 74.4 | |
AIME Competition math | 15.7 | 11.7 |
Claude 3.5 Sonnet significantly outperforms in coding benchmarks.
Cost vs Quality
X-axis:
Y-axis:
Loading chart...
Claude 3.5 Sonnet
Other models
Context & Performance
Context Window
Claude 3.5 Sonnet
200,000
tokens
Max output: 8,192 tokens
GPT-4o
128,000
tokens
Max output: 16,384 tokens
Claude 3.5 Sonnet has a 36% larger context window.
Speed Performance
| Metric | Claude 3.5 Sonnet | GPT-4o | Winner |
|---|---|---|---|
| Tokens/second | 0.0 tok/s | 86.1 tok/s | |
| Time to First Token | 0.00s | 0.58s |
GPT-4o responds Infinity% faster on average.
Capabilities
Feature Comparison
| Feature | Claude 3.5 Sonnet | GPT-4o |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | Claude 3.5 Sonnet | GPT-4o |
|---|---|---|
| License | Proprietary | Proprietary |
| Author | Anthropic | OpenAI |
| Released | Oct 2024 | May 2024 |
Claude 3.5 Sonnet Modalities
Input
textimagefile
Output
text
GPT-4o Modalities
Input
textimagefile
Output
text
