ZMIME
Comparison · 3 models · Updated Nov 24, 2026

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.

  1. Google

    Gemma 2 27B

    Released Jul 13, 2024

    45/100
    • ECI118.6
    • Price$0.65 / $0.65
    • Context8K
  2. Our pick

    Meta

    Llama-3.1-70B-Instruct

    Released Jul 23, 2024

    51/100
    • ECI124.7
    • Price$0.72 / $0.72
    • Context128K
  3. Alibaba (Qwen)

    Qwen2.5 32B Instruct

    Released Sep 17, 2024Retired

    46/100
    • ECI128.5
    • Price$0.70 / $2.80
    • Context131K
  4. Google

    Gemma 2 27B

    Released Jul 13, 2024

    40/100
    • ECI118.6
    • Price$0.65 / $0.65
    • Context8K
  5. Our pick

    Meta

    Llama-3.1-70B-Instruct

    Released Jul 23, 2024

    50/100
    • ECI124.7
    • Price$0.72 / $0.72
    • Context128K
  6. Alibaba (Qwen)

    Qwen2.5 32B Instruct

    Released Sep 17, 2024Retired

    47/100
    • ECI128.5
    • Price$0.70 / $2.80
    • Context131K
01 — Verdict

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
How the score is built
MeasureWeightGemma 2 27BLlama-3.1-70B-InstructQwen2.5 32B Instruct
CapabilityCapabilities Index (ECI)59%485451
Price29%565446
Context window12%03224
Overall100%45/10051/10046/100

Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.

How the score is built
MeasureWeightGemma 2 27BLlama-3.1-70B-InstructQwen2.5 32B Instruct
CapabilityCapabilities Index (ECI)83%485451
Context window17%03224
Overall100%40/10050/10047/100

Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.

02 — Side by side

Every spec in one table

Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.

Gemma 2 27B vs Llama-3.1-70B-Instruct vs Qwen2.5 32B Instruct specifications side by side
SpecificationGemma 2 27BGoogleLlama-3.1-70B-InstructMetaQwen2.5 32B InstructAlibaba (Qwen)
Capability
Capabilities Index (ECI)118.6124.7128.5 (best)
ECI rank#152 of 158#146 of 158#138 of 158 (best)
ECI confidence interval114.2–122.4121.4–127.7123.5–130.0
ECI evaluation dateJun 24, 2024Jul 23, 2024Sep 17, 2024
Documented capabilitiesOpen Gemma instruction model for efficient chat and self-hosted deploymentsOpen Llama instruction model for multilingual chat, reasoning, and codingQwen instruction model for multilingual chat, reasoning, and tool use
Model parametersNot publishedNot publishedNot published
Output modalitiesTextTextText
GPQA DiamondGraduate-level science questions36.5%44.2%46.1% (best)
OTIS Mock AIME 2024–2025Competition mathematics1.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 inputNot publishedNot publishedNot published
Blended (3:1)$0.65 (best)$0.72$1.23
Long-context rateSame rateSame rateSame rate
Price sourceMedian of 4 providersMedian of 8 providersOfficial Alibaba API
Limits
Context window8,192 tokens128,000 tokens131,072 tokens (best)
Max inputNot publishedNot publishedNot published
Max output2,048 tokens4,096 tokens8,192 tokens (best)
Inputs and features
TextYesYesYes
ImagesNoNoNo
PDFsNoNoNo
AudioNoNoNo
VideoNoNoNo
ReasoningNoNoNo
Tool callingNoYesYes
Structured outputNot publishedNot publishedNo
File attachmentsNoNoNot published
Temperature controlYesYesNot published
Reasoning controlNot publishedNot publishedNot published
Availability
WeightsOpenOpenOpen
API model IDNot publishedNot publishedqwen2-5-32b-instruct
API providers48 (best)1
ReleasedJul 13, 2024Jul 23, 2024Sep 17, 2024
Knowledge cutoffJun 30, 2024Dec 2023Apr 2024
Publisher documentationModel weightsModel weightsPublisher documentation
Source metadata updatedJul 13, 2024Jul 23, 2024Not published
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 24, 2026Nov 24, 2026Nov 24, 2026
03 — Cost

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
04 — Questions

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.