Model comparison

Llama 3.1-8B vs Mistral 7B

Llama 3.1-8B and Mistral 7B score almost the same on the Noometry Index (23.0 vs 23.0), so choose on price, context window or the category you care about most.

Last verified . 30 shared benchmarks.

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Mistral 7B Mistral AI

23.0

Rank #351 Confirmed

Summary

  • They share 30 benchmarks with published results for both. Llama 3.1-8B scores higher in 6 categories and Mistral 7B in 2 categories; 6 gaps are clear of the uncertainty.
  • The widest gap is in multilingual, where Llama 3.1-8B leads 34.0 to 25.8.
  • The biggest single-benchmark swing is MATH Level 5: 22.9% for Llama 3.1-8B and 3.7% for Mistral 7B.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $0.25 / $0.25 for Mistral 7B.
  • Llama 3.1-8B accepts more context: 128K tokens versus 8K.

Side by side

Llama 3.1-8B and Mistral 7B specifications
Llama 3.1-8BMistral 7B
ProviderMetaMistral AI
Noometry Index23.023.0
Released2024-07-232023-09-27
WeightsOpenOpen
Context window128K8K
Max output4K8K
Input $ / M tokens$0.05$0.25
Output $ / M tokens$0.08$0.25
Results tracked4337

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

Category by category

Coding Mistral 7B leads

Llama 3.1-8B: 20.2 (#340), Mistral 7B: 26.4 (#326)

Coding benchmarks
BenchmarkLlama 3.1-8BMistral 7B
BigCodeBench Instruct32.8%19.5%
LMArena Coding11951082
BigCodeBench Complete40.5%27.3%
HumanEval+62.8%36%
MBPP+55.6%42.1%
SciCode13.2%—
WeirdML1.7%—

Agentic & Tool Use Not comparable

Llama 3.1-8B: 22.5 (#131), Mistral 7B: —

Agentic & Tool Use benchmarks
BenchmarkLlama 3.1-8BMistral 7B
Berkeley Function Calling Leaderboard25.8%—
BALROG15.1%—

Reasoning Llama 3.1-8B leads

Llama 3.1-8B: 14.9 (#321), Mistral 7B: 13.1 (#336)

Reasoning benchmarks
BenchmarkLlama 3.1-8BMistral 7B
Chess Puzzles0%0%
LMArena Hard Prompts11751067
DTBench50.9%42.5%
Epoch Capabilities Index116.57112.21
PIQA81.2%83%
CritPt0%—
LMCA5.4%—
Adversarial NLI—47.1%
BIG-Bench Hard—56.1%
HellaSwag—81%
WinoGrande—75.3%

Math Llama 3.1-8B leads

Llama 3.1-8B: 10.2 (#317), Mistral 7B: 8.1 (#325)

Math benchmarks
BenchmarkLlama 3.1-8BMistral 7B
OTIS Mock AIME 2024-20251.7%0.3%
LMArena Math11791085
MATH Level 522.9%3.7%
GSM8K82.4%54.4%
Omni-MATH13.7%—

Knowledge Too close to call

Llama 3.1-8B: 8.0 (#307), Mistral 7B: 7.4 (#311)

Knowledge benchmarks
BenchmarkLlama 3.1-8BMistral 7B
GPQA Diamond27%15.2%
LMArena Expert11441036
BoolQ82.8%87.4%
MMLU56.1%62.5%
MMLU-Pro40.6%—
GPQA (HELM)24.7%—
ARC (AI2) Challenge—78.6%
OpenBookQA—79.8%
TriviaQA—75.2%

Multilingual Llama 3.1-8B leads

Llama 3.1-8B: 34.0 (#249), Mistral 7B: 25.8 (#283)

Multilingual benchmarks
BenchmarkLlama 3.1-8BMistral 7B
LMArena Non-English11481012
LMArena Chinese11511009
LMArena French11771037
LMArena German1144987
LMArena Japanese1061878
LMArena Russian11581018
LMArena Spanish11691026
LMArena Korean1053—

Instruction Following Llama 3.1-8B leads

Llama 3.1-8B: 58.9 (#258), Mistral 7B: 54.2 (#280)

Instruction Following benchmarks
BenchmarkLlama 3.1-8BMistral 7B
LMArena Instruction Following11591060
IFEval74.3%—

Long Context Llama 3.1-8B leads

Llama 3.1-8B: 35.8 (#238), Mistral 7B: 32.2 (#271)

Long Context benchmarks
BenchmarkLlama 3.1-8BMistral 7B
LMArena Longer Query11821060

Writing & Preference Too close to call

Llama 3.1-8B: 29.7 (#290), Mistral 7B: 30.7 (#286)

Writing & Preference benchmarks
BenchmarkLlama 3.1-8BMistral 7B
LMArena Text11871090
LMArena Creative Writing11541068
LMArena Multi-Turn11721062
EQ-Bench Creative Writing713—
WildBench68.7%—

Frequently asked questions

Is Llama 3.1-8B better than Mistral 7B?

Llama 3.1-8B and Mistral 7B score almost the same on the Noometry Index (23.0 vs 23.0), so choose on price, context window or the category you care about most.

Which is cheaper, Llama 3.1-8B or Mistral 7B?

Llama 3.1-8B is cheaper. It lists at $0.05 per million input tokens and $0.08 per million output tokens; Mistral 7B lists at $0.25 and $0.25.

Is Llama 3.1-8B or Mistral 7B better for coding?

Mistral 7B scores higher on coding benchmarks: 26.4 versus 20.2 in the Noometry coding category.

Which has the bigger context window?

Llama 3.1-8B does, with 128K tokens against 8K.

How many benchmarks do Llama 3.1-8B and Mistral 7B share?

30 benchmarks have published results for both models. Llama 3.1-8B has 43 scored results on Noometry and Mistral 7B has 37.

Related comparisons

Go deeper