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

Google Gemini Pro Latest Google: Gemma 4 31B
Vendor~googlegoogle
Quality Score100100
Input Price$2.00/M$0.13/M
Output Price$12.00/M$0.38/M
Context Window1,048,576262,144
Max Output65,53616,384
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-

Who wins by task?

TaskGoogle Gemini Pro LatestGoogle: Gemma 4 31B
SQL Generation 132 131
Code Review 132 126
Code Completion 117 129
Code Refactoring 136 127
Bug Fixing 136 130
Unit Test Generation 124 121
Code Documentation 129 126
Regex Writing 117 119
CI/CD Pipelines 120 117
CSV / Spreadsheet Cleanup 132 128
ETL Scripting 128 122
JSON Extraction 121 131
Bulk Data Labeling 117 129
OCR / Document Parsing 131 128
Table Extraction from PDFs 131 128
Long-Document Summarization 136 129
Short-Form Summarization 113 123
Blog Post Writing 120 119

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

Related comparisons

xAI: Grok 4.3 vs Google Gemini Pro Latest xAI: Grok 4.3 vs Google: Gemma 4 31B NVIDIA: Nemotron 3 Nano Omni (free) vs Google Gemini Pro Latest NVIDIA: Nemotron 3 Nano Omni (free) vs Google: Gemma 4 31B Anthropic Claude Haiku Latest vs Google Gemini Pro Latest Anthropic Claude Haiku Latest vs Google: Gemma 4 31B OpenAI GPT Mini Latest vs Google Gemini Pro Latest OpenAI GPT Mini Latest vs Google: Gemma 4 31B