Key Takeaways
Claude 3.7 Sonnet wins:
- Has reasoning mode
Grok 4 wins:
- Larger context window
- Faster response time
- Higher intelligence benchmark
- Better at coding
- Better at math
Price Advantage
Claude 3.7 Sonnet
Benchmark Advantage
Grok 4
Context Window
Grok 4
Speed
Grok 4
Pricing Comparison
Price Comparison
| Metric | Claude 3.7 Sonnet | Grok 4 | Winner |
|---|---|---|---|
| Input (per 1M tokens) | $3.00 | $3.00 | Tie |
| Output (per 1M tokens) | $15.00 | $15.00 | Tie |
| Cache Read (per 1M) | $300000.00 | $750000.00 | Claude 3.7 Sonnet |
| Cache Write (per 1M) | $3750000.00 | N/A | Claude 3.7 Sonnet |
Both models have similar overall pricing.
Claude 3.7 Sonnet Providers
Vercel $3.00 (Cheapest)
Amazon Bedrock $3.00 (Cheapest)
Google $3.00 (Cheapest)
Anthropic $3.00 (Cheapest)
Grok 4 Providers
Vercel $3.00 (Cheapest)
xAI $3.00 (Cheapest)
Benchmark Comparison
8
Benchmarks Compared
0
Claude 3.7 Sonnet Wins
8
Grok 4 Wins
Benchmark Scores
| Benchmark | Claude 3.7 Sonnet | Grok 4 | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | 30.8 | 41.4 | |
Coding Index Code generation & understanding | 26.7 | 40.5 | |
Math Index Mathematical reasoning | 21.0 | 92.7 | |
MMLU Pro Academic knowledge | 80.3 | 86.6 | |
GPQA Graduate-level science | 65.6 | 87.7 | |
LiveCodeBench Competitive programming | 39.4 | 81.9 | |
Aider Real-world code editing | 64.9 | 79.6 | |
AIME Competition math | 22.3 | 94.3 |
Grok 4 significantly outperforms in coding benchmarks.
Cost vs Quality
X-axis:
Y-axis:
Loading chart...
Claude 3.7 Sonnet
Other models
Context & Performance
Context Window
Claude 3.7 Sonnet
200,000
tokens
Max output: 64,000 tokens
Grok 4
256,000
tokens
Grok 4 has a 22% larger context window.
Speed Performance
| Metric | Claude 3.7 Sonnet | Grok 4 | Winner |
|---|---|---|---|
| Tokens/second | 0.0 tok/s | 38.5 tok/s | |
| Time to First Token | 0.00s | 15.96s |
Grok 4 responds Infinity% faster on average.
Capabilities
Feature Comparison
| Feature | Claude 3.7 Sonnet | Grok 4 |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | Claude 3.7 Sonnet | Grok 4 |
|---|---|---|
| License | Proprietary | Proprietary |
| Author | Anthropic | Xai |
| Released | Feb 2025 | Jul 2025 |
Claude 3.7 Sonnet Modalities
Input
textimagefile
Output
text
Grok 4 Modalities
Input
imagetext
Output
text
