Model Comparison

Gemma 4 31B vs Mistral Medium 3.5Which is better in 2026?

Mistral Medium 3.5 significantly outperforms across most benchmarks. Gemma 4 31B is 15.6x cheaper per token.

Verdict: Gemma 4 31B vs Mistral Medium 3.5 — which is better?

Gemma 4 31B (by Google) and Mistral Medium 3.5 (by Mistral AI) 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.

Gemma 4 31B outperforms in 0 benchmarks, while Mistral Medium 3.5 is better at 1 benchmark (GDPval-AA). Mistral Medium 3.5 significantly outperforms across most benchmarks.

On price, Gemma 4 31B is roughly 15.6x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Gemma 4 31B also accepts a larger context window (262,144 input tokens), making it the stronger choice for long documents and large codebases.

Choose Gemma 4 31B if…

  • cost matters — it's about 15.6x cheaper per token
  • you process long inputs — it offers a 262,144 token context window

Choose Mistral Medium 3.5 if…

  • you want the strongest raw capability — it leads on 1 of 1 shared benchmarks
  • you want the most recent training data — it shipped Apr 2026

Performance Benchmarks

Comparative analysis across standard metrics

1 benchmarks

Gemma 4 31B outperforms in 0 benchmarks, while Mistral Medium 3.5 is better at 1 benchmark (GDPval-AA).

Mistral Medium 3.5 significantly outperforms across most benchmarks.

Fri Jul 17 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Gemma 4 31B costs less

For input processing, Gemma 4 31B ($0.13/1M tokens) is 11.5x cheaper than Mistral Medium 3.5 ($1.50/1M tokens).

For output processing, Gemma 4 31B ($0.38/1M tokens) is 19.7x cheaper than Mistral Medium 3.5 ($7.50/1M tokens).

In conclusion, Mistral Medium 3.5 is more expensive than Gemma 4 31B.*

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

Lowest available price from all providers
Fri Jul 17 2026 • llm-stats.com
Google
Gemma 4 31B
Input tokens$0.13
Output tokens$0.38
Best providerDeepinfra
Mistral AI
Mistral Medium 3.5
Input tokens$1.50
Output tokens$7.50
Best providerMistral
Notice missing or incorrect data?Start an Issue

Model Size

Parameter count comparison

97.3B diff

Mistral Medium 3.5 has 97.3B more parameters than Gemma 4 31B, making it 316.9% larger.

Google
Gemma 4 31B
30.7Bparameters
Mistral AI
Mistral Medium 3.5
128.0Bparameters
30.7B
Gemma 4 31B
128.0B
Mistral Medium 3.5

Context Window

Maximum input and output token capacity

Gemma 4 31B accepts 262,144 input tokens compared to Mistral Medium 3.5's 256,000 tokens. Mistral Medium 3.5 can generate longer responses up to 256,000 tokens, while Gemma 4 31B is limited to 131,072 tokens.

Google
Gemma 4 31B
Input262,144 tokens
Output131,072 tokens
Mistral AI
Mistral Medium 3.5
Input256,000 tokens
Output256,000 tokens
Fri Jul 17 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Gemma 4 31B and Mistral Medium 3.5 support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Gemma 4 31B

Text
Images
Audio
Video

Mistral Medium 3.5

Text
Images
Audio
Video

License

Usage and distribution terms

Gemma 4 31B is licensed under Apache 2.0, while Mistral Medium 3.5 uses Modified MIT License.

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

Gemma 4 31B

Apache 2.0

Open weights

Mistral Medium 3.5

Modified MIT License

Open weights

Release Timeline

When each model was launched

Gemma 4 31B was released on 2026-04-02, while Mistral Medium 3.5 was released on 2026-04-29.

Mistral Medium 3.5 is 1 month newer than Gemma 4 31B.

Gemma 4 31B

Apr 2, 2026

3 months ago

Mistral Medium 3.5

Apr 29, 2026

2 months ago

3w newer

Knowledge Cutoff

When training data ends

Gemma 4 31B has a documented knowledge cutoff of 2025-01-01, while Mistral Medium 3.5's cutoff date is not specified.

We can confirm Gemma 4 31B's training data extends to 2025-01-01, but cannot make a direct comparison without Mistral Medium 3.5's cutoff date.

Gemma 4 31B

Jan 2025

Mistral Medium 3.5

Provider Availability

Gemma 4 31B is available from DeepInfra, FriendliAI, Novita, Together. Mistral Medium 3.5 is available from Mistral AI.

Gemma 4 31B

deepinfra logo
Deepinfra
Input Price:Input: $0.13/1MOutput Price:Output: $0.38/1M
friendli logo
FriendliAI
Input Price:Input: $0.14/1MOutput Price:Output: $0.40/1M
novita logo
Novita
Input Price:Input: $0.14/1MOutput Price:Output: $0.40/1M
together logo
Together
Input Price:Input: $0.39/1MOutput Price:Output: $0.97/1M

Mistral Medium 3.5

mistral logo
Mistral
Input Price:Input: $1.50/1MOutput Price:Output: $7.50/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (262,144 tokens)
Less expensive input tokens
Less expensive output tokens
Higher GDPval-AA score (30.9% vs 26.1%)

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against Gemma 4 31B and Mistral Medium 3.5 side-by-side, then vote on the output you prefer.

Gemma 4 31B
✓ Preferred
Mistral Medium 3.5
Open in Playground
AI Model Comparison Table
Feature
Google
Gemma 4 31B
Mistral AI
Mistral Medium 3.5

FAQ

Common questions about Gemma 4 31B vs Mistral Medium 3.5.

Which is better, Gemma 4 31B or Mistral Medium 3.5?

Mistral Medium 3.5 significantly outperforms across most benchmarks. Gemma 4 31B is made by Google and Mistral Medium 3.5 is made by Mistral AI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Gemma 4 31B compare to Mistral Medium 3.5 in benchmarks?

Gemma 4 31B scores AIME 2026: 89.2%, MMMLU: 88.4%, t2-bench: 86.4%, MathVision: 85.6%, MMLU-Pro: 85.2%. Mistral Medium 3.5 scores COLLIE: 95.8%, Tau3 Telecom: 91.4%, AIME 2025: 86.3%, SWE-Bench Verified: 77.6%, Tau3 Retail: 76.1%.

Is Gemma 4 31B cheaper than Mistral Medium 3.5?

Gemma 4 31B is 11.5x cheaper for input tokens. Gemma 4 31B costs $0.13/M input and $0.38/M output via deepinfra. Mistral Medium 3.5 costs $1.50/M input and $7.50/M output via mistral.

What are the context window sizes for Gemma 4 31B and Mistral Medium 3.5?

Gemma 4 31B supports 262K tokens and Mistral Medium 3.5 supports 256K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Gemma 4 31B and Mistral Medium 3.5?

Key differences include context window (262K vs 256K), input pricing ($0.13 vs $1.50/M), licensing (Apache 2.0 vs Modified MIT License). See the full comparison above for benchmark-by-benchmark results.

Who makes Gemma 4 31B and Mistral Medium 3.5?

Gemma 4 31B is developed by Google and Mistral Medium 3.5 is developed by Mistral AI.