Model comparison

Gemma 3 4B vs StarCoder 2 15B

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

Last verified . 1 shared benchmarks.

Gemma 3 4B Google

28.1

Rank #326 Confirmed

StarCoder 2 15B NVIDIA

38.1

Unranked Sparse

Summary

  • They share 1 benchmark with published results for both. Gemma 3 4B scores higher in 0 categories and StarCoder 2 15B in 1 category, but none of those gaps is larger than the uncertainty.

Side by side

Gemma 3 4B and StarCoder 2 15B specifications
Gemma 3 4BStarCoder 2 15B
ProviderGoogleNVIDIA
Noometry Index28.138.1
Released2025-03-122024-02-20
WeightsOpenOpen
Context window131K—
Max output4K—
Input $ / M tokens$0.04—
Output $ / M tokens$0.08—
Results tracked227

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

Category by category

Coding Too close to call

Gemma 3 4B: 35.9 (#215), StarCoder 2 15B: 36.6

Coding benchmarks
BenchmarkGemma 3 4BStarCoder 2 15B
LMArena Coding1230—
BigCodeBench Complete—38.4%
HumanEval+—37.8%

Agentic & Tool Use Not comparable

Gemma 3 4B: 20.9 (#142), StarCoder 2 15B: —

Agentic & Tool Use benchmarks
BenchmarkGemma 3 4BStarCoder 2 15B
Berkeley Function Calling Leaderboard19.6%—

Reasoning Not comparable

Gemma 3 4B: 13.2 (#335), StarCoder 2 15B: —

Reasoning benchmarks
BenchmarkGemma 3 4BStarCoder 2 15B
Epoch Capabilities Index116.02105
Kagi LLM Benchmark25.2%—
Chess Puzzles0%—
LMArena Hard Prompts1253—
DTBench50.9%—
LMCA2.8%—
WinoGrande—64.3%

Math Not comparable

Gemma 3 4B: 16.8 (#292), StarCoder 2 15B: —

Math benchmarks
BenchmarkGemma 3 4BStarCoder 2 15B
OTIS Mock AIME 2024-20257.5%—
LMArena Math1239—
GSM8K—57.7%

Knowledge Not comparable

Gemma 3 4B: 11.8 (#299), StarCoder 2 15B: —

Knowledge benchmarks
BenchmarkGemma 3 4BStarCoder 2 15B
GPQA Diamond23.2%—
Vectara Hallucination Rate6.4%—
LMArena Expert1223—
ARC (AI2) Challenge—47.2%
MMLU—64.1%

Multilingual Not comparable

Gemma 3 4B: 42.5 (#194), StarCoder 2 15B: —

Multilingual benchmarks
BenchmarkGemma 3 4BStarCoder 2 15B
LMArena Non-English1273—
LMArena German1281—
LMArena Russian1294—

Instruction Following Not comparable

Gemma 3 4B: 65.2 (#225), StarCoder 2 15B: —

Instruction Following benchmarks
BenchmarkGemma 3 4BStarCoder 2 15B
LMArena Instruction Following1239—

Long Context Not comparable

Gemma 3 4B: 38.7 (#194), StarCoder 2 15B: —

Long Context benchmarks
BenchmarkGemma 3 4BStarCoder 2 15B
LMArena Longer Query1273—

Writing & Preference Not comparable

Gemma 3 4B: 42.0 (#239), StarCoder 2 15B: —

Writing & Preference benchmarks
BenchmarkGemma 3 4BStarCoder 2 15B
LMArena Text1291—
LMArena Creative Writing1271—
EQ-Bench Creative Writing1068—
LMArena Multi-Turn1255—

Frequently asked questions

Is Gemma 3 4B better than StarCoder 2 15B?

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

Is Gemma 3 4B or StarCoder 2 15B better for coding?

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

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

1 benchmark has published results for both models. Gemma 3 4B has 22 scored results on Noometry and StarCoder 2 15B has 7.

Related comparisons

Go deeper