Model comparison

GLM-5.2 vs GPT-5.1-Codex

GLM-5.2 is the stronger model overall, scoring 50.9 to 38.2 on the Noometry Index.

Last verified . 3 shared benchmarks.

GLM-5.2 Z.ai (Zhipu)

50.9

Rank #38 Confirmed

GPT-5.1-Codex OpenAI

38.2

Rank #178 Reported

Summary

  • They share 3 benchmarks with published results for both. GLM-5.2 scores higher in 2 categories and GPT-5.1-Codex in 1 category; 3 gaps are clear of the uncertainty.
  • The widest gap is in math, where GLM-5.2 leads 55.4 to 29.3.
  • The biggest single-benchmark swing is ProofBench: 35% for GLM-5.2 and 9% for GPT-5.1-Codex.
  • GLM-5.2 is cheaper at $1.40 / $4.40 per million input/output tokens, against $1.25 / $10 for GPT-5.1-Codex.
  • GLM-5.2 accepts more context: 1M tokens versus 400K.
  • GLM-5.2 has downloadable open weights; the other is API-only.

Side by side

GLM-5.2 and GPT-5.1-Codex specifications
GLM-5.2GPT-5.1-Codex
ProviderZ.ai (Zhipu)OpenAI
Noometry Index50.938.2
Released2026-06-132025-11-12
WeightsOpenProprietary
Context window1M400K
Max output131K128K
Input $ / M tokens$1.40$1.25
Output $ / M tokens$4.40$10
Results tracked506

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

Category by category

Coding GLM-5.2 leads

GLM-5.2: 50.9 (#37), GPT-5.1-Codex: 41.7 (#107)

Coding benchmarks
BenchmarkGLM-5.2GPT-5.1-Codex
LMArena WebDev16041337
ALE-Bench1,0471,245
SWE-bench Verified78.7%—
DeepSWE43.8%—
FrontierCode24.5%—
SWE-bench Verified (bash only)—66%
SciCode50.5%—
WeirdML70.1%—
LMArena Coding1484—

Agentic & Tool Use GPT-5.1-Codex leads

GLM-5.2: 31.6 (#63), GPT-5.1-Codex: 37.8 (#32)

Agentic & Tool Use benchmarks
BenchmarkGLM-5.2GPT-5.1-Codex
Terminal-Bench—60.4%
τ²-bench Banking37.1%—
PostTrainBench31.7%—
GBAEval0%—
METR Time Horizons—70.8%
Vending-Bench 28,314—

Reasoning Not comparable

GLM-5.2: 42.1 (#46), GPT-5.1-Codex: —

Reasoning benchmarks
BenchmarkGLM-5.2GPT-5.1-Codex
ARC-AGI-222.8%—
SimpleBench58.8%—
Kagi LLM Benchmark62.6%—
NYT Connections (extended)74.3%—
ARC-AGI-177%—
CritPt20.9%—
Chess Puzzles21%—
EBR-Bench9.5%—
LMArena Hard Prompts1480—
Mystery Game Puzzles19%—
DTBench93.6%—
LMCA45.8%—
Surface Evolver Bench55.6%—
Epoch Capabilities Index151.76—

Math GLM-5.2 leads

GLM-5.2: 55.4 (#35), GPT-5.1-Codex: 29.3 (#218)

Math benchmarks
BenchmarkGLM-5.2GPT-5.1-Codex
ProofBench35%9%
FrontierMath (Tiers 1-3)59.2%—
FrontierMath Tier 429.3%—
MathArena Final-Answer Competitions67.6%—
OTIS Mock AIME 2024-202586.4%—
LMArena Math1482—

Knowledge Not comparable

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

Knowledge benchmarks
BenchmarkGLM-5.2GPT-5.1-Codex
GPQA Diamond91.9%—
SimpleQA Verified34.2%—
LMArena Expert1484—

Multilingual Not comparable

GLM-5.2: 56.0 (#25), GPT-5.1-Codex: —

Multilingual benchmarks
BenchmarkGLM-5.2GPT-5.1-Codex
LMArena Non-English1459—
LMArena Chinese1518—
LMArena French1476—
LMArena German1470—
LMArena Japanese1451—
LMArena Korean1445—
LMArena Russian1467—
LMArena Spanish1477—

Instruction Following Not comparable

GLM-5.2: 77.1 (#32), GPT-5.1-Codex: —

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

Long Context Not comparable

GLM-5.2: 45.3 (#43), GPT-5.1-Codex: —

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

Writing & Preference Not comparable

GLM-5.2: 70.7 (#20), GPT-5.1-Codex: —

Writing & Preference benchmarks
BenchmarkGLM-5.2GPT-5.1-Codex
LMArena Text1470—
LMArena Creative Writing1465—
EQ-Bench Creative Writing1757—
EQ-Bench 41222—
LMArena Multi-Turn1468—

Frequently asked questions

Is GLM-5.2 better than GPT-5.1-Codex?

GLM-5.2 is the stronger model overall, scoring 50.9 to 38.2 on the Noometry Index.

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

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

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

GLM-5.2 scores higher on coding benchmarks: 50.9 versus 41.7 in the Noometry coding category.

Which has the bigger context window?

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

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

3 benchmarks have published results for both models. GLM-5.2 has 50 scored results on Noometry and GPT-5.1-Codex has 6.

Related comparisons

Go deeper