Enter opens the highlighted result. Esc closes.

GLM 4.5 Air vs GPT-5.1-Codex

GPT-5.1-Codex leads GLM 4.5 Air on the Artificial Analysis Intelligence Index, 23.7 to 11.1, and GLM 4.5 Air costs 9.1x less per output token ($1.10 vs $10.00 per million). Updated October 21, 2026; 16 benchmarks have a result for both.

GLM 4.5 AirZ.ai
Coding
No data
Overall
No data
Output $/M
$1.10
0
GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
16
vs boards won of 16 shared

GLM 4.5 Air 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 4.5 Air has none, so the two cannot be ranked on coding.

Pick GLM 4.5 Air for output tokens 9.1x cheaper ($1.10 vs $10.00 per million).

Shared results
16
GLM 4.5 Air only
32
GPT-5.1-Codex only
10
Like-for-like categories
8 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.

At a glance

Coding index
GLM 4.5 Air not benchmarked, GPT-5.1-Codex 15.3 from 2 benchmarks.
Widest category
Agentic work, 36.5 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: GLM 4.5 Air 46.5% against GPT-5.1-Codex 83.0%, 36.5 points apart on a 0 to 100 scale.
Output price
GLM 4.5 Air $1.10 against GPT-5.1-Codex $10.00 per million output tokens, 9.1x apart.
Context window
GLM 4.5 Air takes 131K 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.

Boards won, where both have a result
CategoryGLM 4.5 AirBarsGPT-5.1-CodexTies
Coding02
Intelligence01
Agentic work01
Reasoning02
Math02
Knowledge01
Web design05
General02
All shared boards016
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for GLM 4.5 Air and GPT-5.1-Codex
BenchmarkGLM 4.5 AirGPT-5.1-CodexLeader
SWE-bench VerifiedNot measured66.0%Only GPT-5.1-Codex measured
LMArena WebDevNot measured1337Only GPT-5.1-Codex measured
LiveCodeBench (Vals AI)Not measured85.5%Only GPT-5.1-Codex measured
Vibe Code Bench (Vals AI)Not measured13.1%Only GPT-5.1-Codex measured
LiveCodeBench (Artificial Analysis run)68.4%84.9%GPT-5.1-Codex
Terminal-Bench Hard (Artificial Analysis run)20.5%34.8%GPT-5.1-Codex
Terminal-BenchNot measured57.8%Only GPT-5.1-Codex measured
GSO-Bench2.9%Not measuredOnly GLM 4.5 Air measured
ALE-BenchNot measured1244.9Only GPT-5.1-Codex measured
LMArena Text: coding1397Not measuredOnly GLM 4.5 Air measured
LMArena Text: software and IT1401Not measuredOnly GLM 4.5 Air measured
LMArena WebDev: HTMLNot measured1346Only GPT-5.1-Codex measured
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.5 Air and GPT-5.1-Codex
BenchmarkGLM 4.5 AirGPT-5.1-CodexLeader
AA Intelligence Index11.123.7GPT-5.1-Codex
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GLM 4.5 Air and GPT-5.1-Codex
BenchmarkGLM 4.5 AirGPT-5.1-CodexLeader
Design Arena: agents building web appsNot measured1018Only GPT-5.1-Codex measured
Design Arena: agents building full-stack appsNot measured1086Only GPT-5.1-Codex measured
Design Arena: agents building mobile appsNot measured1191Only GPT-5.1-Codex measured
τ²-Bench Telecom46.5%83.0%GPT-5.1-Codex
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
Reasoning benchmarks for GLM 4.5 Air and GPT-5.1-Codex
BenchmarkGLM 4.5 AirGPT-5.1-CodexLeader
GPQA Diamond (Artificial Analysis run)73.3%86.0%GPT-5.1-Codex
Humanity's Last Exam (Artificial Analysis run)7.0%25.7%GPT-5.1-Codex
LMArena Text: hard prompts1379Not measuredOnly GLM 4.5 Air measured
LMArena Text: expert1370Not measuredOnly GLM 4.5 Air measured
LMArena Text: hard prompts in English1388Not measuredOnly GLM 4.5 Air measured
Kagi LLM Benchmark43.0%Not measuredOnly GLM 4.5 Air measured
Neither model has a result on the other 16 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GLM 4.5 Air and GPT-5.1-Codex
BenchmarkGLM 4.5 AirGPT-5.1-CodexLeader
AA Math Index80.795.7GPT-5.1-Codex
AIME 2025 (Artificial Analysis run)80.7%95.7%GPT-5.1-Codex
LMArena Text: math1396Not measuredOnly GLM 4.5 Air measured
LMArena Text: mathematical work1396Not measuredOnly GLM 4.5 Air measured
Neither model has a result on the other 9 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
Knowledge benchmarks for GLM 4.5 Air and GPT-5.1-Codex
BenchmarkGLM 4.5 AirGPT-5.1-CodexLeader
MMLU Pro (Artificial Analysis run)81.5%86.0%GPT-5.1-Codex
LMArena Text: science1407Not measuredOnly GLM 4.5 Air measured
LMArena Text: medicine and healthcare1402Not measuredOnly GLM 4.5 Air measured
LMArena Text: legal and government1382Not measuredOnly GLM 4.5 Air measured
LMArena Text: business and finance1371Not measuredOnly GLM 4.5 Air measured
Neither model has a result on the other 13 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index05
Web design benchmarks for GLM 4.5 Air and GPT-5.1-Codex
BenchmarkGLM 4.5 AirGPT-5.1-CodexLeader
Design Arena: websites11461162GPT-5.1-Codex
Design Arena: UI components11231237GPT-5.1-Codex
Design Arena: game dev10941138GPT-5.1-Codex
Design Arena: data viz11861213GPT-5.1-Codex
Design Arena: 3D1123Not measuredOnly GLM 4.5 Air measured
Design Arena: all code categories11371152GPT-5.1-Codex
Design Arena: SVG1071Not measuredOnly GLM 4.5 Air measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for GLM 4.5 Air and GPT-5.1-Codex
BenchmarkGLM 4.5 AirGPT-5.1-CodexLeader
IFBench37.6%70.0%GPT-5.1-Codex
Long context reasoning (AA-LCR)46.7%69.3%GPT-5.1-Codex
LMArena Text1384Not measuredOnly GLM 4.5 Air measured
LMArena Text: instruction following1354Not measuredOnly GLM 4.5 Air measured
LMArena Text: creative writing1343Not measuredOnly GLM 4.5 Air measured
LMArena Text: English1397Not measuredOnly GLM 4.5 Air measured
LMArena Text: non-English1366Not measuredOnly GLM 4.5 Air measured
LMArena Text: Chinese1426Not measuredOnly GLM 4.5 Air measured
LMArena Text: German1377Not measuredOnly GLM 4.5 Air measured
LMArena Text: Japanese1348Not measuredOnly GLM 4.5 Air measured
LMArena Text: Korean1308Not measuredOnly GLM 4.5 Air measured
LMArena Text: French1400Not measuredOnly GLM 4.5 Air measured
LMArena Text: Spanish1385Not measuredOnly GLM 4.5 Air measured
LMArena Text: Russian1373Not measuredOnly GLM 4.5 Air measured
LMArena Text: Polish1368Not measuredOnly GLM 4.5 Air measured
LMArena Text: multi-turn1371Not measuredOnly GLM 4.5 Air measured
LMArena Text: longer queries1366Not measuredOnly GLM 4.5 Air measured
LMArena Text: writing and language1354Not measuredOnly GLM 4.5 Air measured
LMArena Text: entertainment and media1339Not measuredOnly GLM 4.5 Air measured
Neither model has a result on the other 27 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.5 Air and GPT-5.1-Codex
BenchmarkGLM 4.5 AirGPT-5.1-CodexLeader
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 4.5 Air$0.0008Fits in one request
GPT-5.1-Codex$0.0063Fits in one request

GLM 4.5 Air costs less

Repository review

50K input + 3K output tokens

GLM 4.5 Air$0.013Fits in one request
GPT-5.1-Codex$0.092Fits in one request

GLM 4.5 Air costs less

Agent loop

200K input + 10K output tokens

GLM 4.5 Air$0.051Exceeds the context window
GPT-5.1-Codex$0.350Fits in one request

GLM 4.5 Air 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.

Specifications of GLM 4.5 Air and GPT-5.1-Codex
SpecificationZ.ai GLM 4.5 AirOpenAI GPT-5.1-Codex
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 25, 2025November 13, 2025
Context window131K400K
Input $/Mtok$0.20$1.25
Output $/Mtok$1.10$10.00
Coding indexNot benchmarked15.3
Independent measurements behind it02
Cost per solved taskNot computable$0.892
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.5 Air 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 4.5 Air has none, so the two cannot be ranked on coding. Pick GLM 4.5 Air for output tokens 9.1x cheaper ($1.10 vs $10.00 per million).

Which is cheaper, GLM 4.5 Air or GPT-5.1-Codex?

GLM 4.5 Air costs $0.20 per million input tokens and $1.10 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 4.5 Air or GPT-5.1-Codex?

GPT-5.1-Codex, with 400K tokens against 131K.

How many benchmarks is the GLM 4.5 Air vs GPT-5.1-Codex comparison based on?

16 benchmarks have a result for both models as of October 21, 2026. GLM 4.5 Air'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.

Compare next