head-to-head
Google: Gemini Pro Latest vs Google: Gemma 4 31B
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-09-23.
| Google: Gemini Pro Latest | Google: Gemma 4 31B | |
|---|---|---|
| Vendor | ||
| Quality Score | 100 | 100 |
| Benchmark Score | - | 53.7 |
| Input Price | $2.00/M | $0.09/M |
| Output Price | $12.00/M | $0.34/M |
| Context Window | 1,048,576 | 262,144 |
| Max Output | 65,536 | 16,384 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | ✓ | - |
| Benchmark Scores | ||
| ai_index | - | 31.3 |
| eqbench | - | 70.8 |
Who wins by task?
| Task | Google: Gemini Pro Latest | Google: Gemma 4 31B |
|---|---|---|
| SQL Generation | 132 | 139 |
| Code Review | 132 | 140 |
| Code Completion | 117 | 131 |
| Code Refactoring | 136 | 141 |
| Bug Fixing | 136 | 144 |
| Unit Test Generation | 124 | 130 |
| Code Documentation | 129 | 134 |
| Regex Writing | 117 | 125 |
| CI/CD Pipelines | 120 | 126 |
| Frontend Component Design | 122 | 128 |
| Data Analysis | 124 | 132 |
| CSV / Spreadsheet Cleanup | 132 | 133 |
| ETL Scripting | 128 | 133 |
| JSON Extraction | 121 | 131 |
| Bulk Data Labeling | 117 | 129 |
| OCR / Document Parsing | 131 | 131 |
| Table Extraction from PDFs | 131 | 131 |
| Long-Document Summarization | 136 | 143 |
| Short-Form Summarization | 113 | 126 |
| Blog Post Writing | 120 | 127 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Anthropic: Claude Haiku Latest vs Google: Gemini Pro Latest
Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B
Anthropic: Claude Sonnet 5 vs Google: Gemini Pro Latest
Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B
Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B
Google: Gemini 3.1 Flash Lite vs Google: Gemini Pro Latest
Google: Gemini 3.1 Flash Lite vs Google: Gemma 4 31B
Google: Gemini 3.5 Flash Lite vs Google: Gemini Pro Latest