Model comparison

Claude 3.7 Sonnet vs Llama 3.1-8B

Claude 3.7 Sonnet is the stronger model overall, scoring 39.5 to 23.0 on the Noometry Index.

Last verified . 27 shared benchmarks.

Claude 3.7 Sonnet Anthropic

39.5

Rank #164 Confirmed

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Summary

  • They share 27 benchmarks with published results for both. Claude 3.7 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 knowledge, where Claude 3.7 Sonnet leads 39.8 to 8.0.
  • The biggest single-benchmark swing is MATH Level 5: 91.2% for Claude 3.7 Sonnet and 22.9% for Llama 3.1-8B.
  • Llama 3.1-8B has downloadable open weights; the other is API-only.

Side by side

Claude 3.7 Sonnet and Llama 3.1-8B specifications
Claude 3.7 SonnetLlama 3.1-8B
ProviderAnthropicMeta
Noometry Index39.523.0
Released2025-02-242024-07-23
WeightsProprietaryOpen
Context window—128K
Max output—4K
Input $ / M tokens—$0.05
Output $ / M tokens—$0.08
Results tracked5843

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

Category by category

Coding Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 40.6 (#136), Llama 3.1-8B: 20.2 (#340)

Coding benchmarks
BenchmarkClaude 3.7 SonnetLlama 3.1-8B
LMArena Coding13611195
SWE-bench Verified61%—
SWE-bench Verified (bash only)52.8%—
Aider Polyglot64.9%—
SciCode—13.2%
GSO3.8%—
WeirdML—1.7%
BigCodeBench Instruct—32.8%
LiveBench Coding74.5%—
BigCodeBench Complete—40.5%
CadEval54%—
HumanEval+—62.8%
MBPP+—55.6%

Agentic & Tool Use Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 34.1 (#50), Llama 3.1-8B: 22.5 (#131)

Agentic & Tool Use benchmarks
BenchmarkClaude 3.7 SonnetLlama 3.1-8B
Berkeley Function Calling Leaderboard—25.8%
TheAgentCompany30.9%—
Cybench20%—
DeepResearch Bench43.6%—
OSWorld35.8%—
BALROG—15.1%
METR Time Horizons60%—

Reasoning Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 18.6 (#277), Llama 3.1-8B: 14.9 (#321)

Reasoning benchmarks
BenchmarkClaude 3.7 SonnetLlama 3.1-8B
LMArena Hard Prompts13331175
Epoch Capabilities Index141.16116.57
ARC-AGI-20.9%—
SimpleBench46.4%—
ARC-AGI-128.6%—
CritPt—0%
Chess Puzzles—0%
EnigmaEval4.2%—
LiveBench Reasoning87.8%—
DTBench—50.9%
LiveBench Data Analysis74%—
LMCA—5.4%
ForecastBench61.8—
LiveBench76.1%—
PIQA—81.2%

Math Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 37.5 (#153), Llama 3.1-8B: 10.2 (#317)

Math benchmarks
BenchmarkClaude 3.7 SonnetLlama 3.1-8B
OTIS Mock AIME 2024-202557.8%1.7%
Omni-MATH33%13.7%
LMArena Math13371179
MATH Level 591.2%22.9%
LiveBench Math79%—
FrontierMath (Feb 2025 set)4.1%—
GSM8K—82.4%

Knowledge Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 39.8 (#130), Llama 3.1-8B: 8.0 (#307)

Knowledge benchmarks
BenchmarkClaude 3.7 SonnetLlama 3.1-8B
GPQA Diamond79.7%27%
MMLU-Pro78.4%40.6%
GPQA (HELM)60.8%24.7%
LMArena Expert13211144
Humanity's Last Exam8%—
Confabulations14.7%—
BoolQ—82.8%
MMLU—56.1%

Multimodal Not comparable

Claude 3.7 Sonnet: 33.7 (#95), Llama 3.1-8B: —

Multimodal benchmarks
BenchmarkClaude 3.7 SonnetLlama 3.1-8B
LMArena Vision1169—
GeoBench68%—
VPCT39%—
SpatialViz-Bench33.9%—

Multilingual Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 44.1 (#179), Llama 3.1-8B: 34.0 (#249)

Multilingual benchmarks
BenchmarkClaude 3.7 SonnetLlama 3.1-8B
LMArena Non-English12961148
LMArena Chinese12991151
LMArena French13031177
LMArena German13011144
LMArena Japanese12671061
LMArena Korean12491053
LMArena Russian13111158
LMArena Spanish12981169

Instruction Following Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 72.9 (#125), Llama 3.1-8B: 58.9 (#258)

Instruction Following benchmarks
BenchmarkClaude 3.7 SonnetLlama 3.1-8B
IFEval83.4%74.3%
LMArena Instruction Following13521159
LiveBench Instruction Following81.3%—

Long Context Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 50.3 (#10), Llama 3.1-8B: 35.8 (#238)

Long Context benchmarks
BenchmarkClaude 3.7 SonnetLlama 3.1-8B
LMArena Longer Query13731182
Fiction.LiveBench83.3%—

Writing & Preference Claude 3.7 Sonnet leads

Claude 3.7 Sonnet: 54.4 (#150), Llama 3.1-8B: 29.7 (#290)

Writing & Preference benchmarks
BenchmarkClaude 3.7 SonnetLlama 3.1-8B
LMArena Text13141187
LMArena Creative Writing13321154
EQ-Bench Creative Writing1412713
WildBench81.4%68.7%
LMArena Multi-Turn13391172
Short-Story Creative Writing81.1%—
LiveBench Language59.9%—

Frequently asked questions

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

Claude 3.7 Sonnet is the stronger model overall, scoring 39.5 to 23.0 on the Noometry Index.

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

Claude 3.7 Sonnet scores higher on coding benchmarks: 40.6 versus 20.2 in the Noometry coding category.

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

27 benchmarks have published results for both models. Claude 3.7 Sonnet has 58 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper