Skip to content

Claude Sonnet 4.5 vs Grok-4

Both have similar output pricing, while Claude Sonnet 4.5 offers a larger context window. Choose Claude Sonnet 4.5 or Grok-4 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecClaude Sonnet 4.5Grok-4
ProviderAnthropicPoe
Input / 1M tokens$3.00$3.00
Output / 1M tokens$15.00$15.00
Context window1M256K
Parameters—3T
Open weightsNoNo
ReleasedSep 2025Jul 2025
LiveBench score67.9—
SWE-bench Verified score74.8—
LMArena (Chatbot Arena) Elo score14381411
FrontierMath score15.219.7
LMArena WebDev Elo score1394—
Epoch Capabilities Index score147146
SWE-bench Multilingual score67.0—
GPQA Diamond score82.387.0
Aider Polyglot score—79.6
LMArena Vision Elo score—1210

FAQ

Is Claude Sonnet 4.5 or Grok-4 cheaper?

Claude Sonnet 4.5 and Grok-4 have comparable output pricing.

Which has the larger context window, Claude Sonnet 4.5 or Grok-4?

Claude Sonnet 4.5 has the larger context window (1M tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.