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-08-02.

Google Gemini Pro Latest Google: Gemma 4 31B
Vendor~googlegoogle
Quality Score100100
Benchmark Score-56.9
Input Price$2.00/M$0.10/M
Output Price$12.00/M$0.34/M
Context Window1,048,576262,144
Max Output65,536262,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?

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

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

Thinking Machines: Inkling Small vs Google Gemini Pro Latest Thinking Machines: Inkling Small vs Google: Gemma 4 31B Qwen: Qwen3.7 Flash vs Google Gemini Pro Latest Qwen: Qwen3.7 Flash vs Google: Gemma 4 31B Google: Gemini 3.6 Flash vs Google Gemini Pro Latest Google: Gemini 3.6 Flash vs Google: Gemma 4 31B Google: Gemini 3.5 Flash Lite vs Google Gemini Pro Latest Google: Gemini 3.5 Flash Lite vs Google: Gemma 4 31B