Gemma 2 27B vs Llama-3.1-70B-Instruct vs Qwen2.5 32B Instruct
Llama-3.1-70B-Instruct comes out ahead, 51 to 46 and 45 on our weighted score, though Gemma 2 27B is 10% cheaper per token.Llama-3.1-70B-Instruct comes out ahead, 50 to 47 and 40 on our weighted score, though Gemma 2 27B is 10% cheaper per token.
Retired Qwen2.5 32B Instruct is no longer offered by any provider we track. Its figures are the last published listing, kept so this comparison stays available.
Google
Gemma 2 27B
45/100- ECI118.6
- Price$0.65 / $0.65
- Context8K
- Our pick
Meta
Llama-3.1-70B-Instruct
51/100- ECI124.7
- Price$0.72 / $0.72
- Context128K
Alibaba (Qwen)
Qwen2.5 32B Instruct
46/100- ECI128.5
- Price$0.70 / $2.80
- Context131K
Google
Gemma 2 27B
40/100- ECI118.6
- Price$0.65 / $0.65
- Context8K
- Our pick
Meta
Llama-3.1-70B-Instruct
50/100- ECI124.7
- Price$0.72 / $0.72
- Context128K
Alibaba (Qwen)
Qwen2.5 32B Instruct
47/100- ECI128.5
- Price$0.70 / $2.80
- Context131K
Llama-3.1-70B-Instruct is our pick
Llama-3.1-70B-Instruct is the better all-round choice, scoring 51/100 against Qwen2.5 32B Instruct (46) and Gemma 2 27B (45). It leads on capability and context window. Gemma 2 27B wins on price. The score weighs capability 59%, price 29%, context window 12%.Llama-3.1-70B-Instruct is the better all-round choice, scoring 50/100 against Qwen2.5 32B Instruct (47) and Gemma 2 27B (40). It leads on capability and context window. The score weighs capability 83%, context window 17%.
- CapabilityQwen2.5 32B InstructCapabilities Index (ECI): Qwen2.5 32B Instruct 128.5 · Llama-3.1-70B-Instruct 124.7 · Gemma 2 27B 118.6
- Lowest priceGemma 2 27BGemma 2 27B $0.65 · Llama-3.1-70B-Instruct $0.72 · Qwen2.5 32B Instruct $1.23 per 1M tokens (3:1 blend)
- Longest contextQwen2.5 32B InstructQwen2.5 32B Instruct 131,072 · Llama-3.1-70B-Instruct 128,000 · Gemma 2 27B 8,192 tokens
- Widest inputsSame inputsGemma 2 27B: Text · Llama-3.1-70B-Instruct: Text · Qwen2.5 32B Instruct: Text
- Self-hostingAll open weightsEvery model here can be downloaded and run on your own hardware
| Measure | Weight | Gemma 2 27B | Llama-3.1-70B-Instruct | Qwen2.5 32B Instruct |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 59% | 48 | 54 | 51 |
| Price | 29% | 56 | 54 | 46 |
| Context window | 12% | 0 | 32 | 24 |
| Overall | 100% | 45/100 | 51/100 | 46/100 |
Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.
| Measure | Weight | Gemma 2 27B | Llama-3.1-70B-Instruct | Qwen2.5 32B Instruct |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 83% | 48 | 54 | 51 |
| Context window | 17% | 0 | 32 | 24 |
| Overall | 100% | 40/100 | 50/100 | 47/100 |
Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.
Every spec in one table
Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 118.6 | 124.7 | 128.5 (best) |
| ECI rank | #152 of 158 | #146 of 158 | #138 of 158 (best) |
| ECI confidence interval | 114.2–122.4 | 121.4–127.7 | 123.5–130.0 |
| ECI evaluation date | Jun 24, 2024 | Jul 23, 2024 | Sep 17, 2024 |
| Documented capabilities | Open Gemma instruction model for efficient chat and self-hosted deployments | Open Llama instruction model for multilingual chat, reasoning, and coding | Qwen instruction model for multilingual chat, reasoning, and tool use |
| Model parameters | Not published | Not published | Not published |
| Output modalities | Text | Text | Text |
| GPQA DiamondGraduate-level science questions | 36.5% | 44.2% | 46.1% (best) |
| OTIS Mock AIME 2024–2025Competition mathematics | 1.4% | 3.6% | 7.4% (best) |
| Price per million tokens | |||
| Input | $0.65 (best) | $0.72 | $0.70 |
| Output | $0.65 (best) | $0.72 | $2.80 |
| Cached input | Not published | Not published | Not published |
| Blended (3:1) | $0.65 (best) | $0.72 | $1.23 |
| Long-context rate | Same rate | Same rate | Same rate |
| Price source | Median of 4 providers | Median of 8 providers | Official Alibaba API |
| Limits | |||
| Context window | 8,192 tokens | 128,000 tokens | 131,072 tokens (best) |
| Max input | Not published | Not published | Not published |
| Max output | 2,048 tokens | 4,096 tokens | 8,192 tokens (best) |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | No | No | No |
| PDFs | No | No | No |
| Audio | No | No | No |
| Video | No | No | No |
| Reasoning | No | No | No |
| Tool calling | No | Yes | Yes |
| Structured output | Not published | Not published | No |
| File attachments | No | No | Not published |
| Temperature control | Yes | Yes | Not published |
| Reasoning control | Not published | Not published | Not published |
| Availability | |||
| Weights | Open | Open | Open |
| API model ID | Not published | Not published | qwen2-5-32b-instruct |
| API providers | 4 | 8 (best) | 1 |
| Released | Jul 13, 2024 | Jul 23, 2024 | Sep 17, 2024 |
| Knowledge cutoff | Jun 30, 2024 | Dec 2023 | Apr 2024 |
| Publisher documentation | Model weights | Model weights | Publisher documentation |
| Source metadata updated | Jul 13, 2024 | Jul 23, 2024 | Not published |
| Data sources | models.dev · Epoch AI | models.dev · Epoch AI | models.dev · Epoch AI |
| Catalog checked | Nov 24, 2026 | Nov 24, 2026 | Nov 24, 2026 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Gemma 2 27B$7.80
Llama-3.1-70B-Instruct$8.64
Qwen2.5 32B Instruct$12.60
Which should you choose?
Which is better: Gemma 2 27B, Llama-3.1-70B-Instruct or Qwen2.5 32B Instruct?
Llama-3.1-70B-Instruct is the better all-round choice, scoring 51/100 against Qwen2.5 32B Instruct (46) and Gemma 2 27B (45). It leads on capability and context window. Gemma 2 27B wins on price. The score weighs capability 59%, price 29%, context window 12%.Llama-3.1-70B-Instruct is the better all-round choice, scoring 50/100 against Qwen2.5 32B Instruct (47) and Gemma 2 27B (40). It leads on capability and context window. The score weighs capability 83%, context window 17%.
Which is cheaper, Gemma 2 27B, Llama-3.1-70B-Instruct or Qwen2.5 32B Instruct?
Gemma 2 27B is cheaper at $0.65 input / $0.65 output per million tokens (median across 4 API providers). Llama-3.1-70B-Instruct costs $0.72 input / $0.72 output per million tokens (median across 8 API providers); Qwen2.5 32B Instruct costs $0.70 input / $2.80 output per million tokens (official Alibaba API price). At a typical mix of three input tokens to one output token, that is $0.65 per million tokens for Gemma 2 27B versus $0.72 for Llama-3.1-70B-Instruct (1.1× as much) and $1.23 for Qwen2.5 32B Instruct (1.9× as much).
Which scores higher on benchmarks?
Qwen2.5 32B Instruct scores higher on the Capabilities Index (ECI): Qwen2.5 32B Instruct 128.5 (#138 of 158), Llama-3.1-70B-Instruct 124.7 (#146 of 158) and Gemma 2 27B 118.6 (#152 of 158). The confidence ranges of the top two overlap (123.5–130.0 vs 121.4–127.7), so treat the gap as small. On individual benchmarks: GPQA Diamond — Qwen2.5 32B Instruct 46.1%, Llama-3.1-70B-Instruct 44.2%, Gemma 2 27B 36.5%; OTIS Mock AIME 2024–2025 — Qwen2.5 32B Instruct 7.4%, Llama-3.1-70B-Instruct 3.6%, Gemma 2 27B 1.4%.
Which is better for coding?
There are no published SWE-bench Verified results for Gemma 2 27B, Llama-3.1-70B-Instruct and Qwen2.5 32B Instruct yet, so there is no like-for-like coding score. On overall capability, Qwen2.5 32B Instruct leads, which tends to carry over to coding, but test on your own codebase. Note that Gemma 2 27B has no confirmed tool-calling support in this comparison.
Which has the bigger context window?
Qwen2.5 32B Instruct has the largest context window at 131,072 tokens, against 128,000 for Llama-3.1-70B-Instruct and 8,192 for Gemma 2 27B. Maximum output per response: Gemma 2 27B up to 2,048, Llama-3.1-70B-Instruct up to 4,096, Qwen2.5 32B Instruct up to 8,192 tokens.
Which can read images, PDFs, audio or video?
Gemma 2 27B accepts text; Llama-3.1-70B-Instruct accepts text; Qwen2.5 32B Instruct accepts text. They handle the same number of input types.
Are any of these open source?
Yes, all three publish their weights, so you can self-host them.
Which is newer?
Qwen2.5 32B Instruct is the newest, released Sep 17, 2024. Llama-3.1-70B-Instruct came out Jul 23, 2024; Gemma 2 27B came out Jul 13, 2024. Knowledge cutoff: Gemma 2 27B Jun 30, 2024, Llama-3.1-70B-Instruct Dec 2023, Qwen2.5 32B Instruct Apr 2024.
How do you decide the winner?
This rating uses capability (59%, independent benchmark results); price (29%, blended price per million tokens (3 input : 1 output), log scale); context window (12%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 24, 2026.This rating uses capability (83%, independent benchmark results); context window (17%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 24, 2026.