head-to-head
Google: Gemma 4 26B A4B vs Google: Gemma 4 31B
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-06-20.
| Google: Gemma 4 26B A4B | Google: Gemma 4 31B | |
|---|---|---|
| Vendor | ||
| Quality Score | 100 | 100 |
| Benchmark Score | 51.0 | 56.4 |
| Input Price | $0.06/M | $0.12/M |
| Output Price | $0.33/M | $0.35/M |
| Context Window | 262,144 | 262,144 |
| Max Output | - | 262,144 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 42.4 | 48.4 |
| ai_index_agentic | 18.1 | 23.8 |
| ai_index_coding | 64.9 | 71.7 |
| eqbench | 70.0 | 70.8 |
Who wins by task?
| Task | Google: Gemma 4 26B A4B | Google: Gemma 4 31B |
|---|---|---|
| SQL Generation | 154 | 157 |
| Code Review | 151 | 154 |
| Code Completion | 132 | 132 |
| Code Refactoring | 150 | 152 |
| Bug Fixing | 158 | 161 |
| Unit Test Generation | 141 | 143 |
| Code Documentation | 137 | 138 |
| Regex Writing | 130 | 131 |
| CI/CD Pipelines | 134 | 136 |
| Frontend Component Design | 137 | 138 |
| Data Analysis | 149 | 152 |
| CSV / Spreadsheet Cleanup | 144 | 146 |
| ETL Scripting | 142 | 144 |
| JSON Extraction | 142 | 143 |
| Bulk Data Labeling | 133 | 133 |
| OCR / Document Parsing | 139 | 140 |
| Table Extraction from PDFs | 139 | 140 |
| Long-Document Summarization | 149 | 150 |
| Short-Form Summarization | 129 | 129 |
| Blog Post Writing | 132 | 134 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
MoonshotAI: Kimi K2.7 Code vs Google: Gemma 4 26B A4B
MoonshotAI: Kimi K2.7 Code vs Google: Gemma 4 31B
Qwen: Qwen3.7 Plus vs Google: Gemma 4 26B A4B
Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B
MiniMax: MiniMax M3 vs Google: Gemma 4 26B A4B
MiniMax: MiniMax M3 vs Google: Gemma 4 31B
StepFun: Step 3.7 Flash vs Google: Gemma 4 26B A4B
StepFun: Step 3.7 Flash vs Google: Gemma 4 31B