Model Comparison

Codestral-22B vs Gemini 1.5 Flash

Codestral-22B significantly outperforms across most benchmarks.

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

Codestral-22B outperforms in 1 benchmarks (HumanEval), while Gemini 1.5 Flash is better at 0 benchmarks.

Codestral-22B significantly outperforms across most benchmarks.

Wed Apr 22 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
Wed Apr 22 2026 • llm-stats.com
Mistral AI
Codestral-22B
Input tokens$0.00
Output tokens$0.00
Best providerUnknown Organization
Google
Gemini 1.5 Flash
Input tokens$0.15
Output tokens$0.60
Best providerGoogle
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Only Gemini 1.5 Flash specifies input context (1,048,576 tokens). Only Gemini 1.5 Flash specifies output context (8,192 tokens).

Mistral AI
Codestral-22B
Input- tokens
Output- tokens
Google
Gemini 1.5 Flash
Input1,048,576 tokens
Output8,192 tokens
Wed Apr 22 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Gemini 1.5 Flash supports multimodal inputs, whereas Codestral-22B does not.

Gemini 1.5 Flash can handle both text and other forms of data like images, making it suitable for multimodal applications.

Codestral-22B

Text
Images
Audio
Video

Gemini 1.5 Flash

Text
Images
Audio
Video

License

Usage and distribution terms

Codestral-22B is licensed under MNPL-0.1, while Gemini 1.5 Flash uses a proprietary license.

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

Codestral-22B

MNPL-0.1

Open weights

Gemini 1.5 Flash

Proprietary

Closed source

Release Timeline

When each model was launched

Codestral-22B was released on 2024-05-29, while Gemini 1.5 Flash was released on 2024-05-01.

Codestral-22B is 1 month newer than Gemini 1.5 Flash.

Codestral-22B

May 29, 2024

1.9 years ago

4w newer
Gemini 1.5 Flash

May 1, 2024

2.0 years ago

Knowledge Cutoff

When training data ends

Gemini 1.5 Flash has a documented knowledge cutoff of 2023-11-01, while Codestral-22B's cutoff date is not specified.

We can confirm Gemini 1.5 Flash's training data extends to 2023-11-01, but cannot make a direct comparison without Codestral-22B's cutoff date.

Codestral-22B

Gemini 1.5 Flash

Nov 2023

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Has open weights
Higher HumanEval score (81.1% vs 74.3%)
Larger context window (1,048,576 tokens)
Supports multimodal inputs
Mistral AICodestral-22B
GoogleGemini 1.5 Flash

Detailed Comparison

AI Model Comparison Table
Feature
Mistral AI
Codestral-22B
Google
Gemini 1.5 Flash

FAQ

Common questions about Codestral-22B vs Gemini 1.5 Flash

Codestral-22B significantly outperforms across most benchmarks. Codestral-22B is made by Mistral AI and Gemini 1.5 Flash 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%. Gemini 1.5 Flash scores XSTest: 97.0%, HellaSwag: 86.5%, GSM8k: 86.2%, BIG-Bench Hard: 85.5%, MGSM: 82.6%.
Codestral-22B supports an unknown number of tokens and Gemini 1.5 Flash supports 1.0M tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.
Key differences include multimodal support (no vs yes), licensing (MNPL-0.1 vs Proprietary). See the full comparison above for benchmark-by-benchmark results.
Codestral-22B is developed by Mistral AI and Gemini 1.5 Flash is developed by Google.