head-to-head

Mistral: Mistral Medium 3.5 vs Google: Gemma 4 31B (free)

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

Mistral: Mistral Medium 3.5 Google: Gemma 4 31B (free)
Vendormistralaigoogle
Quality Score100100
Benchmark Score63.3-
Input Price$1.50/MFree
Output Price$7.50/MFree
Context Window262,144262,144
Max Output-8,192
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index49.4-
ai_index_agentic87.7-
ai_index_coding58.4-

Who wins by task?

TaskMistral: Mistral Medium 3.5Google: Gemma 4 31B (free)
SQL Generation 158 131
Code Review 151 126
Code Completion 116 129
Code Refactoring 147 127
Bug Fixing 165 130
Unit Test Generation 142 121
Code Documentation 132 126
Regex Writing 130 120
CI/CD Pipelines 134 117
Frontend Component Design 139 122
Data Analysis 160 124
CSV / Spreadsheet Cleanup 141 128
ETL Scripting 140 122
JSON Extraction 133 132
Bulk Data Labeling 123 130
OCR / Document Parsing 138 128
Table Extraction from PDFs 138 128
Long-Document Summarization 144 129
Short-Form Summarization 120 124
Blog Post Writing 131 119

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

Related comparisons

MoonshotAI: Kimi K2.7 Code vs Mistral: Mistral Medium 3.5 MoonshotAI: Kimi K2.7 Code vs Google: Gemma 4 31B (free) Qwen: Qwen3.7 Plus vs Mistral: Mistral Medium 3.5 Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B (free) MiniMax: MiniMax M3 vs Mistral: Mistral Medium 3.5 MiniMax: MiniMax M3 vs Google: Gemma 4 31B (free) StepFun: Step 3.7 Flash vs Mistral: Mistral Medium 3.5 StepFun: Step 3.7 Flash vs Google: Gemma 4 31B (free)