Model comparison

GLM-5.2 vs GPT-4

GLM-5.2 is the stronger model overall, scoring 51.1 to 29.1 on the Noometry Index.

Last verified . 26 shared benchmarks.

GLM-5.2 Z.ai (Zhipu)

51.1

Rank #44 Confirmed

GPT-4 OpenAI

29.1

Rank #316 Confirmed

Summary

  • They share 26 benchmarks with published results for both. GLM-5.2 scores higher in 8 categories and GPT-4 in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where GLM-5.2 leads 55.7 to 10.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 86.4% for GLM-5.2 and 1.1% for GPT-4.
  • GLM-5.2 is cheaper at $1.40 / $4.40 per million input/output tokens, against $30 / $60 for GPT-4.
  • GLM-5.2 accepts more context: 1M tokens versus 8K.
  • GLM-5.2 has downloadable open weights; the other is API-only.

Side by side

GLM-5.2 and GPT-4 specifications
GLM-5.2GPT-4
ProviderZ.ai (Zhipu)OpenAI
Noometry Index51.129.1
Released2026-06-132023-03-14
WeightsOpenProprietary
Context window1M8K
Max output131K8K
Input $ / M tokens$1.40$30
Output $ / M tokens$4.40$60
Results tracked5138

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

Category by category

Coding GLM-5.2 leads

GLM-5.2: 51.3 (#41), GPT-4: 31.6 (#283)

Coding benchmarks
BenchmarkGLM-5.2GPT-4
WeirdML70.1%12.4%
LMArena Coding14851254
SWE-bench Verified78.7%—
DeepSWE43.8%—
FrontierCode24.5%—
LMArena WebDev1603—
SciCode50.5%—
BigCodeBench Instruct—46%
BigCodeBench Complete—57.2%
ALE-Bench1,047—
HumanEval+—79.3%

Agentic & Tool Use Not comparable

GLM-5.2: 32.4 (#63), GPT-4: —

Agentic & Tool Use benchmarks
BenchmarkGLM-5.2GPT-4
APEX-Agents45.2%—
τ²-bench Banking37.1%—
PostTrainBench31.7%—
GBAEval0%—
METR Time Horizons—36.1%
Vending-Bench 28,314—

Reasoning GLM-5.2 leads

GLM-5.2: 42.3 (#52), GPT-4: 17.8 (#289)

Reasoning benchmarks
BenchmarkGLM-5.2GPT-4
Chess Puzzles21%4%
LMArena Hard Prompts14801241
Mystery Game Puzzles19%12%
DTBench93.6%62.7%
LMCA45.8%17.1%
Epoch Capabilities Index151.78125.89
ARC-AGI-222.8%—
SimpleBench58.8%—
Kagi LLM Benchmark62.6%—
NYT Connections (extended)74.3%—
ARC-AGI-177%—
CritPt20.9%—
EBR-Bench9.5%—
Surface Evolver Bench55.6%—
BIG-Bench Hard—75.1%
ForecastBench—57.8
HellaSwag—95.3%
WinoGrande—87.5%

Math GLM-5.2 leads

GLM-5.2: 55.7 (#43), GPT-4: 10.8 (#309)

Math benchmarks
BenchmarkGLM-5.2GPT-4
OTIS Mock AIME 2024-202586.4%1.1%
LMArena Math14821269
FrontierMath (Tiers 1-3)59.2%—
FrontierMath Tier 429.3%—
MathArena Final-Answer Competitions67.6%—
ProofBench35%—
MATH Level 5—23%
GSM8K—92%

Knowledge GLM-5.2 leads

GLM-5.2: 57.1 (#40), GPT-4: 18.4 (#282)

Knowledge benchmarks
BenchmarkGLM-5.2GPT-4
GPQA Diamond91.9%35.7%
LMArena Expert14861211
SimpleQA Verified34.2%—
MMLU—86.4%
TriviaQA—84.8%

Multilingual GLM-5.2 leads

GLM-5.2: 55.8 (#26), GPT-4: 40.6 (#215)

Multilingual benchmarks
BenchmarkGLM-5.2GPT-4
LMArena Non-English14591246
LMArena Chinese15191242
LMArena French14791283
LMArena German14681251
LMArena Japanese14511209
LMArena Korean14451184
LMArena Russian14661251
LMArena Spanish14771261

Instruction Following GLM-5.2 leads

GLM-5.2: 76.9 (#34), GPT-4: 65.3 (#222)

Instruction Following benchmarks
BenchmarkGLM-5.2GPT-4
LMArena Instruction Following14651241

Long Context GLM-5.2 leads

GLM-5.2: 45.3 (#43), GPT-4: 37.7 (#212)

Long Context benchmarks
BenchmarkGLM-5.2GPT-4
LMArena Longer Query14791244

Writing & Preference GLM-5.2 leads

GLM-5.2: 70.4 (#21), GPT-4: 34.9 (#268)

Writing & Preference benchmarks
BenchmarkGLM-5.2GPT-4
LMArena Text14701263
LMArena Creative Writing14621244
EQ-Bench Creative Writing1757752
LMArena Multi-Turn14691257
EQ-Bench 41222—

Frequently asked questions

Is GLM-5.2 better than GPT-4?

GLM-5.2 is the stronger model overall, scoring 51.1 to 29.1 on the Noometry Index.

Which is cheaper, GLM-5.2 or GPT-4?

GLM-5.2 is cheaper. It lists at $1.40 per million input tokens and $4.40 per million output tokens; GPT-4 lists at $30 and $60.

Is GLM-5.2 or GPT-4 better for coding?

GLM-5.2 scores higher on coding benchmarks: 51.3 versus 31.6 in the Noometry coding category.

Which has the bigger context window?

GLM-5.2 does, with 1M tokens against 8K.

How many benchmarks do GLM-5.2 and GPT-4 share?

26 benchmarks have published results for both models. GLM-5.2 has 51 scored results on Noometry and GPT-4 has 38.

Related comparisons

Go deeper