Skip to content
llmmodels

Gemma 2B vs Llama 2-7B

Llama 2-7B wins 3 of 4 benchmarks both models report and has a higher Epoch Capabilities Index (83.2 vs 75.7).

SpecGemma 2BLlama 2-7B
ProviderGoogle DeepMindMeta
ReleasedFeb 21, 2024 (better)Jul 18, 2023
TypeChat LLMChat LLM
Parameters2.5B6.7B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
Licensegemmallama2
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index75.783.2 (better)
MMLU42.3%45.8% (better)
GSM8K17.7% (better)16.7%
HellaSwag71.4%77.2% (better)

About Gemma 2B

Gemma 2B is an open-weight chat llm from Google DeepMind, released Feb 21, 2024. It has 2.5B parameters. It scores 75.7 on the Epoch Capabilities Index. Full Gemma 2B specs →

About Llama 2-7B

Llama 2-7B is an open-weight chat llm from Meta, released Jul 18, 2023. It has 6.7B parameters. It scores 83.2 on the Epoch Capabilities Index. Full Llama 2-7B specs →

Compare other models

FAQ

Which is better, Gemma 2B or Llama 2-7B?

Llama 2-7B wins 3 of 4 benchmarks both models report and has a higher Epoch Capabilities Index (83.2 vs 75.7).

Are Gemma 2B and Llama 2-7B open source?

Gemma 2B is open-weight; Llama 2-7B is open-weight.