Enter opens the highlighted result. Esc closes.

GLM 4.6V vs Llama 3.1 8B Instruct

GLM 4.6V leads Llama 3.1 8B Instruct on the Artificial Analysis Intelligence Index, 11.2 to 6.9, and Llama 3.1 8B Instruct costs 11.3x less per output token ($0.08 vs $0.90 per million). Updated October 21, 2026; 31 benchmarks have a result for both.

GLM 4.6VZ.ai
Coding
No data
Overall
No data
Output $/M
$0.90
31
Llama 3.1 8B InstructMeta Llama
Coding
No data
Overall
17.9
Output $/M
$0.08
0
vs boards won of 31 shared

GLM 4.6V 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
31
GLM 4.6V only
7
Llama 3.1 8B Instruct only
20
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
GLM 4.6V not benchmarked, Llama 3.1 8B Instruct not benchmarked.
Widest category
Math, 81.0 points apart on average over 2 shared benchmarks.
Widest single gap
AA Math Index: GLM 4.6V 85.3 against Llama 3.1 8B Instruct 4.3, 81.0 points apart on a 0 to 100 scale.
Output price
GLM 4.6V $0.90 against Llama 3.1 8B Instruct $0.08 per million output tokens, 11.3x apart.
Context window
Both take 131K tokens.

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
CategoryGLM 4.6VBarsLlama 3.1 8B InstructTies
Coding40
Intelligence10
Agentic work10
Reasoning50
Math20
Knowledge50
General130
All shared boards310
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for GLM 4.6V and Llama 3.1 8B Instruct
BenchmarkGLM 4.6VLlama 3.1 8B InstructLeader
AA Coding IndexNot measured5.4Only Llama 3.1 8B Instruct measured
LiveCodeBench (Artificial Analysis run)41.1%11.6%GLM 4.6V
Terminal-Bench Hard (Artificial Analysis run)14.4%0.8%GLM 4.6V
WeirdMLNot measured1.7%Only Llama 3.1 8B Instruct measured
LMArena Text: coding13891195GLM 4.6V
LMArena Text: software and IT13911195GLM 4.6V
Neither model has a result on the other 33 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 4.6V and Llama 3.1 8B Instruct
BenchmarkGLM 4.6VLlama 3.1 8B InstructLeader
AA Intelligence Index11.26.9GLM 4.6V
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 GLM 4.6V and Llama 3.1 8B Instruct
BenchmarkGLM 4.6VLlama 3.1 8B InstructLeader
τ²-Bench Telecom31.6%16.4%GLM 4.6V
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 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
Reasoning benchmarks for GLM 4.6V and Llama 3.1 8B Instruct
BenchmarkGLM 4.6VLlama 3.1 8B InstructLeader
GPQA Diamond (Artificial Analysis run)71.9%25.9%GLM 4.6V
Humanity's Last Exam (Artificial Analysis run)9.6%5.3%GLM 4.6V
GPQA Diamond (Epoch AI run)Not measured27.0%Only Llama 3.1 8B Instruct measured
LMArena Text: hard prompts13671175GLM 4.6V
LMArena Text: expert13711144GLM 4.6V
LMArena Text: hard prompts in English13911196GLM 4.6V
LMArena Vision: diagrams1182Not measuredOnly GLM 4.6V measured
LMArena Vision: homework1155Not measuredOnly GLM 4.6V measured
Neither model has a result on the other 14 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for GLM 4.6V and Llama 3.1 8B Instruct
BenchmarkGLM 4.6VLlama 3.1 8B InstructLeader
AA Math Index85.34.3GLM 4.6V
AIME 2025 (Artificial Analysis run)85.3%4.3%GLM 4.6V
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 index50
Knowledge benchmarks for GLM 4.6V and Llama 3.1 8B Instruct
BenchmarkGLM 4.6VLlama 3.1 8B InstructLeader
MMLU Pro (Artificial Analysis run)79.9%47.6%GLM 4.6V
MMLUNot measured56.1%Only Llama 3.1 8B Instruct measured
LMArena Text: science13891193GLM 4.6V
LMArena Text: medicine and healthcare13891182GLM 4.6V
LMArena Text: legal and government13931206GLM 4.6V
LMArena Text: business and finance13591166GLM 4.6V
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 GLM 4.6V and Llama 3.1 8B Instruct
BenchmarkGLM 4.6VLlama 3.1 8B InstructLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index130
General benchmarks for GLM 4.6V and Llama 3.1 8B Instruct
BenchmarkGLM 4.6VLlama 3.1 8B InstructLeader
IFBench30.1%28.6%GLM 4.6V
Long context reasoning (AA-LCR)48.7%18.0%GLM 4.6V
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 Text13761187GLM 4.6V
LMArena Text: instruction following13501159GLM 4.6V
LMArena Text: creative writing13471154GLM 4.6V
LMArena Vision1164Not measuredOnly GLM 4.6V measured
LMArena Text: English13951218GLM 4.6V
LMArena Text: non-English13581148GLM 4.6V
LMArena Text: Chinese14251151GLM 4.6V
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: Russian13391158GLM 4.6V
LMArena Text: multi-turn13591172GLM 4.6V
LMArena Text: longer queries13571181GLM 4.6V
LMArena Text: writing and language13471162GLM 4.6V
LMArena Text: entertainment and media13431145GLM 4.6V
LMArena Vision: English1179Not measuredOnly GLM 4.6V measured
LMArena Vision: Chinese1217Not measuredOnly GLM 4.6V measured
LMArena Vision: reading text1171Not measuredOnly GLM 4.6V measured
LMArena Vision: creative writing1113Not measuredOnly GLM 4.6V measured
Neither model has a result on the other 20 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.6V and Llama 3.1 8B Instruct
BenchmarkGLM 4.6VLlama 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

GLM 4.6V$0.0008Fits 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

GLM 4.6V$0.018Fits 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

GLM 4.6V$0.069Exceeds 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 GLM 4.6V and Llama 3.1 8B Instruct
SpecificationZ.ai GLM 4.6VMeta Llama 3.1 8B Instruct
MakerZ.aiMeta Llama
WeightsOpen weightsOpen weights
ReleasedDecember 8, 2025July 23, 2024
Context window131K131K
Input $/Mtok$0.30$0.05
Output $/Mtok$0.90$0.08
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.6V 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, GLM 4.6V or Llama 3.1 8B Instruct?

GLM 4.6V costs $0.30 per million input tokens and $0.90 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, GLM 4.6V or Llama 3.1 8B Instruct?

Neither: both take 131K tokens.

How many benchmarks is the GLM 4.6V vs Llama 3.1 8B Instruct comparison based on?

31 benchmarks have a result for both models as of October 21, 2026. GLM 4.6V's coding index rests on 0 independent benchmarks 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