# Codestral vs Gemma 2B

> Codestral and Gemma 2B score almost the same on the Noometry Index (30.6 vs 29.6), so choose on price, context window or the category you care about most.

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

## Summary

- They share 2 benchmarks with published results for both. Codestral scores higher in 1 category and Gemma 2B in 1 category; one gap is clear of the uncertainty.
- Gemma 2B has downloadable open weights; the other is API-only.

## Snapshot

| | Codestral | Gemma 2B |
|---|---|---|
| Provider | Mistral AI | Google |
| Noometry Index | 30.6 | 29.6 |
| Rank | 290 | 307 |
| Context | 256K | — |
| Input $/M | $0.30 | — |
| Output $/M | $0.90 | — |
| Weights | Proprietary | Open |

## Coding

- Codestral: 27.3 (#321)
- Gemma 2B: 29.4 (#305)

| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| HumanEval+ | 73.8% | 20.7% |
| MBPP+ | 61.9% | 34.1% |
| Aider Polyglot | 11.1% | — |
| BigCodeBench Instruct | 41.8% | — |
| LMArena Coding | — | 1010 |
| BigCodeBench Complete | 52.5% | — |
| ALE-Bench | 137.78 | — |

## Reasoning

- Codestral: 19.8 (#251)
- Gemma 2B: 18.8 (#275)

| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| Kagi LLM Benchmark | 32.5% | — |
| LMArena Hard Prompts | — | 989 |
| BIG-Bench Hard | — | 35.2% |
| Epoch Capabilities Index | — | 94.2 |
| HellaSwag | — | 71.4% |
| PIQA | — | 77.3% |
| WinoGrande | — | 65.4% |

## Math

- Codestral: —
- Gemma 2B: 30.0 (#239)

| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| LMArena Math | — | 1009 |
| GSM8K | — | 17.7% |

## Knowledge

- Codestral: —
- Gemma 2B: —

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

## Multilingual

- Codestral: —
- Gemma 2B: 23.0 (#294)

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

## Instruction Following

- Codestral: —
- Gemma 2B: 48.5 (#302)

| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| LMArena Instruction Following | — | 970 |

## Long Context

- Codestral: —
- Gemma 2B: 29.9 (#291)

| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| LMArena Longer Query | — | 981 |

## Writing & Preference

- Codestral: —
- Gemma 2B: 24.0 (#308)

| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| LMArena Text | — | 1002 |
| LMArena Creative Writing | — | 987 |
| LMArena Multi-Turn | — | 945 |

## FAQ

### Is Codestral better than Gemma 2B?

Codestral and Gemma 2B score almost the same on the Noometry Index (30.6 vs 29.6), so choose on price, context window or the category you care about most.

### Is Codestral or Gemma 2B better for coding?

Gemma 2B scores higher on coding benchmarks: 29.4 versus 27.3 in the Noometry coding category.

### How many benchmarks do Codestral and Gemma 2B share?

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