Model comparison

GLM-4.6 vs Llama 3.1-8B

GLM-4.6 is the stronger model overall, scoring 40.9 to 22.8 on the Noometry Index. Llama 3.1-8B costs 17× less per token, which makes it the better buy when GLM-4.6's lead doesn't matter for your workload.

Last verified . 21 shared benchmarks.

GLM-4.6 Z.ai (Zhipu)

40.9

Rank #132 Confirmed

Llama 3.1-8B Meta

22.8

Rank #347 Confirmed

Summary

  • They share 21 benchmarks with published results for both. GLM-4.6 scores higher in 9 categories and Llama 3.1-8B in 0 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where GLM-4.6 leads 39.6 to 8.0.
  • The biggest single-benchmark swing is Berkeley Function Calling Leaderboard: 72.4% for GLM-4.6 and 25.8% for Llama 3.1-8B.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $0.60 / $2.20 for GLM-4.6.
  • GLM-4.6 accepts more context: 205K tokens versus 128K.

Side by side

GLM-4.6 and Llama 3.1-8B specifications
GLM-4.6Llama 3.1-8B
ProviderZ.ai (Zhipu)Meta
Noometry Index40.922.8
Released2025-09-302024-07-23
WeightsOpenOpen
Context window205K128K
Max output131K4K
Input $ / M tokens$0.60$0.05
Output $ / M tokens$2.20$0.08
Results tracked2943

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

Category by category

Coding GLM-4.6 leads

GLM-4.6: 39.9 (#137), Llama 3.1-8B: 19.9 (#335)

Coding benchmarks
BenchmarkGLM-4.6Llama 3.1-8B
SciCode38.4%13.2%
LMArena Coding14491195
SWE-bench Verified (bash only)55.4%—
LMArena WebDev1339—
WeirdML—1.7%
BigCodeBench Instruct—32.8%
BigCodeBench Complete—40.5%
ALE-Bench340.82—
HumanEval+—62.8%
MBPP+—55.6%

Agentic & Tool Use GLM-4.6 leads

GLM-4.6: 32.1 (#60), Llama 3.1-8B: 22.3 (#123)

Agentic & Tool Use benchmarks
BenchmarkGLM-4.6Llama 3.1-8B
Berkeley Function Calling Leaderboard72.4%25.8%
Terminal-Bench24.5%—
BALROG—15.1%

Reasoning GLM-4.6 leads

GLM-4.6: 23.1 (#168), Llama 3.1-8B: 14.5 (#316)

Reasoning benchmarks
BenchmarkGLM-4.6Llama 3.1-8B
CritPt1.1%0%
LMArena Hard Prompts14401175
Kagi LLM Benchmark47.4%—
Chess Puzzles—0%
DTBench—50.9%
LMCA—5.4%
Epoch Capabilities Index—116.48
PIQA—81.2%

Math GLM-4.6 leads

GLM-4.6: 36.4 (#115), Llama 3.1-8B: 9.5 (#311)

Math benchmarks
BenchmarkGLM-4.6Llama 3.1-8B
LMArena Math14311179
OTIS Mock AIME 2024-2025—1.7%
Omni-MATH—13.7%
MATH Level 5—22.9%
FrontierMath (Feb 2025 set)3.8%—
FrontierMath Tier 4 (v1)2.1%—
GSM8K—82.4%

Knowledge GLM-4.6 leads

GLM-4.6: 39.6 (#118), Llama 3.1-8B: 8.0 (#302)

Knowledge benchmarks
BenchmarkGLM-4.6Llama 3.1-8B
LMArena Expert14321144
GPQA Diamond—27%
MMLU-Pro—40.6%
Vectara Hallucination Rate9.5%—
GPQA (HELM)—24.7%
BoolQ—82.8%
MMLU—56.1%

Multilingual GLM-4.6 leads

GLM-4.6: 53.6 (#62), Llama 3.1-8B: 34.2 (#244)

Multilingual benchmarks
BenchmarkGLM-4.6Llama 3.1-8B
LMArena Non-English14261148
LMArena Chinese15001151
LMArena French14591176
LMArena German14471144
LMArena Japanese13941061
LMArena Korean14011053
LMArena Russian14181158
LMArena Spanish14361169

Instruction Following GLM-4.6 leads

GLM-4.6: 74.5 (#93), Llama 3.1-8B: 59.1 (#253)

Instruction Following benchmarks
BenchmarkGLM-4.6Llama 3.1-8B
LMArena Instruction Following14101159
IFEval—74.3%

Long Context GLM-4.6 leads

GLM-4.6: 43.4 (#91), Llama 3.1-8B: 35.8 (#233)

Long Context benchmarks
BenchmarkGLM-4.6Llama 3.1-8B
LMArena Longer Query14231182

Writing & Preference GLM-4.6 leads

GLM-4.6: 61.3 (#86), Llama 3.1-8B: 29.9 (#285)

Writing & Preference benchmarks
BenchmarkGLM-4.6Llama 3.1-8B
LMArena Text14401187
LMArena Creative Writing14111154
EQ-Bench Creative Writing1411713
LMArena Multi-Turn14271172
WildBench—68.7%

Frequently asked questions

Is GLM-4.6 better than Llama 3.1-8B?

GLM-4.6 is the stronger model overall, scoring 40.9 to 22.8 on the Noometry Index. Llama 3.1-8B costs 17× less per token, which makes it the better buy when GLM-4.6's lead doesn't matter for your workload.

Which is cheaper, GLM-4.6 or Llama 3.1-8B?

Llama 3.1-8B is cheaper. It lists at $0.05 per million input tokens and $0.08 per million output tokens; GLM-4.6 lists at $0.60 and $2.20.

Is GLM-4.6 or Llama 3.1-8B better for coding?

GLM-4.6 scores higher on coding benchmarks: 39.9 versus 19.9 in the Noometry coding category.

Which has the bigger context window?

GLM-4.6 does, with 205K tokens against 128K.

How many benchmarks do GLM-4.6 and Llama 3.1-8B share?

21 benchmarks have published results for both models. GLM-4.6 has 29 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper