head-to-head
Google: Gemma 4 31B (free) vs Google: Gemma 4 31B
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-09-23.
| Google: Gemma 4 31B (free) | Google: Gemma 4 31B | |
|---|---|---|
| Vendor | ||
| Quality Score | 100 | 100 |
| Benchmark Score | 53.7 | 53.7 |
| Input Price | Free | $0.09/M |
| Output Price | Free | $0.34/M |
| Context Window | 262,144 | 262,144 |
| Max Output | 32,768 | 16,384 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 31.3 | 31.3 |
| eqbench | 70.8 | 70.8 |
Who wins by task?
| Task | Google: Gemma 4 31B (free) | Google: Gemma 4 31B |
|---|---|---|
| SQL Generation | 140 | 139 |
| Code Completion | 132 | 131 |
| Code Documentation | 135 | 134 |
| Regex Writing | 126 | 125 |
| CSV / Spreadsheet Cleanup | 134 | 133 |
| JSON Extraction | 132 | 131 |
| Bulk Data Labeling | 130 | 129 |
| Short-Form Summarization | 127 | 126 |
| Blog Post Writing | 128 | 127 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B
Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B (free)
Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B
Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B (free)
Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B
Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B (free)
Google: Gemini 3.1 Flash Lite vs Google: Gemma 4 31B
Google: Gemini 3.1 Flash Lite vs Google: Gemma 4 31B (free)