AI Models · Open-Source vs Open-Source

Gemma 4 31B Open vs Mistral Medium 3.5 Open

Gemma 4 31B vs Mistral Medium 3.5 compared — price per token, context window, multimodality, openness and which to choose. Full 2026 breakdown.

Prices & specs refreshed from live data · olud.ai

Open-model prices = cheapest provider via OpenRouter; official maker rates may be higher.

Choose Gemma 4 31B for the lower output price ($0.34/M vs $7.5/M). It also gives you the larger 262K context window.

Gemma 4 31B vs Mistral Medium 3.5 specs

SpecGemma 4 31BMistral Medium 3.5
MakerGoogleMistral AI
TypeOpen-weightOpen-weight
Context window262K tokens262K tokens
Input price$0.1/M · free self-host$1.5/M · free self-host
Output price$0.34/M · free self-host$7.5/M · free self-host
Vision / multimodalYesYes
Tool / function callingYesYes
Self-hostableYesYes
LicenseGemma LicenseApache 2.0

Feature comparison

CapabilityGemma 4 31BMistral Medium 3.5
Open weights (downloadable)
Self-hostable
Runs fully offline
Vision / multimodal
Tool / function calling
1M+ context window

Benchmarks: Gemma 4 31B vs Mistral Medium 3.5

Independent benchmark scores measured by Artificial Analysis. Higher is better (except latency).

Gemma 4 31B
Mistral Medium 3.5
Intelligence index
29.4
29.9
Coding index
43.4
46.9
GPQA
85.7%
74.8%
Humanity's Last Exam
22.7%
12.8%
Long Context Reasoning
62%
61%
SciCode
43.4%
39.6%
IFBench
75.6%
68.8%
τ²-Bench
59.9%
94.2%
τ-Bench Banking
15.1%
14.4%
Terminal-Bench
43.4%
50.6%
Terminal-Bench Hard
36.4%
33.3%
Speed
35.5 tok/s
59.8 tok/s
Latency
1.04s
0.77s
Intelligence per $
10

Benchmark data by Artificial Analysis.

How Gemma 4 31B and Mistral Medium 3.5 score

🤝 Neck and neck on these criteria (4.8 vs 4.6 / 5).
CriterionGemma 4 31BMistral Medium 3.5
Cost-efficiency5.04.0
Context window4.04.0
Openness5.05.0
Self-hosting5.05.0
Multimodality5.05.0

Scores come from live data — output price (cost), context length, open vs closed weights (openness & self-hosting) and vision/tool support (multimodality). Raw task quality isn't scored here; it depends on your benchmark — see the verdict.

What each model is

Gemma 4 31B Open

Google · Open-weight

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...

Mistral Medium 3.5 Open

Mistral AI · Open-weight

Mistral Medium 3.5 is a dense 128B instruction-following model from Mistral AI. It supports text and image inputs with text output, and is designed for agentic workflows, coding, and complex...

Other models in these families

These variants are tracked but not compared here — one page per family keeps the comparison readable.

Other variants tracked
Gemma 4 31B (free)Gemma 4 26B A4BGemma 4 26B A4B (free)Gemma 3 27BGemma 3 12BGemma 3n 4BGemma 3 4BGemma 2 27B
Other variants tracked
Mistral Small 4Devstral 2 2512Mistral Large 3 2512Mistral Medium 3.1Mistral Small 3.1 24BMistral Medium 3Ministral 3 14B 2512Mistral Small 3.2 24BMinistral 3 8B 2512Mistral LargeMistral Large 2407Mistral Small 3SabaMinistral 3 3B 2512Mixtral 8x22B InstructCodestral 2508UncensoredVoxtral Small 24B 2507Mistral Nemo

Frequently asked questions

Gemma 4 31B vs Mistral Medium 3.5 — which is cheaper?

Gemma 4 31B is cheaper on output ($0.34/M vs $7.5/M).

Which has the larger context window?

Gemma 4 31B offers the larger context window (262K tokens).

Gemma 4 31B vs Mistral Medium 3.5 — which should I pick in 2026?

Choose Gemma 4 31B for the lower output price ($0.34/M vs $7.5/M). It also gives you the larger 262K context window.

People also compare

Explore more open-source AI

Browse the full open-source model leaderboard, thousands of tools and live benchmarks — all in one place.

Open the leaderboard →