Model comparison

Gemma 2 9B vs StarCoder 2 3B

Gemma 2 9B has enough public results to be ranked (#341); StarCoder 2 3B does not yet, so treat this comparison as directional.

Last verified . 4 shared benchmarks.

Gemma 2 9B Google

25.9

Rank #341 Confirmed

StarCoder 2 3B NVIDIA

36.3

Unranked Sparse

Summary

  • They share 4 benchmarks with published results for both. Gemma 2 9B scores higher in 0 categories and StarCoder 2 3B in 1 category; one gap is clear of the uncertainty.
  • The widest gap is in coding, where StarCoder 2 3B leads 33.5 to 29.4.
  • The biggest single-benchmark swing is BigCodeBench Complete: 40.6% for Gemma 2 9B and 21.4% for StarCoder 2 3B.

Side by side

Gemma 2 9B and StarCoder 2 3B specifications
Gemma 2 9BStarCoder 2 3B
ProviderGoogleNVIDIA
Noometry Index25.936.3
Released2024-06-242024-02-22
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked357

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

Category by category

Coding StarCoder 2 3B leads

Gemma 2 9B: 29.4 (#304), StarCoder 2 3B: 33.5

Coding benchmarks
BenchmarkGemma 2 9BStarCoder 2 3B
BigCodeBench Complete40.6%21.4%
BigCodeBench Instruct34.7%—
LiveBench Coding22.5%—
LMArena Coding1173—
HumanEval+—27.4%

Reasoning Not comparable

Gemma 2 9B: 15.9 (#309), StarCoder 2 3B: —

Reasoning benchmarks
BenchmarkGemma 2 9BStarCoder 2 3B
Epoch Capabilities Index119.8388.76
LiveBench Reasoning15.2%—
LMArena Hard Prompts1171—
LiveBench Data Analysis36.4%—
LiveBench28.7%—
PIQA83.7%—
WinoGrande—57.1%

Math Not comparable

Gemma 2 9B: 9.9 (#318), StarCoder 2 3B: —

Math benchmarks
BenchmarkGemma 2 9BStarCoder 2 3B
GSM8K84.9%21.6%
OTIS Mock AIME 2024-20250.6%—
LiveBench Math19.8%—
LMArena Math1183—
MATH Level 521%—

Knowledge Not comparable

Gemma 2 9B: 9.7 (#305), StarCoder 2 3B: —

Knowledge benchmarks
BenchmarkGemma 2 9BStarCoder 2 3B
MMLU72.1%36.6%
GPQA Diamond27.5%—
LMArena Expert1147—
ARC (AI2) Challenge—34.2%
BoolQ85.7%—

Multilingual Not comparable

Gemma 2 9B: 36.6 (#238), StarCoder 2 3B: —

Multilingual benchmarks
BenchmarkGemma 2 9BStarCoder 2 3B
LMArena Non-English1188—
LMArena Chinese1185—
LMArena French1190—
LMArena German1186—
LMArena Japanese1144—
LMArena Korean1137—
LMArena Russian1200—
LMArena Spanish1200—

Instruction Following Not comparable

Gemma 2 9B: 57.6 (#269), StarCoder 2 3B: —

Instruction Following benchmarks
BenchmarkGemma 2 9BStarCoder 2 3B
LiveBench Instruction Following52.6%—
LMArena Instruction Following1178—

Long Context Not comparable

Gemma 2 9B: 36.3 (#233), StarCoder 2 3B: —

Long Context benchmarks
BenchmarkGemma 2 9BStarCoder 2 3B
LMArena Longer Query1197—

Writing & Preference Not comparable

Gemma 2 9B: 32.1 (#281), StarCoder 2 3B: —

Writing & Preference benchmarks
BenchmarkGemma 2 9BStarCoder 2 3B
LMArena Text1207—
LMArena Creative Writing1206—
EQ-Bench Creative Writing841—
LMArena Multi-Turn1193—
LiveBench Language25.5%—

Frequently asked questions

Is Gemma 2 9B better than StarCoder 2 3B?

Gemma 2 9B has enough public results to be ranked (#341); StarCoder 2 3B does not yet, so treat this comparison as directional.

Is Gemma 2 9B or StarCoder 2 3B better for coding?

StarCoder 2 3B scores higher on coding benchmarks: 33.5 versus 29.4 in the Noometry coding category.

How many benchmarks do Gemma 2 9B and StarCoder 2 3B share?

4 benchmarks have published results for both models. Gemma 2 9B has 35 scored results on Noometry and StarCoder 2 3B has 7.

Related comparisons

Go deeper