head-to-head
OpenAI: GPT Mini Latest vs Google: Gemma 4 31B (free)
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-09-23.
| OpenAI: GPT Mini Latest | Google: Gemma 4 31B (free) | |
|---|---|---|
| Vendor | ~openai | |
| Quality Score | 100 | 100 |
| Benchmark Score | - | 53.7 |
| Input Price | $0.75/M | Free |
| Output Price | $4.50/M | Free |
| Context Window | 400,000 | 262,144 |
| Max Output | 128,000 | 32,768 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | - | 31.3 |
| eqbench | - | 70.8 |
Who wins by task?
| Task | OpenAI: GPT Mini Latest | Google: Gemma 4 31B (free) |
|---|---|---|
| SQL Generation | 133 | 140 |
| Code Review | 132 | 140 |
| Code Completion | 130 | 132 |
| Code Refactoring | 136 | 141 |
| Bug Fixing | 136 | 144 |
| Unit Test Generation | 124 | 130 |
| Code Documentation | 130 | 135 |
| Regex Writing | 119 | 126 |
| CI/CD Pipelines | 120 | 126 |
| Frontend Component Design | 122 | 128 |
| Data Analysis | 124 | 132 |
| CSV / Spreadsheet Cleanup | 133 | 134 |
| ETL Scripting | 128 | 133 |
| JSON Extraction | 130 | 132 |
| Bulk Data Labeling | 128 | 130 |
| OCR / Document Parsing | 131 | 131 |
| Table Extraction from PDFs | 131 | 131 |
| Long-Document Summarization | 137 | 143 |
| Short-Form Summarization | 123 | 127 |
| Blog Post Writing | 121 | 128 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B (free)
Anthropic: Claude Haiku Latest vs OpenAI: GPT Mini Latest
Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B (free)
Anthropic: Claude Sonnet 5 vs OpenAI: GPT Mini Latest
Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B (free)
Google: Gemini 3.1 Flash Lite vs Google: Gemma 4 31B (free)
Google: Gemini 3.1 Flash Lite vs OpenAI: GPT Mini Latest
Google: Gemini 3.5 Flash Lite vs Google: Gemma 4 31B (free)