Enter opens the highlighted result. Esc closes.

Llama 3.1 8B Instruct vs Mistral Small 3.1 24B

Llama 3.1 8B Instruct costs 6.9x less per output token than Mistral Small 3.1 24B ($0.08 vs $0.555 per million). Updated October 22, 2026; 27 benchmarks have a result for both.

Llama 3.1 8B InstructMeta Llama
Coding
No data
Overall
17.9
Output $/M
$0.08
0
Mistral Small 3.1 24BMistral AI
Coding
No data
Overall
No data
Output $/M
$0.555
27
vs boards won of 27 shared

Llama 3.1 8B Instruct or Mistral Small 3.1 24B: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Llama 3.1 8B Instruct for output tokens 6.9x cheaper ($0.08 vs $0.555 per million) and a larger context window (131K against 128K tokens).

Shared results
27
Llama 3.1 8B Instruct only
24
Mistral Small 3.1 24B only
11
Like-for-like categories
5 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Llama 3.1 8B Instruct not benchmarked, Mistral Small 3.1 24B not benchmarked.
Widest category
Coding, 18.4 points apart on average over 2 shared benchmarks.
Widest single gap
LMArena Text: Korean: Llama 3.1 8B Instruct 1053 against Mistral Small 3.1 24B 1207, 25.7 points apart on a 0 to 100 scale.
Output price
Llama 3.1 8B Instruct $0.08 against Mistral Small 3.1 24B $0.555 per million output tokens, 6.9x apart.
Context window
Llama 3.1 8B Instruct takes 131K tokens, Mistral Small 3.1 24B 128K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryLlama 3.1 8B InstructBarsMistral Small 3.1 24BTies
Coding02
Reasoning03
Math02
Knowledge04
General016
All shared boards027
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Llama 3.1 8B Instruct and Mistral Small 3.1 24B
BenchmarkLlama 3.1 8B InstructMistral Small 3.1 24BLeader
AA Coding Index5.4Not measuredOnly Llama 3.1 8B Instruct measured
LiveCodeBench (Artificial Analysis run)11.6%Not measuredOnly Llama 3.1 8B Instruct measured
Terminal-Bench Hard (Artificial Analysis run)0.8%Not measuredOnly Llama 3.1 8B Instruct measured
WeirdML1.7%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: coding11951309Mistral Small 3.1 24B
LMArena Text: software and IT11951301Mistral Small 3.1 24B
Neither model has a result on the other 33 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Llama 3.1 8B Instruct and Mistral Small 3.1 24B
BenchmarkLlama 3.1 8B InstructMistral Small 3.1 24BLeader
AA Intelligence Index6.9Not measuredOnly Llama 3.1 8B Instruct measured
Epoch Capabilities Index116.5Not measuredOnly Llama 3.1 8B Instruct measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Agentic work benchmarks for Llama 3.1 8B Instruct and Mistral Small 3.1 24B
BenchmarkLlama 3.1 8B InstructMistral Small 3.1 24BLeader
τ²-Bench Telecom16.4%Not measuredOnly Llama 3.1 8B Instruct measured
BALROG15.1%Not measuredOnly Llama 3.1 8B Instruct measured
Berkeley Function Calling Leaderboard (BFCL)25.8%Not measuredOnly Llama 3.1 8B Instruct measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index03
Reasoning benchmarks for Llama 3.1 8B Instruct and Mistral Small 3.1 24B
BenchmarkLlama 3.1 8B InstructMistral Small 3.1 24BLeader
GPQA Diamond (Artificial Analysis run)25.9%Not measuredOnly Llama 3.1 8B Instruct measured
Humanity's Last Exam (Artificial Analysis run)5.3%Not measuredOnly Llama 3.1 8B Instruct measured
GPQA Diamond (Epoch AI run)27.0%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: hard prompts11751278Mistral Small 3.1 24B
LMArena Text: expert11441257Mistral Small 3.1 24B
LMArena Text: hard prompts in English11961290Mistral Small 3.1 24B
LMArena Vision: diagramsNot measured1119Only Mistral Small 3.1 24B measured
LMArena Vision: homeworkNot measured1158Only Mistral Small 3.1 24B measured
Neither model has a result on the other 14 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Llama 3.1 8B Instruct and Mistral Small 3.1 24B
BenchmarkLlama 3.1 8B InstructMistral Small 3.1 24BLeader
AA Math Index4.3Not measuredOnly Llama 3.1 8B Instruct measured
AIME 2025 (Artificial Analysis run)4.3%Not measuredOnly Llama 3.1 8B Instruct measured
OTIS Mock AIME1.7%Not measuredOnly Llama 3.1 8B Instruct measured
MATH level 522.9%Not measuredOnly Llama 3.1 8B Instruct measured
GSM8K82.4%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: math11791261Mistral Small 3.1 24B
LMArena Text: mathematical work11801271Mistral Small 3.1 24B
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Llama 3.1 8B Instruct and Mistral Small 3.1 24B
BenchmarkLlama 3.1 8B InstructMistral Small 3.1 24BLeader
MMLU Pro (Artificial Analysis run)47.6%Not measuredOnly Llama 3.1 8B Instruct measured
MMLU56.1%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: science11931265Mistral Small 3.1 24B
LMArena Text: medicine and healthcare11821267Mistral Small 3.1 24B
LMArena Text: legal and government12061271Mistral Small 3.1 24B
LMArena Text: business and finance11661257Mistral Small 3.1 24B
Neither model has a result on the other 12 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Llama 3.1 8B Instruct and Mistral Small 3.1 24B
BenchmarkLlama 3.1 8B InstructMistral Small 3.1 24BLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index016
General benchmarks for Llama 3.1 8B Instruct and Mistral Small 3.1 24B
BenchmarkLlama 3.1 8B InstructMistral Small 3.1 24BLeader
IFBench28.6%Not measuredOnly Llama 3.1 8B Instruct measured
Long context reasoning (AA-LCR)18.0%Not measuredOnly Llama 3.1 8B Instruct measured
DTBench50.9%Not measuredOnly Llama 3.1 8B Instruct measured
LMCA5.4%Not measuredOnly Llama 3.1 8B Instruct measured
PIQA81.2%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text11871277Mistral Small 3.1 24B
LMArena Text: instruction following11591263Mistral Small 3.1 24B
LMArena Text: creative writing11541252Mistral Small 3.1 24B
LMArena VisionNot measured1136Only Mistral Small 3.1 24B measured
LMArena Text: English12181295Mistral Small 3.1 24B
LMArena Text: non-English11481255Mistral Small 3.1 24B
LMArena Text: Chinese11511253Mistral Small 3.1 24B
LMArena Text: German11441266Mistral Small 3.1 24B
LMArena Text: Japanese10611208Mistral Small 3.1 24B
LMArena Text: Korean10531207Mistral Small 3.1 24B
LMArena Text: French11781273Mistral Small 3.1 24B
LMArena Text: Spanish11691284Mistral Small 3.1 24B
LMArena Text: Russian11581263Mistral Small 3.1 24B
LMArena Text: PolishNot measured1242Only Mistral Small 3.1 24B measured
LMArena Text: multi-turn11721270Mistral Small 3.1 24B
LMArena Text: longer queries11811299Mistral Small 3.1 24B
LMArena Text: writing and language11621268Mistral Small 3.1 24B
LMArena Text: entertainment and media11451250Mistral Small 3.1 24B
LMArena Vision: EnglishNot measured1157Only Mistral Small 3.1 24B measured
LMArena Vision: ChineseNot measured1155Only Mistral Small 3.1 24B measured
LMArena Vision: reading textNot measured1132Only Mistral Small 3.1 24B measured
LMArena Vision: humorNot measured1142Only Mistral Small 3.1 24B measured
LMArena Vision: captioningNot measured1153Only Mistral Small 3.1 24B measured
LMArena Vision: recognizing thingsNot measured1155Only Mistral Small 3.1 24B measured
LMArena Vision: creative writingNot measured1123Only Mistral Small 3.1 24B measured
Neither model has a result on the other 16 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Llama 3.1 8B Instruct and Mistral Small 3.1 24B
BenchmarkLlama 3.1 8B InstructMistral Small 3.1 24BLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Llama 3.1 8B Instruct$0.0001Fits in one request
Mistral Small 3.1 24B$0.0006Fits in one request

Llama 3.1 8B Instruct costs less

Repository review

50K input + 3K output tokens

Llama 3.1 8B Instruct$0.0027Fits in one request
Mistral Small 3.1 24B$0.019Fits in one request

Llama 3.1 8B Instruct costs less

Agent loop

200K input + 10K output tokens

Llama 3.1 8B Instruct$0.011Exceeds the context window
Mistral Small 3.1 24B$0.076Exceeds the context window

Llama 3.1 8B Instruct costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Llama 3.1 8B Instruct and Mistral Small 3.1 24B
SpecificationMeta Llama 3.1 8B InstructMistral Small 3.1 24B
MakerMeta LlamaMistral AI
WeightsOpen weightsOpen weights
ReleasedJuly 23, 2024March 17, 2025
Context window131K128K
Input $/Mtok$0.05$0.351
Output $/Mtok$0.08$0.555
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Llama 3.1 8B Instruct better than Mistral Small 3.1 24B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Llama 3.1 8B Instruct for output tokens 6.9x cheaper ($0.08 vs $0.555 per million) and a larger context window (131K against 128K tokens).

Which is cheaper, Llama 3.1 8B Instruct or Mistral Small 3.1 24B?

Llama 3.1 8B Instruct costs $0.05 per million input tokens and $0.08 per million output tokens; Mistral Small 3.1 24B costs $0.351 and $0.555. Cost per solved task is known for neither of them.

Which has the bigger context window, Llama 3.1 8B Instruct or Mistral Small 3.1 24B?

Llama 3.1 8B Instruct, with 131K tokens against 128K.

How many benchmarks is the Llama 3.1 8B Instruct vs Mistral Small 3.1 24B comparison based on?

27 benchmarks have a result for both models as of October 22, 2026. Llama 3.1 8B Instruct's coding index rests on 0 independent benchmarks and Mistral Small 3.1 24B's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next