head-to-head

Mistral: Mistral Medium 3.5 vs Google: Gemma 4 31B

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

Mistral: Mistral Medium 3.5 Google: Gemma 4 31B
Vendormistralaigoogle
Quality Score100100
Benchmark Score53.053.7
Input Price$1.50/M$0.20/M
Output Price$7.50/M$0.40/M
Context Window262,144262,144
Max Output209,71516,384
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio--
Benchmark Scores
ai_index49.448.4
ai_index_agentic31.323.8
ai_index_coding77.471.7
eqbench-57.5

The verdict

For a sample job of 1 million input tokens and 250,000 output tokens, Gemma 4 31B costs $0.30 and Mistral Medium 3.5 costs $3.38, so Gemma 4 31B is about 11.2 times cheaper for the same work.

Both read up to 262,144 tokens at once, roughly 393 pages of text.

Only Gemma 4 31B offers video input.

Across the 20 tasks where they differ, Gemma 4 31B on 20 (SQL Generation, Code Review, Code Completion and others).

Pick Gemma 4 31B if you need lower cost, video input or the stronger all-round task scores.

Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.

Who wins by task?

TaskMistral: Mistral Medium 3.5Google: Gemma 4 31B
SQL Generation 153 156
Code Review 147 152
Code Completion 116 131
Code Refactoring 144 151
Bug Fixing 155 160
Unit Test Generation 140 143
Code Documentation 131 137
Regex Writing 128 131
CI/CD Pipelines 132 135
Frontend Component Design 137 138
Data Analysis 151 152
CSV / Spreadsheet Cleanup 142 145
ETL Scripting 138 143
JSON Extraction 134 143
Bulk Data Labeling 123 133
OCR / Document Parsing 139 140
Table Extraction from PDFs 139 140
Long-Document Summarization 141 149
Short-Form Summarization 119 129
Blog Post Writing 129 133

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

Related comparisons

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

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.