ZMIME
Comparison · 3 models · Updated Nov 18, 2026

Gemma 2 27B vs Llama-3.1-8B-Instruct vs Mistral Nemo

Too close to call on our weighted score (Mistral Nemo 38, Llama-3.1-8B-Instruct 36, Gemma 2 27B 32). The right pick depends on what you value most.

Price in rating: Excluded · Include price

  1. Google

    Gemma 2 27B

    Released Jul 13, 2024

    32/100
    • ECI118.6
    • Price$0.65 / $0.65
    • Context8K
  2. Meta

    Llama-3.1-8B-Instruct

    Released Jul 23, 2024

    36/100
    • ECI110.8
    • Price$0.055 / $0.078
    • Context128K
  3. Mistral AI

    Mistral Nemo

    Released Jul 18, 2024

    38/100
    • ECI113.8
    • Price$0.09 / $0.109
    • Context128K
01 — Verdict

Too close to call

It is close. Our weighted score puts them within 2 points (Mistral Nemo 38/100, Llama-3.1-8B-Instruct 36/100, Gemma 2 27B 32/100), so choose by what matters most for your work: Gemma 2 27B for raw capability and Llama-3.1-8B-Instruct on price. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityGemma 2 27BCapabilities Index (ECI): Gemma 2 27B 118.6 · Mistral Nemo 113.8 · Llama-3.1-8B-Instruct 110.8
  • Lowest priceLlama-3.1-8B-InstructLlama-3.1-8B-Instruct $0.061 · Mistral Nemo $0.095 · Gemma 2 27B $0.65 per 1M tokens (3:1 blend)
  • Longest contextLlama-3.1-8B-Instruct and Mistral NemoLlama-3.1-8B-Instruct 128,000 · Mistral Nemo 128,000 · Gemma 2 27B 8,192 tokens
  • Widest inputsSame inputsGemma 2 27B: Text · Llama-3.1-8B-Instruct: Text · Mistral Nemo: 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-8B-InstructMistral Nemo
CapabilityCapabilities Index (ECI)67%484043
Inputs & features20%02525
Context window13%03232
Overall100%32/10036/10038/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

Gemma 2 27B vs Llama-3.1-8B-Instruct vs Mistral Nemo specifications side by side
SpecificationGemma 2 27BGoogleLlama-3.1-8B-InstructMetaMistral NemoMistral AI
Capability
Capabilities Index (ECI)118.6 (best)110.8113.8
ECI rank#152 of 158 (best)#157 of 158#155 of 158
GPQA DiamondGraduate-level science questions36.5% (best)27.0%29.9%
OTIS Mock AIME 2024–2025Competition mathematics1.4%1.7% (best)—
Price per million tokens
Input$0.65$0.055 (best)$0.09
Output$0.65$0.078 (best)$0.109
Cached input———
Blended (3:1)$0.65$0.061 (best)$0.095
Long-context rateSame rateSame rateSame rate
Price sourceMedian of 3 providersMedian of 18 providersMedian of 11 providers
Limits
Context window8,192 tokens128,000 tokens (best)128,000 tokens (best)
Max output2,048 tokens4,096 tokens128,000 tokens (best)
Inputs and features
TextYesYesYes
ImagesNoNoNo
PDFsNoNoNo
AudioNoNoNo
VideoNoNoNo
ReasoningNoNoNo
Tool callingNoYesYes
Structured outputNoNoNo
Availability
WeightsOpenOpenOpen
API model ID———
API providers319 (best)11
ReleasedJul 13, 2024Jul 23, 2024Jul 18, 2024
Knowledge cutoffJun 30, 2024Dec 2023Jul 2024
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-8B-Instruct$0.707
  • Mistral Nemo$1.12
04 — Questions

Which should you choose?

Which is better: Gemma 2 27B, Llama-3.1-8B-Instruct or Mistral Nemo?

It is close. Our weighted score puts them within 2 points (Mistral Nemo 38/100, Llama-3.1-8B-Instruct 36/100, Gemma 2 27B 32/100), so choose by what matters most for your work: Gemma 2 27B for raw capability and Llama-3.1-8B-Instruct on price. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, Gemma 2 27B, Llama-3.1-8B-Instruct or Mistral Nemo?

Llama-3.1-8B-Instruct is cheaper at $0.055 input / $0.078 output per million tokens (median across 18 API providers). Mistral Nemo costs $0.09 input / $0.109 output per million tokens (median across 11 API providers); Gemma 2 27B costs $0.65 input / $0.65 output per million tokens (median across 3 API providers). At a typical mix of three input tokens to one output token, that is $0.061 per million tokens for Llama-3.1-8B-Instruct versus $0.095 for Mistral Nemo (1.6× as much) and $0.65 for Gemma 2 27B (11× as much).

Which scores higher on benchmarks?

Gemma 2 27B scores higher on the Capabilities Index (ECI): Gemma 2 27B 118.6 (#152 of 158), Mistral Nemo 113.8 (#155 of 158) and Llama-3.1-8B-Instruct 110.8 (#157 of 158). The confidence ranges of the top two overlap (114.5–122.4 vs 108.8–118.2), so treat the gap as small. On individual benchmarks: GPQA Diamond — Gemma 2 27B 36.5%, Mistral Nemo 29.9%, Llama-3.1-8B-Instruct 27.0%.

Which is better for coding?

There are no published SWE-bench Verified results for Gemma 2 27B, Llama-3.1-8B-Instruct and Mistral Nemo yet, so there is no like-for-like coding score. On overall capability, Gemma 2 27B leads, which tends to carry over to coding, but test on your own codebase. Note that Gemma 2 27B does not support tool calling, which most coding agents need.

Which has the bigger context window?

Llama-3.1-8B-Instruct and Mistral Nemo have the largest context windows (128,000 and 128,000 tokens), against 8,192 for Gemma 2 27B. Maximum output per response: Gemma 2 27B up to 2,048, Llama-3.1-8B-Instruct up to 4,096, Mistral Nemo up to 128,000 tokens.

Which can read images, PDFs, audio or video?

Gemma 2 27B accepts text; Llama-3.1-8B-Instruct accepts text; Mistral Nemo 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?

Llama-3.1-8B-Instruct is the newest, released Jul 23, 2024. Mistral Nemo came out Jul 18, 2024; Gemma 2 27B came out Jul 13, 2024. Knowledge cutoff: Gemma 2 27B Jun 30, 2024, Llama-3.1-8B-Instruct Dec 2023, Mistral Nemo Jul 2024.

How do you decide the winner?

This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, 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 18, 2026.