Model Comparison

Devstral Medium vs Gemini 2.5 FlashWhich is better in 2026?

Devstral Medium significantly outperforms across most benchmarks. Devstral Medium is 1.1x cheaper per token.

Verdict: Devstral Medium vs Gemini 2.5 Flash — which is better?

Devstral Medium (by Mistral AI) and Gemini 2.5 Flash (by Google) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Devstral Medium outperforms in 1 benchmarks (SWE-Bench Verified), while Gemini 2.5 Flash is better at 0 benchmarks. Devstral Medium significantly outperforms across most benchmarks.

On price, Devstral Medium is roughly 1.1x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Gemini 2.5 Flash also accepts a larger context window (1,048,576 input tokens), making it the stronger choice for long documents and large codebases.

Choose Devstral Medium if…

  • you want the strongest raw capability — it leads on 1 of 1 shared benchmarks
  • cost matters — it's about 1.1x cheaper per token
  • you want the most recent training data — it shipped Jul 2025

Choose Gemini 2.5 Flash if…

  • you process long inputs — it offers a 1,048,576 token context window

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

Devstral Medium outperforms in 1 benchmarks (SWE-Bench Verified), while Gemini 2.5 Flash is better at 0 benchmarks.

Devstral Medium significantly outperforms across most benchmarks.

Wed Jun 24 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Devstral Medium costs less

For input processing, Devstral Medium ($0.40/1M tokens) is 1.3x more expensive than Gemini 2.5 Flash ($0.30/1M tokens).

For output processing, Devstral Medium ($2.00/1M tokens) is 1.3x cheaper than Gemini 2.5 Flash ($2.50/1M tokens).

In conclusion, Gemini 2.5 Flash is more expensive than Devstral Medium.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Wed Jun 24 2026 • llm-stats.com
Mistral AI
Devstral Medium
Input tokens$0.40
Output tokens$2.00
Best providerMistral
Google
Gemini 2.5 Flash
Input tokens$0.30
Output tokens$2.50
Best providerGoogle
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Gemini 2.5 Flash accepts 1,048,576 input tokens compared to Devstral Medium's 128,000 tokens. Devstral Medium can generate longer responses up to 128,000 tokens, while Gemini 2.5 Flash is limited to 65,536 tokens.

Mistral AI
Devstral Medium
Input128,000 tokens
Output128,000 tokens
Google
Gemini 2.5 Flash
Input1,048,576 tokens
Output65,536 tokens
Wed Jun 24 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Gemini 2.5 Flash supports multimodal inputs, whereas Devstral Medium does not.

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

Devstral Medium

Text
Images
Audio
Video

Gemini 2.5 Flash

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Devstral Medium

Proprietary

Closed source

Gemini 2.5 Flash

Proprietary

Closed source

Release Timeline

When each model was launched

Devstral Medium was released on 2025-07-10, while Gemini 2.5 Flash was released on 2025-05-20.

Devstral Medium is 2 months newer than Gemini 2.5 Flash.

Devstral Medium

Jul 10, 2025

11 months ago

1mo newer
Gemini 2.5 Flash

May 20, 2025

1.1 years ago

Knowledge Cutoff

When training data ends

Gemini 2.5 Flash has a documented knowledge cutoff of 2025-01-31, while Devstral Medium's cutoff date is not specified.

We can confirm Gemini 2.5 Flash's training data extends to 2025-01-31, but cannot make a direct comparison without Devstral Medium's cutoff date.

Devstral Medium

Gemini 2.5 Flash

Jan 2025

Provider Availability

Devstral Medium is available from Mistral AI. Gemini 2.5 Flash is available from Google.

Devstral Medium

mistral logo
Mistral
Input Price:Input: $0.40/1MOutput Price:Output: $2.00/1M

Gemini 2.5 Flash

google logo
Google
Input Price:Input: $0.30/1MOutput Price:Output: $2.50/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Less expensive output tokens
Higher SWE-Bench Verified score (61.6% vs 60.4%)
Larger context window (1,048,576 tokens)
Supports multimodal inputs
Less expensive input tokens
Mistral AIDevstral Medium
GoogleGemini 2.5 Flash

Detailed Comparison

AI Model Comparison Table
Feature
Mistral AI
Devstral Medium
Google
Gemini 2.5 Flash

FAQ

Common questions about Devstral Medium vs Gemini 2.5 Flash.

Which is better, Devstral Medium or Gemini 2.5 Flash?

Devstral Medium significantly outperforms across most benchmarks. Devstral Medium is made by Mistral AI and Gemini 2.5 Flash is made by Google. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Devstral Medium compare to Gemini 2.5 Flash in benchmarks?

Devstral Medium scores SWE-Bench Verified: 61.6%. Gemini 2.5 Flash scores Global-MMLU-Lite: 88.4%, AIME 2024: 88.0%, FACTS Grounding: 85.3%, GPQA: 82.8%, MMMU: 79.7%.

Is Devstral Medium cheaper than Gemini 2.5 Flash?

Gemini 2.5 Flash is 1.3x cheaper for input tokens. Devstral Medium costs $0.40/M input and $2.00/M output via mistral. Gemini 2.5 Flash costs $0.30/M input and $2.50/M output via google.

What are the context window sizes for Devstral Medium and Gemini 2.5 Flash?

Devstral Medium supports 128K tokens and Gemini 2.5 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 Devstral Medium and Gemini 2.5 Flash?

Key differences include context window (128K vs 1.0M), input pricing ($0.40 vs $0.30/M), multimodal support (no vs yes). See the full comparison above for benchmark-by-benchmark results.

Who makes Devstral Medium and Gemini 2.5 Flash?

Devstral Medium is developed by Mistral AI and Gemini 2.5 Flash is developed by Google.