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

Mistral: Mistral Medium 3.5 Google: Gemma 4 31B (free)
Vendormistralaigoogle
Quality Score100100
Benchmark Score52.2-
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_agentic31.3-
ai_index_coding77.4-

Who wins by task?

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