Enter opens the highlighted result. Esc closes.

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 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
47
o3OpenAI
Coding
No data
Overall
51.1
Output $/M
$8.00
12
vs boards won of 59 shared

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.

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.

Boards won, where both have a result
CategoryGLM 5Barso3Ties
Coding43
Intelligence11
Agentic work10
Reasoning74
Math31
Knowledge72
Web design50
General191
All shared boards4712
CodingLike-for-likeSix of these boards feed the Vibe Coding Index43
Coding benchmarks for GLM 5 and o3
BenchmarkGLM 5o3Leader
Aider polyglotNot measured81.3%Only o3 measured
SWE-bench Verified72.8%58.4%GLM 5
SWE-bench MultimodalNot measured36.0%Only o3 measured
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LMArena WebDev1435Not measuredOnly GLM 5 measured
LiveCodeBench (Vals AI)81.9%83.9%o3
SWE-bench Verified (Vals AI)71.4%Not measuredOnly GLM 5 measured
Vibe Code Bench (Vals AI)23.4%Not measuredOnly GLM 5 measured
LiveCodeBench (Artificial Analysis run)Not measured80.8%Only o3 measured
Terminal-Bench Hard (Artificial Analysis run)43.2%37.1%GLM 5
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
GSO-BenchNot measured8.8%Only o3 measured
WeirdML48.2%52.4%o3
ALE-Bench765.6933.5o3
LMArena Text: coding14611407GLM 5
LMArena Text: software and IT14601415GLM 5
LMArena WebDev: React1424Not measuredOnly GLM 5 measured
LMArena WebDev: HTML1450Not measuredOnly GLM 5 measured
SciCodeNot measured9.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
Intelligence benchmarks for GLM 5 and o3
BenchmarkGLM 5o3Leader
AA Intelligence Index27.920.2GLM 5
Epoch Capabilities Index145.8146.7o3
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 5 and o3
BenchmarkGLM 5o3Leader
Design Arena: agents building full-stack apps1123Not measuredOnly GLM 5 measured
Design Arena: agents building mobile apps1136Not measuredOnly GLM 5 measured
Design Arena: agents building Android apps1146Not measuredOnly GLM 5 measured
Design Arena: agents building Godot games1144Not measuredOnly GLM 5 measured
Design Arena: HTML slides1148Not measuredOnly GLM 5 measured
τ²-Bench Telecom98.2%80.7%GLM 5
METR time horizonsNot measured65.4%Only o3 measured
GDPvalNot measured30.8%Only o3 measured
DeepResearch BenchNot measured45.2%Only o3 measured
OSWorldNot measured23.0%Only o3 measured
Vending-Bench 2$4,432Not measuredOnly GLM 5 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured63.0%Only o3 measured
BrowseComp-PlusNot measured65.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
Reasoning benchmarks for GLM 5 and o3
BenchmarkGLM 5o3Leader
GPQA Diamond83.3%84.1%o3
MMMU Pro (Vals AI)Not measured80.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-AGI44.7%60.8%o3
ARC-AGI-24.9%6.5%o3
SimpleBench53.2%53.1%GLM 5
Chess puzzlesNot measured37.0%Only o3 measured
Mystery game puzzlesNot measured29.0%Only o3 measured
VPCTNot measured52.0%Only o3 measured
LMArena Text: hard prompts14521402GLM 5
LMArena Text: expert14541402GLM 5
LMArena Text: hard prompts in English14601411GLM 5
LMArena Vision: diagramsNot measured1220Only o3 measured
LMArena Vision: homeworkNot measured1234Only o3 measured
Kagi LLM Benchmark75.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
Math benchmarks for GLM 5 and o3
BenchmarkGLM 5o3Leader
AIME91.7%85.3%GLM 5
MATH 500 (Vals AI)Not measured94.6%Only o3 measured
MGSM (Vals AI)Not measured91.8%Only o3 measured
AA Math IndexNot measured88.3Only o3 measured
AIME 2025 (Artificial Analysis run)Not measured88.3%Only o3 measured
OTIS Mock AIME80.0%84.4%o3
FrontierMath, tiers 1 to 3Not measured33.3%Only o3 measured
MATH level 5Not measured97.8%Only o3 measured
LMArena Text: math14401426GLM 5
LMArena Text: mathematical work14511423GLM 5
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index72
Knowledge benchmarks for GLM 5 and o3
BenchmarkGLM 5o3Leader
MMLU Pro86.0%85.6%GLM 5
LegalBench (Vals AI)84.1%83.8%GLM 5
CaseLaw (Vals AI)52.5%Not measuredOnly GLM 5 measured
CorpFin (Vals AI)62.9%59.7%GLM 5
TaxEval (Vals AI)70.0%74.6%o3
MortgageTax (Vals AI)Not measured65.7%Only o3 measured
MedQA (Vals AI)94.3%96.1%o3
MedCode (Vals AI)Not measured47.3%Only o3 measured
MMLU Pro (Artificial Analysis run)Not measured85.3%Only o3 measured
SimpleQA VerifiedNot measured49.4%Only o3 measured
GeoBenchNot measured74.0%Only o3 measured
LMArena Text: science14601429GLM 5
LMArena Text: medicine and healthcare14551448GLM 5
LMArena Text: legal and government14531428GLM 5
LMArena Text: business and finance14301393GLM 5
FACTS Benchmark SuiteNot measured44.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
Web design benchmarks for GLM 5 and o3
BenchmarkGLM 5o3Leader
Design Arena: websites12471036GLM 5
Design Arena: UI components12301017GLM 5
Design Arena: game dev12341034GLM 5
Design Arena: data viz12281200GLM 5
Design Arena: 3D1229Not measuredOnly GLM 5 measured
Design Arena: all code categories12461020GLM 5
Design Arena: SVG1168Not measuredOnly GLM 5 measured
Design Arena: ASCII art1147Not measuredOnly 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
General benchmarks for GLM 5 and o3
BenchmarkGLM 5o3Leader
SAGE (Vals AI)Not measured41.8%Only o3 measured
MedScribe (Vals AI)Not measured76.7%Only o3 measured
IFBench72.3%71.4%GLM 5
Long context reasoning (AA-LCR)75.7%74.7%GLM 5
DTBenchNot measured84.8%Only o3 measured
LMCANot measured39.7%Only o3 measured
Fiction.LiveBenchNot measured88.9%Only o3 measured
Creative writing (Lech Mazur)Not measured83.9%Only o3 measured
CL-bench18.7%17.8%GLM 5
LMArena Text14461410GLM 5
LMArena Text: instruction following14281368GLM 5
LMArena Text: creative writing14381359GLM 5
LMArena VisionNot measured1214Only o3 measured
LMArena Text: English14581417GLM 5
LMArena Text: non-English14301401GLM 5
LMArena Text: Chinese15111437GLM 5
LMArena Text: German14471420GLM 5
LMArena Text: Japanese14161403GLM 5
LMArena Text: Korean14231370GLM 5
LMArena Text: French14561430GLM 5
LMArena Text: Spanish14541395GLM 5
LMArena Text: Russian14361406GLM 5
LMArena Text: Polish14341438o3
LMArena Text: multi-turn14561405GLM 5
LMArena Text: longer queries14461372GLM 5
LMArena Text: writing and language14371372GLM 5
LMArena Text: entertainment and media14261373GLM 5
LMArena Vision: EnglishNot measured1221Only o3 measured
LMArena Vision: ChineseNot measured1237Only o3 measured
LMArena Vision: reading textNot measured1218Only o3 measured
LMArena Vision: humorNot measured1222Only o3 measured
LMArena Vision: captioningNot measured1210Only o3 measured
LMArena Vision: recognizing thingsNot measured1234Only o3 measured
LMArena Vision: creative writingNot measured1201Only 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
Image generation benchmarks for GLM 5 and o3
BenchmarkGLM 5o3Leader
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$0.0026Fits in one request
o3$0.0060Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
o3$0.124Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
o3$0.480Exceeds the context window

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.

Specifications of GLM 5 and o3
SpecificationZ.ai GLM 5OpenAI o3
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedFebruary 11, 2026April 16, 2025
Context window205K200K
Input $/Mtok$1.00$2.00
Output $/Mtok$3.20$8.00
Coding index41.7Not benchmarked
Independent measurements behind it30
Cost per solved task$0.63$0.571
SourceOpenRouter listingOpenRouter 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.

Compare next