Model comparison

GLM-5 vs GPT-5.2 Codex

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

Last verified . 5 shared benchmarks.

GLM-5 Z.ai (Zhipu)

46.1

Rank #66 Confirmed

GPT-5.2 Codex OpenAI

42.6

Rank #111 Reported

Summary

  • They share 5 benchmarks with published results for both. GLM-5 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 31.1.
  • The biggest single-benchmark swing is Terminal-Bench: 52.4% for GLM-5 and 66.5% for GPT-5.2 Codex.
  • GLM-5 is cheaper at $1 / $3.20 per million input/output tokens, against $1.75 / $14 for GPT-5.2 Codex.
  • GPT-5.2 Codex accepts more context: 400K tokens versus 205K.
  • GLM-5 has downloadable open weights; the other is API-only.

Side by side

GLM-5 and GPT-5.2 Codex specifications
GLM-5GPT-5.2 Codex
ProviderZ.ai (Zhipu)OpenAI
Noometry Index46.142.6
Released2026-02-112025-12-18
WeightsOpenProprietary
Context window205K400K
Max output131K128K
Input $ / M tokens$1$1.75
Output $ / M tokens$3.20$14
Results tracked455

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

Category by category

Coding GLM-5 leads

GLM-5: 49.0 (#52), GPT-5.2 Codex: 45.5 (#71)

Coding benchmarks
BenchmarkGLM-5GPT-5.2 Codex
SWE-bench Verified (bash only)72.8%72.8%
LMArena WebDev14341339
SWE-bench Multilingual69.7%66.3%
ALE-Bench765.621,300
SWE-bench Verified72.1%—
WeirdML48.2%—
LMArena Coding1461—

Agentic & Tool Use GPT-5.2 Codex leads

GLM-5: 31.1 (#71), GPT-5.2 Codex: 41.0 (#22)

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

Reasoning Not comparable

GLM-5: 27.6 (#116), GPT-5.2 Codex: —

Reasoning benchmarks
BenchmarkGLM-5GPT-5.2 Codex
ARC-AGI-24.9%—
SimpleBench53.2%—
Kagi LLM Benchmark75%—
NYT Connections (extended)74.8%—
ARC-AGI-144.7%—
Chess Puzzles10%—
LMArena Hard Prompts1452—
Epoch Capabilities Index145.83—
ForecastBench61—

Math Not comparable

GLM-5: 46.4 (#71), GPT-5.2 Codex: —

Knowledge Not comparable

GLM-5: 52.3 (#64), GPT-5.2 Codex: —

Knowledge benchmarks
BenchmarkGLM-5GPT-5.2 Codex
GPQA Diamond87.8%—
Vectara Hallucination Rate10.1%—
LMArena Expert1454—

Multilingual Not comparable

GLM-5: 53.7 (#58), GPT-5.2 Codex: —

Multilingual benchmarks
BenchmarkGLM-5GPT-5.2 Codex
LMArena Non-English1430—
LMArena Chinese1511—
LMArena French1455—
LMArena German1445—
LMArena Japanese1416—
LMArena Korean1423—
LMArena Russian1436—
LMArena Spanish1454—

Instruction Following Not comparable

GLM-5: 75.2 (#67), GPT-5.2 Codex: —

Instruction Following benchmarks
BenchmarkGLM-5GPT-5.2 Codex
LMArena Instruction Following1428—

Long Context Not comparable

GLM-5: 44.7 (#60), GPT-5.2 Codex: —

Long Context benchmarks
BenchmarkGLM-5GPT-5.2 Codex
CL-bench18.7%—
LMArena Longer Query1446—

Writing & Preference Not comparable

GLM-5: 66.0 (#38), GPT-5.2 Codex: —

Writing & Preference benchmarks
BenchmarkGLM-5GPT-5.2 Codex
LMArena Text1446—
LMArena Creative Writing1439—
EQ-Bench Creative Writing1601—
LMArena Multi-Turn1456—

Frequently asked questions

Is GLM-5 better than GPT-5.2 Codex?

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

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

GLM-5 is cheaper. It lists at $1 per million input tokens and $3.20 per million output tokens; GPT-5.2 Codex lists at $1.75 and $14.

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

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

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper