head-to-head

Google Gemini Flash Latest vs Google: Gemma 4 31B (free)

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

Google Gemini Flash Latest Google: Gemma 4 31B (free)
Vendor~googlegoogle
Quality Score100100
Benchmark Score-56.9
Input Price$1.50/MFree
Output Price$7.50/MFree
Context Window1,048,576262,144
Max Output65,53632,768
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 Flash LatestGoogle: Gemma 4 31B (free)
SQL Generation 133 157
Code Review 132 154
Code Completion 118 132
Code Refactoring 136 152
Bug Fixing 136 161
Unit Test Generation 124 143
Code Documentation 130 138
Regex Writing 118 132
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 122 143
Bulk Data Labeling 119 133
OCR / Document Parsing 131 140
Table Extraction from PDFs 131 140
Long-Document Summarization 137 151
Short-Form Summarization 114 130
Blog Post Writing 121 134

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

Related comparisons

Qwen: Qwen3.8 Max vs Google Gemini Flash Latest Qwen: Qwen3.8 Max vs Google: Gemma 4 31B (free) Thinking Machines: Inkling Small vs Google Gemini Flash Latest Thinking Machines: Inkling Small vs Google: Gemma 4 31B (free) Qwen: Qwen3.7 Flash vs Google Gemini Flash Latest Qwen: Qwen3.7 Flash vs Google: Gemma 4 31B (free) Google: Gemini 3.6 Flash vs Google Gemini Flash Latest Google: Gemini 3.6 Flash vs Google: Gemma 4 31B (free)