Model comparison
Codestral vs Gemma 2B
Codestral is the stronger model overall, scoring 30.1 to 29.1 on the Noometry Index.
Last verified . 2 shared benchmarks.
Summary
- They share 2 benchmarks with published results for both. Codestral scores higher in 1 category and Gemma 2B in 1 category; 2 gaps are clear of the uncertainty.
Side by side
| Codestral | Gemma 2B | |
|---|---|---|
| Provider | Mistral AI | |
| Noometry Index | 30.1 | 29.1 |
| Released | 2024-05-29 | 2024-02-21 |
| Weights | Open | Open |
| Context window | 256K | — |
| Max output | 4K | — |
| Input $ / M tokens | $0.30 | — |
| Output $ / M tokens | $0.90 | — |
| Results tracked | 7 | 23 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Gemma 2B leads
Codestral: 26.9 (#316), Gemma 2B: 28.9 (#300)
| 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 leads
Codestral: 19.1 (#244), Gemma 2B: 17.9 (#275)
| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| Kagi LLM Benchmark | 32.5% | — |
| LMArena Hard Prompts | — | 989 |
| BIG-Bench Hard | — | 35.2% |
| Epoch Capabilities Index | — | 93.57 |
| HellaSwag | — | 71.4% |
| PIQA | — | 77.3% |
| WinoGrande | — | 65.4% |
Math Not comparable
Codestral: —, Gemma 2B: 27.6 (#237)
| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| LMArena Math | — | 1009 |
| GSM8K | — | 17.7% |
Knowledge Not comparable
Codestral: —, Gemma 2B: —
| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| ARC (AI2) Challenge | — | 42.1% |
| BoolQ | — | 69.4% |
| MMLU | — | 42.3% |
| TriviaQA | — | 53.2% |
Multilingual Not comparable
Codestral: —, Gemma 2B: 23.1 (#289)
| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| LMArena Non-English | — | 958 |
| LMArena Chinese | — | 986 |
| LMArena Russian | — | 937 |
Instruction Following Not comparable
Codestral: —, Gemma 2B: 48.8 (#297)
| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| LMArena Instruction Following | — | 971 |
Long Context Not comparable
Codestral: —, Gemma 2B: 29.9 (#286)
| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| LMArena Longer Query | — | 981 |
Writing & Preference Not comparable
Codestral: —, Gemma 2B: 24.1 (#303)
| Benchmark | Codestral | Gemma 2B |
|---|---|---|
| LMArena Text | — | 1002 |
| LMArena Creative Writing | — | 986 |
| LMArena Multi-Turn | — | 945 |
Frequently asked questions
Is Codestral better than Gemma 2B?
Codestral is the stronger model overall, scoring 30.1 to 29.1 on the Noometry Index.
Is Codestral or Gemma 2B better for coding?
Gemma 2B scores higher on coding benchmarks: 28.9 versus 26.9 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.