GLM 5 Turbo vs GPT-5.1-Codex
GLM 5 Turbo leads GPT-5.1-Codex on the Artificial Analysis Intelligence Index, 26.6 to 23.7, and GLM 5 Turbo costs 2.5x less per output token ($4.00 vs $10.00 per million). Updated October 21, 2026; 13 benchmarks have a result for both.
GLM 5 Turbo or GPT-5.1-Codex: which to pick
Only GPT-5.1-Codex has a coding score, 15.3 on the Vibe Coding Index; GLM 5 Turbo has none, so the two cannot be ranked on coding.
Pick GLM 5 Turbo for output tokens 2.5x cheaper ($4.00 vs $10.00 per million) and work measured by AA Intelligence Index or τ²-Bench Telecom, where it leads.
- Shared results
- 13
- GLM 5 Turbo only
- 3
- GPT-5.1-Codex only
- 13
- Like-for-like categories
- 6 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only GPT-5.1-Codex has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GLM 5 Turbo
GLM 5 Turbo leads, 26.6 against 23.7.
Same board, both measured
Web design
Design Arena: websites
GLM 5 Turbo
GLM 5 Turbo leads, 1262 against 1162.
Same board, both measured
Long documents
Listed context window
GPT-5.1-Codex
GPT-5.1-Codex takes 400K tokens against 203K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5 Turbo
GLM 5 Turbo $0.0032, GPT-5.1-Codex $0.0063 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5.1-Codex has the number, $0.892.
Directional only
At a glance
- Coding index
- GLM 5 Turbo not benchmarked, GPT-5.1-Codex 15.3 from 2 benchmarks.
- Widest category
- Agentic work, 15.5 points apart on average over 1 shared benchmark.
- Widest single gap
- ALE-Bench: GLM 5 Turbo 634.0 against GPT-5.1-Codex 1244.9, 20.4 points apart on a 0 to 100 scale.
- Output price
- GLM 5 Turbo $4.00 against GPT-5.1-Codex $10.00 per million output tokens, 2.5x apart.
- Context window
- GLM 5 Turbo takes 203K tokens, GPT-5.1-Codex 400K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | GLM 5 Turbo | Bars | GPT-5.1-Codex | Ties |
|---|---|---|---|---|
| Coding | 0 | 2 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 1 | 1 | ||
| Web design | 5 | 0 | ||
| General | 2 | 0 | ||
| All shared boards | 10 | 3 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
| Benchmark | GLM 5 Turbo | GPT-5.1-Codex | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 66.0% | Only GPT-5.1-Codex measured |
| LMArena WebDev | Not measured | 1337 | Only GPT-5.1-Codex measured |
| LiveCodeBench (Vals AI) | Not measured | 85.5% | Only GPT-5.1-Codex measured |
| Vibe Code Bench (Vals AI) | Not measured | 13.1% | Only GPT-5.1-Codex measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 84.9% | Only GPT-5.1-Codex measured |
| Terminal-Bench Hard (Artificial Analysis run) | 33.3% | 34.8% | GPT-5.1-Codex |
| Terminal-Bench | Not measured | 57.8% | Only GPT-5.1-Codex measured |
| ALE-Bench | 634.0 | 1244.9 | GPT-5.1-Codex |
| LMArena WebDev: HTML | Not measured | 1346 | Only GPT-5.1-Codex measured |
| Neither model has a result on the other 30 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 5 Turbo | GPT-5.1-Codex | Leader |
|---|---|---|---|
| AA Intelligence Index | 26.6 | 23.7 | GLM 5 Turbo |
| Neither model has a result on the other 1 board here | |||
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 5 Turbo | GPT-5.1-Codex | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | Not measured | 1018 | Only GPT-5.1-Codex measured |
| Design Arena: agents building full-stack apps | Not measured | 1086 | Only GPT-5.1-Codex measured |
| Design Arena: agents building mobile apps | Not measured | 1191 | Only GPT-5.1-Codex measured |
| τ²-Bench Telecom | 98.5% | 83.0% | GLM 5 Turbo |
| Neither model has a result on the other 37 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | GLM 5 Turbo | GPT-5.1-Codex | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 84.7% | 86.0% | GPT-5.1-Codex |
| Humanity's Last Exam (Artificial Analysis run) | 27.8% | 25.7% | GLM 5 Turbo |
| Neither model has a result on the other 20 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | GLM 5 Turbo | GPT-5.1-Codex | Leader |
|---|---|---|---|
| AA Math Index | Not measured | 95.7 | Only GPT-5.1-Codex measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 95.7% | Only GPT-5.1-Codex measured |
| Neither model has a result on the other 11 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | GLM 5 Turbo | GPT-5.1-Codex | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | Not measured | 86.0% | Only GPT-5.1-Codex measured |
| Neither model has a result on the other 17 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | GLM 5 Turbo | GPT-5.1-Codex | Leader |
|---|---|---|---|
| Design Arena: websites | 1262 | 1162 | GLM 5 Turbo |
| Design Arena: UI components | 1263 | 1237 | GLM 5 Turbo |
| Design Arena: game dev | 1248 | 1138 | GLM 5 Turbo |
| Design Arena: data viz | 1264 | 1213 | GLM 5 Turbo |
| Design Arena: 3D | 1248 | Not measured | Only GLM 5 Turbo measured |
| Design Arena: all code categories | 1262 | 1152 | GLM 5 Turbo |
| Design Arena: SVG | 1206 | Not measured | Only GLM 5 Turbo measured |
| Design Arena: ASCII art | 1160 | Not measured | Only GLM 5 Turbo measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GLM 5 Turbo | GPT-5.1-Codex | Leader |
|---|---|---|---|
| IFBench | 73.2% | 70.0% | GLM 5 Turbo |
| Long context reasoning (AA-LCR) | 71.7% | 69.3% | GLM 5 Turbo |
| Neither model has a result on the other 44 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5 Turbo | GPT-5.1-Codex | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
GLM 5 Turbo costs less
Repository review
50K input + 3K output tokens
GLM 5 Turbo costs less
Agent loop
200K input + 10K output tokens
GLM 5 Turbo costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Z.ai GLM 5 Turbo | OpenAI GPT-5.1-Codex |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | March 15, 2026 | November 13, 2025 |
| Context window | 203K | 400K |
| Input $/Mtok | $1.20 | $1.25 |
| Output $/Mtok | $4.00 | $10.00 |
| Coding index | Not benchmarked | 15.3 |
| Independent measurements behind it | 0 | 2 |
| Cost per solved task | Not computable | $0.892 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5 Turbo better than GPT-5.1-Codex for coding?
Only GPT-5.1-Codex has a coding score, 15.3 on the Vibe Coding Index; GLM 5 Turbo has none, so the two cannot be ranked on coding. Pick GLM 5 Turbo for output tokens 2.5x cheaper ($4.00 vs $10.00 per million) and work measured by AA Intelligence Index or τ²-Bench Telecom, where it leads.
Which is cheaper, GLM 5 Turbo or GPT-5.1-Codex?
GLM 5 Turbo costs $1.20 per million input tokens and $4.00 per million output tokens; GPT-5.1-Codex costs $1.25 and $10.00. Cost per solved task is known for GPT-5.1-Codex only.
Which has the bigger context window, GLM 5 Turbo or GPT-5.1-Codex?
GPT-5.1-Codex, with 400K tokens against 203K.
How many benchmarks is the GLM 5 Turbo vs GPT-5.1-Codex comparison based on?
13 benchmarks have a result for both models as of October 21, 2026. GLM 5 Turbo's coding index rests on 0 independent benchmarks and GPT-5.1-Codex's on 2. Where only one model has a result, the page says so instead of naming a winner.