Qwen: Qwen3.6 27B vs Google: Gemma 4 31B
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-11-07.
| Qwen: Qwen3.6 27B | Google: Gemma 4 31B | |
|---|---|---|
| Vendor | qwen | |
| Quality Score | 100 | 100 |
| Benchmark Score | 65.8 | 53.7 |
| Input Price | $0.32/M | $0.20/M |
| Output Price | $3.20/M | $0.40/M |
| Context Window | 262,144 | 262,144 |
| Max Output | 81,920 | 16,384 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 61.1 | 48.4 |
| ai_index_agentic | 44.6 | 23.8 |
| ai_index_coding | 88.6 | 71.7 |
| eqbench | - | 57.5 |
The verdict
For a sample job of 1 million input tokens and 250,000 output tokens, Gemma 4 31B costs $0.30 and Qwen3.6 27B costs $1.12, so Gemma 4 31B is about 3.7 times cheaper for the same work.
Both read up to 262,144 tokens at once, roughly 393 pages of text.
On our blended benchmark score Qwen3.6 27B leads 65.8 to 53.7.
Across the 20 tasks where they differ, Qwen3.6 27B scores higher on 11 (SQL Generation, Bug Fixing, Unit Test Generation and others), Gemma 4 31B on 9 (Code Review, Code Completion, Code Refactoring and others).
Pick Qwen3.6 27B if you need benchmark performance; pick Gemma 4 31B if you need lower cost.
Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.
Who wins by task?
| Task | Qwen: Qwen3.6 27B | Google: Gemma 4 31B |
|---|---|---|
| SQL Generation | 159 | 156 |
| Code Review | 152 | 152 |
| Code Completion | 129 | 131 |
| Code Refactoring | 148 | 151 |
| Bug Fixing | 162 | 160 |
| Unit Test Generation | 144 | 143 |
| Code Documentation | 134 | 137 |
| Regex Writing | 131 | 131 |
| CI/CD Pipelines | 135 | 135 |
| Frontend Component Design | 140 | 138 |
| Data Analysis | 158 | 152 |
| CSV / Spreadsheet Cleanup | 145 | 145 |
| ETL Scripting | 142 | 143 |
| JSON Extraction | 145 | 143 |
| Bulk Data Labeling | 133 | 133 |
| OCR / Document Parsing | 141 | 140 |
| Table Extraction from PDFs | 141 | 140 |
| Long-Document Summarization | 145 | 149 |
| Short-Form Summarization | 129 | 129 |
| Blog Post Writing | 132 | 133 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →