Model comparison

GLM-5 vs GPT-5-Codex

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

Last verified . 3 shared benchmarks.

GLM-5 Z.ai (Zhipu)

46.1

Rank #66 Confirmed

GPT-5-Codex OpenAI

37.9

Rank #192 Reported

Summary

  • They share 3 benchmarks with published results for both. GLM-5 scores higher in 2 categories and GPT-5-Codex in 1 category; 2 gaps are clear of the uncertainty.
  • The widest gap is in coding, where GLM-5 leads 49.0 to 42.4.
  • The biggest single-benchmark swing is Terminal-Bench: 52.4% for GLM-5 and 44.3% for GPT-5-Codex.
  • GLM-5 is cheaper at $1 / $3.20 per million input/output tokens, against $1.25 / $10 for GPT-5-Codex.
  • GPT-5-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-Codex specifications
GLM-5GPT-5-Codex
ProviderZ.ai (Zhipu)OpenAI
Noometry Index46.137.9
Released2026-02-112025-09-15
WeightsOpenProprietary
Context window205K400K
Max output131K128K
Input $ / M tokens$1$1.25
Output $ / M tokens$3.20$10
Results tracked453

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-Codex: 42.4 (#103)

Coding benchmarks
BenchmarkGLM-5GPT-5-Codex
WeirdML48.2%54.5%
SWE-bench Verified72.1%—
SWE-bench Verified (bash only)72.8%—
LMArena WebDev1434—
SWE-bench Multilingual69.7%—
LMArena Coding1461—
ALE-Bench765.62—

Agentic & Tool Use Too close to call

GLM-5: 31.1 (#71), GPT-5-Codex: 31.0 (#72)

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

Reasoning GPT-5-Codex leads

GLM-5: 27.6 (#116), GPT-5-Codex: 30.9 (#83)

Reasoning benchmarks
BenchmarkGLM-5GPT-5-Codex
Kagi LLM Benchmark75%70.3%
ARC-AGI-24.9%—
SimpleBench53.2%—
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-Codex: —

Knowledge Not comparable

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

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

Multilingual Not comparable

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

Multilingual benchmarks
BenchmarkGLM-5GPT-5-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-Codex: —

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

Long Context Not comparable

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

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

Writing & Preference Not comparable

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

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

Frequently asked questions

Is GLM-5 better than GPT-5-Codex?

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

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

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

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

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

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper