Model comparison

Llama 3.1-8B vs Mistral Medium 3.1

Mistral Medium 3.1 is the stronger model overall, scoring 31.9 to 23.0 on the Noometry Index. Llama 3.1-8B costs 14× less per token, which makes it the better buy when Mistral Medium 3.1's lead doesn't matter for your workload.

Last verified . 1 shared benchmarks.

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Mistral Medium 3.1 Mistral AI

31.9

Rank #266 Reported

Summary

  • They share 1 benchmark with published results for both. Llama 3.1-8B scores higher in 1 category and Mistral Medium 3.1 in 1 category; 2 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Mistral Medium 3.1 leads 55.5 to 29.7.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $0.40 / $2 for Mistral Medium 3.1.
  • Mistral Medium 3.1 accepts more context: 131K tokens versus 128K.
  • Llama 3.1-8B has downloadable open weights; the other is API-only.

Side by side

Llama 3.1-8B and Mistral Medium 3.1 specifications
Llama 3.1-8BMistral Medium 3.1
ProviderMetaMistral AI
Noometry Index23.031.9
Released2024-07-23—
WeightsOpenProprietary
Context window128K131K
Max output4K105K
Input $ / M tokens$0.05$0.40
Output $ / M tokens$0.08$2
Results tracked433

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

Category by category

Coding Not comparable

Llama 3.1-8B: 20.2 (#340), Mistral Medium 3.1: —

Coding benchmarks
BenchmarkLlama 3.1-8BMistral Medium 3.1
SciCode13.2%—
WeirdML1.7%—
BigCodeBench Instruct32.8%—
LMArena Coding1195—
BigCodeBench Complete40.5%—
HumanEval+62.8%—
MBPP+55.6%—

Agentic & Tool Use Not comparable

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

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

Reasoning Llama 3.1-8B leads

Llama 3.1-8B: 14.9 (#321), Mistral Medium 3.1: 10.6 (#341)

Reasoning benchmarks
BenchmarkLlama 3.1-8BMistral Medium 3.1
NYT Connections (extended)—6.5%
CritPt0%—
Chess Puzzles0%—
Thematic Generalization—20.3%
LMArena Hard Prompts1175—
DTBench50.9%—
LMCA5.4%—
Epoch Capabilities Index116.57—
PIQA81.2%—

Math Not comparable

Llama 3.1-8B: 10.2 (#317), Mistral Medium 3.1: —

Math benchmarks
BenchmarkLlama 3.1-8BMistral Medium 3.1
OTIS Mock AIME 2024-20251.7%—
Omni-MATH13.7%—
LMArena Math1179—
MATH Level 522.9%—
GSM8K82.4%—

Knowledge Not comparable

Llama 3.1-8B: 8.0 (#307), Mistral Medium 3.1: —

Knowledge benchmarks
BenchmarkLlama 3.1-8BMistral Medium 3.1
GPQA Diamond27%—
MMLU-Pro40.6%—
GPQA (HELM)24.7%—
LMArena Expert1144—
BoolQ82.8%—
MMLU56.1%—

Multilingual Not comparable

Llama 3.1-8B: 34.0 (#249), Mistral Medium 3.1: —

Multilingual benchmarks
BenchmarkLlama 3.1-8BMistral Medium 3.1
LMArena Non-English1148—
LMArena Chinese1151—
LMArena French1177—
LMArena German1144—
LMArena Japanese1061—
LMArena Korean1053—
LMArena Russian1158—
LMArena Spanish1169—

Instruction Following Not comparable

Llama 3.1-8B: 58.9 (#258), Mistral Medium 3.1: —

Instruction Following benchmarks
BenchmarkLlama 3.1-8BMistral Medium 3.1
IFEval74.3%—
LMArena Instruction Following1159—

Long Context Not comparable

Llama 3.1-8B: 35.8 (#238), Mistral Medium 3.1: —

Long Context benchmarks
BenchmarkLlama 3.1-8BMistral Medium 3.1
LMArena Longer Query1182—

Writing & Preference Mistral Medium 3.1 leads

Llama 3.1-8B: 29.7 (#290), Mistral Medium 3.1: 55.5 (#145)

Writing & Preference benchmarks
BenchmarkLlama 3.1-8BMistral Medium 3.1
EQ-Bench Creative Writing7131476
LMArena Text1187—
LMArena Creative Writing1154—
WildBench68.7%—
LMArena Multi-Turn1172—

Frequently asked questions

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

Mistral Medium 3.1 is the stronger model overall, scoring 31.9 to 23.0 on the Noometry Index. Llama 3.1-8B costs 14× less per token, which makes it the better buy when Mistral Medium 3.1's lead doesn't matter for your workload.

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

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

Which has the bigger context window?

Mistral Medium 3.1 does, with 131K tokens against 128K.

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

1 benchmark has published results for both models. Llama 3.1-8B has 43 scored results on Noometry and Mistral Medium 3.1 has 3.

Related comparisons

Go deeper