head-to-head
Google: Gemma 4 31B (free) vs Qwen: Qwen3.5-27B
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-09-23.
| Google: Gemma 4 31B (free) | Qwen: Qwen3.5-27B | |
|---|---|---|
| Vendor | qwen | |
| Quality Score | 100 | 100 |
| Benchmark Score | 53.7 | 35.5 |
| Input Price | Free | $0.20/M |
| Output Price | Free | $1.56/M |
| Context Window | 262,144 | 262,144 |
| Max Output | 32,768 | 65,536 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 31.3 | 37.8 |
| eqbench | 70.8 | - |
Who wins by task?
| Task | Google: Gemma 4 31B (free) | Qwen: Qwen3.5-27B |
|---|---|---|
| SQL Generation | 140 | 135 |
| Code Review | 140 | 133 |
| Code Completion | 132 | 129 |
| Code Refactoring | 141 | 133 |
| Bug Fixing | 144 | 137 |
| Unit Test Generation | 130 | 125 |
| Code Documentation | 135 | 129 |
| Regex Writing | 126 | 123 |
| CI/CD Pipelines | 126 | 121 |
| Frontend Component Design | 128 | 126 |
| Data Analysis | 132 | 129 |
| CSV / Spreadsheet Cleanup | 134 | 129 |
| ETL Scripting | 133 | 127 |
| JSON Extraction | 132 | 131 |
| Bulk Data Labeling | 130 | 129 |
| OCR / Document Parsing | 131 | 130 |
| Table Extraction from PDFs | 131 | 130 |
| Long-Document Summarization | 143 | 135 |
| Short-Form Summarization | 127 | 125 |
| Blog Post Writing | 128 | 123 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B (free)
Anthropic: Claude Haiku Latest vs Qwen: Qwen3.5-27B
Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B (free)
Anthropic: Claude Sonnet 5 vs Qwen: Qwen3.5-27B
Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B (free)
Anthropic: Claude Sonnet Latest vs Qwen: Qwen3.5-27B
ByteDance Seed: Seed-2.0-Lite vs Qwen: Qwen3.5-27B
ByteDance Seed: Seed-2.0-Mini vs Qwen: Qwen3.5-27B