The AI arena is free today

Open Superagent

Codestral-22B vs Gemma 3 12B

Codestral-22B and Gemma 3 12B are closely matched at -0.4 and 5.2 on the LLM Stats Score.

Mistral AI · Google · Updated for 2026

Which is better?

Codestral-22B and Gemma 3 12B are closely matched on the overall LLM Stats Score at -0.4 and 5.2.

The models split the 2 individual benchmarks reported for both models evenly.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Codestral-22B

  • you are already invested in the Mistral AI ecosystem

Choose Gemma 3 12B

  • you want the most recent training data — it shipped Mar 2025

At a glance

The differences that matter most.

Core performance indexes
-0.4
#367
5.2
#335
-0.6
#359
5.6
#329
2.4
#261
2.7
#257
Cost, coverage & limits
Benchmark wins
1 of 2
1 of 2
Input price
— / M
$0.05 / M
Output price
— / M
$0.15 / M
Context window
—
131,072

Individual benchmarks

7 reported for Codestral-22B · 26 for Gemma 3 12B

2 shared

Codestral-22B outperforms in 1 benchmarks (MBPP), while Gemma 3 12B is better at 1 benchmark (HumanEval).

Both models are evenly matched across the benchmarks.

Sun Nov 08 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Model Size

Parameter count comparison

10.2B diff

Codestral-22B has 10.2B more parameters than Gemma 3 12B, making it 85.0% larger.

Mistral AI
Codestral-22B
22.2Bparameters
Google
Gemma 3 12B
12.0Bparameters
22.2B
Codestral-22B
12.0B
Gemma 3 12B

Context Window

Maximum input and output token capacity

Only Gemma 3 12B specifies input context (131,072 tokens). Only Gemma 3 12B specifies output context (131,072 tokens).

Mistral AI
Codestral-22B
Input- tokens
Output- tokens
Google
Gemma 3 12B
Input131,072 tokens
Output131,072 tokens
Sun Nov 08 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Gemma 3 12B supports multimodal inputs, whereas Codestral-22B does not.

Gemma 3 12B can handle both text and other forms of data like images, making it suitable for multimodal applications.

Codestral-22B

Text
Images
Audio
Video

Gemma 3 12B

Text
Images
Audio
Video

License

Usage and distribution terms

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

Gemma

Open weights

Release Timeline

When each model was launched

Codestral-22B was released on 2024-05-29, while Gemma 3 12B was released on 2025-03-12.

Gemma 3 12B is 10 months newer than Codestral-22B.

Codestral-22B

May 29, 2024

2.4 years ago

Gemma 3 12B

Mar 12, 2025

1.7 years ago

9mo 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?

Judge for yourself.

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

Codestral-22B
✓ Preferred
Gemma 3 12B
Open in Playground

FAQ

Common questions about Codestral-22B vs Gemma 3 12B.

Which is better, Codestral-22B or Gemma 3 12B?

Codestral-22B and Gemma 3 12B are closely matched on the LLM Stats Score at -0.4 and 5.2. Codestral-22B is made by Mistral AI and Gemma 3 12B is made by Google. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Codestral-22B compare to Gemma 3 12B in benchmarks?

Codestral-22B scores HumanEvalFIM-Average: 91.6%, HumanEval: 81.1%, MBPP: 78.2%, Spider: 63.5%, HumanEval-Average: 61.5%. Gemma 3 12B scores GSM8k: 94.4%, IFEval: 88.9%, DocVQA: 87.1%, BIG-Bench Hard: 85.7%, HumanEval: 85.4%.

What are the context window sizes for Codestral-22B and Gemma 3 12B?

Codestral-22B supports an unknown number of tokens and Gemma 3 12B supports 131K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Codestral-22B and Gemma 3 12B?

Key differences include LLM Stats Score (-0.4 vs 5.2), multimodal support (no vs yes), licensing (MNPL-0.1 vs Gemma). See the full comparison above for benchmark-by-benchmark results.

Who makes Codestral-22B and Gemma 3 12B?

Codestral-22B is developed by Mistral AI and Gemma 3 12B is developed by Google.