Model comparison

Llama 3.1-8B vs StarCoder 2 7B

Llama 3.1-8B has enough public results to be ranked (#347); StarCoder 2 7B does not yet, so treat this comparison as directional.

Last verified . 5 shared benchmarks.

Llama 3.1-8B Meta

22.8

Rank #347 Confirmed

StarCoder 2 7B NVIDIA

36.5

Unranked Sparse

Summary

  • They share 5 benchmarks with published results for both. Llama 3.1-8B scores higher in 0 categories and StarCoder 2 7B in 1 category; one gap is clear of the uncertainty.
  • The widest gap is in coding, where StarCoder 2 7B leads 34.2 to 19.9.
  • The biggest single-benchmark swing is BigCodeBench Complete: 40.5% for Llama 3.1-8B and 27.7% for StarCoder 2 7B.

Side by side

Llama 3.1-8B and StarCoder 2 7B specifications
Llama 3.1-8BStarCoder 2 7B
ProviderMetaNVIDIA
Noometry Index22.836.5
Released2024-07-232024-02-20
WeightsOpenOpen
Context window128K—
Max output4K—
Input $ / M tokens$0.05—
Output $ / M tokens$0.08—
Results tracked437

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

Category by category

Coding StarCoder 2 7B leads

Llama 3.1-8B: 19.9 (#335), StarCoder 2 7B: 34.2

Coding benchmarks
BenchmarkLlama 3.1-8BStarCoder 2 7B
BigCodeBench Complete40.5%27.7%
HumanEval+62.8%29.9%
SciCode13.2%—
WeirdML1.7%—
BigCodeBench Instruct32.8%—
LMArena Coding1195—
MBPP+55.6%—

Agentic & Tool Use Not comparable

Llama 3.1-8B: 22.3 (#123), StarCoder 2 7B: —

Agentic & Tool Use benchmarks
BenchmarkLlama 3.1-8BStarCoder 2 7B
Berkeley Function Calling Leaderboard25.8%—
BALROG15.1%—

Reasoning Not comparable

Llama 3.1-8B: 14.5 (#316), StarCoder 2 7B: —

Reasoning benchmarks
BenchmarkLlama 3.1-8BStarCoder 2 7B
Epoch Capabilities Index116.4892.92
CritPt0%—
Chess Puzzles0%—
LMArena Hard Prompts1175—
DTBench50.9%—
LMCA5.4%—
PIQA81.2%—
WinoGrande—57.1%

Math Not comparable

Llama 3.1-8B: 9.5 (#311), StarCoder 2 7B: —

Math benchmarks
BenchmarkLlama 3.1-8BStarCoder 2 7B
GSM8K82.4%32.7%
OTIS Mock AIME 2024-20251.7%—
Omni-MATH13.7%—
LMArena Math1179—
MATH Level 522.9%—

Knowledge Not comparable

Llama 3.1-8B: 8.0 (#302), StarCoder 2 7B: —

Knowledge benchmarks
BenchmarkLlama 3.1-8BStarCoder 2 7B
MMLU56.1%38.8%
GPQA Diamond27%—
MMLU-Pro40.6%—
GPQA (HELM)24.7%—
LMArena Expert1144—
ARC (AI2) Challenge—38.7%
BoolQ82.8%—

Multilingual Not comparable

Llama 3.1-8B: 34.2 (#244), StarCoder 2 7B: —

Multilingual benchmarks
BenchmarkLlama 3.1-8BStarCoder 2 7B
LMArena Non-English1148—
LMArena Chinese1151—
LMArena French1176—
LMArena German1144—
LMArena Japanese1061—
LMArena Korean1053—
LMArena Russian1158—
LMArena Spanish1169—

Instruction Following Not comparable

Llama 3.1-8B: 59.1 (#253), StarCoder 2 7B: —

Instruction Following benchmarks
BenchmarkLlama 3.1-8BStarCoder 2 7B
IFEval74.3%—
LMArena Instruction Following1159—

Long Context Not comparable

Llama 3.1-8B: 35.8 (#233), StarCoder 2 7B: —

Long Context benchmarks
BenchmarkLlama 3.1-8BStarCoder 2 7B
LMArena Longer Query1182—

Writing & Preference Not comparable

Llama 3.1-8B: 29.9 (#285), StarCoder 2 7B: —

Writing & Preference benchmarks
BenchmarkLlama 3.1-8BStarCoder 2 7B
LMArena Text1187—
LMArena Creative Writing1154—
EQ-Bench Creative Writing713—
WildBench68.7%—
LMArena Multi-Turn1172—

Frequently asked questions

Is Llama 3.1-8B better than StarCoder 2 7B?

Llama 3.1-8B has enough public results to be ranked (#347); StarCoder 2 7B does not yet, so treat this comparison as directional.

Is Llama 3.1-8B or StarCoder 2 7B better for coding?

StarCoder 2 7B scores higher on coding benchmarks: 34.2 versus 19.9 in the Noometry coding category.

How many benchmarks do Llama 3.1-8B and StarCoder 2 7B share?

5 benchmarks have published results for both models. Llama 3.1-8B has 43 scored results on Noometry and StarCoder 2 7B has 7.

Related comparisons

Go deeper