LLM Comparison

Claude Sonnet 5 vs Grok 4.7: benchmark scores, pricing & comparison.

Side-by-side Claude Sonnet 5 vs Grok 4.7 comparison across SWE-bench, GPQA, HLE, Terminal-Bench, coding agent scores, token pricing, context window, and AskClash RWT. Green marks the winner on each benchmark.

Rank #19 vs #21AskClash overall scores 63.0 vs 61.7.
Pricing $3.00/$15.0 vs $2.00/$6.00Input and output token prices per 1M tokens when published.
Proprietary vs ProprietaryAnthropic vs xAI.

Claude Sonnet 5 vs Grok 4.7 benchmark comparison

Green cells highlight the winning model for each metric. Scores are cached from the AskClash LLM leaderboard snapshot.

MetricClaude Sonnet 5Grok 4.7
Overall Score63.061.7
Leaderboard Rank#19#21
ACB60.866.4
RWT8.5
Coding Agent Index56.0
HLE57.443.1
GPQA91.1
SWE-bench85.2
SWE-Pro63.2
SWE-Atlas63.0
Terminal-Bench80.476.0
DeepSWE53.873.0
GDPval-AA1618.01695.2
OSWorld81.2
Finance Agent49.2
CharXiv88.3
MMMU-Pro77.3
Input Price (per 1M tokens)$3.00$2.00
Output Price (per 1M tokens)$15.0$6.00
Context Window1M500K
Benchmarks Published129

Claude Sonnet 5 vs Grok 4.7 head-to-head charts

Claude Sonnet 5 leads 3 and Grok 4.7 leads 3 of 6 shared benchmarks. Grok 4.7 is cheaper on a defined 1M-input / 200K-output workload. Charts show only benchmarks both models publish.

Claude Sonnet 5Grok 4.7
Overall
63.0Claude Sonnet 5
61.7Grok 4.7
ACB
60.8Claude Sonnet 5
66.4Grok 4.7
HLE
57.4Claude Sonnet 5
43.1Grok 4.7
Terminal-Bench
80.4Claude Sonnet 5
76.0Grok 4.7
DeepSWE
53.8Claude Sonnet 5
73.0Grok 4.7
GDPval-AA
1618.0Claude Sonnet 5
1695.2Grok 4.7
Claude Sonnet 5
Input$3.00
Output$15.0
Workload$6.00
Context1M
Grok 4.7
Input$2.00
Output$6.00
Workload$3.20
Context500K

Workload = published cost of 1M input + 200K output tokens. Open the live leaderboard for interactive compare charts.

More Claude Sonnet 5 and Grok 4.7 comparisons

Explore how Claude Sonnet 5 and Grok 4.7 stack up against other top-ranked LLMs.

How to read this comparison

Benchmark scores

Higher is better for all benchmark scores (SWE-bench, GPQA, HLE, Terminal-Bench, etc.). Green marks the model with the higher score.

Token pricing

Lower is better for input and output prices. Green marks the cheaper model per 1M tokens.

Coverage matters

Models with fewer disclosed benchmark cells may have inflated percentile scores. Check the benchmark cell count for context.

This comparison page is generated from the AskClash LLM leaderboard cache. Open the live leaderboard for real-time scores and interactive filtering.