Claude 3.7 Sonnet (Reasoning) vs Grok 4

Comparing 2 AI models · 6 benchmarks · Anthropic, xAI

Most Affordable
Anthropic logo
Claude 3.7 Sonnet (Reasoning)
$3.00/1M
Highest Intelligence
xAI logo
Grok 4
87.7% GPQA
Best for Coding
xAI logo
Grok 4
55.1 Coding Index
Price Difference
1.0x
input cost range

Composite Indices

Intelligence, Coding, Math

Standard Benchmarks

Academic and industry benchmarks

Benchmark Winners

6 tests
Anthropic logo

Claude 3.7 Sonnet (Reasoning)

0

No clear wins

xAI logo

Grok 4

6
  • GPQA
  • MMLU Pro
  • HLE
  • LiveCodeBench
  • MATH 500
  • AIME 2025
Metric
Anthropic logo Claude 3.7 Sonnet (Reasoning)
Anthropic
xAI logo Grok 4
xAI
Pricing
Per 1M tokens
Input Cost $3.00/1M $3.00/1M
Output Cost $15.00/1M $15.00/1M
Blended Cost 3:1 input/output ratio
$6.00/1M $6.00/1M
Specifications
Organization Model creator
Anthropic xAI
Release Date Launch date
Feb 24, 2025 Jul 10, 2025
Performance & Speed
Throughput Output speed
67.1 tok/s 37.2 tok/s
Time to First Token (TTFT) Initial response delay
531ms 9172ms
Latency Time to first answer token
16997ms 9172ms
Composite Indices
Intelligence Index Overall reasoning capability
49.9 65.3
Coding Index Programming ability
35.8 55.1
Math Index Mathematical reasoning
56.3 92.7
Standard Benchmarks
GPQA Graduate-level reasoning
77.2% 87.7%
MMLU Pro Advanced knowledge
83.7% 86.6%
HLE Hard language evaluation
10.3% 23.9%
LiveCodeBench Real-world coding tasks
47.3% 81.9%
MATH 500 Mathematical problems
94.7% 99.0%
AIME 2025 Advanced math competition
56.3% 92.7%
AIME (Original) Math olympiad problems
48.7% 94.3%
SciCode Scientific code generation
40.3% 45.7%
LCR Code review capability
60.7% 68.0%
IFBench Instruction-following
48.3% 53.7%
TAU-bench v2 Tool use & agentic tasks
54.7% 74.9%
TerminalBench Hard CLI command generation
19.9% 37.6%

Key Takeaways

Claude 3.7 Sonnet (Reasoning) offers the best value at $3.00/1M, making it ideal for high-volume applications and cost-conscious projects.

Grok 4 leads in reasoning capabilities with a 87.7% GPQA score, excelling at complex analytical tasks and problem-solving.

Grok 4 achieves a 55.1 coding index, making it the top choice for software development and code generation tasks.

All models support context windows of ∞+ tokens, suitable for processing lengthy documents and maintaining extended conversations.

When to Choose Each Model

Anthropic logo

Claude 3.7 Sonnet (Reasoning)

  • Cost-sensitive applications
  • High-volume processing
xAI logo

Grok 4

  • Complex reasoning tasks
  • Research & analysis
  • Code generation
  • Software development

Cost Calculator

Anthropic logo Claude 3.7 Sonnet (Reasoning)
$0.00
per month
xAI logo Grok 4
$0.00
per month

Costs are estimates based on API pricing. Actual costs may vary based on caching, batch processing, and volume discounts.