Model Comparison

Codestral-22B vs Gemma 2 27B

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 27B is better at 0 benchmarks.

Codestral-22B significantly outperforms across most benchmarks.

Mon Jun 01 2026 • llm-stats.com

Arena Performance

Human preference votes

Model Size

Parameter count comparison

5.0B diff

Gemma 2 27B has 5.0B more parameters than Codestral-22B, making it 22.5% larger.

Mistral AI
Codestral-22B
22.2Bparameters
Google
Gemma 2 27B
27.2Bparameters
22.2B
Codestral-22B
27.2B
Gemma 2 27B

License

Usage and distribution terms

Codestral-22B is licensed under MNPL-0.1, while Gemma 2 27B 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 27B

Gemma

Open weights

Release Timeline

When each model was launched

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

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

Codestral-22B

May 29, 2024

2.0 years ago

Gemma 2 27B

Jun 27, 2024

1.9 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 51.8%)
Higher MBPP score (78.2% vs 62.6%)

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 27B

FAQ

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

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

Codestral-22B significantly outperforms across most benchmarks. Codestral-22B is made by Mistral AI and Gemma 2 27B 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 27B in benchmarks?

Codestral-22B scores HumanEvalFIM-Average: 91.6%, HumanEval: 81.1%, MBPP: 78.2%, Spider: 63.5%, HumanEval-Average: 61.5%. Gemma 2 27B scores ARC-E: 88.6%, HellaSwag: 86.4%, BoolQ: 84.8%, TriviaQA: 83.7%, Winogrande: 83.7%.

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

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 27B?

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