Model comparison

GLM-5.1 vs GPT-5.2 Codex

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

Last verified . 2 shared benchmarks.

GLM-5.1 Z.ai (Zhipu)

47.8

Rank #59 Confirmed

GPT-5.2 Codex OpenAI

42.6

Rank #111 Reported

Summary

  • They share 2 benchmarks with published results for both. GLM-5.1 scores higher in 1 category and GPT-5.2 Codex in 1 category; 2 gaps are clear of the uncertainty.
  • The widest gap is in agentic & tool use, where GPT-5.2 Codex leads 41.0 to 24.9.
  • GLM-5.1 is cheaper at $1.40 / $4.40 per million input/output tokens, against $1.75 / $14 for GPT-5.2 Codex.
  • GPT-5.2 Codex accepts more context: 400K tokens versus 200K.
  • GLM-5.1 has downloadable open weights; the other is API-only.

Side by side

GLM-5.1 and GPT-5.2 Codex specifications
GLM-5.1GPT-5.2 Codex
ProviderZ.ai (Zhipu)OpenAI
Noometry Index47.842.6
Released2026-04-072025-12-18
WeightsOpenProprietary
Context window200K400K
Max output131K128K
Input $ / M tokens$1.40$1.75
Output $ / M tokens$4.40$14
Results tracked415

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), GPT-5.2 Codex: 45.5 (#71)

Coding benchmarks
BenchmarkGLM-5.1GPT-5.2 Codex
LMArena WebDev15081339
ALE-Bench887.11,300
SWE-bench Verified74.2%—
SWE-bench Verified (bash only)—72.8%
SWE-bench Multilingual—66.3%
SciCode43.8%—
WeirdML57.1%—
LMArena Coding1485—

Agentic & Tool Use GPT-5.2 Codex leads

GLM-5.1: 24.9 (#113), GPT-5.2 Codex: 41.0 (#22)

Agentic & Tool Use benchmarks
BenchmarkGLM-5.1GPT-5.2 Codex
Terminal-Bench—66.5%
APEX-Agents40.9%—
ExploitBench18.1%—
GBAEval0%—
Vending-Bench 25,634—

Reasoning Not comparable

GLM-5.1: 39.1 (#60), GPT-5.2 Codex: —

Reasoning benchmarks
BenchmarkGLM-5.1GPT-5.2 Codex
SimpleBench55.1%—
NYT Connections (extended)77.7%—
CritPt4.6%—
Chess Puzzles19%—
Thematic Generalization69.8%—
LMArena Hard Prompts1472—
Epoch Capabilities Index149.84—

Math Not comparable

GLM-5.1: 49.7 (#60), GPT-5.2 Codex: —

Knowledge Not comparable

GLM-5.1: 54.9 (#50), GPT-5.2 Codex: —

Knowledge benchmarks
BenchmarkGLM-5.1GPT-5.2 Codex
GPQA Diamond89.9%—
SimpleQA Verified34%—
LMArena Expert1476—

Multilingual Not comparable

GLM-5.1: 55.0 (#36), GPT-5.2 Codex: —

Multilingual benchmarks
BenchmarkGLM-5.1GPT-5.2 Codex
LMArena Non-English1447—
LMArena Chinese1515—
LMArena French1474—
LMArena German1465—
LMArena Japanese1434—
LMArena Korean1418—
LMArena Russian1454—
LMArena Spanish1469—

Instruction Following Not comparable

GLM-5.1: 76.3 (#42), GPT-5.2 Codex: —

Instruction Following benchmarks
BenchmarkGLM-5.1GPT-5.2 Codex
LMArena Instruction Following1451—

Long Context Not comparable

GLM-5.1: 44.9 (#53), GPT-5.2 Codex: —

Long Context benchmarks
BenchmarkGLM-5.1GPT-5.2 Codex
LMArena Longer Query1466—

Writing & Preference Not comparable

GLM-5.1: 66.9 (#31), GPT-5.2 Codex: —

Writing & Preference benchmarks
BenchmarkGLM-5.1GPT-5.2 Codex
LMArena Text1461—
LMArena Creative Writing1453—
EQ-Bench Creative Writing1592—
LMArena Multi-Turn1472—

Frequently asked questions

Is GLM-5.1 better than GPT-5.2 Codex?

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

Which is cheaper, GLM-5.1 or GPT-5.2 Codex?

GLM-5.1 is cheaper. It lists at $1.40 per million input tokens and $4.40 per million output tokens; GPT-5.2 Codex lists at $1.75 and $14.

Is GLM-5.1 or GPT-5.2 Codex better for coding?

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

Which has the bigger context window?

GPT-5.2 Codex does, with 400K tokens against 200K.

How many benchmarks do GLM-5.1 and GPT-5.2 Codex share?

2 benchmarks have published results for both models. GLM-5.1 has 41 scored results on Noometry and GPT-5.2 Codex has 5.

Related comparisons

Go deeper