head-to-head
Google: Gemini 3.5 Flash vs Google: Gemma 4 31B (free)
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 (free) | |
|---|---|---|
| Vendor | ||
| Quality Score | 100 | 100 |
| Benchmark Score | 88.3 | - |
| Input Price | $1.50/M | Free |
| Output Price | $9.00/M | Free |
| Context Window | 1,048,576 | 262,144 |
| Max Output | 65,536 | 32,768 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | ✓ | - |
| Benchmark Scores | ||
| ai_index | 91.3 | - |
| ai_index_agentic | 100.0 | - |
| ai_index_coding | 74.2 | - |
Who wins by task?
| Task | Google: Gemini 3.5 Flash | Google: Gemma 4 31B (free) |
|---|---|---|
| SQL Generation | 170 | 131 |
| Code Review | 167 | 126 |
| Code Completion | 119 | 129 |
| Code Refactoring | 164 | 127 |
| Bug Fixing | 183 | 130 |
| Unit Test Generation | 153 | 121 |
| Code Documentation | 142 | 126 |
| Regex Writing | 136 | 120 |
| CI/CD Pipelines | 144 | 117 |
| Frontend Component Design | 146 | 122 |
| Data Analysis | 172 | 124 |
| CSV / Spreadsheet Cleanup | 150 | 128 |
| ETL Scripting | 154 | 122 |
| JSON Extraction | 136 | 132 |
| Bulk Data Labeling | 123 | 130 |
| OCR / Document Parsing | 145 | 128 |
| Table Extraction from PDFs | 145 | 128 |
| Long-Document Summarization | 160 | 129 |
| Short-Form Summarization | 122 | 124 |
| Blog Post Writing | 140 | 119 |
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 (free)
MiniMax: MiniMax M3 vs Google: Gemini 3.5 Flash
MiniMax: MiniMax M3 vs Google: Gemma 4 31B (free)
StepFun: Step 3.7 Flash vs Google: Gemini 3.5 Flash
StepFun: Step 3.7 Flash vs Google: Gemma 4 31B (free)
xAI: Grok Build 0.1 vs Google: Gemini 3.5 Flash
xAI: Grok Build 0.1 vs Google: Gemma 4 31B (free)