← All models
Compare

Claude Opus 4.8 vs Grok 4

Claude Opus 4.8 (Anthropic) and Grok 4 (xAI) compared on benchmarks, pricing, context window, and use-case rankings.

Claude Opus 4.8Anthropic · 1 in the newsGrok 4xAI
Scores
Intelligence (ECI)157147
Coding9615
Math9122
Reasoning & Knowledge7648
Agentic & Tools9416
Specifications
DeveloperAnthropicxAI
FamilyClaudeGrok
ReleasedMay 28, 2026Jul 9, 2025
Parameters3T
AvailabilityAPI accessAPI access
Context window1M
Price — $/M input$5.00
Price — $/M output$25.00
Inputstext, image, file
Outputstext
Benchmarks
AIME 2024/202598%84%
APEX43%15%
ARC-AGI93%67%
ARC-AGI-272%16%
FrontierMath47%20%
FrontierMath Tier 431%2%
GPQA Diamond91%87%
SimpleBench65%61%
SimpleQA Verified40%48%
WebDev Arena1552
WeirdML83%46%
GDPval (win/tie rate)24%
METR task horizon1.8 h
Terminal-Bench27%

Use-case scores are 0–100 percentile composites across each area’s benchmarks, ranked against every model from the past year. Highlighted cells lead each row. Open a model for the full picture.

Frequently asked questions

Is Claude Opus 4.8 better than Grok 4?

On Epoch AI's Capabilities Index, Claude Opus 4.8 scores higher (157) than Grok 4 (147). The right pick depends on your task — compare their coding, math, and reasoning scores in the table above.

Which is better for coding, Claude Opus 4.8 or Grok 4?

Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Claude Opus 4.8 ranks higher — 96th vs 15th percentile among the models tracked on Model Beat.

Want a different match-up? Open the compare tool to add or swap models.

Benchmarks & model data from Epoch AI (CC BY); pricing & specs from OpenRouter. ECI = Epoch Capabilities Index.