Enter opens the highlighted result. Esc closes.

Llama 3.1 8B Instruct vs Mistral Medium 3.5

Mistral Medium 3.5 leads Llama 3.1 8B Instruct on the Artificial Analysis Intelligence Index, 14.2 to 6.9, and Llama 3.1 8B Instruct costs 93.8x less per output token ($0.08 vs $7.50 per million). Updated October 21, 2026; 37 benchmarks have a result for both.

Llama 3.1 8B InstructMeta Llama
Coding
No data
Overall
17.9
Output $/M
$0.08
0
Mistral Medium 3.5Mistral AI
Coding
25.5
Overall
37.3
Output $/M
$7.50
37
vs boards won of 37 shared

Llama 3.1 8B Instruct or Mistral Medium 3.5: which to pick

Only Mistral Medium 3.5 has a coding score, 25.5 on the Vibe Coding Index; Llama 3.1 8B Instruct has none, so the two cannot be ranked on coding.

Pick Llama 3.1 8B Instruct for output tokens 93.8x cheaper ($0.08 vs $7.50 per million).

Shared results
37
Llama 3.1 8B Instruct only
14
Mistral Medium 3.5 only
44
Like-for-like categories
7 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 Medium 3.5 25.5 from 3 benchmarks.
Widest category
Agentic work, 77.8 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Llama 3.1 8B Instruct 16.4% against Mistral Medium 3.5 94.2%, 77.8 points apart on a 0 to 100 scale.
Output price
Llama 3.1 8B Instruct $0.08 against Mistral Medium 3.5 $7.50 per million output tokens, 93.8x apart.
Context window
Llama 3.1 8B Instruct takes 131K tokens, Mistral Medium 3.5 262K.

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 Medium 3.5Ties
Coding04
Intelligence02
Agentic work01
Reasoning05
Math02
Knowledge04
General019
All shared boards037
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for Llama 3.1 8B Instruct and Mistral Medium 3.5
BenchmarkLlama 3.1 8B InstructMistral Medium 3.5Leader
LMArena WebDevNot measured1264Only Mistral Medium 3.5 measured
AA Coding Index5.446.9Mistral Medium 3.5
SWE-bench Verified (Vals AI)Not measured66.4%Only Mistral Medium 3.5 measured
Vibe Code Bench (Vals AI)Not measured2.9%Only Mistral Medium 3.5 measured
Code migration (Vals AI)Not measured5.1%Only Mistral Medium 3.5 measured
Terminal-Bench 2.1 (Vals AI)Not measured39.0%Only Mistral Medium 3.5 measured
LiveCodeBench (Artificial Analysis run)11.6%Not measuredOnly Llama 3.1 8B Instruct measured
SciCodeNot measured40.2%Only Mistral Medium 3.5 measured
Terminal-Bench Hard (Artificial Analysis run)0.8%33.3%Mistral Medium 3.5
WeirdML1.7%Not measuredOnly Llama 3.1 8B Instruct measured
ALE-BenchNot measured764.0Only Mistral Medium 3.5 measured
LMArena Text: coding11951460Mistral Medium 3.5
LMArena Text: software and IT11951458Mistral Medium 3.5
LMArena WebDev: ReactNot measured1254Only Mistral Medium 3.5 measured
LMArena WebDev: HTMLNot measured1308Only Mistral Medium 3.5 measured
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Llama 3.1 8B Instruct and Mistral Medium 3.5
BenchmarkLlama 3.1 8B InstructMistral Medium 3.5Leader
AA Intelligence Index6.914.2Mistral Medium 3.5
Epoch Capabilities Index116.5141.4Mistral Medium 3.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Llama 3.1 8B Instruct and Mistral Medium 3.5
BenchmarkLlama 3.1 8B InstructMistral Medium 3.5Leader
AA Agentic IndexNot measured7.0Only Mistral Medium 3.5 measured
Finance Agent (Vals AI)Not measured32.1%Only Mistral Medium 3.5 measured
Tax Agent Bench (Vals AI)Not measured4.5%Only Mistral Medium 3.5 measured
Legal Research Bench (Vals AI)Not measured9.1%Only Mistral Medium 3.5 measured
Excel Modeling Benchmark (Vals AI)Not measured11.2%Only Mistral Medium 3.5 measured
τ²-Bench Telecom16.4%94.2%Mistral Medium 3.5
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 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index05
Reasoning benchmarks for Llama 3.1 8B Instruct and Mistral Medium 3.5
BenchmarkLlama 3.1 8B InstructMistral Medium 3.5Leader
GPQA DiamondNot measured34.9%Only Mistral Medium 3.5 measured
GPQA Diamond (Artificial Analysis run)25.9%74.8%Mistral Medium 3.5
Humanity's Last Exam (Artificial Analysis run)5.3%13.8%Mistral Medium 3.5
GPQA Diamond (Epoch AI run)27.0%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: hard prompts11751436Mistral Medium 3.5
LMArena Text: expert11441432Mistral Medium 3.5
LMArena Text: hard prompts in English11961445Mistral Medium 3.5
LMArena Vision: diagramsNot measured1254Only Mistral Medium 3.5 measured
LMArena Vision: homeworkNot measured1230Only Mistral Medium 3.5 measured
Kagi LLM BenchmarkNot measured41.4%Only Mistral Medium 3.5 measured
Neither model has a result on the other 12 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Llama 3.1 8B Instruct and Mistral Medium 3.5
BenchmarkLlama 3.1 8B InstructMistral Medium 3.5Leader
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
ProofBenchNot measured9.0%Only Mistral Medium 3.5 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: math11791431Mistral Medium 3.5
LMArena Text: mathematical work11801440Mistral Medium 3.5
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Llama 3.1 8B Instruct and Mistral Medium 3.5
BenchmarkLlama 3.1 8B InstructMistral Medium 3.5Leader
MMLU ProNot measured75.3%Only Mistral Medium 3.5 measured
CaseLaw (Vals AI)Not measured44.2%Only Mistral Medium 3.5 measured
CorpFin (Vals AI)Not measured58.8%Only Mistral Medium 3.5 measured
TaxEval (Vals AI)Not measured68.0%Only Mistral Medium 3.5 measured
MortgageTax (Vals AI)Not measured28.9%Only Mistral Medium 3.5 measured
MedCode (Vals AI)Not measured33.8%Only Mistral Medium 3.5 measured
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: science11931428Mistral Medium 3.5
LMArena Text: medicine and healthcare11821409Mistral Medium 3.5
LMArena Text: legal and government12061437Mistral Medium 3.5
LMArena Text: business and finance11661426Mistral Medium 3.5
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Llama 3.1 8B Instruct and Mistral Medium 3.5
BenchmarkLlama 3.1 8B InstructMistral Medium 3.5Leader
Design Arena: websitesNot measured1142Only Mistral Medium 3.5 measured
Design Arena: UI componentsNot measured1079Only Mistral Medium 3.5 measured
Design Arena: game devNot measured1079Only Mistral Medium 3.5 measured
Design Arena: data vizNot measured1120Only Mistral Medium 3.5 measured
Design Arena: 3DNot measured1061Only Mistral Medium 3.5 measured
Design Arena: all code categoriesNot measured1121Only Mistral Medium 3.5 measured
Design Arena: SVGNot measured950Only Mistral Medium 3.5 measured
Design Arena: ASCII artNot measured1063Only Mistral Medium 3.5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index019
General benchmarks for Llama 3.1 8B Instruct and Mistral Medium 3.5
BenchmarkLlama 3.1 8B InstructMistral Medium 3.5Leader
SAGE (Vals AI)Not measured37.6%Only Mistral Medium 3.5 measured
MedScribe (Vals AI)Not measured67.7%Only Mistral Medium 3.5 measured
Vals Multimodal IndexNot measured34.8%Only Mistral Medium 3.5 measured
IFBench28.6%68.8%Mistral Medium 3.5
Long context reasoning (AA-LCR)18.0%69.3%Mistral Medium 3.5
DTBench50.9%75.5%Mistral Medium 3.5
LMCA5.4%26.1%Mistral Medium 3.5
Surface Evolver BenchNot measured26.9%Only Mistral Medium 3.5 measured
PIQA81.2%Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text11871421Mistral Medium 3.5
LMArena Text: instruction following11591415Mistral Medium 3.5
LMArena Text: creative writing11541374Mistral Medium 3.5
LMArena VisionNot measured1222Only Mistral Medium 3.5 measured
LMArena Text: English12181433Mistral Medium 3.5
LMArena Text: non-English11481404Mistral Medium 3.5
LMArena Text: Chinese11511444Mistral Medium 3.5
LMArena Text: German11441453Mistral Medium 3.5
LMArena Text: Japanese1061Not measuredOnly Llama 3.1 8B Instruct measured
LMArena Text: Korean10531384Mistral Medium 3.5
LMArena Text: French11781448Mistral Medium 3.5
LMArena Text: Spanish11691411Mistral Medium 3.5
LMArena Text: Russian11581395Mistral Medium 3.5
LMArena Text: PolishNot measured1430Only Mistral Medium 3.5 measured
LMArena Text: multi-turn11721423Mistral Medium 3.5
LMArena Text: longer queries11811415Mistral Medium 3.5
LMArena Text: writing and language11621384Mistral Medium 3.5
LMArena Text: entertainment and media11451382Mistral Medium 3.5
LMArena Vision: EnglishNot measured1240Only Mistral Medium 3.5 measured
LMArena Vision: ChineseNot measured1244Only Mistral Medium 3.5 measured
LMArena Vision: reading textNot measured1233Only Mistral Medium 3.5 measured
LMArena Vision: humorNot measured1216Only Mistral Medium 3.5 measured
LMArena Vision: creative writingNot measured1198Only Mistral Medium 3.5 measured
Neither model has a result on the other 14 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 Medium 3.5
BenchmarkLlama 3.1 8B InstructMistral Medium 3.5Leader
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 Medium 3.5$0.0053Fits 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 Medium 3.5$0.098Fits 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 Medium 3.5$0.375Fits in one request

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 Medium 3.5
SpecificationMeta Llama 3.1 8B InstructMistral Medium 3.5
MakerMeta LlamaMistral AI
WeightsOpen weightsNo public weights listed
ReleasedJuly 23, 2024April 30, 2026
Context window131K262K
Input $/Mtok$0.05$1.50
Output $/Mtok$0.08$7.50
Coding indexNot benchmarked25.5
Independent measurements behind it03
Cost per solved taskNot computable$6.02
SourceOpenRouter listingOpenRouter listing

Questions

Is Llama 3.1 8B Instruct better than Mistral Medium 3.5 for coding?

Only Mistral Medium 3.5 has a coding score, 25.5 on the Vibe Coding Index; Llama 3.1 8B Instruct has none, so the two cannot be ranked on coding. Pick Llama 3.1 8B Instruct for output tokens 93.8x cheaper ($0.08 vs $7.50 per million).

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

Llama 3.1 8B Instruct costs $0.05 per million input tokens and $0.08 per million output tokens; Mistral Medium 3.5 costs $1.50 and $7.50. Cost per solved task is known for Mistral Medium 3.5 only.

Which has the bigger context window, Llama 3.1 8B Instruct or Mistral Medium 3.5?

Mistral Medium 3.5, with 262K tokens against 131K.

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

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

Compare next