Model comparison
GLM-4.6 vs GPT-5.1-Codex
GLM-4.6 is the stronger model overall, scoring 41.4 to 38.6 on the Noometry Index.
Last verified . 4 shared benchmarks.
Summary
- They share 4 benchmarks with published results for both. GLM-4.6 scores higher in 1 category and GPT-5.1-Codex in 2 categories; 3 gaps are clear of the uncertainty.
- The widest gap is in math, where GLM-4.6 leads 39.1 to 30.3.
- The biggest single-benchmark swing is Terminal-Bench: 24.5% for GLM-4.6 and 60.4% for GPT-5.1-Codex.
- GLM-4.6 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.6 has downloadable open weights; the other is API-only.
Side by side
| GLM-4.6 | GPT-5.1-Codex | |
|---|---|---|
| Provider | Z.ai (Zhipu) | OpenAI |
| Noometry Index | 41.4 | 38.6 |
| Released | 2025-09-30 | 2025-11-12 |
| Weights | Open | Proprietary |
| Context window | 205K | 400K |
| Max output | 131K | 128K |
| Input $ / M tokens | $0.60 | $1.25 |
| Output $ / M tokens | $2.20 | $10 |
| Results tracked | 29 | 6 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding GPT-5.1-Codex leads
GLM-4.6: 40.1 (#148), GPT-5.1-Codex: 41.9 (#116)
| Benchmark | GLM-4.6 | GPT-5.1-Codex |
|---|---|---|
| SWE-bench Verified (bash only) | 55.4% | 66% |
| LMArena WebDev | 1340 | 1337 |
| ALE-Bench | 340.82 | 1,245 |
| SciCode | 38.4% | — |
| LMArena Coding | 1449 | — |
Agentic & Tool Use GPT-5.1-Codex leads
GLM-4.6: 32.3 (#66), GPT-5.1-Codex: 38.0 (#33)
| Benchmark | GLM-4.6 | GPT-5.1-Codex |
|---|---|---|
| Terminal-Bench | 24.5% | 60.4% |
| Berkeley Function Calling Leaderboard | 72.4% | — |
| METR Time Horizons | — | 70.8% |
Reasoning Not comparable
GLM-4.6: 23.7 (#172), GPT-5.1-Codex: —
| Benchmark | GLM-4.6 | GPT-5.1-Codex |
|---|---|---|
| Kagi LLM Benchmark | 47.4% | — |
| CritPt | 1.1% | — |
| LMArena Hard Prompts | 1440 | — |
Math GLM-4.6 leads
GLM-4.6: 39.1 (#111), GPT-5.1-Codex: 30.3 (#235)
| Benchmark | GLM-4.6 | GPT-5.1-Codex |
|---|---|---|
| ProofBench | — | 9% |
| LMArena Math | 1432 | — |
| FrontierMath (Feb 2025 set) | 3.8% | — |
| FrontierMath Tier 4 (v1) | 2.1% | — |
Knowledge Not comparable
GLM-4.6: 40.2 (#124), GPT-5.1-Codex: —
| Benchmark | GLM-4.6 | GPT-5.1-Codex |
|---|---|---|
| Vectara Hallucination Rate | 9.5% | — |
| LMArena Expert | 1431 | — |
Multilingual Not comparable
GLM-4.6: 53.5 (#66), GPT-5.1-Codex: —
| Benchmark | GLM-4.6 | GPT-5.1-Codex |
|---|---|---|
| LMArena Non-English | 1426 | — |
| LMArena Chinese | 1499 | — |
| LMArena French | 1459 | — |
| LMArena German | 1447 | — |
| LMArena Japanese | 1393 | — |
| LMArena Korean | 1400 | — |
| LMArena Russian | 1419 | — |
| LMArena Spanish | 1436 | — |
Instruction Following Not comparable
GLM-4.6: 74.3 (#98), GPT-5.1-Codex: —
| Benchmark | GLM-4.6 | GPT-5.1-Codex |
|---|---|---|
| LMArena Instruction Following | 1410 | — |
Long Context Not comparable
GLM-4.6: 43.4 (#94), GPT-5.1-Codex: —
| Benchmark | GLM-4.6 | GPT-5.1-Codex |
|---|---|---|
| LMArena Longer Query | 1422 | — |
Writing & Preference Not comparable
GLM-4.6: 61.1 (#90), GPT-5.1-Codex: —
| Benchmark | GLM-4.6 | GPT-5.1-Codex |
|---|---|---|
| LMArena Text | 1440 | — |
| LMArena Creative Writing | 1411 | — |
| EQ-Bench Creative Writing | 1411 | — |
| LMArena Multi-Turn | 1427 | — |
Frequently asked questions
Is GLM-4.6 better than GPT-5.1-Codex?
GLM-4.6 is the stronger model overall, scoring 41.4 to 38.6 on the Noometry Index.
Which is cheaper, GLM-4.6 or GPT-5.1-Codex?
GLM-4.6 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.6 or GPT-5.1-Codex better for coding?
GPT-5.1-Codex scores higher on coding benchmarks: 41.9 versus 40.1 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.6 and GPT-5.1-Codex share?
4 benchmarks have published results for both models. GLM-4.6 has 29 scored results on Noometry and GPT-5.1-Codex has 6.