Model comparison
Claude Sonnet 4 vs Llama 3.1-70B
Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 29.6 on the Noometry Index. Llama 3.1-70B costs 15× less per token, which makes it the better buy when Claude Sonnet 4's lead doesn't matter for your workload.
Last verified . 31 shared benchmarks.
Summary
- They share 31 benchmarks with published results for both. Claude Sonnet 4 scores higher in 8 categories and Llama 3.1-70B in 1 category; 9 gaps are clear of the uncertainty.
- The widest gap is in math, where Claude Sonnet 4 leads 43.3 to 13.5.
- The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 71.1% for Claude Sonnet 4 and 3.6% for Llama 3.1-70B.
- Llama 3.1-70B is cheaper at $0.40 / $0.40 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.
- Claude Sonnet 4 accepts more context: 200K tokens versus 128K.
- Llama 3.1-70B has downloadable open weights; the other is API-only.
Side by side
| Claude Sonnet 4 | Llama 3.1-70B | |
|---|---|---|
| Provider | Anthropic | Meta |
| Noometry Index | 40.8 | 29.6 |
| Released | 2025-05-22 | 2024-07-23 |
| Weights | Proprietary | Open |
| Context window | 200K | 128K |
| Max output | 64K | 4K |
| Input $ / M tokens | $3 | $0.40 |
| Output $ / M tokens | $15 | $0.40 |
| Results tracked | 58 | 35 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Claude Sonnet 4 leads
Claude Sonnet 4: 43.5 (#88), Llama 3.1-70B: 30.3 (#296)
| Benchmark | Claude Sonnet 4 | Llama 3.1-70B |
|---|---|---|
| WeirdML | 46.1% | 9% |
| LMArena Coding | 1414 | 1260 |
| SWE-bench Verified (bash only) | 64.9% | — |
| Aider Polyglot | 61.3% | — |
| SciCode | 40% | — |
| GSO | 4.9% | — |
| BigCodeBench Instruct | — | 46.1% |
| BigCodeBench Complete | — | 54.8% |
| ALE-Bench | 655.35 | — |
Agentic & Tool Use Claude Sonnet 4 leads
Claude Sonnet 4: 38.5 (#31), Llama 3.1-70B: 25.1 (#112)
| Benchmark | Claude Sonnet 4 | Llama 3.1-70B |
|---|---|---|
| TheAgentCompany | 33.1% | 6.9% |
| Cybench | 35% | — |
| DeepResearch Bench | 46.6% | — |
| OSWorld | 43.9% | — |
| BALROG | — | 27.9% |
| METR Time Horizons | 62% | — |
Reasoning Claude Sonnet 4 leads
Claude Sonnet 4: 22.9 (#187), Llama 3.1-70B: 21.6 (#220)
| Benchmark | Claude Sonnet 4 | Llama 3.1-70B |
|---|---|---|
| LMArena Hard Prompts | 1372 | 1241 |
| DTBench | 77.1% | 60% |
| LMCA | 29% | 14.8% |
| Epoch Capabilities Index | 141.69 | 125.92 |
| ARC-AGI-2 | 5.9% | — |
| SimpleBench | 45.5% | — |
| Kagi LLM Benchmark | 73% | — |
| ARC-AGI-1 | 40% | — |
| CritPt | 0.3% | — |
| EnigmaEval | 3.1% | — |
| ForecastBench | 60.2 | — |
Math Claude Sonnet 4 leads
Claude Sonnet 4: 43.3 (#80), Llama 3.1-70B: 13.5 (#304)
| Benchmark | Claude Sonnet 4 | Llama 3.1-70B |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 71.1% | 3.6% |
| Omni-MATH | 60.2% | 21% |
| LMArena Math | 1375 | 1252 |
| MATH Level 5 | 84.4% | 36.7% |
| FrontierMath (Feb 2025 set) | 4.1% | — |
| FrontierMath Tier 4 (v1) | 0% | — |
Knowledge Claude Sonnet 4 leads
Claude Sonnet 4: 41.8 (#108), Llama 3.1-70B: 24.2 (#269)
| Benchmark | Claude Sonnet 4 | Llama 3.1-70B |
|---|---|---|
| GPQA Diamond | 79.2% | 44.2% |
| MMLU-Pro | 84.3% | 65.3% |
| GPQA (HELM) | 70.6% | 42.6% |
| LMArena Expert | 1372 | 1209 |
| Humanity's Last Exam | 7.8% | — |
| Confabulations | 13.2% | — |
| Vectara Hallucination Rate | 10.3% | — |
| MMLU | — | 80.1% |
Multimodal Not comparable
Claude Sonnet 4: 26.2 (#121), Llama 3.1-70B: —
| Benchmark | Claude Sonnet 4 | Llama 3.1-70B |
|---|---|---|
| LMArena Vision | 1191 | — |
| GeoBench | 37% | — |
| VPCT | 34% | — |
| MindCube | 44.8% | — |
Multilingual Claude Sonnet 4 leads
Claude Sonnet 4: 46.7 (#156), Llama 3.1-70B: 38.8 (#225)
| Benchmark | Claude Sonnet 4 | Llama 3.1-70B |
|---|---|---|
| LMArena Non-English | 1333 | 1219 |
| LMArena Chinese | 1350 | 1215 |
| LMArena French | 1363 | 1261 |
| LMArena German | 1331 | 1222 |
| LMArena Japanese | 1302 | 1132 |
| LMArena Korean | 1291 | 1140 |
| LMArena Russian | 1355 | 1234 |
| LMArena Spanish | 1357 | 1253 |
Instruction Following Claude Sonnet 4 leads
Claude Sonnet 4: 71.7 (#145), Llama 3.1-70B: 65.3 (#223)
| Benchmark | Claude Sonnet 4 | Llama 3.1-70B |
|---|---|---|
| IFEval | 84% | 82.1% |
| LMArena Instruction Following | 1376 | 1231 |
Long Context Llama 3.1-70B leads
Claude Sonnet 4: 33.7 (#259), Llama 3.1-70B: 37.6 (#214)
| Benchmark | Claude Sonnet 4 | Llama 3.1-70B |
|---|---|---|
| LMArena Longer Query | 1398 | 1241 |
| Fiction.LiveBench | 46.9% | — |
Writing & Preference Claude Sonnet 4 leads
Claude Sonnet 4: 57.1 (#132), Llama 3.1-70B: 35.4 (#267)
| Benchmark | Claude Sonnet 4 | Llama 3.1-70B |
|---|---|---|
| LMArena Text | 1351 | 1261 |
| LMArena Creative Writing | 1345 | 1232 |
| EQ-Bench Creative Writing | 1483 | 784 |
| WildBench | 83.8% | 75.8% |
| LMArena Multi-Turn | 1376 | 1256 |
| Short-Story Creative Writing | 81.4% | — |
Frequently asked questions
Is Claude Sonnet 4 better than Llama 3.1-70B?
Claude Sonnet 4 is the stronger model overall, scoring 40.8 to 29.6 on the Noometry Index. Llama 3.1-70B costs 15× less per token, which makes it the better buy when Claude Sonnet 4's lead doesn't matter for your workload.
Which is cheaper, Claude Sonnet 4 or Llama 3.1-70B?
Llama 3.1-70B is cheaper. It lists at $0.40 per million input tokens and $0.40 per million output tokens; Claude Sonnet 4 lists at $3 and $15.
Is Claude Sonnet 4 or Llama 3.1-70B better for coding?
Claude Sonnet 4 scores higher on coding benchmarks: 43.5 versus 30.3 in the Noometry coding category.
Which has the bigger context window?
Claude Sonnet 4 does, with 200K tokens against 128K.
How many benchmarks do Claude Sonnet 4 and Llama 3.1-70B share?
31 benchmarks have published results for both models. Claude Sonnet 4 has 58 scored results on Noometry and Llama 3.1-70B has 35.