head-to-head

Google: Gemma 4 31B (free) vs Qwen: Qwen3.5-9B

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

Google: Gemma 4 31B (free) Qwen: Qwen3.5-9B
Vendorgoogleqwen
Quality Score100100
Benchmark Score-47.1
Input PriceFree$0.10/M
Output PriceFree$0.15/M
Context Window262,144262,144
Max Output8,192262,144
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index-41.2
ai_index_agentic-61.7
ai_index_coding-41.8

Who wins by task?

TaskGoogle: Gemma 4 31B (free)Qwen: Qwen3.5-9B
SQL Generation 131 151
Code Review 126 145
Code Completion 129 130
Code Refactoring 127 142
Bug Fixing 130 156
Unit Test Generation 121 137
Code Documentation 126 132
Regex Writing 120 129
CI/CD Pipelines 117 130
Frontend Component Design 122 135
Data Analysis 124 150
CSV / Spreadsheet Cleanup 128 138
ETL Scripting 122 136
JSON Extraction 132 140
Bulk Data Labeling 130 132
OCR / Document Parsing 128 135
Table Extraction from PDFs 128 135
Long-Document Summarization 129 141
Short-Form Summarization 124 128
Blog Post Writing 119 129

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

Related comparisons

MoonshotAI: Kimi K2.7 Code vs Google: Gemma 4 31B (free) MoonshotAI: Kimi K2.7 Code vs Qwen: Qwen3.5-9B Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B (free) Qwen: Qwen3.7 Plus vs Qwen: Qwen3.5-9B MiniMax: MiniMax M3 vs Google: Gemma 4 31B (free) MiniMax: MiniMax M3 vs Qwen: Qwen3.5-9B StepFun: Step 3.7 Flash vs Google: Gemma 4 31B (free) StepFun: Step 3.7 Flash vs Qwen: Qwen3.5-9B