head-to-head
Google: Gemini 3.5 Flash vs Google: Gemma 4 31B
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-06-12.
| Google: Gemini 3.5 Flash | Google: Gemma 4 31B | |
|---|---|---|
| Vendor | ||
| Quality Score | 100 | 100 |
| Benchmark Score | 88.3 | 68.5 |
| Input Price | $1.50/M | $0.12/M |
| Output Price | $9.00/M | $0.35/M |
| Context Window | 1,048,576 | 262,144 |
| Max Output | 65,536 | 262,144 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | ✓ | - |
| Benchmark Scores | ||
| ai_index | 91.3 | 64.7 |
| ai_index_agentic | 100.0 | 67.6 |
| ai_index_coding | 74.2 | 63.9 |
| eqbench | - | 70.8 |
Who wins by task?
| Task | Google: Gemini 3.5 Flash | Google: Gemma 4 31B |
|---|---|---|
| SQL Generation | 170 | 164 |
| Code Review | 167 | 161 |
| Code Completion | 119 | 132 |
| Code Refactoring | 164 | 157 |
| Bug Fixing | 183 | 173 |
| Unit Test Generation | 153 | 148 |
| Code Documentation | 142 | 141 |
| Regex Writing | 136 | 135 |
| CI/CD Pipelines | 144 | 140 |
| Frontend Component Design | 146 | 143 |
| Data Analysis | 172 | 163 |
| CSV / Spreadsheet Cleanup | 150 | 146 |
| ETL Scripting | 154 | 149 |
| JSON Extraction | 136 | 143 |
| Bulk Data Labeling | 123 | 133 |
| OCR / Document Parsing | 145 | 141 |
| Table Extraction from PDFs | 145 | 141 |
| Long-Document Summarization | 160 | 155 |
| Short-Form Summarization | 122 | 131 |
| Blog Post Writing | 140 | 138 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Qwen: Qwen3.7 Plus vs Google: Gemini 3.5 Flash
Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B
MiniMax: MiniMax M3 vs Google: Gemini 3.5 Flash
MiniMax: MiniMax M3 vs Google: Gemma 4 31B
StepFun: Step 3.7 Flash vs Google: Gemini 3.5 Flash
StepFun: Step 3.7 Flash vs Google: Gemma 4 31B
xAI: Grok Build 0.1 vs Google: Gemini 3.5 Flash
xAI: Grok Build 0.1 vs Google: Gemma 4 31B