Model comparison

GLM-4.7 vs GPT-5.1-Codex

GLM-4.7 is the stronger model overall, scoring 42.0 to 38.6 on the Noometry Index.

Last verified . 4 shared benchmarks.

GLM-4.7 Z.ai (Zhipu)

42.0

Rank #124 Confirmed

GPT-5.1-Codex OpenAI

38.6

Rank #186 Reported

Summary

  • They share 4 benchmarks with published results for both. GLM-4.7 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 agentic & tool use, where GPT-5.1-Codex leads 38.0 to 26.5.
  • The biggest single-benchmark swing is Terminal-Bench: 33.4% for GLM-4.7 and 60.4% for GPT-5.1-Codex.
  • GLM-4.7 is cheaper at $0.60 / $2.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-4.7 has downloadable open weights; the other is API-only.

Side by side

GLM-4.7 and GPT-5.1-Codex specifications
GLM-4.7GPT-5.1-Codex
ProviderZ.ai (Zhipu)OpenAI
Noometry Index42.038.6
Released2025-12-222025-11-12
WeightsOpenProprietary
Context window205K400K
Max output131K128K
Input $ / M tokens$0.60$1.25
Output $ / M tokens$2.20$10
Results tracked366

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

Category by category

Coding GLM-4.7 leads

GLM-4.7: 44.0 (#79), GPT-5.1-Codex: 41.9 (#116)

Coding benchmarks
BenchmarkGLM-4.7GPT-5.1-Codex
LMArena WebDev14351337
ALE-Bench399.481,245
SWE-bench Verified (bash only)—66%
SciCode45.1%—
LMArena Coding1454—

Agentic & Tool Use GPT-5.1-Codex leads

GLM-4.7: 26.5 (#103), GPT-5.1-Codex: 38.0 (#33)

Agentic & Tool Use benchmarks
BenchmarkGLM-4.7GPT-5.1-Codex
Terminal-Bench33.4%60.4%
METR Time Horizons—70.8%
Vending-Bench 22,377—

Reasoning Not comparable

GLM-4.7: 24.3 (#164), GPT-5.1-Codex: —

Reasoning benchmarks
BenchmarkGLM-4.7GPT-5.1-Codex
SimpleBench47.7%—
CritPt1.7%—
Chess Puzzles6%—
LMArena Hard Prompts1443—
Epoch Capabilities Index143.51—

Math GLM-4.7 leads

GLM-4.7: 38.6 (#135), GPT-5.1-Codex: 30.3 (#235)

Math benchmarks
BenchmarkGLM-4.7GPT-5.1-Codex
ProofBench6%9%
OTIS Mock AIME 2024-202583.3%—
LMArena Math1423—
FrontierMath (Feb 2025 set)2.4%—
FrontierMath Tier 4 (v1)0%—

Knowledge Not comparable

GLM-4.7: 47.0 (#80), GPT-5.1-Codex: —

Knowledge benchmarks
BenchmarkGLM-4.7GPT-5.1-Codex
GPQA Diamond83.3%—
SimpleQA Verified32.2%—
Vectara Hallucination Rate11.7%—
LMArena Expert1424—

Multilingual Not comparable

GLM-4.7: 52.8 (#79), GPT-5.1-Codex: —

Multilingual benchmarks
BenchmarkGLM-4.7GPT-5.1-Codex
LMArena Non-English1417—
LMArena Chinese1495—
LMArena French1432—
LMArena German1424—
LMArena Japanese1439—
LMArena Korean1399—
LMArena Russian1423—
LMArena Spanish1434—

Instruction Following Not comparable

GLM-4.7: 74.4 (#95), GPT-5.1-Codex: —

Instruction Following benchmarks
BenchmarkGLM-4.7GPT-5.1-Codex
LMArena Instruction Following1411—

Long Context Not comparable

GLM-4.7: 42.8 (#116), GPT-5.1-Codex: —

Long Context benchmarks
BenchmarkGLM-4.7GPT-5.1-Codex
CL-bench15.9%—
CL-bench Life10.9%—
LMArena Longer Query1432—

Writing & Preference Not comparable

GLM-4.7: 60.9 (#93), GPT-5.1-Codex: —

Writing & Preference benchmarks
BenchmarkGLM-4.7GPT-5.1-Codex
LMArena Text1435—
LMArena Creative Writing1401—
EQ-Bench Creative Writing1413—
LMArena Multi-Turn1446—

Frequently asked questions

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

GLM-4.7 is the stronger model overall, scoring 42.0 to 38.6 on the Noometry Index.

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

GLM-4.7 is cheaper. It lists at $0.60 per million input tokens and $2.20 per million output tokens; GPT-5.1-Codex lists at $1.25 and $10.

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

GLM-4.7 scores higher on coding benchmarks: 44.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-4.7 and GPT-5.1-Codex share?

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

Related comparisons

Go deeper