Compare/Claude 4 Sonnet (Reasoning) vs Grok 4

Claude 4 Sonnet (Reasoning)vsGrok 4

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

Anthropic

Claude 4 Sonnet (Reasoning)

Input
$3/M
Output
$15/M
Speed
45 tok/s
TTFT
8.27s
xAI

Grok 4

Input
$3/M
Output
$15/M
Speed
48 tok/s
TTFT
7.70s

Winner by Category

Cheaper
Tie
Faster (tok/s)
Grok 4
Lower Latency
Grok 4
Benchmarks (2-10)
Grok 4

Pricing Comparison

MetricClaude 4 Sonnet (Reasoning)Grok 4
Input ($/M tokens)$3$3
Output ($/M tokens)$15$15
Cost for 1M input + 100K output tokens:
Claude 4 Sonnet (Reasoning)$4.50
Grok 4$4.50

Speed Comparison

Output Speed (tokens/s) — higher is better
Claude 4 Sonnet (Reasoning)
45 tok/s
Grok 4
48 tok/s
Time to First Token (seconds) — lower is better
Claude 4 Sonnet (Reasoning)
8.27s
Grok 4
7.70s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
38.741.5
Coding Index
34.140.5
Math Index
74.392.7
GPQA Diamond
77.7%87.7%
MMLU-Pro
84.2%86.6%
LiveCodeBench
65.5%81.9%
AIME 2025
74.3%92.7%
MATH-500
99.1%99.0%
Humanity's Last Exam
9.6%23.9%
SciCode
40.0%45.7%
IFBench
54.7%53.7%
TerminalBench
31.1%37.9%
Claude 4 Sonnet (Reasoning)2 wins
10 winsGrok 4

Frequently Asked Questions

Which is cheaper, Claude 4 Sonnet (Reasoning) or Grok 4?

Both models have similar pricing. Check the detailed breakdown above for input vs output token costs.

Which model performs better on benchmarks?

Grok 4 wins 10 out of 12 benchmarks compared to 2 for Claude 4 Sonnet (Reasoning). See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

Grok 4 generates tokens faster at 48 tok/s vs 45 tok/s. However, Grok 4 has lower time-to-first-token (7.70s vs 8.27s).

When should I use Claude 4 Sonnet (Reasoning) vs Grok 4?

Choose based on your priorities: both are similarly priced, Grok 4 for stronger benchmark performance, and Grok 4 for faster generation. For latency-sensitive apps, check the TTFT comparison above.