Pairwise benchmark snapshot · Aug 1, 2026
This page compares Claude 3.7 Sonnet (Anthropic) and Grok 4 (xAI) using the latest snapshots we have as of Aug 1, 2026. On preference Elo, Grok 4 is ahead by 126 points (1,488 vs 1,362; seed-bootstrap (Aug 1, 2026)). On SWE-bench coding, Claude 3.7 Sonnet resolves 70.3% versus 58.6% (seed-bootstrap (Aug 1, 2026)). Grok 4 streams faster (98 tok/s) while Claude 3.7 Sonnet is the cheaper output token ($15/1M). Grok 4 has the larger context window (256k tokens). Every cell below is a dated snapshot from a named public source — we do not invent missing scores, and we do not run SWE-bench ourselves.
Anthropic
Claude 3.7 SonnetHybrid-reasoning Sonnet from 2025. Kept for historical compare pages.
Instant pairwise benchmark recalculation across 400+ LLMs
Category wins across intelligence, speed, and pricing efficiency.
Preference Elo, Coding proficiency, SWE-bench & LiveBench accuracy
Generation throughput and time to first token responsiveness
Cost per million tokens and max context window length
Each spoke is a skill. Farther from the center is better (0–100th percentile). Tap any dot to inspect details.
126 pts advantage
13 tok/s faster
Same token price
Simulate monthly production API costs based on published $/1M tokens.
Higher SWE-bench (70.3%).
Lower output list price ($15/1M).
Lower TTFT (230 ms).
Larger window (256k).
Both accept images. Defaulting to the higher-Elo side (Grok 4).
| Target Workload | Recommended Pick | Evaluation Rationale |
|---|---|---|
| Repo / coding agents | Claude 3.7 Sonnet | Higher SWE-bench (70.3%). |
| High-volume chat | Claude 3.7 Sonnet | Lower output list price ($15/1M). |
| Voice / low-latency UI | Grok 4 | Lower TTFT (230 ms). |
| Long-document RAG | Grok 4 | Larger window (256k). |
| Screenshots / vision | Grok 4 | Both accept images. Defaulting to the higher-Elo side (Grok 4). |
2025-07 row. 4.6 is the buy. We keep 4 so upgrade pairs and old inbound links resolve.
2025 hybrid-reasoning Sonnet. Deprecated for buying, kept for old compare URLs and “what did 3.7 score?”
No comments posted on this matchup yet. Be the first to share an evaluation note!
The real PNG is generated at /compare/claude-3-7-sonnet-vs-grok-4/opengraph-image for crawlers.
Verified head-to-head card