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
Google
Gemma 2 27B
32/100- ECI118.6
- Price$0.65 / $0.65
- Context8K
Meta
Llama-3.1-8B-Instruct
36/100- ECI110.8
- Price$0.055 / $0.078
- Context128K
Mistral AI
Mistral Nemo
38/100- ECI113.8
- Price$0.09 / $0.109
- Context128K
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
| Measure | Weight | Gemma 2 27B | Llama-3.1-8B-Instruct | Mistral Nemo |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 67% | 48 | 40 | 43 |
| Inputs & features | 20% | 0 | 25 | 25 |
| Context window | 13% | 0 | 32 | 32 |
| Overall | 100% | 32/100 | 36/100 | 38/100 |
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 118.6 (best) | 110.8 | 113.8 |
| ECI rank | #152 of 158 (best) | #157 of 158 | #155 of 158 |
| GPQA DiamondGraduate-level science questions | 36.5% (best) | 27.0% | 29.9% |
| OTIS Mock AIME 2024–2025Competition mathematics | 1.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 rate | Same rate | Same rate | Same rate |
| Price source | Median of 3 providers | Median of 18 providers | Median of 11 providers |
| Limits | |||
| Context window | 8,192 tokens | 128,000 tokens (best) | 128,000 tokens (best) |
| Max output | 2,048 tokens | 4,096 tokens | 128,000 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 | No | No | No |
| Availability | |||
| Weights | Open | Open | Open |
| API model ID | — | — | — |
| API providers | 3 | 19 (best) | 11 |
| Released | Jul 13, 2024 | Jul 23, 2024 | Jul 18, 2024 |
| Knowledge cutoff | Jun 30, 2024 | Dec 2023 | Jul 2024 |
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
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.