Model comparison

Gemma 3 4B vs StarCoder 2 3B

Gemma 3 4B has enough public results to be ranked (#326); StarCoder 2 3B 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 3B NVIDIA

36.3

Unranked Sparse

Summary

  • They share 1 benchmark with published results for both. Gemma 3 4B scores higher in 1 category and StarCoder 2 3B in 0 categories; one gap is clear of the uncertainty.

Side by side

Gemma 3 4B and StarCoder 2 3B specifications
Gemma 3 4BStarCoder 2 3B
ProviderGoogleNVIDIA
Noometry Index28.136.3
Released2025-03-122024-02-22
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 Gemma 3 4B leads

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

Coding benchmarks
BenchmarkGemma 3 4BStarCoder 2 3B
LMArena Coding1230—
BigCodeBench Complete—21.4%
HumanEval+—27.4%

Agentic & Tool Use Not comparable

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

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

Reasoning Not comparable

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

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

Math Not comparable

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

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

Knowledge Not comparable

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

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

Multilingual Not comparable

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

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

Instruction Following Not comparable

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

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

Long Context Not comparable

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

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

Writing & Preference Not comparable

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

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

Frequently asked questions

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

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

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

Gemma 3 4B scores higher on coding benchmarks: 35.9 versus 33.5 in the Noometry coding category.

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

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

Related comparisons

Go deeper