Model Comparison

Codestral-22B vs Gemma 2 9BWhich is better in 2026?

Codestral-22B significantly outperforms across most benchmarks.

Verdict: Codestral-22B vs Gemma 2 9B — which is better?

Codestral-22B (by Mistral AI) and Gemma 2 9B (by Google) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Codestral-22B outperforms in 2 benchmarks (HumanEval, MBPP), while Gemma 2 9B is better at 0 benchmarks. Codestral-22B significantly outperforms across most benchmarks.

Choose Codestral-22B if…

  • you want the strongest raw capability — it leads on 2 of 2 shared benchmarks

Choose Gemma 2 9B if…

  • you want the most recent training data — it shipped Jun 2024

Performance Benchmarks

Comparative analysis across standard metrics

2 benchmarks

Codestral-22B outperforms in 2 benchmarks (HumanEval, MBPP), while Gemma 2 9B is better at 0 benchmarks.

Codestral-22B significantly outperforms across most benchmarks.

Sat Jun 13 2026 • llm-stats.com

Arena Performance

Human preference votes

Model Size

Parameter count comparison

13.0B diff

Codestral-22B has 13.0B more parameters than Gemma 2 9B, making it 140.3% larger.

Mistral AI
Codestral-22B
22.2Bparameters
Google
Gemma 2 9B
9.2Bparameters
22.2B
Codestral-22B
9.2B
Gemma 2 9B

License

Usage and distribution terms

Codestral-22B is licensed under MNPL-0.1, while Gemma 2 9B uses Gemma.

License differences may affect how you can use these models in commercial or open-source projects.

Codestral-22B

MNPL-0.1

Open weights

Gemma 2 9B

Gemma

Open weights

Release Timeline

When each model was launched

Codestral-22B was released on 2024-05-29, while Gemma 2 9B was released on 2024-06-27.

Gemma 2 9B is 1 month newer than Codestral-22B.

Codestral-22B

May 29, 2024

2.0 years ago

Gemma 2 9B

Jun 27, 2024

2.0 years ago

4w newer

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Higher HumanEval score (81.1% vs 40.2%)
Higher MBPP score (78.2% vs 52.4%)

No standout differentiators in the data we have for this pair.

Detailed Comparison

AI Model Comparison Table
Feature
Mistral AI
Codestral-22B
Google
Gemma 2 9B

FAQ

Common questions about Codestral-22B vs Gemma 2 9B.

Which is better, Codestral-22B or Gemma 2 9B?

Codestral-22B significantly outperforms across most benchmarks. Codestral-22B is made by Mistral AI and Gemma 2 9B is made by Google. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Codestral-22B compare to Gemma 2 9B in benchmarks?

Codestral-22B scores HumanEvalFIM-Average: 91.6%, HumanEval: 81.1%, MBPP: 78.2%, Spider: 63.5%, HumanEval-Average: 61.5%. Gemma 2 9B scores ARC-E: 88.0%, BoolQ: 84.2%, HellaSwag: 81.9%, PIQA: 81.7%, Winogrande: 80.6%.

What are the main differences between Codestral-22B and Gemma 2 9B?

Key differences include licensing (MNPL-0.1 vs Gemma). See the full comparison above for benchmark-by-benchmark results.

Who makes Codestral-22B and Gemma 2 9B?

Codestral-22B is developed by Mistral AI and Gemma 2 9B is developed by Google.