head-to-head

Google: Gemma 4 31B vs Mistral: Mistral Small 4

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-04-30.

Google: Gemma 4 31B Mistral: Mistral Small 4
Vendorgooglemistralai
Quality Score100100
Input Price$0.13/M$0.15/M
Output Price$0.38/M$0.60/M
Context Window262,144262,144
Max Output16,384-
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--

Who wins by task?

TaskGoogle: Gemma 4 31BMistral: Mistral Small 4
Code Documentation 126 126
Regex Writing 119 119
JSON Extraction 131 131
Short-Form Summarization 123 123

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

NVIDIA: Nemotron 3 Nano Omni (free) vs Google: Gemma 4 31B NVIDIA: Nemotron 3 Nano Omni (free) vs Mistral: Mistral Small 4 Anthropic Claude Haiku Latest vs Google: Gemma 4 31B Anthropic Claude Haiku Latest vs Mistral: Mistral Small 4 OpenAI GPT Mini Latest vs Google: Gemma 4 31B OpenAI GPT Mini Latest vs Mistral: Mistral Small 4 Google Gemini Pro Latest vs Google: Gemma 4 31B Google Gemini Pro Latest vs Mistral: Mistral Small 4