Model comparison

GLM-5 vs Llama 2-7B

GLM-5 is the stronger model overall, scoring 46.1 to 29.1 on the Noometry Index.

Last verified . 17 shared benchmarks.

GLM-5 Z.ai (Zhipu)

46.1

Rank #66 Confirmed

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

  • They share 17 benchmarks with published results for both. GLM-5 scores higher in 8 categories and Llama 2-7B in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where GLM-5 leads 66.0 to 28.0.
  • The biggest single-benchmark swing is Chess Puzzles: 10% for GLM-5 and 0% for Llama 2-7B.

Side by side

GLM-5 and Llama 2-7B specifications
GLM-5Llama 2-7B
ProviderZ.ai (Zhipu)Meta
Noometry Index46.129.1
Released2026-02-112023-07-18
WeightsOpenOpen
Context window205K—
Max output131K—
Input $ / M tokens$1—
Output $ / M tokens$3.20—
Results tracked4529

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

Category by category

Coding GLM-5 leads

GLM-5: 49.0 (#52), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkGLM-5Llama 2-7B
LMArena Coding14611002
SWE-bench Verified72.1%—
SWE-bench Verified (bash only)72.8%—
LMArena WebDev1434—
SWE-bench Multilingual69.7%—
WeirdML48.2%—
ALE-Bench765.62—

Agentic & Tool Use Not comparable

GLM-5: 31.1 (#71), Llama 2-7B: —

Agentic & Tool Use benchmarks
BenchmarkGLM-5Llama 2-7B
Terminal-Bench52.4%—
τ²-bench Airline82.5%—
τ²-bench Banking9.8%—
τ²-bench Retail73.7%—
τ²-bench Telecom86.8%—
Vending-Bench 24,432—

Reasoning GLM-5 leads

GLM-5: 27.6 (#116), Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkGLM-5Llama 2-7B
Chess Puzzles10%0%
LMArena Hard Prompts14521009
Epoch Capabilities Index145.8399.06
ARC-AGI-24.9%—
SimpleBench53.2%—
Kagi LLM Benchmark75%—
NYT Connections (extended)74.8%—
ARC-AGI-144.7%—
BIG-Bench Hard—39.2%
ForecastBench61—
HellaSwag—77.2%
LAMBADA—73.3%
PIQA—78.8%
WinoGrande—69.2%

Math GLM-5 leads

GLM-5: 46.4 (#71), Llama 2-7B: 30.7 (#233)

Knowledge GLM-5 leads

GLM-5: 52.3 (#64), Llama 2-7B: 28.2 (#248)

Knowledge benchmarks
BenchmarkGLM-5Llama 2-7B
LMArena Expert14541036
GPQA Diamond87.8%—
Vectara Hallucination Rate10.1%—
ARC (AI2) Challenge—45.9%
BoolQ—77.9%
MMLU—45.8%
OpenBookQA—58.6%
TriviaQA—73.7%

Multimodal Not comparable

GLM-5: —, Llama 2-7B: —

Multimodal benchmarks
BenchmarkGLM-5Llama 2-7B
ScienceQA—43.1%

Multilingual GLM-5 leads

GLM-5: 53.7 (#58), Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkGLM-5Llama 2-7B
LMArena Non-English1430973
LMArena Chinese1511973
LMArena French1455970
LMArena German1445978
LMArena Russian1436995
LMArena Spanish14541007
LMArena Japanese1416—
LMArena Korean1423—

Instruction Following GLM-5 leads

GLM-5: 75.2 (#67), Llama 2-7B: 50.8 (#298)

Instruction Following benchmarks
BenchmarkGLM-5Llama 2-7B
LMArena Instruction Following14281006

Long Context GLM-5 leads

GLM-5: 44.7 (#60), Llama 2-7B: 30.4 (#287)

Long Context benchmarks
BenchmarkGLM-5Llama 2-7B
LMArena Longer Query1446999
CL-bench18.7%—

Writing & Preference GLM-5 leads

GLM-5: 66.0 (#38), Llama 2-7B: 28.0 (#298)

Writing & Preference benchmarks
BenchmarkGLM-5Llama 2-7B
LMArena Text14461053
LMArena Creative Writing14391033
LMArena Multi-Turn14561029
EQ-Bench Creative Writing1601—

Frequently asked questions

Is GLM-5 better than Llama 2-7B?

GLM-5 is the stronger model overall, scoring 46.1 to 29.1 on the Noometry Index.

Is GLM-5 or Llama 2-7B better for coding?

GLM-5 scores higher on coding benchmarks: 49.0 versus 29.2 in the Noometry coding category.

How many benchmarks do GLM-5 and Llama 2-7B share?

17 benchmarks have published results for both models. GLM-5 has 45 scored results on Noometry and Llama 2-7B has 29.

Related comparisons

Go deeper