head-to-head
Mistral: Mistral Small 4 vs Google: Gemini 3.1 Pro Preview
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-04-30.
| Mistral: Mistral Small 4 | Google: Gemini 3.1 Pro Preview | |
|---|---|---|
| Vendor | mistralai | |
| Quality Score | 100 | 100 |
| Input Price | $0.15/M | $2.00/M |
| Output Price | $0.60/M | $12.00/M |
| Context Window | 262,144 | 1,048,576 |
| Max Output | - | 65,536 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | ✓ |
Who wins by task?
| Task | Mistral: Mistral Small 4 | Google: Gemini 3.1 Pro Preview |
|---|---|---|
| SQL Generation | 131 | 132 |
| Code Review | 126 | 132 |
| Code Completion | 129 | 117 |
| Code Refactoring | 127 | 136 |
| Bug Fixing | 130 | 136 |
| Unit Test Generation | 121 | 124 |
| Code Documentation | 126 | 129 |
| Regex Writing | 119 | 117 |
| CI/CD Pipelines | 117 | 120 |
| CSV / Spreadsheet Cleanup | 128 | 132 |
| ETL Scripting | 122 | 128 |
| JSON Extraction | 131 | 121 |
| Bulk Data Labeling | 129 | 117 |
| OCR / Document Parsing | 128 | 131 |
| Table Extraction from PDFs | 128 | 131 |
| Long-Document Summarization | 129 | 136 |
| Short-Form Summarization | 123 | 113 |
| Blog Post Writing | 119 | 120 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
NVIDIA: Nemotron 3 Nano Omni (free) vs Mistral: Mistral Small 4
NVIDIA: Nemotron 3 Nano Omni (free) vs Google: Gemini 3.1 Pro Preview
Anthropic Claude Haiku Latest vs Mistral: Mistral Small 4
Anthropic Claude Haiku Latest vs Google: Gemini 3.1 Pro Preview
OpenAI GPT Mini Latest vs Mistral: Mistral Small 4
OpenAI GPT Mini Latest vs Google: Gemini 3.1 Pro Preview
Google Gemini Pro Latest vs Mistral: Mistral Small 4
Google Gemini Pro Latest vs Google: Gemini 3.1 Pro Preview