Model Comparison

Codestral-22B vs Gemma 2 9B

Codestral-22B significantly outperforms across most benchmarks.

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.

Mon Mar 30 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Cost data unavailable.

Lowest available price from all providers
Mon Mar 30 2026 • llm-stats.com
Mistral AI
Codestral-22B
Input tokens$0.00
Output tokens$0.00
Best providerUnknown Organization
Google
Gemma 2 9B
Input tokens$0.00
Output tokens$0.00
Best providerUnknown Organization
Notice missing or incorrect data?Start an Issue

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

1.8 years ago

Gemma 2 9B

Jun 27, 2024

1.8 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%)

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

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.
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%.
Key differences include licensing (MNPL-0.1 vs Gemma). See the full comparison above for benchmark-by-benchmark results.
Codestral-22B is developed by Mistral AI and Gemma 2 9B is developed by Google.