head-to-head

Google: Gemma 4 31B vs Google: Gemini 3.1 Flash Lite Preview

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

Google: Gemma 4 31B Google: Gemini 3.1 Flash Lite Preview
Vendorgooglegoogle
Quality Score100100
Benchmark Score56.4-
Input Price$0.12/M$0.25/M
Output Price$0.35/M$1.50/M
Context Window262,1441,048,576
Max Output262,14465,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-
Benchmark Scores
ai_index48.4-
ai_index_agentic23.8-
ai_index_coding71.7-
eqbench70.8-

Who wins by task?

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

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

Related comparisons

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