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-06-23.

Google: Gemini 3.5 Flash Google: Gemma 4 31B
Vendorgooglegoogle
Quality Score100100
Benchmark Score84.556.4
Input Price$1.50/M$0.12/M
Output Price$9.00/M$0.35/M
Context Window1,048,576262,144
Max Output65,536262,144
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-
Benchmark Scores
ai_index82.848.4
ai_index_agentic61.823.8
ai_index_coding100.071.7
eqbench-70.8

Who wins by task?

TaskGoogle: Gemini 3.5 FlashGoogle: Gemma 4 31B
SQL Generation 168 157
Code Review 164 154
Code Completion 119 132
Code Refactoring 162 152
Bug Fixing 176 161
Unit Test Generation 152 143
Code Documentation 141 138
Regex Writing 133 131
CI/CD Pipelines 143 136
Frontend Component Design 145 138
Data Analysis 167 152
CSV / Spreadsheet Cleanup 153 146
ETL Scripting 152 144
JSON Extraction 138 143
Bulk Data Labeling 124 133
OCR / Document Parsing 146 140
Table Extraction from PDFs 146 140
Long-Document Summarization 157 150
Short-Form Summarization 121 129
Blog Post Writing 138 134

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

Related comparisons

MoonshotAI: Kimi K2.7 Code vs Google: Gemini 3.5 Flash MoonshotAI: Kimi K2.7 Code vs Google: Gemma 4 31B Qwen: Qwen3.7 Plus vs Google: Gemini 3.5 Flash Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B MiniMax: MiniMax M3 vs Google: Gemini 3.5 Flash MiniMax: MiniMax M3 vs Google: Gemma 4 31B StepFun: Step 3.7 Flash vs Google: Gemini 3.5 Flash StepFun: Step 3.7 Flash vs Google: Gemma 4 31B