Model comparison

GLM-5.1 vs GPT-5.1-Codex

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

Last verified . 3 shared benchmarks.

GLM-5.1 Z.ai (Zhipu)

47.8

Rank #59 Confirmed

GPT-5.1-Codex OpenAI

38.6

Rank #186 Reported

Summary

  • They share 3 benchmarks with published results for both. GLM-5.1 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.1 leads 49.7 to 30.3.
  • The biggest single-benchmark swing is ProofBench: 22.2% for GLM-5.1 and 9% for GPT-5.1-Codex.
  • GLM-5.1 is cheaper at $1.40 / $4.40 per million input/output tokens, against $1.25 / $10 for GPT-5.1-Codex.
  • GPT-5.1-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.1-Codex specifications
GLM-5.1GPT-5.1-Codex
ProviderZ.ai (Zhipu)OpenAI
Noometry Index47.838.6
Released2026-04-072025-11-12
WeightsOpenProprietary
Context window200K400K
Max output131K128K
Input $ / M tokens$1.40$1.25
Output $ / M tokens$4.40$10
Results tracked416

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.1-Codex: 41.9 (#116)

Coding benchmarks
BenchmarkGLM-5.1GPT-5.1-Codex
LMArena WebDev15081337
ALE-Bench887.11,245
SWE-bench Verified74.2%—
SWE-bench Verified (bash only)—66%
SciCode43.8%—
WeirdML57.1%—
LMArena Coding1485—

Agentic & Tool Use GPT-5.1-Codex leads

GLM-5.1: 24.9 (#113), GPT-5.1-Codex: 38.0 (#33)

Agentic & Tool Use benchmarks
BenchmarkGLM-5.1GPT-5.1-Codex
Terminal-Bench—60.4%
APEX-Agents40.9%—
ExploitBench18.1%—
GBAEval0%—
METR Time Horizons—70.8%
Vending-Bench 25,634—

Reasoning Not comparable

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

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

Math GLM-5.1 leads

GLM-5.1: 49.7 (#60), GPT-5.1-Codex: 30.3 (#235)

Knowledge Not comparable

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

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

Multilingual Not comparable

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

Multilingual benchmarks
BenchmarkGLM-5.1GPT-5.1-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.1-Codex: —

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

Long Context Not comparable

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

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

Writing & Preference Not comparable

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

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

Frequently asked questions

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

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

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

GLM-5.1 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.1 or GPT-5.1-Codex better for coding?

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

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper