Model comparison

Llama 3.1-8B vs Mistral Medium

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

Last verified . 26 shared benchmarks.

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Mistral Medium Mistral AI

36.3

Rank #218 Confirmed

Summary

  • They share 26 benchmarks with published results for both. Llama 3.1-8B scores higher in 0 categories and Mistral Medium in 9 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Mistral Medium leads 60.0 to 29.7.
  • The biggest single-benchmark swing is MATH Level 5: 22.9% for Llama 3.1-8B and 81.6% for Mistral Medium.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $1.50 / $7.50 for Mistral Medium.
  • Mistral Medium accepts more context: 262K tokens versus 128K.

Side by side

Llama 3.1-8B and Mistral Medium specifications
Llama 3.1-8BMistral Medium
ProviderMetaMistral AI
Noometry Index23.036.3
Released2024-07-232023-12-11
WeightsOpenOpen
Context window128K262K
Max output4K262K
Input $ / M tokens$0.05$1.50
Output $ / M tokens$0.08$7.50
Results tracked4336

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

Category by category

Coding Mistral Medium leads

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

Coding benchmarks
BenchmarkLlama 3.1-8BMistral Medium
SciCode13.2%40.2%
WeirdML1.7%43.7%
LMArena Coding11951434
FrontierCode—8%
BigCodeBench Instruct32.8%—
BigCodeBench Complete40.5%—
ALE-Bench—763.98
HumanEval+62.8%—
MBPP+55.6%—

Agentic & Tool Use Mistral Medium leads

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

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

Reasoning Mistral Medium leads

Llama 3.1-8B: 14.9 (#321), Mistral Medium: 24.0 (#167)

Reasoning benchmarks
BenchmarkLlama 3.1-8BMistral Medium
CritPt0%0%
LMArena Hard Prompts11751426
DTBench50.9%75.5%
LMCA5.4%26.1%
Kagi LLM Benchmark—50%
Chess Puzzles0%—
Surface Evolver Bench—26.9%
Epoch Capabilities Index116.57—
PIQA81.2%—

Math Mistral Medium leads

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

Math benchmarks
BenchmarkLlama 3.1-8BMistral Medium
OTIS Mock AIME 2024-20251.7%32.2%
LMArena Math11791408
MATH Level 522.9%81.6%
ProofBench—9%
Omni-MATH13.7%—
FrontierMath (Feb 2025 set)—0.3%
GSM8K82.4%—

Knowledge Mistral Medium leads

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

Knowledge benchmarks
BenchmarkLlama 3.1-8BMistral Medium
GPQA Diamond27%59.5%
LMArena Expert11441408
Humanity's Last Exam—4.5%
MMLU-Pro40.6%—
Vectara Hallucination Rate—22.7%
GPQA (HELM)24.7%—
BoolQ82.8%—
MMLU56.1%—

Multimodal Not comparable

Llama 3.1-8B: —, Mistral Medium: 35.3 (#88)

Multimodal benchmarks
BenchmarkLlama 3.1-8BMistral Medium
LMArena Vision—1172

Multilingual Mistral Medium leads

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

Multilingual benchmarks
BenchmarkLlama 3.1-8BMistral Medium
LMArena Non-English11481408
LMArena Chinese11511447
LMArena French11771459
LMArena German11441432
LMArena Japanese10611378
LMArena Korean10531380
LMArena Russian11581411
LMArena Spanish11691433

Instruction Following Mistral Medium leads

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

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

Long Context Mistral Medium leads

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

Long Context benchmarks
BenchmarkLlama 3.1-8BMistral Medium
LMArena Longer Query11821406

Writing & Preference Mistral Medium leads

Llama 3.1-8B: 29.7 (#290), Mistral Medium: 60.0 (#103)

Writing & Preference benchmarks
BenchmarkLlama 3.1-8BMistral Medium
LMArena Text11871424
LMArena Creative Writing11541391
LMArena Multi-Turn11721418
Short-Story Creative Writing—77.3%
EQ-Bench Creative Writing713—
WildBench68.7%—

Frequently asked questions

Is Llama 3.1-8B better than Mistral Medium?

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

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

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

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

Mistral Medium scores higher on coding benchmarks: 34.2 versus 20.2 in the Noometry coding category.

Which has the bigger context window?

Mistral Medium does, with 262K tokens against 128K.

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

26 benchmarks have published results for both models. Llama 3.1-8B has 43 scored results on Noometry and Mistral Medium has 36.

Related comparisons

Go deeper