# Gemma 2B vs StarCoder 2 7B

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

- Canonical page: https://noometry.com/compare/gemma-2b-vs-starcoder-2-7b
- Last updated: 2026-10-10
- Shared benchmarks: 6

## Summary

- They share 6 benchmarks with published results for both. Gemma 2B 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 28.9.

## Snapshot

| | Gemma 2B | StarCoder 2 7B |
|---|---|---|
| Provider | Google | NVIDIA |
| Noometry Index | 29.1 | 36.5 |
| Rank | 305 | — |
| Context | — | — |
| Input $/M | — | — |
| Output $/M | — | — |
| Weights | Open | Open |

## Coding

- Gemma 2B: 28.9 (#300)
- StarCoder 2 7B: 34.2

| Benchmark | Gemma 2B | StarCoder 2 7B |
|---|---|---|
| HumanEval+ | 20.7% | 29.9% |
| LMArena Coding | 1010 | — |
| BigCodeBench Complete | — | 27.7% |
| MBPP+ | 34.1% | — |

## Reasoning

- Gemma 2B: 17.9 (#275)
- StarCoder 2 7B: —

| Benchmark | Gemma 2B | StarCoder 2 7B |
|---|---|---|
| Epoch Capabilities Index | 93.57 | 92.92 |
| WinoGrande | 65.4% | 57.1% |
| LMArena Hard Prompts | 989 | — |
| BIG-Bench Hard | 35.2% | — |
| HellaSwag | 71.4% | — |
| PIQA | 77.3% | — |

## Math

- Gemma 2B: 27.6 (#237)
- StarCoder 2 7B: —

| Benchmark | Gemma 2B | StarCoder 2 7B |
|---|---|---|
| GSM8K | 17.7% | 32.7% |
| LMArena Math | 1009 | — |

## Knowledge

- Gemma 2B: —
- StarCoder 2 7B: —

| Benchmark | Gemma 2B | StarCoder 2 7B |
|---|---|---|
| ARC (AI2) Challenge | 42.1% | 38.7% |
| MMLU | 42.3% | 38.8% |
| BoolQ | 69.4% | — |
| TriviaQA | 53.2% | — |

## Multilingual

- Gemma 2B: 23.1 (#289)
- StarCoder 2 7B: —

| Benchmark | Gemma 2B | StarCoder 2 7B |
|---|---|---|
| LMArena Non-English | 958 | — |
| LMArena Chinese | 986 | — |
| LMArena Russian | 937 | — |

## Instruction Following

- Gemma 2B: 48.8 (#297)
- StarCoder 2 7B: —

| Benchmark | Gemma 2B | StarCoder 2 7B |
|---|---|---|
| LMArena Instruction Following | 971 | — |

## Long Context

- Gemma 2B: 29.9 (#286)
- StarCoder 2 7B: —

| Benchmark | Gemma 2B | StarCoder 2 7B |
|---|---|---|
| LMArena Longer Query | 981 | — |

## Writing & Preference

- Gemma 2B: 24.1 (#303)
- StarCoder 2 7B: —

| Benchmark | Gemma 2B | StarCoder 2 7B |
|---|---|---|
| LMArena Text | 1002 | — |
| LMArena Creative Writing | 986 | — |
| LMArena Multi-Turn | 945 | — |

## FAQ

### Is Gemma 2B better than StarCoder 2 7B?

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

### Is Gemma 2B or StarCoder 2 7B better for coding?

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

### How many benchmarks do Gemma 2B and StarCoder 2 7B share?

6 benchmarks have published results for both models. Gemma 2B has 23 scored results on Noometry and StarCoder 2 7B has 7.
