GLM 4.5 Air vs Phi 4
Updated October 21, 2026. 38 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Neither model has a coding score yet, so the two cannot be ranked on coding.
GLM 4.5 Air has the edge where the context window is larger, 131K against 16K tokens.
- Shared results
- 38
- GLM 4.5 Air only
- 9
- Phi 4 only
- 7
- Like-for-like categories
- 7 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
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
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
GLM 4.5 Air
GLM 4.5 Air leads, 11.1 against 5.9.
Same board, both measured
Web design
Design Arena: websites
No call
Only GLM 4.5 Air has a Design Arena: websites result, 1147.
Directional only
Long documents
Listed context window
GLM 4.5 Air
GLM 4.5 Air takes 131K tokens against 16K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Phi 4
GLM 4.5 Air $0.0008, Phi 4 $0.0001 per turn.
List prices
At a glance
- Coding index
- GLM 4.5 Air not benchmarked, Phi 4 not benchmarked.
- Widest category
- Agentic work, 46.5 points apart on average over 1 shared benchmark.
- Widest single gap
- AA Math Index: GLM 4.5 Air 80.7 against Phi 4 18.0, 62.7 points apart on a 0 to 100 scale.
- Output price
- GLM 4.5 Air $1.10 against Phi 4 $0.14 per million output tokens, 7.9x apart.
- Context window
- GLM 4.5 Air takes 131K tokens, Phi 4 16K.
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 4.5 Air | Bars | Phi 4 | Ties |
|---|---|---|---|---|
| Coding | 4 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 5 | 0 | ||
| Math | 4 | 0 | ||
| Knowledge | 5 | 0 | ||
| General | 18 | 0 | ||
| All shared boards | 38 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
| Benchmark | GLM 4.5 Air | Phi 4 | Leader |
|---|---|---|---|
| LiveCodeBench (Artificial Analysis run) | 68.4% | 23.1% | GLM 4.5 Air |
| Terminal-Bench Hard (Artificial Analysis run) | 20.5% | 3.8% | GLM 4.5 Air |
| GSO-Bench | 2.9% | Not measured | Only GLM 4.5 Air measured |
| LMArena Text: coding | 1397 | 1231 | GLM 4.5 Air |
| LMArena Text: software and IT | 1401 | 1228 | GLM 4.5 Air |
| Neither model has a result on the other 33 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 4.5 Air | Phi 4 | Leader |
|---|---|---|---|
| AA Intelligence Index | 11.1 | 5.9 | GLM 4.5 Air |
| Epoch Capabilities Index | Not measured | 130.5 | Only Phi 4 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 4.5 Air | Phi 4 | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 46.5% | 0.0% | GLM 4.5 Air |
| BALROG | Not measured | 11.6% | Only Phi 4 measured |
| Neither model has a result on the other 37 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | GLM 4.5 Air | Phi 4 | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 73.3% | 57.5% | GLM 4.5 Air |
| Humanity's Last Exam (Artificial Analysis run) | 7.0% | 3.8% | GLM 4.5 Air |
| GPQA Diamond (Epoch AI run) | Not measured | 56.1% | Only Phi 4 measured |
| LMArena Text: hard prompts | 1379 | 1220 | GLM 4.5 Air |
| LMArena Text: expert | 1370 | 1203 | GLM 4.5 Air |
| LMArena Text: hard prompts in English | 1388 | 1230 | GLM 4.5 Air |
| Neither model has a result on the other 15 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | GLM 4.5 Air | Phi 4 | Leader |
|---|---|---|---|
| AA Math Index | 80.7 | 18.0 | GLM 4.5 Air |
| AIME 2025 (Artificial Analysis run) | 80.7% | 18.0% | GLM 4.5 Air |
| OTIS Mock AIME | Not measured | 13.8% | Only Phi 4 measured |
| MATH level 5 | Not measured | 64.9% | Only Phi 4 measured |
| LMArena Text: math | 1396 | 1246 | GLM 4.5 Air |
| LMArena Text: mathematical work | 1396 | 1254 | GLM 4.5 Air |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | GLM 4.5 Air | Phi 4 | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | 81.5% | 71.4% | GLM 4.5 Air |
| MMLU | Not measured | 84.8% | Only Phi 4 measured |
| LMArena Text: science | 1407 | 1206 | GLM 4.5 Air |
| LMArena Text: medicine and healthcare | 1402 | 1202 | GLM 4.5 Air |
| LMArena Text: legal and government | 1382 | 1241 | GLM 4.5 Air |
| LMArena Text: business and finance | 1371 | 1199 | GLM 4.5 Air |
| Neither model has a result on the other 11 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | GLM 4.5 Air | Phi 4 | Leader |
|---|---|---|---|
| Design Arena: websites | 1147 | Not measured | Only GLM 4.5 Air measured |
| Design Arena: UI components | 1123 | Not measured | Only GLM 4.5 Air measured |
| Design Arena: game dev | 1094 | Not measured | Only GLM 4.5 Air measured |
| Design Arena: data viz | 1186 | Not measured | Only GLM 4.5 Air measured |
| Design Arena: 3D | 1122 | Not measured | Only GLM 4.5 Air measured |
| Design Arena: all code categories | 1137 | Not measured | Only GLM 4.5 Air measured |
| Design Arena: SVG | 1071 | Not measured | Only 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 index180
| Benchmark | GLM 4.5 Air | Phi 4 | Leader |
|---|---|---|---|
| IFBench | 37.6% | 23.5% | GLM 4.5 Air |
| Long context reasoning (AA-LCR) | 46.7% | 0.0% | GLM 4.5 Air |
| Creative writing (Lech Mazur) | Not measured | 62.6% | Only Phi 4 measured |
| LMArena Text | 1384 | 1217 | GLM 4.5 Air |
| LMArena Text: instruction following | 1354 | 1201 | GLM 4.5 Air |
| LMArena Text: creative writing | 1343 | 1181 | GLM 4.5 Air |
| LMArena Text: English | 1397 | 1231 | GLM 4.5 Air |
| LMArena Text: non-English | 1366 | 1197 | GLM 4.5 Air |
| LMArena Text: Chinese | 1426 | 1212 | GLM 4.5 Air |
| LMArena Text: German | 1377 | 1222 | GLM 4.5 Air |
| LMArena Text: Japanese | 1348 | 1158 | GLM 4.5 Air |
| LMArena Text: Korean | 1308 | 1151 | GLM 4.5 Air |
| LMArena Text: French | 1400 | 1224 | GLM 4.5 Air |
| LMArena Text: Spanish | 1385 | 1234 | GLM 4.5 Air |
| LMArena Text: Russian | 1373 | 1209 | GLM 4.5 Air |
| LMArena Text: Polish | 1368 | Not measured | Only GLM 4.5 Air measured |
| LMArena Text: multi-turn | 1371 | 1206 | GLM 4.5 Air |
| LMArena Text: longer queries | 1366 | 1217 | GLM 4.5 Air |
| LMArena Text: writing and language | 1354 | 1198 | GLM 4.5 Air |
| LMArena Text: entertainment and media | 1339 | 1162 | GLM 4.5 Air |
| Neither model has a result on the other 26 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 4.5 Air | Phi 4 | 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
Phi 4 costs less
Repository review
50K input + 3K output tokens
Phi 4 costs less
Agent loop
200K input + 10K output tokens
Phi 4 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 4.5 Air | Microsoft Phi 4 |
|---|---|---|
| Maker | Z.ai | Microsoft |
| Weights | Open weights | Open weights |
| Released | July 25, 2025 | January 10, 2025 |
| Context window | 131K | 16K |
| Input $/Mtok | $0.20 | $0.07 |
| Output $/Mtok | $1.10 | $0.14 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 4.5 Air better than Phi 4 for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. GLM 4.5 Air has the edge where the context window is larger, 131K against 16K tokens.
Which is cheaper, GLM 4.5 Air or Phi 4?
GLM 4.5 Air costs $0.20 per million input tokens and $1.10 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for neither of them.
Which has the bigger context window, GLM 4.5 Air or Phi 4?
GLM 4.5 Air, with 131K tokens against 16K.
How many benchmarks is the GLM 4.5 Air vs Phi 4 comparison based on?
38 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 Phi 4's on 0. Where only one model has a result, the page says so instead of naming a winner.