Model comparison

Llama 3.1-8B vs Mixtral 8x7B

Mixtral 8x7B is the stronger model overall, scoring 26.8 to 22.8 on the Noometry Index. Llama 3.1-8B costs 12× less per token, which makes it the better buy when Mixtral 8x7B's lead doesn't matter for your workload.

Last verified . 31 shared benchmarks.

Llama 3.1-8B Meta

22.8

Rank #347 Confirmed

Mixtral 8x7B Mistral AI

26.8

Rank #328 Confirmed

Summary

  • They share 31 benchmarks with published results for both. Llama 3.1-8B scores higher in 3 categories and Mixtral 8x7B in 5 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in coding, where Mixtral 8x7B leads 32.2 to 19.9.
  • The biggest single-benchmark swing is IFEval: 74.3% for Llama 3.1-8B and 57.5% for Mixtral 8x7B.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $0.70 / $0.70 for Mixtral 8x7B.
  • Llama 3.1-8B accepts more context: 128K tokens versus 32K.

Side by side

Llama 3.1-8B and Mixtral 8x7B specifications
Llama 3.1-8BMixtral 8x7B
ProviderMetaMistral AI
Noometry Index22.826.8
Released2024-07-232023-12-11
WeightsOpenOpen
Context window128K32K
Max output4K32K
Input $ / M tokens$0.05$0.70
Output $ / M tokens$0.08$0.70
Results tracked4338

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

Category by category

Coding Mixtral 8x7B leads

Llama 3.1-8B: 19.9 (#335), Mixtral 8x7B: 32.2 (#265)

Coding benchmarks
BenchmarkLlama 3.1-8BMixtral 8x7B
LMArena Coding11951127
HumanEval+62.8%39.6%
MBPP+55.6%49.7%
SciCode13.2%—
WeirdML1.7%—
BigCodeBench Instruct32.8%—
BigCodeBench Complete40.5%—

Agentic & Tool Use Not comparable

Llama 3.1-8B: 22.3 (#123), Mixtral 8x7B: —

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

Reasoning Mixtral 8x7B leads

Llama 3.1-8B: 14.5 (#316), Mixtral 8x7B: 17.4 (#283)

Reasoning benchmarks
BenchmarkLlama 3.1-8BMixtral 8x7B
LMArena Hard Prompts11751115
DTBench50.9%49.6%
Epoch Capabilities Index116.48118.38
PIQA81.2%83.6%
CritPt0%—
Chess Puzzles0%—
LMCA5.4%—
Adversarial NLI—55.2%
ForecastBench—56.3
HellaSwag—86.7%
WinoGrande—77.2%

Math Mixtral 8x7B leads

Llama 3.1-8B: 9.5 (#311), Mixtral 8x7B: 17.2 (#284)

Math benchmarks
BenchmarkLlama 3.1-8BMixtral 8x7B
Omni-MATH13.7%10.5%
LMArena Math11791147
MATH Level 522.9%10%
GSM8K82.4%74.4%
OTIS Mock AIME 2024-20251.7%—

Knowledge Mixtral 8x7B leads

Llama 3.1-8B: 8.0 (#302), Mixtral 8x7B: 11.0 (#296)

Knowledge benchmarks
BenchmarkLlama 3.1-8BMixtral 8x7B
GPQA Diamond27%30.6%
MMLU-Pro40.6%33.5%
GPQA (HELM)24.7%29.6%
LMArena Expert11441088
MMLU56.1%70.6%
ARC (AI2) Challenge—87.3%
BoolQ82.8%—
OpenBookQA—85.8%
TriviaQA—82.2%

Multilingual Llama 3.1-8B leads

Llama 3.1-8B: 34.2 (#244), Mixtral 8x7B: 29.8 (#261)

Multilingual benchmarks
BenchmarkLlama 3.1-8BMixtral 8x7B
LMArena Non-English11481077
LMArena Chinese11511055
LMArena French11761165
LMArena German11441114
LMArena Japanese1061931
LMArena Korean1053968
LMArena Russian11581090
LMArena Spanish11691110

Instruction Following Llama 3.1-8B leads

Llama 3.1-8B: 59.1 (#253), Mixtral 8x7B: 51.2 (#292)

Instruction Following benchmarks
BenchmarkLlama 3.1-8BMixtral 8x7B
IFEval74.3%57.5%
LMArena Instruction Following11591110

Long Context Llama 3.1-8B leads

Llama 3.1-8B: 35.8 (#233), Mixtral 8x7B: 33.4 (#255)

Long Context benchmarks
BenchmarkLlama 3.1-8BMixtral 8x7B
LMArena Longer Query11821103

Writing & Preference Mixtral 8x7B leads

Llama 3.1-8B: 29.9 (#285), Mixtral 8x7B: 34.4 (#265)

Writing & Preference benchmarks
BenchmarkLlama 3.1-8BMixtral 8x7B
LMArena Text11871132
LMArena Creative Writing11541109
WildBench68.7%67.3%
LMArena Multi-Turn11721115
EQ-Bench Creative Writing713—

Frequently asked questions

Is Llama 3.1-8B better than Mixtral 8x7B?

Mixtral 8x7B is the stronger model overall, scoring 26.8 to 22.8 on the Noometry Index. Llama 3.1-8B costs 12× less per token, which makes it the better buy when Mixtral 8x7B's lead doesn't matter for your workload.

Which is cheaper, Llama 3.1-8B or Mixtral 8x7B?

Llama 3.1-8B is cheaper. It lists at $0.05 per million input tokens and $0.08 per million output tokens; Mixtral 8x7B lists at $0.70 and $0.70.

Is Llama 3.1-8B or Mixtral 8x7B better for coding?

Mixtral 8x7B scores higher on coding benchmarks: 32.2 versus 19.9 in the Noometry coding category.

Which has the bigger context window?

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

How many benchmarks do Llama 3.1-8B and Mixtral 8x7B share?

31 benchmarks have published results for both models. Llama 3.1-8B has 43 scored results on Noometry and Mixtral 8x7B has 38.

Related comparisons

Go deeper