Claude Opus 5 vs Grok 4.7

Claude Opus 5 (Anthropic) and Grok 4.7 (xAI) compared on price, context window, speed and independent benchmarks. Claude Opus 5 scores higher on the Artificial Analysis Intelligence Index (50.8 vs 46.4), while Grok 4.7 is 3.3× cheaper on a blended basis. Pick Claude Opus 5 for the hardest tasks and Grok 4.7 when cost dominates.

Claude Opus 5Grok 4.7
ProviderAnthropicxAI
Input $/1M$5.00$2.00
Output $/1M$25.0$6.00
Blended $/1M (3:1)$10.0$3.00
Cached input $/1M$0.50$0.50
Context window1M500K
Knowledge cutoff2026-052026-05
Licenseproprietaryproprietary
Speed (tok/s)5747
Artificial Analysis Intelligence Index50.846.4
LMArena Elo1505—
GPQA Diamond93.2%—
SWE-bench Verified97%—
LiveCodeBench74.6%—
MMLU-Pro91.6%—
Humanity's Last Exam54.9%43.1%

← Interactive comparison (pick any 4 models)