Model comparison

GLM-4.5-Air vs Llama 3.1-8B

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

Last verified . 22 shared benchmarks.

GLM-4.5-Air Z.ai (Zhipu)

38.9

Rank #177 Confirmed

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Summary

  • They share 22 benchmarks with published results for both. GLM-4.5-Air scores higher in 8 categories and Llama 3.1-8B in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where GLM-4.5-Air leads 35.0 to 8.0.
  • The biggest single-benchmark swing is MMLU-Pro: 76.2% for GLM-4.5-Air and 40.6% for Llama 3.1-8B.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $0.20 / $1.10 for GLM-4.5-Air.
  • GLM-4.5-Air accepts more context: 131K tokens versus 128K.

Side by side

GLM-4.5-Air and Llama 3.1-8B specifications
GLM-4.5-AirLlama 3.1-8B
ProviderZ.ai (Zhipu)Meta
Noometry Index38.923.0
Released2025-07-202024-07-23
WeightsOpenOpen
Context window131K128K
Max output98K4K
Input $ / M tokens$0.20$0.05
Output $ / M tokens$1.10$0.08
Results tracked2743

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

Category by category

Coding GLM-4.5-Air leads

GLM-4.5-Air: 33.3 (#259), Llama 3.1-8B: 20.2 (#340)

Coding benchmarks
BenchmarkGLM-4.5-AirLlama 3.1-8B
LMArena Coding13971195
SciCode—13.2%
GSO2.9%—
WeirdML—1.7%
BigCodeBench Instruct—32.8%
BigCodeBench Complete—40.5%
HumanEval+—62.8%
MBPP+—55.6%

Agentic & Tool Use Not comparable

GLM-4.5-Air: —, Llama 3.1-8B: 22.5 (#131)

Agentic & Tool Use benchmarks
BenchmarkGLM-4.5-AirLlama 3.1-8B
Berkeley Function Calling Leaderboard—25.8%
BALROG—15.1%

Reasoning GLM-4.5-Air leads

GLM-4.5-Air: 24.1 (#166), Llama 3.1-8B: 14.9 (#321)

Reasoning benchmarks
BenchmarkGLM-4.5-AirLlama 3.1-8B
LMArena Hard Prompts13791175
Kagi LLM Benchmark43%—
CritPt—0%
Chess Puzzles—0%
DTBench—50.9%
LMCA—5.4%
Epoch Capabilities Index—116.57
ForecastBench59.2—
PIQA—81.2%

Math GLM-4.5-Air leads

GLM-4.5-Air: 36.2 (#170), Llama 3.1-8B: 10.2 (#317)

Math benchmarks
BenchmarkGLM-4.5-AirLlama 3.1-8B
Omni-MATH39.1%13.7%
LMArena Math13961179
OTIS Mock AIME 2024-2025—1.7%
MATH Level 5—22.9%
GSM8K—82.4%

Knowledge GLM-4.5-Air leads

GLM-4.5-Air: 35.0 (#191), Llama 3.1-8B: 8.0 (#307)

Knowledge benchmarks
BenchmarkGLM-4.5-AirLlama 3.1-8B
MMLU-Pro76.2%40.6%
GPQA (HELM)59.4%24.7%
LMArena Expert13701144
GPQA Diamond—27%
Humanity's Last Exam8.1%—
Vectara Hallucination Rate9.3%—
BoolQ—82.8%
MMLU—56.1%

Multilingual GLM-4.5-Air leads

GLM-4.5-Air: 49.1 (#135), Llama 3.1-8B: 34.0 (#249)

Multilingual benchmarks
BenchmarkGLM-4.5-AirLlama 3.1-8B
LMArena Non-English13661148
LMArena Chinese14261151
LMArena French13991177
LMArena German13771144
LMArena Japanese13481061
LMArena Korean13081053
LMArena Russian13731158
LMArena Spanish13861169

Instruction Following GLM-4.5-Air leads

GLM-4.5-Air: 69.6 (#171), Llama 3.1-8B: 58.9 (#258)

Instruction Following benchmarks
BenchmarkGLM-4.5-AirLlama 3.1-8B
IFEval81.2%74.3%
LMArena Instruction Following13541159

Long Context GLM-4.5-Air leads

GLM-4.5-Air: 41.6 (#135), Llama 3.1-8B: 35.8 (#238)

Long Context benchmarks
BenchmarkGLM-4.5-AirLlama 3.1-8B
LMArena Longer Query13661182

Writing & Preference GLM-4.5-Air leads

GLM-4.5-Air: 55.9 (#139), Llama 3.1-8B: 29.7 (#290)

Writing & Preference benchmarks
BenchmarkGLM-4.5-AirLlama 3.1-8B
LMArena Text13841187
LMArena Creative Writing13431154
WildBench78.9%68.7%
LMArena Multi-Turn13711172
EQ-Bench Creative Writing—713

Frequently asked questions

Is GLM-4.5-Air better than Llama 3.1-8B?

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

Which is cheaper, GLM-4.5-Air 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.5-Air lists at $0.20 and $1.10.

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

GLM-4.5-Air scores higher on coding benchmarks: 33.3 versus 20.2 in the Noometry coding category.

Which has the bigger context window?

GLM-4.5-Air does, with 131K tokens against 128K.

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

22 benchmarks have published results for both models. GLM-4.5-Air has 27 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper