Gemma 3 4B is 22.8× cheaper per million tokens (blended). Qwen3.8 27B has the larger context window (1,000,000 vs 131,072 tokens, 7.6×).
Gemma 3 4B vs Qwen3.8 27B
Live catalog fields. Best-in-row is highlighted.
Gemma 3 4Bopen
Google · google__gemma-3-4b-it
Qwen3.8 27Bopen
Qwen · qwen__qwen3.8-27b
Identity
| Field | google__gemma-3-4b-it | qwen__qwen3.8-27b |
|---|---|---|
| Provider | Qwen | |
| Slug | google__gemma-3-4b-it | qwen__qwen3.8-27b |
| Status | live | live |
| Open weights | Yes | Yes |
| License | — | — |
| HuggingFace | google/gemma-3-4b-it | Qwen/Qwen3.8-27B |
Quality
| Field | google__gemma-3-4b-it | qwen__qwen3.8-27b |
|---|---|---|
| Quality index (0–100) | — | 87.4 |
Cost
| Field | google__gemma-3-4b-it | qwen__qwen3.8-27b |
|---|---|---|
| Input $ / 1M tokens | $0.05 | $0.42 |
| Cached input $ / 1M | — | $0.09 |
| Output $ / 1M tokens | $0.10 | $3.00 |
Context
| Field | google__gemma-3-4b-it | qwen__qwen3.8-27b |
|---|---|---|
| Max context tokens | 131,072 | 1,000,000 |
| Max output tokens | 16,384 | 131,072 |
Modalities
| Field | google__gemma-3-4b-it | qwen__qwen3.8-27b |
|---|---|---|
| Input | text, image | text, image, video |
| Output | text | text |