Claude Sonnet 5 (Medium) vs Grok 4.7 (Xhigh)
Which is better for the money: Claude Sonnet 5 (Medium) by Anthropic or Grok 4.7 (Xhigh) by SpaceXAI? Intelligence, total benchmark cost, and end-to-end time from Artificial Analysis & other sources, snapshot 2026-10-25.
Trade-off
Verdict
Depends on your budget
Grok 4.7 (Xhigh) scores 18.3 points higher (46.4 vs 28.1) but costs 4.1× as much to run the benchmark ($4967 vs $1218; flagship vs premium cost classes). They are not alternatives at one budget: pick Grok 4.7 (Xhigh) when you need intelligence above 28.1, and Claude Sonnet 5 (Medium) when 28.1 is enough.
| Metric | Claude Sonnet 5 (Medium) | Grok 4.7 (Xhigh) | Difference |
|---|---|---|---|
| Intelligence (higher is better) | 28.1 | 46.4 | +65.1% Grok 4.7 (Xhigh) is 65.1% more intelligent |
| Total AA cost (lower is better) | $1,218.17 | $4,967.35 | +307.8% Grok 4.7 (Xhigh) is 4.1× more expensive |
| End-to-end time (lower is better) | 9.01s | 40.07s | +344.7% Grok 4.7 (Xhigh) is 344.7% slower |
| Price per 1M tokens (in / out) | $2.00 / $10.0 | $2.00 / $6.00 | |
| Input modalities | Text, Image | Text, Image |
Grok 4.7 (Xhigh) vs Claude Sonnet 5 (Medium): 65.1% more intelligence, 307.8% more cost to run the AA benchmark, and 344.7% slower end-to-end.
Today's Pareto frontier
Against the frontier
- Claude Sonnet 5 (Medium) is off the frontier: at the same or lower cost, GPT-6.1 Sol (Max) scores 51.80 for $1082.
- Grok 4.7 (Xhigh) is off the frontier: at the same or lower cost, Claude Opus 5.5 (Xhigh, Default Fallback) scores 56.00 for $4057.
Claude Sonnet 5 (Medium)Grok 4.7 (Xhigh)Today's Pareto frontierEvery other model
Matchup
Compare something else
Agents:
Accept: text/markdown or ?format=md returns this page as Markdown. JSON: /api/v1/compare/claude-sonnet-5-medium/grok-4-7 · Markdown: /api/v1/compare/claude-sonnet-5-medium/grok-4-7?format=md · llms.txt · agent skill