head-to-head

OpenAI GPT Mini Latest vs Google: Gemma 4 31B

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-06-20.

OpenAI GPT Mini Latest Google: Gemma 4 31B
Vendor~openaigoogle
Quality Score100100
Benchmark Score-56.4
Input Price$0.75/M$0.12/M
Output Price$4.50/M$0.35/M
Context Window400,000262,144
Max Output128,000262,144
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index-48.4
ai_index_agentic-23.8
ai_index_coding-71.7
eqbench-70.8

Who wins by task?

TaskOpenAI GPT Mini LatestGoogle: Gemma 4 31B
SQL Generation 133 157
Code Review 132 154
Code Completion 130 132
Code Refactoring 136 152
Bug Fixing 136 161
Unit Test Generation 124 143
Code Documentation 130 138
Regex Writing 119 131
CI/CD Pipelines 120 136
Frontend Component Design 122 138
Data Analysis 124 152
CSV / Spreadsheet Cleanup 133 146
ETL Scripting 128 144
JSON Extraction 130 143
Bulk Data Labeling 128 133
OCR / Document Parsing 131 140
Table Extraction from PDFs 131 140
Long-Document Summarization 137 150
Short-Form Summarization 123 129
Blog Post Writing 121 134

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 Qwen: Qwen3.7 Plus vs OpenAI GPT Mini Latest Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B MiniMax: MiniMax M3 vs OpenAI GPT Mini Latest MiniMax: MiniMax M3 vs Google: Gemma 4 31B StepFun: Step 3.7 Flash vs OpenAI GPT Mini Latest StepFun: Step 3.7 Flash vs Google: Gemma 4 31B