Enter opens the highlighted result. Esc closes.

Mercury 2 vs Llama 3.1 8B Instruct

Mercury 2 leads Llama 3.1 8B Instruct on the Artificial Analysis Intelligence Index, 10.8 to 6.9, and Llama 3.1 8B Instruct costs 9.4x less per output token ($0.08 vs $0.75 per million). Updated October 22, 2026; 28 benchmarks have a result for both.

Mercury 2Inception
Coding
No data
Overall
No data
Output $/M
$0.75
28
Llama 3.1 8B InstructMeta Llama
Coding
No data
Overall
17.9
Output $/M
$0.08
0
vs boards won of 28 shared

Mercury 2 or Llama 3.1 8B Instruct: which to pick

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

Compare them on price, context and the boards below.

Shared results
28
Mercury 2 only
14
Llama 3.1 8B Instruct only
23
Like-for-like categories
6 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
Mercury 2 not benchmarked, Llama 3.1 8B Instruct not benchmarked.
Widest category
Agentic work, 54.4 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Mercury 2 70.8% against Llama 3.1 8B Instruct 16.4%, 54.4 points apart on a 0 to 100 scale.
Output price
Mercury 2 $0.75 against Llama 3.1 8B Instruct $0.08 per million output tokens, 9.4x apart.
Context window
Mercury 2 takes 128K tokens, Llama 3.1 8B Instruct 131K.

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
CategoryMercury 2BarsLlama 3.1 8B InstructTies
Coding50
Intelligence10
Agentic work10
Reasoning50
Knowledge30
General130
All shared boards280
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for Mercury 2 and Llama 3.1 8B Instruct
BenchmarkMercury 2Llama 3.1 8B InstructLeader
LMArena WebDev1171Not measuredOnly Mercury 2 measured
AA Coding Index31.15.4Mercury 2
LiveCodeBench (Artificial Analysis run)Not measured11.6%Only Llama 3.1 8B Instruct measured
SciCode37.7%Not measuredOnly Mercury 2 measured
Terminal-Bench Hard (Artificial Analysis run)26.5%0.8%Mercury 2
WeirdML43.2%1.7%Mercury 2
ALE-Bench785.6Not measuredOnly Mercury 2 measured
LMArena Text: coding13901195Mercury 2
LMArena Text: software and IT13851195Mercury 2
LMArena WebDev: React1160Not measuredOnly Mercury 2 measured
LMArena WebDev: HTML1199Not measuredOnly Mercury 2 measured
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Mercury 2 and Llama 3.1 8B Instruct
BenchmarkMercury 2Llama 3.1 8B InstructLeader
AA Intelligence Index10.86.9Mercury 2
Epoch Capabilities IndexNot measured116.5Only Llama 3.1 8B Instruct measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Mercury 2 and Llama 3.1 8B Instruct
BenchmarkMercury 2Llama 3.1 8B InstructLeader
AA Agentic Index1.6Not measuredOnly Mercury 2 measured
τ²-Bench Telecom70.8%16.4%Mercury 2
BALROGNot measured15.1%Only Llama 3.1 8B Instruct measured
Berkeley Function Calling Leaderboard (BFCL)Not measured25.8%Only Llama 3.1 8B Instruct measured
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for Mercury 2 and Llama 3.1 8B Instruct
BenchmarkMercury 2Llama 3.1 8B InstructLeader
GPQA Diamond (Artificial Analysis run)77.0%25.9%Mercury 2
Humanity's Last Exam (Artificial Analysis run)17.1%5.3%Mercury 2
GPQA Diamond (Epoch AI run)Not measured27.0%Only Llama 3.1 8B Instruct measured
LMArena Text: hard prompts13621175Mercury 2
LMArena Text: expert13581144Mercury 2
LMArena Text: hard prompts in English13741196Mercury 2
Neither model has a result on the other 16 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for Mercury 2 and Llama 3.1 8B Instruct
BenchmarkMercury 2Llama 3.1 8B InstructLeader
AA Math IndexNot measured4.3Only Llama 3.1 8B Instruct measured
AIME 2025 (Artificial Analysis run)Not measured4.3%Only Llama 3.1 8B Instruct measured
OTIS Mock AIMENot measured1.7%Only Llama 3.1 8B Instruct measured
MATH level 5Not measured22.9%Only Llama 3.1 8B Instruct measured
GSM8KNot measured82.4%Only Llama 3.1 8B Instruct measured
LMArena Text: mathNot measured1179Only Llama 3.1 8B Instruct measured
LMArena Text: mathematical workNot measured1180Only Llama 3.1 8B Instruct measured
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index30
Knowledge benchmarks for Mercury 2 and Llama 3.1 8B Instruct
BenchmarkMercury 2Llama 3.1 8B InstructLeader
MMLU Pro (Artificial Analysis run)Not measured47.6%Only Llama 3.1 8B Instruct measured
MMLUNot measured56.1%Only Llama 3.1 8B Instruct measured
LMArena Text: science13431193Mercury 2
LMArena Text: medicine and healthcare13631182Mercury 2
LMArena Text: legal and governmentNot measured1206Only Llama 3.1 8B Instruct measured
LMArena Text: business and finance13491166Mercury 2
Neither model has a result on the other 12 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Mercury 2 and Llama 3.1 8B Instruct
BenchmarkMercury 2Llama 3.1 8B InstructLeader
Design Arena: websites1036Not measuredOnly Mercury 2 measured
Design Arena: UI components996Not measuredOnly Mercury 2 measured
Design Arena: game dev984Not measuredOnly Mercury 2 measured
Design Arena: data viz1009Not measuredOnly Mercury 2 measured
Design Arena: 3D982Not measuredOnly Mercury 2 measured
Design Arena: all code categories1021Not measuredOnly Mercury 2 measured
Design Arena: SVG998Not measuredOnly Mercury 2 measured
Design Arena: ASCII art988Not measuredOnly Mercury 2 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index130
General benchmarks for Mercury 2 and Llama 3.1 8B Instruct
BenchmarkMercury 2Llama 3.1 8B InstructLeader
IFBench69.8%28.6%Mercury 2
Long context reasoning (AA-LCR)43.7%18.0%Mercury 2
DTBenchNot measured50.9%Only Llama 3.1 8B Instruct measured
LMCANot measured5.4%Only Llama 3.1 8B Instruct measured
PIQANot measured81.2%Only Llama 3.1 8B Instruct measured
LMArena Text13541187Mercury 2
LMArena Text: instruction following13281159Mercury 2
LMArena Text: creative writing12861154Mercury 2
LMArena Text: English13781218Mercury 2
LMArena Text: non-English13301148Mercury 2
LMArena Text: Chinese14141151Mercury 2
LMArena Text: GermanNot measured1144Only Llama 3.1 8B Instruct measured
LMArena Text: JapaneseNot measured1061Only Llama 3.1 8B Instruct measured
LMArena Text: KoreanNot measured1053Only Llama 3.1 8B Instruct measured
LMArena Text: FrenchNot measured1178Only Llama 3.1 8B Instruct measured
LMArena Text: SpanishNot measured1169Only Llama 3.1 8B Instruct measured
LMArena Text: Russian13041158Mercury 2
LMArena Text: multi-turn13571172Mercury 2
LMArena Text: longer queries13291181Mercury 2
LMArena Text: writing and language13001162Mercury 2
LMArena Text: entertainment and media13141145Mercury 2
Neither model has a result on the other 25 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Mercury 2 and Llama 3.1 8B Instruct
BenchmarkMercury 2Llama 3.1 8B InstructLeader
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

Mercury 2$0.0006Fits in one request
Llama 3.1 8B Instruct$0.0001Fits in one request

Llama 3.1 8B Instruct costs less

Repository review

50K input + 3K output tokens

Mercury 2$0.015Fits in one request
Llama 3.1 8B Instruct$0.0027Fits in one request

Llama 3.1 8B Instruct costs less

Agent loop

200K input + 10K output tokens

Mercury 2$0.058Exceeds the context window
Llama 3.1 8B Instruct$0.011Exceeds 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 Mercury 2 and Llama 3.1 8B Instruct
SpecificationInception Mercury 2Meta Llama 3.1 8B Instruct
MakerInceptionMeta Llama
WeightsNo public weights listedOpen weights
ReleasedMarch 4, 2026July 23, 2024
Context window128K131K
Input $/Mtok$0.25$0.05
Output $/Mtok$0.75$0.08
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it10
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Mercury 2 better than Llama 3.1 8B Instruct for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Compare them on price, context and the boards below.

Which is cheaper, Mercury 2 or Llama 3.1 8B Instruct?

Mercury 2 costs $0.25 per million input tokens and $0.75 per million output tokens; Llama 3.1 8B Instruct costs $0.05 and $0.08. Cost per solved task is known for neither of them.

Which has the bigger context window, Mercury 2 or Llama 3.1 8B Instruct?

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

How many benchmarks is the Mercury 2 vs Llama 3.1 8B Instruct comparison based on?

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

Compare next