# GLM-5.1 vs GPT-5.1-Codex

> GLM-5.1 is the stronger model overall, scoring 47.6 to 38.2 on the Noometry Index.

- Canonical page: https://noometry.com/compare/glm-5-1-vs-gpt-5-1-codex
- Last updated: 2026-10-10
- Shared benchmarks: 3

## 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.0 to 29.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.

## Snapshot

| | GLM-5.1 | GPT-5.1-Codex |
|---|---|---|
| Provider | Z.ai (Zhipu) | OpenAI |
| Noometry Index | 47.6 | 38.2 |
| Rank | 51 | 178 |
| Context | 200K | 400K |
| Input $/M | $1.40 | $1.25 |
| Output $/M | $4.40 | $10 |
| Weights | Open | Proprietary |

## Coding

- GLM-5.1: 48.5 (#52)
- GPT-5.1-Codex: 41.7 (#107)

| Benchmark | GLM-5.1 | GPT-5.1-Codex |
|---|---|---|
| LMArena WebDev | 1509 | 1337 |
| ALE-Bench | 887.1 | 1,245 |
| SWE-bench Verified | 74.2% | — |
| SWE-bench Verified (bash only) | — | 66% |
| SciCode | 43.8% | — |
| WeirdML | 57.1% | — |
| LMArena Coding | 1486 | — |

## Agentic & Tool Use

- GLM-5.1: 24.8 (#106)
- GPT-5.1-Codex: 37.8 (#32)

| Benchmark | GLM-5.1 | GPT-5.1-Codex |
|---|---|---|
| Terminal-Bench | — | 60.4% |
| APEX-Agents | 40.9% | — |
| ExploitBench | 18.1% | — |
| GBAEval | 0% | — |
| METR Time Horizons | — | 70.8% |
| Vending-Bench 2 | 5,634 | — |

## Reasoning

- GLM-5.1: 38.2 (#57)
- GPT-5.1-Codex: —

| Benchmark | GLM-5.1 | GPT-5.1-Codex |
|---|---|---|
| SimpleBench | 55.1% | — |
| NYT Connections (extended) | 77.7% | — |
| CritPt | 4.6% | — |
| Chess Puzzles | 19% | — |
| Thematic Generalization | 69.8% | — |
| LMArena Hard Prompts | 1472 | — |
| Epoch Capabilities Index | 149.86 | — |

## Math

- GLM-5.1: 49.0 (#48)
- GPT-5.1-Codex: 29.3 (#218)

| Benchmark | GLM-5.1 | GPT-5.1-Codex |
|---|---|---|
| ProofBench | 22.2% | 9% |
| FrontierMath (Tiers 1-3) | 36.8% | — |
| MathArena Final-Answer Competitions | 67.1% | — |
| OTIS Mock AIME 2024-2025 | 93.3% | — |
| LMArena Math | 1472 | — |
| FrontierMath (Feb 2025 set) | 33.4% | — |
| FrontierMath Tier 4 (v1) | 12.5% | — |

## Knowledge

- GLM-5.1: 55.0 (#45)
- GPT-5.1-Codex: —

| Benchmark | GLM-5.1 | GPT-5.1-Codex |
|---|---|---|
| GPQA Diamond | 89.9% | — |
| SimpleQA Verified | 34% | — |
| LMArena Expert | 1477 | — |

## Multilingual

- GLM-5.1: 55.2 (#34)
- GPT-5.1-Codex: —

| Benchmark | GLM-5.1 | GPT-5.1-Codex |
|---|---|---|
| LMArena Non-English | 1448 | — |
| LMArena Chinese | 1516 | — |
| LMArena French | 1478 | — |
| LMArena German | 1466 | — |
| LMArena Japanese | 1436 | — |
| LMArena Korean | 1423 | — |
| LMArena Russian | 1453 | — |
| LMArena Spanish | 1467 | — |

## Instruction Following

- GLM-5.1: 76.5 (#41)
- GPT-5.1-Codex: —

| Benchmark | GLM-5.1 | GPT-5.1-Codex |
|---|---|---|
| LMArena Instruction Following | 1451 | — |

## Long Context

- GLM-5.1: 44.9 (#51)
- GPT-5.1-Codex: —

| Benchmark | GLM-5.1 | GPT-5.1-Codex |
|---|---|---|
| LMArena Longer Query | 1467 | — |

## Writing & Preference

- GLM-5.1: 67.2 (#29)
- GPT-5.1-Codex: —

| Benchmark | GLM-5.1 | GPT-5.1-Codex |
|---|---|---|
| LMArena Text | 1462 | — |
| LMArena Creative Writing | 1454 | — |
| EQ-Bench Creative Writing | 1592 | — |
| LMArena Multi-Turn | 1473 | — |

## FAQ

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

GLM-5.1 is the stronger model overall, scoring 47.6 to 38.2 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.5 versus 41.7 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.
