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-06-19.
| Mistral: Mistral Medium 3.5 | Google: Gemma 4 31B | |
|---|---|---|
| Vendor | mistralai | |
| Quality Score | 100 | 100 |
| Benchmark Score | 63.3 | 64.8 |
| Input Price | $1.50/M | $0.12/M |
| Output Price | $7.50/M | $0.35/M |
| Context Window | 262,144 | 262,144 |
| Max Output | - | 262,144 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 49.4 | 48.4 |
| ai_index_agentic | 87.7 | 67.6 |
| ai_index_coding | 58.4 | 63.9 |
| eqbench | - | 70.8 |
Who wins by task?
| Task | Mistral: Mistral Medium 3.5 | Google: Gemma 4 31B |
|---|---|---|
| SQL Generation | 158 | 162 |
| Code Review | 151 | 158 |
| Code Completion | 116 | 132 |
| Code Refactoring | 147 | 155 |
| Bug Fixing | 165 | 170 |
| Unit Test Generation | 142 | 146 |
| Code Documentation | 132 | 139 |
| Regex Writing | 130 | 134 |
| CI/CD Pipelines | 134 | 138 |
| Frontend Component Design | 139 | 141 |
| Data Analysis | 160 | 161 |
| CSV / Spreadsheet Cleanup | 141 | 146 |
| ETL Scripting | 140 | 146 |
| JSON Extraction | 133 | 143 |
| Bulk Data Labeling | 123 | 133 |
| OCR / Document Parsing | 138 | 140 |
| Table Extraction from PDFs | 138 | 140 |
| Long-Document Summarization | 144 | 153 |
| Short-Form Summarization | 120 | 131 |
| Blog Post Writing | 131 | 136 |
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
Qwen: Qwen3.7 Plus vs Mistral: Mistral Medium 3.5
Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B
MiniMax: MiniMax M3 vs Mistral: Mistral Medium 3.5
MiniMax: MiniMax M3 vs Google: Gemma 4 31B
StepFun: Step 3.7 Flash vs Mistral: Mistral Medium 3.5
StepFun: Step 3.7 Flash vs Google: Gemma 4 31B