head-to-head

Google: Gemma 4 31B vs Qwen: Qwen3.5-27B

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

Google: Gemma 4 31B Qwen: Qwen3.5-27B
Vendorgoogleqwen
Quality Score100100
Benchmark Score56.455.6
Input Price$0.12/M$0.20/M
Output Price$0.35/M$1.56/M
Context Window262,144262,144
Max Output262,14465,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index48.455.7
ai_index_agentic23.8-
ai_index_coding71.7-
eqbench70.8-

Who wins by task?

TaskGoogle: Gemma 4 31BQwen: Qwen3.5-27B
SQL Generation 157 137
Code Review 154 137
Code Completion 132 130
Code Refactoring 152 136
Bug Fixing 161 141
Unit Test Generation 143 127
Code Documentation 138 131
Regex Writing 131 125
CI/CD Pipelines 136 123
Frontend Component Design 138 128
Data Analysis 152 132
CSV / Spreadsheet Cleanup 146 130
ETL Scripting 144 130
JSON Extraction 143 131
Bulk Data Labeling 133 129
OCR / Document Parsing 140 131
Table Extraction from PDFs 140 131
Long-Document Summarization 150 138
Short-Form Summarization 129 126
Blog Post Writing 134 125

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 Qwen: Qwen3.5-27B Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B Qwen: Qwen3.7 Plus vs Qwen: Qwen3.5-27B MiniMax: MiniMax M3 vs Google: Gemma 4 31B MiniMax: MiniMax M3 vs Qwen: Qwen3.5-27B StepFun: Step 3.7 Flash vs Google: Gemma 4 31B StepFun: Step 3.7 Flash vs Qwen: Qwen3.5-27B