head-to-head

Google: Gemma 4 31B vs Qwen: Qwen3.5 397B A17B

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

Google: Gemma 4 31B Qwen: Qwen3.5 397B A17B
Vendorgoogleqwen
Quality Score100100
Benchmark Score53.753.4
Input Price$0.09/M$0.55/M
Output Price$0.34/M$3.50/M
Context Window262,144262,144
Max Output16,384235,929
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index31.330.4
eqbench70.871.3

Who wins by task?

TaskGoogle: Gemma 4 31BQwen: Qwen3.5 397B A17B
SQL Generation 139 139
Code Review 140 140
Code Completion 131 131
Bug Fixing 144 144
Unit Test Generation 130 129
Code Documentation 134 134
Regex Writing 125 125
CI/CD Pipelines 126 125
Frontend Component Design 128 128
Data Analysis 132 132
CSV / Spreadsheet Cleanup 133 133
JSON Extraction 131 131
Bulk Data Labeling 129 128
Long-Document Summarization 143 143
Short-Form Summarization 126 126
Blog Post Writing 127 127

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

Related comparisons

Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B Anthropic: Claude Haiku Latest vs Qwen: Qwen3.5 397B A17B Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B Anthropic: Claude Sonnet Latest vs Qwen: Qwen3.5 397B A17B ByteDance Seed: Seed-2.0-Mini vs Qwen: Qwen3.5 397B A17B Google: Gemini 3.1 Flash Lite vs Google: Gemma 4 31B Google: Gemini 3.5 Flash Lite vs Google: Gemma 4 31B

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.