Model comparison

Llama 2-7B vs Llama 3-8B

Llama 2-7B is the stronger model overall, scoring 29.1 to 25.5 on the Noometry Index.

Last verified . 22 shared benchmarks.

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Llama 3-8B Meta

25.5

Rank #344 Confirmed

Summary

  • They share 22 benchmarks with published results for both. Llama 2-7B scores higher in 3 categories and Llama 3-8B in 5 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Llama 2-7B leads 30.7 to 8.8.

Side by side

Llama 2-7B and Llama 3-8B specifications
Llama 2-7BLlama 3-8B
ProviderMetaMeta
Noometry Index29.125.5
Released2023-07-182024-04-18
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2934

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Llama 3-8B leads

Llama 2-7B: 29.2 (#307), Llama 3-8B: 31.0 (#289)

Coding benchmarks
BenchmarkLlama 2-7BLlama 3-8B
LMArena Coding10021152
BigCodeBench Instruct—31.9%
BigCodeBench Complete—36.9%
HumanEval+—56.7%
MBPP+—54.8%

Reasoning Llama 2-7B leads

Llama 2-7B: 15.7 (#312), Llama 3-8B: 14.3 (#326)

Reasoning benchmarks
BenchmarkLlama 2-7BLlama 3-8B
Chess Puzzles0%0%
LMArena Hard Prompts10091133
Epoch Capabilities Index99.06116.45
WinoGrande69.2%75.7%
DTBench—43.9%
Adversarial NLI—57.3%
BIG-Bench Hard39.2%—
ForecastBench—58.6
HellaSwag77.2%—
LAMBADA73.3%—
PIQA78.8%—

Math Llama 2-7B leads

Llama 2-7B: 30.7 (#233), Llama 3-8B: 8.8 (#323)

Math benchmarks
BenchmarkLlama 2-7BLlama 3-8B
LMArena Math10421151
OTIS Mock AIME 2024-2025—1.9%
MATH Level 5—6.1%
GSM8K16.7%—

Knowledge Llama 2-7B leads

Llama 2-7B: 28.2 (#248), Llama 3-8B: 7.8 (#308)

Knowledge benchmarks
BenchmarkLlama 2-7BLlama 3-8B
LMArena Expert10361113
ARC (AI2) Challenge45.9%82.8%
MMLU45.8%68.8%
OpenBookQA58.6%82.6%
TriviaQA73.7%67.7%
GPQA Diamond—26.1%
BoolQ77.9%—

Multimodal Not comparable

Llama 2-7B: —, Llama 3-8B: —

Multimodal benchmarks
BenchmarkLlama 2-7BLlama 3-8B
ScienceQA43.1%—

Multilingual Llama 3-8B leads

Llama 2-7B: 23.8 (#293), Llama 3-8B: 30.8 (#261)

Multilingual benchmarks
BenchmarkLlama 2-7BLlama 3-8B
LMArena Non-English9731098
LMArena Chinese9731076
LMArena French9701159
LMArena German9781104
LMArena Russian9951109
LMArena Spanish10071173
LMArena Japanese—967
LMArena Korean—1004

Instruction Following Llama 3-8B leads

Llama 2-7B: 50.8 (#298), Llama 3-8B: 58.4 (#260)

Instruction Following benchmarks
BenchmarkLlama 2-7BLlama 3-8B
LMArena Instruction Following10061127

Long Context Llama 3-8B leads

Llama 2-7B: 30.4 (#287), Llama 3-8B: 34.2 (#251)

Long Context benchmarks
BenchmarkLlama 2-7BLlama 3-8B
LMArena Longer Query9991128

Writing & Preference Llama 3-8B leads

Llama 2-7B: 28.0 (#298), Llama 3-8B: 37.5 (#256)

Writing & Preference benchmarks
BenchmarkLlama 2-7BLlama 3-8B
LMArena Text10531166
LMArena Creative Writing10331150
LMArena Multi-Turn10291152

Frequently asked questions

Is Llama 2-7B better than Llama 3-8B?

Llama 2-7B is the stronger model overall, scoring 29.1 to 25.5 on the Noometry Index.

Is Llama 2-7B or Llama 3-8B better for coding?

Llama 3-8B scores higher on coding benchmarks: 31.0 versus 29.2 in the Noometry coding category.

How many benchmarks do Llama 2-7B and Llama 3-8B share?

22 benchmarks have published results for both models. Llama 2-7B has 29 scored results on Noometry and Llama 3-8B has 34.

Related comparisons

Go deeper