Model comparison

GLM-5 vs GPT-5.1-Codex

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

Last verified . 4 shared benchmarks.

GLM-5 Z.ai (Zhipu)

46.1

Rank #66 Confirmed

GPT-5.1-Codex OpenAI

38.6

Rank #186 Reported

Summary

  • They share 4 benchmarks with published results for both. GLM-5 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 leads 46.4 to 30.3.
  • The biggest single-benchmark swing is Terminal-Bench: 52.4% for GLM-5 and 60.4% for GPT-5.1-Codex.
  • GLM-5 is cheaper at $1 / $3.20 per million input/output tokens, against $1.25 / $10 for GPT-5.1-Codex.
  • GPT-5.1-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.1-Codex specifications
GLM-5GPT-5.1-Codex
ProviderZ.ai (Zhipu)OpenAI
Noometry Index46.138.6
Released2026-02-112025-11-12
WeightsOpenProprietary
Context window205K400K
Max output131K128K
Input $ / M tokens$1$1.25
Output $ / M tokens$3.20$10
Results tracked456

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

Coding benchmarks
BenchmarkGLM-5GPT-5.1-Codex
SWE-bench Verified (bash only)72.8%66%
LMArena WebDev14341337
ALE-Bench765.621,245
SWE-bench Verified72.1%—
SWE-bench Multilingual69.7%—
WeirdML48.2%—
LMArena Coding1461—

Agentic & Tool Use GPT-5.1-Codex leads

GLM-5: 31.1 (#71), GPT-5.1-Codex: 38.0 (#33)

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

Reasoning Not comparable

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

Reasoning benchmarks
BenchmarkGLM-5GPT-5.1-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 GLM-5 leads

GLM-5: 46.4 (#71), GPT-5.1-Codex: 30.3 (#235)

Knowledge Not comparable

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

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

Multilingual Not comparable

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

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

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

Long Context Not comparable

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

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

Writing & Preference Not comparable

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

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

Frequently asked questions

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

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

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

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

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

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

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper