The AI arena is free today

Open Superagent

Gemma 2 9B vs Llama 3.1 8B Instruct

Gemma 2 9B and Llama 3.1 8B Instruct are closely matched at -4.8 and -2.5 on the LLM Stats Score.

Google · Meta · Updated for 2026

Which is better?

Gemma 2 9B and Llama 3.1 8B Instruct are closely matched on the overall LLM Stats Score at -4.8 and -2.5.

In the 3 individual benchmarks reported for both models, Llama 3.1 8B Instruct wins 2; this is a narrower head-to-head signal than the composite indexes.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Gemma 2 9B

  • you are already invested in the Google ecosystem

Choose Llama 3.1 8B Instruct

  • you value its reported benchmark strengths — it wins 2 of 3 exact shared results
  • you want the most recent training data — it shipped Jul 2024

At a glance

The differences that matter most.

Core performance indexes
-4.8
#341
-2.5
#327
-5.2
#333
-3.5
#325
-11.0
#256
-2.2
#240
Cost, coverage & limits
Benchmark wins
1 of 3
2 of 3
Input price
— / M
$0.03 / M
Output price
— / M
$0.03 / M
Context window
131,072

Capability indexes

Additional strengths measured across groups of related public benchmarks

2 shared
Index
Gemma 2 9B
Llama 3.1 8B Instruct
-3.4#305
-2.1#302
0.4#175
-2.5#182
Conservative TrueSkill rating · higher is betterHow scores work

Individual benchmarks

16 reported for Gemma 2 9B · 18 for Llama 3.1 8B Instruct

3 shared

Gemma 2 9B outperforms in 1 benchmarks (MMLU), while Llama 3.1 8B Instruct is better at 2 benchmarks (ARC-C, HumanEval).

Llama 3.1 8B Instruct shows notably better performance in the majority of benchmarks.

Fri Sep 04 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Model Size

Parameter count comparison

1.2B diff

Gemma 2 9B has 1.2B more parameters than Llama 3.1 8B Instruct, making it 15.5% larger.

Google
Gemma 2 9B
9.2Bparameters
Meta
Llama 3.1 8B Instruct
8.0Bparameters
9.2B
Gemma 2 9B
8.0B
Llama 3.1 8B Instruct

Context Window

Maximum input and output token capacity

Only Llama 3.1 8B Instruct specifies input context (131,072 tokens). Only Llama 3.1 8B Instruct specifies output context (131,072 tokens).

Google
Gemma 2 9B
Input- tokens
Output- tokens
Meta
Llama 3.1 8B Instruct
Input131,072 tokens
Output131,072 tokens
Fri Sep 04 2026 • llm-stats.com

License

Usage and distribution terms

Gemma 2 9B is licensed under Gemma, while Llama 3.1 8B Instruct uses Llama 3.1 Community License.

License differences may affect how you can use these models in commercial or open-source projects.

Gemma 2 9B

Gemma

Open weights

Llama 3.1 8B Instruct

Llama 3.1 Community License

Open weights

Release Timeline

When each model was launched

Gemma 2 9B was released on 2024-06-27, while Llama 3.1 8B Instruct was released on 2024-07-23.

Llama 3.1 8B Instruct is 1 month newer than Gemma 2 9B.

Gemma 2 9B

Jun 27, 2024

2.2 years ago

Llama 3.1 8B Instruct

Jul 23, 2024

2.1 years ago

3w newer

Knowledge Cutoff

When training data ends

Llama 3.1 8B Instruct has a documented knowledge cutoff of 2023-12-31, while Gemma 2 9B's cutoff date is not specified.

We can confirm Llama 3.1 8B Instruct's training data extends to 2023-12-31, but cannot make a direct comparison without Gemma 2 9B's cutoff date.

Gemma 2 9B

Llama 3.1 8B Instruct

Dec 2023

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against Gemma 2 9B and Llama 3.1 8B Instruct side-by-side, then vote on the output you prefer.

Gemma 2 9B
✓ Preferred
Llama 3.1 8B Instruct
Open in Playground

FAQ

Common questions about Gemma 2 9B vs Llama 3.1 8B Instruct.

Which is better, Gemma 2 9B or Llama 3.1 8B Instruct?

Gemma 2 9B and Llama 3.1 8B Instruct are closely matched on the LLM Stats Score at -4.8 and -2.5. Gemma 2 9B is made by Google and Llama 3.1 8B Instruct is made by Meta. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Gemma 2 9B compare to Llama 3.1 8B Instruct in benchmarks?

Gemma 2 9B scores ARC-E: 88.0%, BoolQ: 84.2%, HellaSwag: 81.9%, PIQA: 81.7%, Winogrande: 80.6%. Llama 3.1 8B Instruct scores GSM-8K (CoT): 84.5%, ARC-C: 83.4%, API-Bank: 82.6%, IFEval: 80.4%, BFCL: 76.1%.

What are the context window sizes for Gemma 2 9B and Llama 3.1 8B Instruct?

Gemma 2 9B supports an unknown number of tokens and Llama 3.1 8B Instruct supports 131K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Gemma 2 9B and Llama 3.1 8B Instruct?

Key differences include LLM Stats Score (-4.8 vs -2.5), licensing (Gemma vs Llama 3.1 Community License). See the full comparison above for benchmark-by-benchmark results.

Who makes Gemma 2 9B and Llama 3.1 8B Instruct?

Gemma 2 9B is developed by Google and Llama 3.1 8B Instruct is developed by Meta.