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.

Claude Sonnet 4 Anthropic

40.8

Rank #145 Confirmed

Llama 3.1-70B Meta

29.6

Rank #308 Confirmed

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 and Llama 3.1-70B specifications
Claude Sonnet 4Llama 3.1-70B
ProviderAnthropicMeta
Noometry Index40.829.6
Released2025-05-222024-07-23
WeightsProprietaryOpen
Context window200K128K
Max output64K4K
Input $ / M tokens$3$0.40
Output $ / M tokens$15$0.40
Results tracked5835

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)

Coding benchmarks
BenchmarkClaude Sonnet 4Llama 3.1-70B
WeirdML46.1%9%
LMArena Coding14141260
SWE-bench Verified (bash only)64.9%—
Aider Polyglot61.3%—
SciCode40%—
GSO4.9%—
BigCodeBench Instruct—46.1%
BigCodeBench Complete—54.8%
ALE-Bench655.35—

Agentic & Tool Use Claude Sonnet 4 leads

Claude Sonnet 4: 38.5 (#31), Llama 3.1-70B: 25.1 (#112)

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 4Llama 3.1-70B
TheAgentCompany33.1%6.9%
Cybench35%—
DeepResearch Bench46.6%—
OSWorld43.9%—
BALROG—27.9%
METR Time Horizons62%—

Reasoning Claude Sonnet 4 leads

Claude Sonnet 4: 22.9 (#187), Llama 3.1-70B: 21.6 (#220)

Reasoning benchmarks
BenchmarkClaude Sonnet 4Llama 3.1-70B
LMArena Hard Prompts13721241
DTBench77.1%60%
LMCA29%14.8%
Epoch Capabilities Index141.69125.92
ARC-AGI-25.9%—
SimpleBench45.5%—
Kagi LLM Benchmark73%—
ARC-AGI-140%—
CritPt0.3%—
EnigmaEval3.1%—
ForecastBench60.2—

Math Claude Sonnet 4 leads

Claude Sonnet 4: 43.3 (#80), Llama 3.1-70B: 13.5 (#304)

Math benchmarks
BenchmarkClaude Sonnet 4Llama 3.1-70B
OTIS Mock AIME 2024-202571.1%3.6%
Omni-MATH60.2%21%
LMArena Math13751252
MATH Level 584.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)

Knowledge benchmarks
BenchmarkClaude Sonnet 4Llama 3.1-70B
GPQA Diamond79.2%44.2%
MMLU-Pro84.3%65.3%
GPQA (HELM)70.6%42.6%
LMArena Expert13721209
Humanity's Last Exam7.8%—
Confabulations13.2%—
Vectara Hallucination Rate10.3%—
MMLU—80.1%

Multimodal Not comparable

Claude Sonnet 4: 26.2 (#121), Llama 3.1-70B: —

Multimodal benchmarks
BenchmarkClaude Sonnet 4Llama 3.1-70B
LMArena Vision1191—
GeoBench37%—
VPCT34%—
MindCube44.8%—

Multilingual Claude Sonnet 4 leads

Claude Sonnet 4: 46.7 (#156), Llama 3.1-70B: 38.8 (#225)

Multilingual benchmarks
BenchmarkClaude Sonnet 4Llama 3.1-70B
LMArena Non-English13331219
LMArena Chinese13501215
LMArena French13631261
LMArena German13311222
LMArena Japanese13021132
LMArena Korean12911140
LMArena Russian13551234
LMArena Spanish13571253

Instruction Following Claude Sonnet 4 leads

Claude Sonnet 4: 71.7 (#145), Llama 3.1-70B: 65.3 (#223)

Instruction Following benchmarks
BenchmarkClaude Sonnet 4Llama 3.1-70B
IFEval84%82.1%
LMArena Instruction Following13761231

Long Context Llama 3.1-70B leads

Claude Sonnet 4: 33.7 (#259), Llama 3.1-70B: 37.6 (#214)

Long Context benchmarks
BenchmarkClaude Sonnet 4Llama 3.1-70B
LMArena Longer Query13981241
Fiction.LiveBench46.9%—

Writing & Preference Claude Sonnet 4 leads

Claude Sonnet 4: 57.1 (#132), Llama 3.1-70B: 35.4 (#267)

Writing & Preference benchmarks
BenchmarkClaude Sonnet 4Llama 3.1-70B
LMArena Text13511261
LMArena Creative Writing13451232
EQ-Bench Creative Writing1483784
WildBench83.8%75.8%
LMArena Multi-Turn13761256
Short-Story Creative Writing81.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.

Related comparisons

Go deeper