The AI arena is free today

Open Superagent

Codestral-22B vs Gemini 3.7 Flash

Comparing Codestral-22B and Gemini 3.7 Flash across benchmarks, pricing, and capabilities.

Mistral AI · Google · Updated for 2026

Which is better?

Codestral-22B and Gemini 3.7 Flash trade strengths across price, capabilities, and technical limits. The better choice depends on the workload.

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

Choose Codestral-22B

  • you need open weights you can self-host or fine-tune

Choose Gemini 3.7 Flash

  • you want the most recent training data — it shipped Aug 2026

At a glance

The differences that matter most.

Benchmark wins
Input price
— / M
$0.75 / M
Output price
— / M
$3.75 / M
Context window
1,048,576
Released
May 2024
Aug 2026
License
MNPL-0.1
Proprietary

Performance Benchmarks

Comparative analysis across standard metrics

No common benchmarks found

Codestral-22B and Gemini 3.7 Flashdon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Arena Performance

Playground indexes and blind preference scores

Context Window

Maximum input and output token capacity

Only Gemini 3.7 Flash specifies input context (1,048,576 tokens). Only Gemini 3.7 Flash specifies output context (65,536 tokens).

Mistral AI
Codestral-22B
Input- tokens
Output- tokens
Google
Gemini 3.7 Flash
Input1,048,576 tokens
Output65,536 tokens
Tue Aug 25 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

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

Gemini 3.7 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 3.7 Flash

Text
Images
Audio
Video

License

Usage and distribution terms

Codestral-22B is licensed under MNPL-0.1, while Gemini 3.7 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 3.7 Flash

Proprietary

Closed source

Release Timeline

When each model was launched

Codestral-22B was released on 2024-05-29, while Gemini 3.7 Flash was released on 2026-08-13.

Gemini 3.7 Flash is 27 months newer than Codestral-22B.

Codestral-22B

May 29, 2024

2.2 years ago

Gemini 3.7 Flash

Aug 13, 2026

1 weeks ago

2.2yr newer

Knowledge Cutoff

When training data ends

Gemini 3.7 Flash has a documented knowledge cutoff of 2026-03-31, while Codestral-22B's cutoff date is not specified.

We can confirm Gemini 3.7 Flash's training data extends to 2026-03-31, but cannot make a direct comparison without Codestral-22B's cutoff date.

Codestral-22B

Gemini 3.7 Flash

Mar 2026

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against Codestral-22B and Gemini 3.7 Flash side-by-side, then vote on the output you prefer.

Codestral-22B
✓ Preferred
Gemini 3.7 Flash
Open in Playground

FAQ

Common questions about Codestral-22B vs Gemini 3.7 Flash.

Which is better, Codestral-22B or Gemini 3.7 Flash?

Codestral-22B (Mistral AI) and Gemini 3.7 Flash (Google) each have strengths in different areas. Compare their benchmark scores, pricing, context windows, and capabilities above to determine which fits your needs.

How does Codestral-22B compare to Gemini 3.7 Flash in benchmarks?

Codestral-22B scores HumanEvalFIM-Average: 91.6%, HumanEval: 81.1%, MBPP: 78.2%, Spider: 63.5%, HumanEval-Average: 61.5%. Gemini 3.7 Flash scores MRCR v2 (8-needle): 97.0%, Harvey LAB-AA: 90.7%, CharXiv-R: 88.7%, Terminal-Bench 2.1: 85.8%, LVBench: 85.4%.

What are the context window sizes for Codestral-22B and Gemini 3.7 Flash?

Codestral-22B supports an unknown number of tokens and Gemini 3.7 Flash supports 1.0M 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 Gemini 3.7 Flash?

Key differences include multimodal support (no vs yes), licensing (MNPL-0.1 vs Proprietary). See the full comparison above for benchmark-by-benchmark results.

Who makes Codestral-22B and Gemini 3.7 Flash?

Codestral-22B is developed by Mistral AI and Gemini 3.7 Flash is developed by Google.