Model comparison

Claude 3.5 Sonnet vs Llama 3.1-8B

Claude 3.5 Sonnet is the stronger model overall, scoring 34.4 to 22.8 on the Noometry Index.

Last verified . 35 shared benchmarks.

Claude 3.5 Sonnet Anthropic

34.4

Rank #225 Confirmed

Llama 3.1-8B Meta

22.8

Rank #347 Confirmed

Summary

  • They share 35 benchmarks with published results for both. Claude 3.5 Sonnet scores higher in 9 categories and Llama 3.1-8B in 0 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Claude 3.5 Sonnet leads 53.0 to 29.9.
  • The biggest single-benchmark swing is WeirdML: 40% for Claude 3.5 Sonnet and 1.7% for Llama 3.1-8B.
  • Llama 3.1-8B has downloadable open weights; the other is API-only.

Side by side

Claude 3.5 Sonnet and Llama 3.1-8B specifications
Claude 3.5 SonnetLlama 3.1-8B
ProviderAnthropicMeta
Noometry Index34.422.8
Released2024-06-202024-07-23
WeightsProprietaryOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.05
Output $ / M tokens—$0.08
Results tracked6043

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

Category by category

Coding Claude 3.5 Sonnet leads

Claude 3.5 Sonnet: 39.5 (#145), Llama 3.1-8B: 19.9 (#335)

Coding benchmarks
BenchmarkClaude 3.5 SonnetLlama 3.1-8B
WeirdML40%1.7%
BigCodeBench Instruct46.8%32.8%
LMArena Coding13431195
BigCodeBench Complete58.6%40.5%
HumanEval+81.7%62.8%
MBPP+74.3%55.6%
Aider Polyglot51.6%—
SciCode—13.2%
GSO4.6%—
LiveBench Coding67.1%—
CadEval48%—

Agentic & Tool Use Claude 3.5 Sonnet leads

Claude 3.5 Sonnet: 32.1 (#61), Llama 3.1-8B: 22.3 (#123)

Agentic & Tool Use benchmarks
BenchmarkClaude 3.5 SonnetLlama 3.1-8B
BALROG32.6%15.1%
Berkeley Function Calling Leaderboard—25.8%
TheAgentCompany24%—
Cybench17.5%—
METR Time Horizons45.2%—

Reasoning Claude 3.5 Sonnet leads

Claude 3.5 Sonnet: 22.5 (#176), Llama 3.1-8B: 14.5 (#316)

Reasoning benchmarks
BenchmarkClaude 3.5 SonnetLlama 3.1-8B
LMArena Hard Prompts13051175
DTBench67.8%50.9%
Epoch Capabilities Index133.55116.48
SimpleBench41.4%—
CritPt—0%
Chess Puzzles—0%
EnigmaEval0.9%—
LiveBench Reasoning56.7%—
LiveBench Data Analysis55%—
LMCA—5.4%
ForecastBench60.7—
LiveBench59%—
PIQA—81.2%

Math Claude 3.5 Sonnet leads

Claude 3.5 Sonnet: 18.0 (#282), Llama 3.1-8B: 9.5 (#311)

Math benchmarks
BenchmarkClaude 3.5 SonnetLlama 3.1-8B
OTIS Mock AIME 2024-20258.5%1.7%
Omni-MATH27.6%13.7%
LMArena Math13061179
MATH Level 556.9%22.9%
LiveBench Math52.3%—
FrontierMath (Feb 2025 set)2.1%—
FrontierMath Tier 4 (v1)0%—
GSM8K—82.4%

Knowledge Claude 3.5 Sonnet leads

Claude 3.5 Sonnet: 28.5 (#236), Llama 3.1-8B: 8.0 (#302)

Knowledge benchmarks
BenchmarkClaude 3.5 SonnetLlama 3.1-8B
GPQA Diamond55.3%27%
MMLU-Pro77.7%40.6%
GPQA (HELM)56.5%24.7%
LMArena Expert12641144
MMLU87.3%56.1%
Humanity's Last Exam4.1%—
Confabulations19.9%—
BoolQ—82.8%

Multimodal Not comparable

Claude 3.5 Sonnet: 26.0 (#115), Llama 3.1-8B: —

Multimodal benchmarks
BenchmarkClaude 3.5 SonnetLlama 3.1-8B
LMArena Vision1125—
Video-MME60%—
GeoBench62%—
VPCT33%—

Multilingual Claude 3.5 Sonnet leads

Claude 3.5 Sonnet: 43.4 (#180), Llama 3.1-8B: 34.2 (#244)

Multilingual benchmarks
BenchmarkClaude 3.5 SonnetLlama 3.1-8B
LMArena Non-English12831148
LMArena Chinese12711151
LMArena French13041176
LMArena German12971144
LMArena Japanese12341061
LMArena Korean12001053
LMArena Russian13051158
LMArena Spanish12891169

Instruction Following Claude 3.5 Sonnet leads

Claude 3.5 Sonnet: 69.0 (#177), Llama 3.1-8B: 59.1 (#253)

Instruction Following benchmarks
BenchmarkClaude 3.5 SonnetLlama 3.1-8B
IFEval85.5%74.3%
LMArena Instruction Following12971159
LiveBench Instruction Following69.3%—

Long Context Claude 3.5 Sonnet leads

Claude 3.5 Sonnet: 39.9 (#162), Llama 3.1-8B: 35.8 (#233)

Long Context benchmarks
BenchmarkClaude 3.5 SonnetLlama 3.1-8B
LMArena Longer Query13111182

Writing & Preference Claude 3.5 Sonnet leads

Claude 3.5 Sonnet: 53.0 (#159), Llama 3.1-8B: 29.9 (#285)

Writing & Preference benchmarks
BenchmarkClaude 3.5 SonnetLlama 3.1-8B
LMArena Text12981187
LMArena Creative Writing12921154
EQ-Bench Creative Writing1451713
WildBench79.2%68.7%
LMArena Multi-Turn13261172
Short-Story Creative Writing80.3%—
LiveBench Language53.8%—

Frequently asked questions

Is Claude 3.5 Sonnet better than Llama 3.1-8B?

Claude 3.5 Sonnet is the stronger model overall, scoring 34.4 to 22.8 on the Noometry Index.

Is Claude 3.5 Sonnet or Llama 3.1-8B better for coding?

Claude 3.5 Sonnet scores higher on coding benchmarks: 39.5 versus 19.9 in the Noometry coding category.

How many benchmarks do Claude 3.5 Sonnet and Llama 3.1-8B share?

35 benchmarks have published results for both models. Claude 3.5 Sonnet has 60 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper