Model comparison

GLM-5.1 vs Llama 2-7B

GLM-5.1 is the stronger model overall, scoring 47.8 to 29.1 on the Noometry Index.

Last verified . 17 shared benchmarks.

GLM-5.1 Z.ai (Zhipu)

47.8

Rank #59 Confirmed

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

  • They share 17 benchmarks with published results for both. GLM-5.1 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.1 leads 66.9 to 28.0.
  • The biggest single-benchmark swing is Chess Puzzles: 19% for GLM-5.1 and 0% for Llama 2-7B.

Side by side

GLM-5.1 and Llama 2-7B specifications
GLM-5.1Llama 2-7B
ProviderZ.ai (Zhipu)Meta
Noometry Index47.829.1
Released2026-04-072023-07-18
WeightsOpenOpen
Context window200K—
Max output131K—
Input $ / M tokens$1.40—
Output $ / M tokens$4.40—
Results tracked4129

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

Category by category

Coding GLM-5.1 leads

GLM-5.1: 48.7 (#55), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkGLM-5.1Llama 2-7B
LMArena Coding14851002
SWE-bench Verified74.2%—
LMArena WebDev1508—
SciCode43.8%—
WeirdML57.1%—
ALE-Bench887.1—

Agentic & Tool Use Not comparable

GLM-5.1: 24.9 (#113), Llama 2-7B: —

Agentic & Tool Use benchmarks
BenchmarkGLM-5.1Llama 2-7B
APEX-Agents40.9%—
ExploitBench18.1%—
GBAEval0%—
Vending-Bench 25,634—

Reasoning GLM-5.1 leads

GLM-5.1: 39.1 (#60), Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkGLM-5.1Llama 2-7B
Chess Puzzles19%0%
LMArena Hard Prompts14721009
Epoch Capabilities Index149.8499.06
SimpleBench55.1%—
NYT Connections (extended)77.7%—
CritPt4.6%—
Thematic Generalization69.8%—
BIG-Bench Hard—39.2%
HellaSwag—77.2%
LAMBADA—73.3%
PIQA—78.8%
WinoGrande—69.2%

Math GLM-5.1 leads

GLM-5.1: 49.7 (#60), Llama 2-7B: 30.7 (#233)

Knowledge GLM-5.1 leads

GLM-5.1: 54.9 (#50), Llama 2-7B: 28.2 (#248)

Knowledge benchmarks
BenchmarkGLM-5.1Llama 2-7B
LMArena Expert14761036
GPQA Diamond89.9%—
SimpleQA Verified34%—
ARC (AI2) Challenge—45.9%
BoolQ—77.9%
MMLU—45.8%
OpenBookQA—58.6%
TriviaQA—73.7%

Multimodal Not comparable

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

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

Multilingual GLM-5.1 leads

GLM-5.1: 55.0 (#36), Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkGLM-5.1Llama 2-7B
LMArena Non-English1447973
LMArena Chinese1515973
LMArena French1474970
LMArena German1465978
LMArena Russian1454995
LMArena Spanish14691007
LMArena Japanese1434—
LMArena Korean1418—

Instruction Following GLM-5.1 leads

GLM-5.1: 76.3 (#42), Llama 2-7B: 50.8 (#298)

Instruction Following benchmarks
BenchmarkGLM-5.1Llama 2-7B
LMArena Instruction Following14511006

Long Context GLM-5.1 leads

GLM-5.1: 44.9 (#53), Llama 2-7B: 30.4 (#287)

Long Context benchmarks
BenchmarkGLM-5.1Llama 2-7B
LMArena Longer Query1466999

Writing & Preference GLM-5.1 leads

GLM-5.1: 66.9 (#31), Llama 2-7B: 28.0 (#298)

Writing & Preference benchmarks
BenchmarkGLM-5.1Llama 2-7B
LMArena Text14611053
LMArena Creative Writing14531033
LMArena Multi-Turn14721029
EQ-Bench Creative Writing1592—

Frequently asked questions

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

GLM-5.1 is the stronger model overall, scoring 47.8 to 29.1 on the Noometry Index.

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

GLM-5.1 scores higher on coding benchmarks: 48.7 versus 29.2 in the Noometry coding category.

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

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

Related comparisons

Go deeper