Compare
Claude Sonnet 4.6 vs Grok 4
Anthropic vs xAI. Specs, benchmarks, and real per-task cost — all in one page.
Verdict
Claude Sonnet 4.6 leads on LMSYS ELO (1368 vs 1358). Claude Sonnet 4.6 is ~1.3× cheaper on a 3:1 input:output blend.
Anthropic
Claude Sonnet 4.6The workhorse. Near-Opus quality at 1/5 the cost. The default choice for production code and agent workloads.
Excellent cost/quality ratioFast inferenceGreat for Cursor/Claude Code
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$3.00$5.00
Output / 1M$15.00$15.00
Context500K256K
Max output64K32K
LicenseProprietaryProprietary
Released2025-11-042026-03-01
Benchmarks
LMSYS ELO1368.01358.0
MMLU Pro88.786.2
HumanEval92.188.4
SWE-Bench64.5—
MATH85.086.5
GPQA59.4—
MMMU74.1—
IFEval90.585.0
Per-task cost
Summarize a 1-hour meeting transcript$0.052$0.082
Review a 500-line pull request$0.054$0.070
Answer a customer support ticket$0.021$0.027
Extract structured data from a resume$0.030$0.040
Debug a stack trace with context$0.048$0.060
Per-call cost using published token counts for each task. Real-world prompts vary.