head-to-head

Google: Gemini 3.5 Flash vs Google: Gemma 4 31B

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

Google: Gemini 3.5 Flash Google: Gemma 4 31B
Vendorgooglegoogle
Quality Score100100
Benchmark Score53.553.7
Input Price$1.50/M$0.09/M
Output Price$9.00/M$0.34/M
Context Window1,048,576262,144
Max Output65,53616,384
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-
Benchmark Scores
ai_index53.831.3
eqbench-70.8

Who wins by task?

TaskGoogle: Gemini 3.5 FlashGoogle: Gemma 4 31B
SQL Generation 139 139
Code Review 142 140
Code Completion 119 131
Code Refactoring 144 141
Bug Fixing 146 144
Unit Test Generation 130 130
Code Documentation 134 134
Regex Writing 123 125
CI/CD Pipelines 126 126
Frontend Component Design 128 128
Data Analysis 132 132
CSV / Spreadsheet Cleanup 135 133
ETL Scripting 135 133
JSON Extraction 121 131
Bulk Data Labeling 118 129
OCR / Document Parsing 133 131
Table Extraction from PDFs 133 131
Long-Document Summarization 145 143
Short-Form Summarization 116 126
Blog Post Writing 127 127

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

Related comparisons

Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B Anthropic: Claude Sonnet 5 vs Google: Gemini 3.5 Flash Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B ByteDance Seed: Seed-2.0-Code vs Google: Gemini 3.5 Flash Google: Gemini 3.1 Flash Lite vs Google: Gemma 4 31B Google: Gemini 3.5 Flash Lite vs Google: Gemini 3.5 Flash Google: Gemini 3.5 Flash Lite vs Google: Gemma 4 31B

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.