Compare
Claude Opus 4.7 vs Grok 4
Anthropic vs xAI. Specs, benchmarks, and real per-task cost — all in one page.
Verdict
Claude Opus 4.7 leads on LMSYS ELO (1412 vs 1358). Grok 4 is ~4.0× cheaper on a 3:1 input:output blend.
Anthropic
Claude Opus 4.7Anthropic’s frontier reasoning model. Leads SWE-Bench and holds top ranks on long-context coding and agentic workflows.
Best-in-class coding agent behaviorStrong instruction following1M-token context with high recallHigh reliability under tool use
xAI
Grok 4xAI’s latest. Real-time X search integration, strong on current events and meme-literate tasks.
Live web/X accessPersonalityFast inference on Colossus
Pricing
Input / 1M$15.00$5.00
Output / 1M$75.00$15.00
Context1.0M256K
Max output64K32K
LicenseProprietaryProprietary
Released2026-03-122026-03-01
Benchmarks
LMSYS ELO1412.01358.0
MMLU Pro92.886.2
HumanEval94.488.4
SWE-Bench72.1—
MATH89.386.5
GPQA66.4—
MMMU79.2—
IFEval92.185.0
Per-task cost
Summarize a 1-hour meeting transcript$0.263$0.082
Review a 500-line pull request$0.270$0.070
Answer a customer support ticket$0.105$0.027
Extract structured data from a resume$0.150$0.040
Debug a stack trace with context$0.240$0.060
Per-call cost using published token counts for each task. Real-world prompts vary.