GLM 4.5 vs gpt-oss-20b
GLM 4.5 leads gpt-oss-20b on the Artificial Analysis Intelligence Index, 12.8 to 10.0, and gpt-oss-20b costs 14.7x less per output token ($0.15 vs $2.20 per million). Updated October 21, 2026; 52 benchmarks have a result for both.
GLM 4.5 or gpt-oss-20b: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick GLM 4.5 for work measured by LiveCodeBench (Vals AI) or LiveCodeBench (Artificial Analysis run), where it leads.
- Shared results
- 52
- GLM 4.5 only
- 8
- gpt-oss-20b only
- 8
- 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.
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
GLM 4.5 leads, 12.8 against 10.0.
Same board, both measured
Reasoning
GPQA Diamond
GLM 4.5
GLM 4.5 leads, 72.2% against 68.9%.
Same board, both measured
Math
AIME
GLM 4.5
GLM 4.5 leads, 86.7% against 86.0%.
Same board, both measured
Knowledge
MMLU Pro
GLM 4.5
GLM 4.5 leads, 81.2% against 71.6%.
Same board, both measured
Web design
Design Arena: websites
GLM 4.5
GLM 4.5 leads, 1170 against 852.
Same board, both measured
Long documents
Listed context window
No call
Both take 131K tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
gpt-oss-20b
GLM 4.5 $0.0017, gpt-oss-20b $0.0001 per turn.
List prices
At a glance
- Coding index
- GLM 4.5 not benchmarked, gpt-oss-20b not benchmarked.
- Widest category
- Web design, 34.0 points apart on average over 2 shared benchmarks.
- Widest single gap
- Design Arena: websites: GLM 4.5 1170 against gpt-oss-20b 852, 39.8 points apart on a 0 to 100 scale.
- Output price
- GLM 4.5 $2.20 against gpt-oss-20b $0.15 per million output tokens, 14.7x apart.
- Context window
- Both take 131K tokens.
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 | Bars | gpt-oss-20b | Ties |
|---|---|---|---|---|
| Coding | 3 | 4 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 6 | 0 | ||
| Math | 4 | 3 | ||
| Knowledge | 10 | 0 | ||
| Web design | 2 | 0 | ||
| General | 17 | 1 | ||
| All shared boards | 43 | 9 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index34
| Benchmark | GLM 4.5 | gpt-oss-20b | Leader |
|---|---|---|---|
| SWE-bench Verified | 64.2% | Not measured | Only GLM 4.5 measured |
| LiveCodeBench (Vals AI) | 67.5% | 80.4% | gpt-oss-20b |
| LiveCodeBench (Artificial Analysis run) | 73.8% | 77.7% | gpt-oss-20b |
| SciCode | Not measured | 38.9% | Only gpt-oss-20b measured |
| Terminal-Bench Hard (Artificial Analysis run) | 22.0% | 10.6% | GLM 4.5 |
| Terminal-Bench | Not measured | 3.4% | Only gpt-oss-20b measured |
| WeirdML | 40.6% | 40.9% | gpt-oss-20b |
| ALE-Bench | 344.8 | 566.0 | gpt-oss-20b |
| LMArena Text: coding | 1434 | 1307 | GLM 4.5 |
| LMArena Text: software and IT | 1440 | 1311 | GLM 4.5 |
| Neither model has a result on the other 28 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 4.5 | gpt-oss-20b | Leader |
|---|---|---|---|
| AA Intelligence Index | 12.8 | 10.0 | GLM 4.5 |
| Epoch Capabilities Index | Not measured | 137.7 | Only gpt-oss-20b measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GLM 4.5 | gpt-oss-20b | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 43.0% | 60.2% | gpt-oss-20b |
| Neither model has a result on the other 38 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | GLM 4.5 | gpt-oss-20b | Leader |
|---|---|---|---|
| GPQA Diamond | 72.2% | 68.9% | GLM 4.5 |
| GPQA Diamond (Artificial Analysis run) | 78.2% | 68.8% | GLM 4.5 |
| Humanity's Last Exam (Artificial Analysis run) | 13.0% | 11.0% | GLM 4.5 |
| GPQA Diamond (Epoch AI run) | Not measured | 60.8% | Only gpt-oss-20b measured |
| LMArena Text: hard prompts | 1429 | 1274 | GLM 4.5 |
| LMArena Text: expert | 1433 | 1258 | GLM 4.5 |
| LMArena Text: hard prompts in English | 1429 | 1292 | GLM 4.5 |
| Neither model has a result on the other 14 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index43
| Benchmark | GLM 4.5 | gpt-oss-20b | Leader |
|---|---|---|---|
| AIME | 86.7% | 86.0% | GLM 4.5 |
| MATH 500 (Vals AI) | 94.0% | 94.2% | gpt-oss-20b |
| MGSM (Vals AI) | 90.8% | 89.0% | GLM 4.5 |
| AA Math Index | 73.7 | 89.3 | gpt-oss-20b |
| AIME 2025 (Artificial Analysis run) | 73.7% | 89.3% | gpt-oss-20b |
| OTIS Mock AIME | Not measured | 65.3% | Only gpt-oss-20b measured |
| LMArena Text: math | 1427 | 1317 | GLM 4.5 |
| LMArena Text: mathematical work | 1430 | 1305 | GLM 4.5 |
| Neither model has a result on the other 5 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index100
| Benchmark | GLM 4.5 | gpt-oss-20b | Leader |
|---|---|---|---|
| MMLU Pro | 81.2% | 71.6% | GLM 4.5 |
| LegalBench (Vals AI) | 75.6% | 70.8% | GLM 4.5 |
| CaseLaw (Vals AI) | Not measured | 43.8% | Only gpt-oss-20b measured |
| CorpFin (Vals AI) | 61.0% | 53.1% | GLM 4.5 |
| TaxEval (Vals AI) | 72.4% | 63.7% | GLM 4.5 |
| MedQA (Vals AI) | 90.0% | 82.9% | GLM 4.5 |
| MMLU Pro (Artificial Analysis run) | 83.5% | 74.8% | GLM 4.5 |
| LMArena Text: science | 1444 | 1296 | GLM 4.5 |
| LMArena Text: medicine and healthcare | 1455 | 1310 | GLM 4.5 |
| LMArena Text: legal and government | 1438 | 1280 | GLM 4.5 |
| LMArena Text: business and finance | 1420 | 1284 | GLM 4.5 |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GLM 4.5 | gpt-oss-20b | Leader |
|---|---|---|---|
| Design Arena: websites | 1170 | 852 | GLM 4.5 |
| Design Arena: UI components | 1144 | Not measured | Only GLM 4.5 measured |
| Design Arena: game dev | 1145 | Not measured | Only GLM 4.5 measured |
| Design Arena: data viz | 1159 | 933 | GLM 4.5 |
| Design Arena: 3D | 1170 | Not measured | Only GLM 4.5 measured |
| Design Arena: all code categories | 1165 | Not measured | Only GLM 4.5 measured |
| Design Arena: SVG | 1096 | Not measured | Only GLM 4.5 measured |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index171
| Benchmark | GLM 4.5 | gpt-oss-20b | Leader |
|---|---|---|---|
| IFBench | 44.1% | 65.1% | gpt-oss-20b |
| Long context reasoning (AA-LCR) | 52.7% | 34.7% | GLM 4.5 |
| DTBench | Not measured | 68.0% | Only gpt-oss-20b measured |
| LMCA | Not measured | 14.5% | Only gpt-oss-20b measured |
| Creative writing (Lech Mazur) | 73.4% | Not measured | Only GLM 4.5 measured |
| LMArena Text | 1430 | 1288 | GLM 4.5 |
| LMArena Text: instruction following | 1404 | 1236 | GLM 4.5 |
| LMArena Text: creative writing | 1395 | 1201 | GLM 4.5 |
| LMArena Text: English | 1437 | 1303 | GLM 4.5 |
| LMArena Text: non-English | 1417 | 1269 | GLM 4.5 |
| LMArena Text: Chinese | 1465 | 1315 | GLM 4.5 |
| LMArena Text: German | 1407 | 1255 | GLM 4.5 |
| LMArena Text: Japanese | 1415 | 1244 | GLM 4.5 |
| LMArena Text: Korean | 1380 | 1236 | GLM 4.5 |
| LMArena Text: French | 1418 | Not measured | Only GLM 4.5 measured |
| LMArena Text: Spanish | 1454 | 1267 | GLM 4.5 |
| LMArena Text: Russian | 1413 | 1278 | GLM 4.5 |
| LMArena Text: Polish | 1422 | 1252 | GLM 4.5 |
| LMArena Text: multi-turn | 1415 | 1268 | GLM 4.5 |
| LMArena Text: longer queries | 1412 | 1250 | GLM 4.5 |
| LMArena Text: writing and language | 1403 | 1238 | GLM 4.5 |
| LMArena Text: entertainment and media | 1404 | 1216 | GLM 4.5 |
| Neither model has a result on the other 24 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 4.5 | gpt-oss-20b | 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
gpt-oss-20b costs less
Repository review
50K input + 3K output tokens
gpt-oss-20b costs less
Agent loop
200K input + 10K output tokens
gpt-oss-20b 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 | OpenAI gpt-oss-20b |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | Open weights | Open weights |
| Released | July 25, 2025 | August 5, 2025 |
| Context window | 131K | 131K |
| Input $/Mtok | $0.60 | $0.03 |
| Output $/Mtok | $2.20 | $0.15 |
| 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 better than gpt-oss-20b for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick GLM 4.5 for work measured by LiveCodeBench (Vals AI) or LiveCodeBench (Artificial Analysis run), where it leads.
Which is cheaper, GLM 4.5 or gpt-oss-20b?
GLM 4.5 costs $0.60 per million input tokens and $2.20 per million output tokens; gpt-oss-20b costs $0.03 and $0.15. Cost per solved task is known for neither of them.
Which has the bigger context window, GLM 4.5 or gpt-oss-20b?
Neither: both take 131K tokens.
How many benchmarks is the GLM 4.5 vs gpt-oss-20b comparison based on?
52 benchmarks have a result for both models as of October 21, 2026. GLM 4.5's coding index rests on 0 independent benchmarks and gpt-oss-20b's on 0. Where only one model has a result, the page says so instead of naming a winner.