Gemma 2 9B vs Llama-3.1-8B-Instruct
Gemma 2 9B wins 4 of 6 benchmarks both models report and has a higher Epoch Capabilities Index (112.4 vs 110.9).
| Spec | Gemma 2 9B | Llama-3.1-8B-Instruct |
|---|---|---|
| Provider | Google DeepMind | Meta |
| Released | Jun 24, 2024 | Jul 23, 2024 (better) |
| Type | Chat LLM | Chat LLM |
| Parameters | 9.2B | 8B |
| Context window | — | 128K |
| Max output | — | 16K |
| Input price / 1M | — | $0.02 |
| Output price / 1M | — | $0.04 |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | gemma | llama3.1 |
| Reasoning mode | No | No |
| Tool calling | No | Yes |
| API providers | — | 19 (better) |
| Epoch Capabilities Index | 112.4 (better) | 110.9 |
| GPQA Diamond | 27.5% (better) | 27.0% |
| OTIS Mock AIME | 0.6% | 1.7% (better) |
| MATH Level 5 | 21.0% | 22.9% (better) |
| LiveBench | 28.7% | — |
| MMLU | 72.1% (better) | 56.1% |
| GSM8K | 84.9% (better) | 82.4% |
About Gemma 2 9B
Gemma 2 9B is an open-weight chat llm from Google DeepMind, released Jun 24, 2024. It has 9.2B parameters. It scores 112.4 on the Epoch Capabilities Index. Full Gemma 2 9B specs →
About Llama-3.1-8B-Instruct
Llama-3.1-8B-Instruct is an open-weight chat llm from Meta, released Jul 23, 2024. It has 8B parameters and a 128K-token context window. API pricing starts at $0.02 per million input tokens and $0.04 per million output tokens. It is available from 19 API providers. It scores 110.9 on the Epoch Capabilities Index. Full Llama-3.1-8B-Instruct specs →
Compare other models
FAQ
Which is better, Gemma 2 9B or Llama-3.1-8B-Instruct?
Gemma 2 9B wins 4 of 6 benchmarks both models report and has a higher Epoch Capabilities Index (112.4 vs 110.9).
Are Gemma 2 9B and Llama-3.1-8B-Instruct open source?
Gemma 2 9B is open-weight; Llama-3.1-8B-Instruct is open-weight.