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-06-20.
| OpenAI GPT Mini Latest | Google: Gemma 4 31B (free) | |
|---|---|---|
| Vendor | ~openai | |
| Quality Score | 100 | 100 |
| Input Price | $0.75/M | Free |
| Output Price | $4.50/M | Free |
| Context Window | 400,000 | 262,144 |
| Max Output | 128,000 | 8,192 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
Who wins by task?
| Task | OpenAI GPT Mini Latest | Google: Gemma 4 31B (free) |
|---|---|---|
| SQL Generation | 133 | 131 |
| Code Review | 132 | 126 |
| Code Completion | 130 | 129 |
| Code Refactoring | 136 | 127 |
| Bug Fixing | 136 | 130 |
| Unit Test Generation | 124 | 121 |
| Code Documentation | 130 | 126 |
| Regex Writing | 119 | 120 |
| CI/CD Pipelines | 120 | 117 |
| CSV / Spreadsheet Cleanup | 133 | 128 |
| ETL Scripting | 128 | 122 |
| JSON Extraction | 130 | 132 |
| Bulk Data Labeling | 128 | 130 |
| OCR / Document Parsing | 131 | 128 |
| Table Extraction from PDFs | 131 | 128 |
| Long-Document Summarization | 137 | 129 |
| Short-Form Summarization | 123 | 124 |
| Blog Post Writing | 121 | 119 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
MoonshotAI: Kimi K2.7 Code vs OpenAI GPT Mini Latest
MoonshotAI: Kimi K2.7 Code vs Google: Gemma 4 31B (free)
Qwen: Qwen3.7 Plus vs OpenAI GPT Mini Latest
Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B (free)
MiniMax: MiniMax M3 vs OpenAI GPT Mini Latest
MiniMax: MiniMax M3 vs Google: Gemma 4 31B (free)
StepFun: Step 3.7 Flash vs OpenAI GPT Mini Latest
StepFun: Step 3.7 Flash vs Google: Gemma 4 31B (free)