head-to-head

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

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

Google: Gemma 4 31B (free) Qwen: Qwen3.5-Flash
Vendorgoogleqwen
Quality Score100100
Input PriceFree$0.07/M
Output PriceFree$0.26/M
Context Window262,1441,000,000
Max Output32,76865,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--

Who wins by task?

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

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

Related comparisons

NVIDIA: Nemotron 3 Nano Omni (free) vs Google: Gemma 4 31B (free) NVIDIA: Nemotron 3 Nano Omni (free) vs Qwen: Qwen3.5-Flash Anthropic Claude Haiku Latest vs Google: Gemma 4 31B (free) Anthropic Claude Haiku Latest vs Qwen: Qwen3.5-Flash OpenAI GPT Mini Latest vs Google: Gemma 4 31B (free) OpenAI GPT Mini Latest vs Qwen: Qwen3.5-Flash Google Gemini Pro Latest vs Google: Gemma 4 31B (free) Google Gemini Pro Latest vs Qwen: Qwen3.5-Flash