Model comparison

Claude 3 Sonnet vs Llama 3.1-70B

Claude 3 Sonnet and Llama 3.1-70B score almost the same on the Noometry Index (28.8 vs 29.4), so choose on price, context window or the category you care about most.

Last verified . 26 shared benchmarks.

Claude 3 Sonnet Anthropic

28.8

Rank #311 Confirmed

Llama 3.1-70B Meta

29.4

Rank #299 Confirmed

Summary

  • They share 26 benchmarks with published results for both. Claude 3 Sonnet scores higher in 1 category and Llama 3.1-70B in 7 categories; 5 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Claude 3 Sonnet leads 42.3 to 35.6.
  • The biggest single-benchmark swing is MATH Level 5: 18.2% for Claude 3 Sonnet and 36.7% for Llama 3.1-70B.
  • Llama 3.1-70B has downloadable open weights; the other is API-only.

Side by side

Claude 3 Sonnet and Llama 3.1-70B specifications
Claude 3 SonnetLlama 3.1-70B
ProviderAnthropicMeta
Noometry Index28.829.4
Released2024-02-292024-07-23
WeightsProprietaryOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.40
Output $ / M tokens—$0.40
Results tracked3035

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Too close to call

Claude 3 Sonnet: 29.2 (#296), Llama 3.1-70B: 29.8 (#292)

Coding benchmarks
BenchmarkClaude 3 SonnetLlama 3.1-70B
WeirdML10.2%9%
BigCodeBench Instruct42.7%46.1%
LMArena Coding12231260
BigCodeBench Complete53.8%54.8%
HumanEval+64%—
MBPP+69.3%—

Agentic & Tool Use Not comparable

Claude 3 Sonnet: —, Llama 3.1-70B: 24.9 (#104)

Agentic & Tool Use benchmarks
BenchmarkClaude 3 SonnetLlama 3.1-70B
TheAgentCompany—6.9%
BALROG—27.9%

Reasoning Llama 3.1-70B leads

Claude 3 Sonnet: 19.7 (#232), Llama 3.1-70B: 20.8 (#215)

Reasoning benchmarks
BenchmarkClaude 3 SonnetLlama 3.1-70B
LMArena Hard Prompts11971241
DTBench53.6%60%
Epoch Capabilities Index120.69125.91
LMCA—14.8%
WinoGrande75.1%—

Math Llama 3.1-70B leads

Claude 3 Sonnet: 10.0 (#305), Llama 3.1-70B: 12.7 (#298)

Math benchmarks
BenchmarkClaude 3 SonnetLlama 3.1-70B
OTIS Mock AIME 2024-20252.5%3.6%
LMArena Math12131252
MATH Level 518.2%36.7%
Omni-MATH—21%

Knowledge Llama 3.1-70B leads

Claude 3 Sonnet: 21.1 (#271), Llama 3.1-70B: 24.1 (#264)

Knowledge benchmarks
BenchmarkClaude 3 SonnetLlama 3.1-70B
GPQA Diamond40.6%44.2%
LMArena Expert11731209
MMLU75.9%80.1%
MMLU-Pro—65.3%
GPQA (HELM)—42.6%

Multimodal Not comparable

Claude 3 Sonnet: 24.7 (#120), Llama 3.1-70B: —

Multimodal benchmarks
BenchmarkClaude 3 SonnetLlama 3.1-70B
LMArena Vision984—

Multilingual Too close to call

Claude 3 Sonnet: 38.0 (#229), Llama 3.1-70B: 38.9 (#220)

Multilingual benchmarks
BenchmarkClaude 3 SonnetLlama 3.1-70B
LMArena Non-English12051219
LMArena Chinese11881215
LMArena French12281260
LMArena German12041222
LMArena Japanese11311132
LMArena Korean11281140
LMArena Russian12271234
LMArena Spanish12041253

Instruction Following Llama 3.1-70B leads

Claude 3 Sonnet: 63.1 (#230), Llama 3.1-70B: 65.5 (#218)

Instruction Following benchmarks
BenchmarkClaude 3 SonnetLlama 3.1-70B
LMArena Instruction Following12001231
IFEval—82.1%

Long Context Too close to call

Claude 3 Sonnet: 36.7 (#223), Llama 3.1-70B: 37.6 (#208)

Long Context benchmarks
BenchmarkClaude 3 SonnetLlama 3.1-70B
LMArena Longer Query12111241

Writing & Preference Claude 3 Sonnet leads

Claude 3 Sonnet: 42.3 (#233), Llama 3.1-70B: 35.6 (#262)

Writing & Preference benchmarks
BenchmarkClaude 3 SonnetLlama 3.1-70B
LMArena Text12181261
LMArena Creative Writing11861232
LMArena Multi-Turn12271256
EQ-Bench Creative Writing—784
WildBench—75.8%

Frequently asked questions

Is Claude 3 Sonnet better than Llama 3.1-70B?

Claude 3 Sonnet and Llama 3.1-70B score almost the same on the Noometry Index (28.8 vs 29.4), so choose on price, context window or the category you care about most.

Is Claude 3 Sonnet or Llama 3.1-70B better for coding?

They score almost the same on coding (29.2 vs 29.8); test both on your own repository before choosing.

How many benchmarks do Claude 3 Sonnet and Llama 3.1-70B share?

26 benchmarks have published results for both models. Claude 3 Sonnet has 30 scored results on Noometry and Llama 3.1-70B has 35.

Related comparisons

Go deeper