Model comparison

Llama 3.1-8B vs Mixtral 8x22B

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

Last verified . 32 shared benchmarks.

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Mixtral 8x22B Mistral AI

27.1

Rank #333 Confirmed

Summary

  • They share 32 benchmarks with published results for both. Llama 3.1-8B scores higher in 3 categories and Mixtral 8x22B in 6 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Mixtral 8x22B leads 22.9 to 10.2.
  • The biggest single-benchmark swing is BigCodeBench Complete: 40.5% for Llama 3.1-8B and 50.2% for Mixtral 8x22B.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $2 / $6 for Mixtral 8x22B.
  • Llama 3.1-8B accepts more context: 128K tokens versus 64K.

Side by side

Llama 3.1-8B and Mixtral 8x22B specifications
Llama 3.1-8BMixtral 8x22B
ProviderMetaMistral AI
Noometry Index23.027.1
Released2024-07-232024-04-17
WeightsOpenOpen
Context window128K64K
Max output4K64K
Input $ / M tokens$0.05$2
Output $ / M tokens$0.08$6
Results tracked4334

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

Category by category

Coding Mixtral 8x22B leads

Llama 3.1-8B: 20.2 (#340), Mixtral 8x22B: 24.2 (#329)

Coding benchmarks
BenchmarkLlama 3.1-8BMixtral 8x22B
WeirdML1.7%3.2%
BigCodeBench Instruct32.8%40.6%
LMArena Coding11951166
BigCodeBench Complete40.5%50.2%
HumanEval+62.8%72%
MBPP+55.6%64.3%
SciCode13.2%—

Agentic & Tool Use Too close to call

Llama 3.1-8B: 22.5 (#131), Mixtral 8x22B: 23.1 (#127)

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

Reasoning Mixtral 8x22B leads

Llama 3.1-8B: 14.9 (#321), Mixtral 8x22B: 19.9 (#248)

Reasoning benchmarks
BenchmarkLlama 3.1-8BMixtral 8x22B
LMArena Hard Prompts11751150
DTBench50.9%55.1%
Epoch Capabilities Index116.57122.03
CritPt0%—
Chess Puzzles0%—
LMCA5.4%—
ForecastBench—56.3
PIQA81.2%—

Math Mixtral 8x22B leads

Llama 3.1-8B: 10.2 (#317), Mixtral 8x22B: 22.9 (#275)

Math benchmarks
BenchmarkLlama 3.1-8BMixtral 8x22B
Omni-MATH13.7%16.3%
LMArena Math11791184
MATH Level 522.9%24.2%
OTIS Mock AIME 2024-20251.7%—
GSM8K82.4%—

Knowledge Mixtral 8x22B leads

Llama 3.1-8B: 8.0 (#307), Mixtral 8x22B: 15.1 (#293)

Knowledge benchmarks
BenchmarkLlama 3.1-8BMixtral 8x22B
GPQA Diamond27%34.1%
MMLU-Pro40.6%46%
GPQA (HELM)24.7%33.4%
LMArena Expert11441113
MMLU56.1%77.8%
BoolQ82.8%—

Multilingual Llama 3.1-8B leads

Llama 3.1-8B: 34.0 (#249), Mixtral 8x22B: 32.8 (#255)

Multilingual benchmarks
BenchmarkLlama 3.1-8BMixtral 8x22B
LMArena Non-English11481128
LMArena Chinese11511116
LMArena French11771166
LMArena German11441141
LMArena Japanese10611037
LMArena Korean10531057
LMArena Russian11581158
LMArena Spanish11691151

Instruction Following Llama 3.1-8B leads

Llama 3.1-8B: 58.9 (#258), Mixtral 8x22B: 57.7 (#266)

Instruction Following benchmarks
BenchmarkLlama 3.1-8BMixtral 8x22B
IFEval74.3%72.4%
LMArena Instruction Following11591147

Long Context Llama 3.1-8B leads

Llama 3.1-8B: 35.8 (#238), Mixtral 8x22B: 34.7 (#247)

Long Context benchmarks
BenchmarkLlama 3.1-8BMixtral 8x22B
LMArena Longer Query11821144

Writing & Preference Mixtral 8x22B leads

Llama 3.1-8B: 29.7 (#290), Mixtral 8x22B: 36.9 (#262)

Writing & Preference benchmarks
BenchmarkLlama 3.1-8BMixtral 8x22B
LMArena Text11871162
LMArena Creative Writing11541141
WildBench68.7%71.1%
LMArena Multi-Turn11721130
EQ-Bench Creative Writing713—

Frequently asked questions

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

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

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

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

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

Mixtral 8x22B scores higher on coding benchmarks: 24.2 versus 20.2 in the Noometry coding category.

Which has the bigger context window?

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

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

32 benchmarks have published results for both models. Llama 3.1-8B has 43 scored results on Noometry and Mixtral 8x22B has 34.

Related comparisons

Go deeper