head-to-head
Google: Gemma 4 31B vs Qwen: Qwen3.5-9B
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-06-20.
| Google: Gemma 4 31B | Qwen: Qwen3.5-9B | |
|---|---|---|
| Vendor | qwen | |
| Quality Score | 100 | 100 |
| Benchmark Score | 56.4 | 40.0 |
| Input Price | $0.12/M | $0.10/M |
| Output Price | $0.35/M | $0.15/M |
| Context Window | 262,144 | 262,144 |
| Max Output | 262,144 | 262,144 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 48.4 | 41.2 |
| ai_index_agentic | 23.8 | - |
| ai_index_coding | 71.7 | 47.3 |
| eqbench | 70.8 | - |
Who wins by task?
| Task | Google: Gemma 4 31B | Qwen: Qwen3.5-9B |
|---|---|---|
| SQL Generation | 157 | 144 |
| Code Review | 154 | 139 |
| Code Completion | 132 | 130 |
| Code Refactoring | 152 | 138 |
| Bug Fixing | 161 | 144 |
| Unit Test Generation | 143 | 132 |
| Code Documentation | 138 | 131 |
| Regex Writing | 131 | 126 |
| CI/CD Pipelines | 136 | 126 |
| Frontend Component Design | 138 | 131 |
| Data Analysis | 152 | 138 |
| CSV / Spreadsheet Cleanup | 146 | 137 |
| ETL Scripting | 144 | 132 |
| JSON Extraction | 143 | 139 |
| Bulk Data Labeling | 133 | 132 |
| OCR / Document Parsing | 140 | 135 |
| Table Extraction from PDFs | 140 | 135 |
| Long-Document Summarization | 150 | 138 |
| Short-Form Summarization | 129 | 127 |
| Blog Post Writing | 134 | 126 |
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-9B
Qwen: Qwen3.7 Plus vs Google: Gemma 4 31B
Qwen: Qwen3.7 Plus vs Qwen: Qwen3.5-9B
MiniMax: MiniMax M3 vs Google: Gemma 4 31B
MiniMax: MiniMax M3 vs Qwen: Qwen3.5-9B
StepFun: Step 3.7 Flash vs Google: Gemma 4 31B
StepFun: Step 3.7 Flash vs Qwen: Qwen3.5-9B