Gemma 2 27B vs Qwen2.5-Coder-32B-Instruct
Qwen2.5-Coder-32B-Instruct wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (118.7 vs 118.6). Gemma 2 27B is slightly cheaper on a blended (3:1 input:output) token price. Qwen2.5-Coder-32B-Instruct has the larger context window (32K vs 8K).
| Spec | Gemma 2 27B | Qwen2.5-Coder-32B-Instruct |
|---|---|---|
| Provider | Google DeepMind | Alibaba (Qwen) |
| Released | Jul 13, 2024 | Nov 12, 2024 (better) |
| Type | Chat LLM | Chat LLM |
| Parameters | 27B | 33B |
| Context window | 8K | 32K (better) |
| Max output | 2K | 29K (better) |
| Input price / 1M | $0.65 (better) | $0.66 |
| Output price / 1M | $0.65 (better) | $1 |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | gemma | apache-2.0 |
| Reasoning mode | No | No |
| Tool calling | No | Yes |
| API providers | 4 | 7 (better) |
| Epoch Capabilities Index | 118.6 | 118.7 (better) |
| GPQA Diamond | 36.5% | — |
| Aider Polyglot | — | 16.4% |
| OTIS Mock AIME | 1.4% | — |
| MATH Level 5 | 27.9% | — |
| LiveBench | 38.2% | 46.2% (better) |
| MMLU | 75.7% | 79.1% (better) |
| GSM8K | — | 93.0% |
| HellaSwag | — | 83.0% |
Cost example
For a workload of 10M input + 2M output tokens per month: Gemma 2 27B costs $7.80 and Qwen2.5-Coder-32B-Instruct costs $8.60 at list price (openrouter / openrouter pricing).
About Gemma 2 27B
Gemma 2 27B is an open-weight chat llm from Google DeepMind, released Jul 13, 2024. It has 27B parameters and a 8K-token context window. API pricing starts at $0.65 per million input tokens and $0.65 per million output tokens. It is available from 4 API providers. It scores 118.6 on the Epoch Capabilities Index. Full Gemma 2 27B specs →
About Qwen2.5-Coder-32B-Instruct
Qwen2.5-Coder-32B-Instruct is an open-weight chat llm from Alibaba (Qwen), released Nov 12, 2024. It has 33B parameters and a 32K-token context window. API pricing starts at $0.66 per million input tokens and $1 per million output tokens. It is available from 7 API providers. It scores 118.7 on the Epoch Capabilities Index. Full Qwen2.5-Coder-32B-Instruct specs →
Compare other models
FAQ
Which is better, Gemma 2 27B or Qwen2.5-Coder-32B-Instruct?
Qwen2.5-Coder-32B-Instruct wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (118.7 vs 118.6). Gemma 2 27B is slightly cheaper on a blended (3:1 input:output) token price. Qwen2.5-Coder-32B-Instruct has the larger context window (32K vs 8K).
Is Gemma 2 27B cheaper than Qwen2.5-Coder-32B-Instruct?
Gemma 2 27B costs $0.65 input / $0.65 output per 1M tokens; Qwen2.5-Coder-32B-Instruct costs $0.66 / $1. Gemma 2 27B is cheaper overall.
Which has a bigger context window?
Gemma 2 27B: 8,192 tokens. Qwen2.5-Coder-32B-Instruct: 32,768 tokens.
Are Gemma 2 27B and Qwen2.5-Coder-32B-Instruct open source?
Gemma 2 27B is open-weight; Qwen2.5-Coder-32B-Instruct is open-weight.