Model comparison
Gemma 2 27B vs StarCoder 2 7B
Gemma 2 27B has enough public results to be ranked (#312); StarCoder 2 7B does not yet, so treat this comparison as directional.
Last verified . 3 shared benchmarks.
Summary
- They share 3 benchmarks with published results for both. Gemma 2 27B scores higher in 0 categories and StarCoder 2 7B in 1 category, but none of those gaps is larger than the uncertainty.
- The biggest single-benchmark swing is BigCodeBench Complete: 52.5% for Gemma 2 27B and 27.7% for StarCoder 2 7B.
Side by side
| Gemma 2 27B | StarCoder 2 7B | |
|---|---|---|
| Provider | NVIDIA | |
| Noometry Index | 29.4 | 37.0 |
| Released | 2024-06-24 | 2024-02-20 |
| Weights | Open | Open |
| Context window | 8K | — |
| Max output | 2K | — |
| Input $ / M tokens | $0.65 | — |
| Output $ / M tokens | $0.65 | — |
| Results tracked | 34 | 7 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Too close to call
Gemma 2 27B: 34.1 (#246), StarCoder 2 7B: 34.8
| Benchmark | Gemma 2 27B | StarCoder 2 7B |
|---|---|---|
| BigCodeBench Complete | 52.5% | 27.7% |
| BigCodeBench Instruct | 42.8% | — |
| LiveBench Coding | 36% | — |
| LMArena Coding | 1211 | — |
| HumanEval+ | — | 29.9% |
Reasoning Not comparable
Gemma 2 27B: 15.3 (#315), StarCoder 2 7B: —
| Benchmark | Gemma 2 27B | StarCoder 2 7B |
|---|---|---|
| Epoch Capabilities Index | 122.08 | 93.56 |
| LiveBench Reasoning | 28.1% | — |
| LMArena Hard Prompts | 1198 | — |
| DTBench | 48% | — |
| LiveBench Data Analysis | 47.9% | — |
| LMCA | 7.1% | — |
| LiveBench | 38.2% | — |
| WinoGrande | — | 57.1% |
Math Not comparable
Gemma 2 27B: 10.7 (#311), StarCoder 2 7B: —
| Benchmark | Gemma 2 27B | StarCoder 2 7B |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 1.4% | — |
| LiveBench Math | 26.5% | — |
| LMArena Math | 1212 | — |
| MATH Level 5 | 27.9% | — |
| GSM8K | — | 32.7% |
Knowledge Not comparable
Gemma 2 27B: 19.0 (#280), StarCoder 2 7B: —
| Benchmark | Gemma 2 27B | StarCoder 2 7B |
|---|---|---|
| MMLU | 75.7% | 38.8% |
| GPQA Diamond | 36.5% | — |
| Confabulations | 27.1% | — |
| LMArena Expert | 1172 | — |
| ARC (AI2) Challenge | — | 38.7% |
Multilingual Not comparable
Gemma 2 27B: 38.6 (#226), StarCoder 2 7B: —
| Benchmark | Gemma 2 27B | StarCoder 2 7B |
|---|---|---|
| LMArena Non-English | 1217 | — |
| LMArena Chinese | 1221 | — |
| LMArena French | 1247 | — |
| LMArena German | 1209 | — |
| LMArena Japanese | 1175 | — |
| LMArena Korean | 1174 | — |
| LMArena Russian | 1234 | — |
| LMArena Spanish | 1228 | — |
Instruction Following Not comparable
Gemma 2 27B: 60.5 (#249), StarCoder 2 7B: —
| Benchmark | Gemma 2 27B | StarCoder 2 7B |
|---|---|---|
| LiveBench Instruction Following | 58.1% | — |
| LMArena Instruction Following | 1206 | — |
Long Context Not comparable
Gemma 2 27B: 37.3 (#218), StarCoder 2 7B: —
| Benchmark | Gemma 2 27B | StarCoder 2 7B |
|---|---|---|
| LMArena Longer Query | 1231 | — |
Writing & Preference Not comparable
Gemma 2 27B: 44.2 (#225), StarCoder 2 7B: —
| Benchmark | Gemma 2 27B | StarCoder 2 7B |
|---|---|---|
| LMArena Text | 1231 | — |
| LMArena Creative Writing | 1241 | — |
| LMArena Multi-Turn | 1224 | — |
| LiveBench Language | 32.6% | — |
Frequently asked questions
Is Gemma 2 27B better than StarCoder 2 7B?
Gemma 2 27B has enough public results to be ranked (#312); StarCoder 2 7B does not yet, so treat this comparison as directional.
Is Gemma 2 27B or StarCoder 2 7B better for coding?
They score almost the same on coding (34.1 vs 34.8); test both on your own repository before choosing.
How many benchmarks do Gemma 2 27B and StarCoder 2 7B share?
3 benchmarks have published results for both models. Gemma 2 27B has 34 scored results on Noometry and StarCoder 2 7B has 7.