Pairwise benchmark snapshot · Aug 1, 2026
This page compares Grok 4 (xAI) and Llama 3.1 405B (Meta) using the latest snapshots we have as of Aug 1, 2026. On preference Elo, Grok 4 is ahead by 118 points (1,488 vs 1,370; seed-bootstrap (Aug 1, 2026)). On SWE-bench coding, Grok 4 resolves 58.6% versus 58.4% (seed-bootstrap (Aug 1, 2026)). Grok 4 streams faster (98 tok/s) while Llama 3.1 405B is the cheaper output token ($3.5/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.
Meta
Llama 3.1 405BMeta flagship open-weight 405B dense foundation model with 128k context window.
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.
118 pts advantage
56 tok/s faster
$11.50/1M cheaper
Simulate monthly production API costs based on published $/1M tokens.
Llama 3.1 405B is estimated to save $233.75/month ($2,805/year).
Higher SWE-bench (58.6%).
Lower output list price ($3.5/1M).
Lower TTFT (230 ms).
Larger window (256k).
Grok 4 is the side marked multimodal in the catalog.
| Target Workload | Recommended Pick | Evaluation Rationale |
|---|---|---|
| Repo / coding agents | Grok 4 | Higher SWE-bench (58.6%). |
| High-volume chat | Llama 3.1 405B | Lower output list price ($3.5/1M). |
| Voice / low-latency UI | Grok 4 | Lower TTFT (230 ms). |
| Long-document RAG | Grok 4 | Larger window (256k). |
| Screenshots / vision | Grok 4 | Grok 4 is the side marked multimodal in the catalog. |
No comments posted on this matchup yet. Be the first to share an evaluation note!
The real PNG is generated at /compare/grok-4-vs-llama-3-1-405b/opengraph-image for crawlers.
Verified head-to-head card