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-09-23.

Google: Gemma 4 31B Mistral: Mistral Small 4
Vendorgooglemistralai
Quality Score100100
Benchmark Score53.73.8
Input Price$0.09/M$0.15/M
Output Price$0.34/M$0.60/M
Context Window262,144262,144
Max Output16,384209,715
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index31.39.6
eqbench70.8-

Who wins by task?

TaskGoogle: Gemma 4 31BMistral: Mistral Small 4
SQL Generation 139 132
Code Review 140 128
Code Completion 131 129
Code Refactoring 141 129
Bug Fixing 144 132
Unit Test Generation 130 122
Code Documentation 134 127
Regex Writing 125 120
CI/CD Pipelines 126 118
Frontend Component Design 128 123
Data Analysis 132 125
CSV / Spreadsheet Cleanup 133 128
ETL Scripting 133 123
JSON Extraction 131 131
Bulk Data Labeling 129 129
OCR / Document Parsing 131 128
Table Extraction from PDFs 131 128
Long-Document Summarization 143 131
Short-Form Summarization 126 124
Blog Post Writing 127 120

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

Related comparisons

Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B Anthropic: Claude Haiku Latest vs Mistral: Mistral Small 4 Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B Anthropic: Claude Sonnet 5 vs Mistral: Mistral Small 4 Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B Anthropic: Claude Sonnet Latest vs Mistral: Mistral Small 4 Google: Gemini 3.1 Flash Lite vs Google: Gemma 4 31B Google: Gemini 3.5 Flash Lite vs Google: Gemma 4 31B

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.