Grok 4.5 vs Claude Sonnet 5

The two value workhorses of mid-2026, released nine days apart — both at $2 per 1M input tokens, both gunning for the same high-volume production workloads.

At a glance: Grok 4.5 lists at $2 / $6 per 1M tokens with a 500,000-token context window; Claude Sonnet 5 lists at $2 / $10 per 1M tokens (intro, through 31 Aug 2026; then $3 / $15) with 1,000,000 tokens of context by default. Same input price today, different bets: Grok 4.5 sells token efficiency, Sonnet 5 sells context and the Claude ecosystem.

Grok 4.5 vs Claude Sonnet 5: side-by-side

 Grok 4.5Claude Sonnet 5
MakerSpaceXAI (formerly xAI)Anthropic
Released9 July 202630 June 2026
TierWorkhorse ("Opus-class" positioning)Mid-tier
Context window500,000 tokens1,000,000 tokens (default)
API price (per 1M)$2 / $6 per 1M tokens$2 / $10 intro (to 31 Aug 2026) · $3 / $15 standard
Speed~80 output tokens/secondNot specified
AccessProprietary — xAI API console, Grok Build, Cursor, OpenRouter · EU pending (later July 2026)Proprietary — Claude API & claude.ai (default model on Free/Pro)
Best atCoding, office/clerical work, research at low cost per taskAgentic work and coding at price-performance; everyday production default
StandoutToken efficiency — ~4.2x fewer output tokens per SWE-bench Pro task than Opus 4.8 (max)1M context by default at mid-tier price; real agentic step up from Sonnet 4.5

Price comparison

ModelInput (per 1M)Output (per 1M)
Grok 4.5$2.00$6.00
Claude Sonnet 5 (intro, to 31 Aug 2026)$2.00$10.00
Claude Sonnet 5 (standard, from 1 Sep 2026)$3.00$15.00

Estimate your monthly API cost for Grok 4.5 vs Claude Sonnet 5 with the LLM API pricing calculator →

Published benchmark figures

Each figure below is the model's own published score as listed on its AI Model Hub page. The two vendors publish different suites, so scores are not directly comparable head-to-head.

ModelBenchmarkPublished score
Grok 4.5Terminal-Bench 2.183.3%
Grok 4.5SWE-bench Pro64.7%
Grok 4.5DeepSWE 1.153%

Claude Sonnet 5's release materials describe a substantial agentic step up from Sonnet 4.5 without publishing per-suite figures on the suites above.

What the table says

Key takeaway

This is the closest price matchup on the site: same $2 input, two different value propositions — Grok 4.5's cheaper output and token efficiency vs Sonnet 5's 1M context and ecosystem maturity. Run your own volumes through the pricing calculator to see the monthly difference.

Full Grok 4.5 overview   Full Claude Sonnet 5 overview

Ad slot — AdSense in-article unit

Frequently asked questions

Which is cheaper, Grok 4.5 or Claude Sonnet 5?

Input matches at $2 per 1M (Sonnet 5 intro pricing); Grok 4.5's output is cheaper at $6 vs $10. From 1 Sep 2026 Sonnet 5 moves to $3/$15, widening the gap.

Which has the bigger context window?

Claude Sonnet 5 — 1,000,000 tokens by default versus 500,000 for Grok 4.5.

Which model is newer?

Grok 4.5 (9 July 2026), nine days after Claude Sonnet 5 (30 June 2026).

Can I run either locally?

No — both are proprietary, hosted-API models; neither publishes weights.

Related comparisons