GLM 5 vs o3
GLM 5 leads o3 on the Artificial Analysis Intelligence Index, 27.9 to 20.2, and GLM 5 costs 2.5x less per output token ($3.20 vs $8.00 per million). Updated October 21, 2026; 59 benchmarks have a result for both.
GLM 5 or o3: which to pick
Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; o3 has none, so the two cannot be ranked on coding.
Pick o3 for a lower cost per solved task ($0.571 against $0.63) and work measured by LiveCodeBench (Vals AI) or WeirdML, where it leads.
- Shared results
- 59
- GLM 5 only
- 17
- o3 only
- 43
- 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
Only GLM 5 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GLM 5
GLM 5 leads, 27.9 against 20.2.
Same board, both measured
Reasoning
GPQA Diamond
o3
o3 leads, 84.1% against 83.3%.
Same board, both measured
Math
AIME
GLM 5
GLM 5 leads, 91.7% against 85.3%.
Same board, both measured
Knowledge
MMLU Pro
GLM 5
GLM 5 leads, 86.0% against 85.6%.
Same board, both measured
Web design
Design Arena: websites
GLM 5
GLM 5 leads, 1247 against 1036.
Same board, both measured
Long documents
Listed context window
GLM 5
GLM 5 takes 205K tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5
GLM 5 $0.0026, o3 $0.0060 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
o3
GLM 5 $0.63, o3 $0.571.
Published attempt cost and pass rate
At a glance
- Coding index
- GLM 5 41.7 from 3 benchmarks, o3 not benchmarked.
- Widest category
- Web design, 21.9 points apart on average over 5 shared benchmarks.
- Widest single gap
- Design Arena: all code categories: GLM 5 1246 against o3 1020, 28.3 points apart on a 0 to 100 scale.
- Output price
- GLM 5 $3.20 against o3 $8.00 per million output tokens, 2.5x apart.
- Context window
- GLM 5 takes 205K tokens, o3 200K.
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 | Bars | o3 | Ties |
|---|---|---|---|---|
| Coding | 4 | 3 | ||
| Intelligence | 1 | 1 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 7 | 4 | ||
| Math | 3 | 1 | ||
| Knowledge | 7 | 2 | ||
| Web design | 5 | 0 | ||
| General | 19 | 1 | ||
| All shared boards | 47 | 12 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index43
| Benchmark | GLM 5 | o3 | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 81.3% | Only o3 measured |
| SWE-bench Verified | 72.8% | 58.4% | GLM 5 |
| SWE-bench Multimodal | Not measured | 36.0% | Only o3 measured |
| SWE-bench Multilingual | 69.7% | Not measured | Only GLM 5 measured |
| LMArena WebDev | 1435 | Not measured | Only GLM 5 measured |
| LiveCodeBench (Vals AI) | 81.9% | 83.9% | o3 |
| SWE-bench Verified (Vals AI) | 71.4% | Not measured | Only GLM 5 measured |
| Vibe Code Bench (Vals AI) | 23.4% | Not measured | Only GLM 5 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 80.8% | Only o3 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 43.2% | 37.1% | GLM 5 |
| Terminal-Bench | 52.4% | Not measured | Only GLM 5 measured |
| GSO-Bench | Not measured | 8.8% | Only o3 measured |
| WeirdML | 48.2% | 52.4% | o3 |
| ALE-Bench | 765.6 | 933.5 | o3 |
| LMArena Text: coding | 1461 | 1407 | GLM 5 |
| LMArena Text: software and IT | 1460 | 1415 | GLM 5 |
| LMArena WebDev: React | 1424 | Not measured | Only GLM 5 measured |
| LMArena WebDev: HTML | 1450 | Not measured | Only GLM 5 measured |
| SciCode | Not measured | 9.2% | Only o3 measured |
| Neither model has a result on the other 20 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | GLM 5 | o3 | Leader |
|---|---|---|---|
| AA Intelligence Index | 27.9 | 20.2 | GLM 5 |
| Epoch Capabilities Index | 145.8 | 146.7 | o3 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GLM 5 | o3 | Leader |
|---|---|---|---|
| Design Arena: agents building full-stack apps | 1123 | Not measured | Only GLM 5 measured |
| Design Arena: agents building mobile apps | 1136 | Not measured | Only GLM 5 measured |
| Design Arena: agents building Android apps | 1146 | Not measured | Only GLM 5 measured |
| Design Arena: agents building Godot games | 1144 | Not measured | Only GLM 5 measured |
| Design Arena: HTML slides | 1148 | Not measured | Only GLM 5 measured |
| τ²-Bench Telecom | 98.2% | 80.7% | GLM 5 |
| METR time horizons | Not measured | 65.4% | Only o3 measured |
| GDPval | Not measured | 30.8% | Only o3 measured |
| DeepResearch Bench | Not measured | 45.2% | Only o3 measured |
| OSWorld | Not measured | 23.0% | Only o3 measured |
| Vending-Bench 2 | $4,432 | Not measured | Only GLM 5 measured |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 63.0% | Only o3 measured |
| BrowseComp-Plus | Not measured | 65.9% | Only o3 measured |
| Neither model has a result on the other 28 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index74
| Benchmark | GLM 5 | o3 | Leader |
|---|---|---|---|
| GPQA Diamond | 83.3% | 84.1% | o3 |
| MMMU Pro (Vals AI) | Not measured | 80.4% | Only o3 measured |
| GPQA Diamond (Artificial Analysis run) | 82.0% | 82.7% | o3 |
| Humanity's Last Exam (Artificial Analysis run) | 29.3% | 20.1% | GLM 5 |
| GPQA Diamond (Epoch AI run) | 87.8% | 81.8% | GLM 5 |
| ARC-AGI | 44.7% | 60.8% | o3 |
| ARC-AGI-2 | 4.9% | 6.5% | o3 |
| SimpleBench | 53.2% | 53.1% | GLM 5 |
| Chess puzzles | Not measured | 37.0% | Only o3 measured |
| Mystery game puzzles | Not measured | 29.0% | Only o3 measured |
| VPCT | Not measured | 52.0% | Only o3 measured |
| LMArena Text: hard prompts | 1452 | 1402 | GLM 5 |
| LMArena Text: expert | 1454 | 1402 | GLM 5 |
| LMArena Text: hard prompts in English | 1460 | 1411 | GLM 5 |
| LMArena Vision: diagrams | Not measured | 1220 | Only o3 measured |
| LMArena Vision: homework | Not measured | 1234 | Only o3 measured |
| Kagi LLM Benchmark | 75.0% | 67.6% | GLM 5 |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index31
| Benchmark | GLM 5 | o3 | Leader |
|---|---|---|---|
| AIME | 91.7% | 85.3% | GLM 5 |
| MATH 500 (Vals AI) | Not measured | 94.6% | Only o3 measured |
| MGSM (Vals AI) | Not measured | 91.8% | Only o3 measured |
| AA Math Index | Not measured | 88.3 | Only o3 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 88.3% | Only o3 measured |
| OTIS Mock AIME | 80.0% | 84.4% | o3 |
| FrontierMath, tiers 1 to 3 | Not measured | 33.3% | Only o3 measured |
| MATH level 5 | Not measured | 97.8% | Only o3 measured |
| LMArena Text: math | 1440 | 1426 | GLM 5 |
| LMArena Text: mathematical work | 1451 | 1423 | GLM 5 |
| Neither model has a result on the other 3 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index72
| Benchmark | GLM 5 | o3 | Leader |
|---|---|---|---|
| MMLU Pro | 86.0% | 85.6% | GLM 5 |
| LegalBench (Vals AI) | 84.1% | 83.8% | GLM 5 |
| CaseLaw (Vals AI) | 52.5% | Not measured | Only GLM 5 measured |
| CorpFin (Vals AI) | 62.9% | 59.7% | GLM 5 |
| TaxEval (Vals AI) | 70.0% | 74.6% | o3 |
| MortgageTax (Vals AI) | Not measured | 65.7% | Only o3 measured |
| MedQA (Vals AI) | 94.3% | 96.1% | o3 |
| MedCode (Vals AI) | Not measured | 47.3% | Only o3 measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 85.3% | Only o3 measured |
| SimpleQA Verified | Not measured | 49.4% | Only o3 measured |
| GeoBench | Not measured | 74.0% | Only o3 measured |
| LMArena Text: science | 1460 | 1429 | GLM 5 |
| LMArena Text: medicine and healthcare | 1455 | 1448 | GLM 5 |
| LMArena Text: legal and government | 1453 | 1428 | GLM 5 |
| LMArena Text: business and finance | 1430 | 1393 | GLM 5 |
| FACTS Benchmark Suite | Not measured | 44.4% | Only o3 measured |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | GLM 5 | o3 | Leader |
|---|---|---|---|
| Design Arena: websites | 1247 | 1036 | GLM 5 |
| Design Arena: UI components | 1230 | 1017 | GLM 5 |
| Design Arena: game dev | 1234 | 1034 | GLM 5 |
| Design Arena: data viz | 1228 | 1200 | GLM 5 |
| Design Arena: 3D | 1229 | Not measured | Only GLM 5 measured |
| Design Arena: all code categories | 1246 | 1020 | GLM 5 |
| Design Arena: SVG | 1168 | Not measured | Only GLM 5 measured |
| Design Arena: ASCII art | 1147 | Not measured | Only GLM 5 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index191
| Benchmark | GLM 5 | o3 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 41.8% | Only o3 measured |
| MedScribe (Vals AI) | Not measured | 76.7% | Only o3 measured |
| IFBench | 72.3% | 71.4% | GLM 5 |
| Long context reasoning (AA-LCR) | 75.7% | 74.7% | GLM 5 |
| DTBench | Not measured | 84.8% | Only o3 measured |
| LMCA | Not measured | 39.7% | Only o3 measured |
| Fiction.LiveBench | Not measured | 88.9% | Only o3 measured |
| Creative writing (Lech Mazur) | Not measured | 83.9% | Only o3 measured |
| CL-bench | 18.7% | 17.8% | GLM 5 |
| LMArena Text | 1446 | 1410 | GLM 5 |
| LMArena Text: instruction following | 1428 | 1368 | GLM 5 |
| LMArena Text: creative writing | 1438 | 1359 | GLM 5 |
| LMArena Vision | Not measured | 1214 | Only o3 measured |
| LMArena Text: English | 1458 | 1417 | GLM 5 |
| LMArena Text: non-English | 1430 | 1401 | GLM 5 |
| LMArena Text: Chinese | 1511 | 1437 | GLM 5 |
| LMArena Text: German | 1447 | 1420 | GLM 5 |
| LMArena Text: Japanese | 1416 | 1403 | GLM 5 |
| LMArena Text: Korean | 1423 | 1370 | GLM 5 |
| LMArena Text: French | 1456 | 1430 | GLM 5 |
| LMArena Text: Spanish | 1454 | 1395 | GLM 5 |
| LMArena Text: Russian | 1436 | 1406 | GLM 5 |
| LMArena Text: Polish | 1434 | 1438 | o3 |
| LMArena Text: multi-turn | 1456 | 1405 | GLM 5 |
| LMArena Text: longer queries | 1446 | 1372 | GLM 5 |
| LMArena Text: writing and language | 1437 | 1372 | GLM 5 |
| LMArena Text: entertainment and media | 1426 | 1373 | GLM 5 |
| LMArena Vision: English | Not measured | 1221 | Only o3 measured |
| LMArena Vision: Chinese | Not measured | 1237 | Only o3 measured |
| LMArena Vision: reading text | Not measured | 1218 | Only o3 measured |
| LMArena Vision: humor | Not measured | 1222 | Only o3 measured |
| LMArena Vision: captioning | Not measured | 1210 | Only o3 measured |
| LMArena Vision: recognizing things | Not measured | 1234 | Only o3 measured |
| LMArena Vision: creative writing | Not measured | 1201 | Only o3 measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5 | o3 | 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 costs less
Repository review
50K input + 3K output tokens
GLM 5 costs less
Agent loop
200K input + 10K output tokens
GLM 5 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 | OpenAI o3 |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | Open weights | No public weights listed |
| Released | February 11, 2026 | April 16, 2025 |
| Context window | 205K | 200K |
| Input $/Mtok | $1.00 | $2.00 |
| Output $/Mtok | $3.20 | $8.00 |
| Coding index | 41.7 | Not benchmarked |
| Independent measurements behind it | 3 | 0 |
| Cost per solved task | $0.63 | $0.571 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5 better than o3 for coding?
Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; o3 has none, so the two cannot be ranked on coding. Pick o3 for a lower cost per solved task ($0.571 against $0.63) and work measured by LiveCodeBench (Vals AI) or WeirdML, where it leads.
Which is cheaper, GLM 5 or o3?
GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; o3 costs $2.00 and $8.00. Per solved SWE-bench Verified task, GLM 5 costs $0.63 and o3 $0.571.
Which has the bigger context window, GLM 5 or o3?
GLM 5, with 205K tokens against 200K.
How many benchmarks is the GLM 5 vs o3 comparison based on?
59 benchmarks have a result for both models as of October 21, 2026. GLM 5's coding index rests on 3 independent benchmarks and o3's on 0. Where only one model has a result, the page says so instead of naming a winner.