The AI arena is free today

Open Superagent

Codestral-22B vs Gemma 2 9B

Codestral-22B significantly outperforms across most benchmarks.

Mistral AI · Google · Updated for 2026

Which is better?

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

Based on current benchmark, pricing, and model metadata for 2026.

Choose Codestral-22B

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

Choose Gemma 2 9B

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

At a glance

The differences that matter most.

Benchmark wins
2 of 2
0 of 2
Input price
— / M
— / M
Output price
— / M
— / M
Context window
Released
May 2024
Jun 2024
License
MNPL-0.1
Gemma

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.

Thu Aug 27 2026 • llm-stats.com

Arena Performance

Playground indexes and blind preference scores

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.2 years ago

Gemma 2 9B

Jun 27, 2024

2.2 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

Judge for yourself.

Run your own prompts against Codestral-22B and Gemma 2 9B side-by-side, then vote on the output you prefer.

Codestral-22B
✓ Preferred
Gemma 2 9B
Open in Playground

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.