Enter opens the highlighted result. Esc closes.

GLM 5 vs GPT-5 Nano

GLM 5 leads GPT-5 Nano on the Artificial Analysis Intelligence Index, 27.9 to 13.0, and GPT-5 Nano costs 8.0x less per output token ($0.40 vs $3.20 per million). Updated October 22, 2026; 57 benchmarks have a result for both.

GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
55
GPT-5 NanoOpenAI
Coding
No data
Overall
35.6
Output $/M
$0.40
2
vs boards won of 57 shared

GLM 5 or GPT-5 Nano: which to pick

Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; GPT-5 Nano has none, so the two cannot be ranked on coding.

Pick GPT-5 Nano for output tokens 8.0x cheaper ($0.40 vs $3.20 per million) and a lower cost per solved task ($0.109 against $0.63).

Shared results
57
GLM 5 only
19
GPT-5 Nano only
30
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, GPT-5 Nano not benchmarked.
Widest category
Agentic work, 61.7 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: GLM 5 98.2% against GPT-5 Nano 36.5%, 61.7 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against GPT-5 Nano $0.40 per million output tokens, 8.0x apart.
Context window
GLM 5 takes 205K tokens, GPT-5 Nano 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 5BarsGPT-5 NanoTies
Coding70
Intelligence20
Agentic work10
Reasoning100
Math31
Knowledge81
Web design60
General180
All shared boards552
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
Coding benchmarks for GLM 5 and GPT-5 Nano
BenchmarkGLM 5GPT-5 NanoLeader
SWE-bench Verified72.8%34.8%GLM 5
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LMArena WebDev1435Not measuredOnly GLM 5 measured
LiveCodeBench (Vals AI)81.9%70.2%GLM 5
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 measured78.9%Only GPT-5 Nano measured
Terminal-Bench Hard (Artificial Analysis run)43.2%17.4%GLM 5
Terminal-Bench52.4%21.8%GLM 5
WeirdML48.2%38.1%GLM 5
ALE-Bench765.6Not measuredOnly GLM 5 measured
LMArena Text: coding14611351GLM 5
LMArena Text: software and IT14601345GLM 5
LMArena WebDev: React1424Not measuredOnly GLM 5 measured
LMArena WebDev: HTML1450Not measuredOnly GLM 5 measured
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 5 and GPT-5 Nano
BenchmarkGLM 5GPT-5 NanoLeader
AA Intelligence Index27.913.0GLM 5
Epoch Capabilities Index145.8139.2GLM 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 5 and GPT-5 Nano
BenchmarkGLM 5GPT-5 NanoLeader
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 apps1147Not measuredOnly GLM 5 measured
Design Arena: agents building Godot games1144Not measuredOnly GLM 5 measured
Design Arena: HTML slides1098Not measuredOnly GLM 5 measured
τ²-Bench Telecom98.2%36.5%GLM 5
Vending-Bench 2$4,432Not measuredOnly GLM 5 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured51.4%Only GPT-5 Nano measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index100
Reasoning benchmarks for GLM 5 and GPT-5 Nano
BenchmarkGLM 5GPT-5 NanoLeader
GPQA Diamond83.3%63.4%GLM 5
MMMU Pro (Vals AI)Not measured70.9%Only GPT-5 Nano measured
GPQA Diamond (Artificial Analysis run)82.0%67.6%GLM 5
Humanity's Last Exam (Artificial Analysis run)29.3%9.5%GLM 5
GPQA Diamond (Epoch AI run)87.8%69.4%GLM 5
ARC-AGI44.7%20.7%GLM 5
ARC-AGI-24.9%2.6%GLM 5
SimpleBench53.2%Not measuredOnly GLM 5 measured
Chess puzzlesNot measured22.0%Only GPT-5 Nano measured
Mystery game puzzlesNot measured9.0%Only GPT-5 Nano measured
VPCTNot measured37.2%Only GPT-5 Nano measured
LMArena Text: hard prompts14521328GLM 5
LMArena Text: expert14541321GLM 5
LMArena Text: hard prompts in English14601338GLM 5
LMArena Vision: diagramsNot measured1141Only GPT-5 Nano measured
LMArena Vision: homeworkNot measured1157Only GPT-5 Nano measured
Kagi LLM Benchmark75.0%62.2%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 GPT-5 Nano
BenchmarkGLM 5GPT-5 NanoLeader
AIME91.7%81.2%GLM 5
MATH 500 (Vals AI)Not measured93.8%Only GPT-5 Nano measured
MGSM (Vals AI)Not measured89.3%Only GPT-5 Nano measured
AA Math IndexNot measured83.7Only GPT-5 Nano measured
AIME 2025 (Artificial Analysis run)Not measured83.7%Only GPT-5 Nano measured
OTIS Mock AIME80.0%81.1%GPT-5 Nano
FrontierMath, tiers 1 to 3Not measured20.0%Only GPT-5 Nano measured
FrontierMath, tier 4Not measured2.4%Only GPT-5 Nano measured
ProofBenchNot measured12.0%Only GPT-5 Nano measured
MATH level 5Not measured95.2%Only GPT-5 Nano measured
LMArena Text: math14401317GLM 5
LMArena Text: mathematical work14511326GLM 5
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index81
Knowledge benchmarks for GLM 5 and GPT-5 Nano
BenchmarkGLM 5GPT-5 NanoLeader
MMLU Pro86.0%76.1%GLM 5
LegalBench (Vals AI)84.1%50.1%GLM 5
CaseLaw (Vals AI)52.5%52.6%GPT-5 Nano
CorpFin (Vals AI)62.9%Not measuredOnly GLM 5 measured
TaxEval (Vals AI)70.0%67.4%GLM 5
MortgageTax (Vals AI)Not measured53.6%Only GPT-5 Nano measured
MedQA (Vals AI)94.3%93.3%GLM 5
MedCode (Vals AI)Not measured30.4%Only GPT-5 Nano measured
MMLU Pro (Artificial Analysis run)Not measured78.0%Only GPT-5 Nano measured
SimpleQA VerifiedNot measured11.7%Only GPT-5 Nano measured
LMArena Text: science14601318GLM 5
LMArena Text: medicine and healthcare14551335GLM 5
LMArena Text: legal and government14531298GLM 5
LMArena Text: business and finance14301311GLM 5
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for GLM 5 and GPT-5 Nano
BenchmarkGLM 5GPT-5 NanoLeader
Design Arena: websites12471101GLM 5
Design Arena: UI components12271064GLM 5
Design Arena: game dev12341044GLM 5
Design Arena: data viz12281056GLM 5
Design Arena: 3D1228965GLM 5
Design Arena: all code categories12461084GLM 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 index180
General benchmarks for GLM 5 and GPT-5 Nano
BenchmarkGLM 5GPT-5 NanoLeader
SAGE (Vals AI)Not measured30.4%Only GPT-5 Nano measured
MedScribe (Vals AI)Not measured72.9%Only GPT-5 Nano measured
IFBench72.3%67.6%GLM 5
Long context reasoning (AA-LCR)75.7%45.0%GLM 5
DTBenchNot measured62.7%Only GPT-5 Nano measured
LMCANot measured7.9%Only GPT-5 Nano measured
Fiction.LiveBenchNot measured44.4%Only GPT-5 Nano measured
CL-bench18.7%Not measuredOnly GLM 5 measured
LMArena Text14461320GLM 5
LMArena Text: instruction following14281306GLM 5
LMArena Text: creative writing14381249GLM 5
LMArena VisionNot measured1159Only GPT-5 Nano measured
LMArena Text: English14581321GLM 5
LMArena Text: non-English14301313GLM 5
LMArena Text: Chinese15111356GLM 5
LMArena Text: German14471327GLM 5
LMArena Text: Japanese14161227GLM 5
LMArena Text: Korean14231269GLM 5
LMArena Text: French1456Not measuredOnly GLM 5 measured
LMArena Text: Spanish14541360GLM 5
LMArena Text: Russian14361296GLM 5
LMArena Text: Polish14341314GLM 5
LMArena Text: multi-turn14561311GLM 5
LMArena Text: longer queries14461312GLM 5
LMArena Text: writing and language14371283GLM 5
LMArena Text: entertainment and media14261268GLM 5
LMArena Vision: EnglishNot measured1170Only GPT-5 Nano measured
LMArena Vision: ChineseNot measured1176Only GPT-5 Nano measured
LMArena Vision: reading textNot measured1152Only GPT-5 Nano measured
LMArena Vision: humorNot measured1110Only GPT-5 Nano measured
Neither model has a result on the other 16 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5 and GPT-5 Nano
BenchmarkGLM 5GPT-5 NanoLeader
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
GPT-5 Nano$0.0003Fits in one request

GPT-5 Nano costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
GPT-5 Nano$0.0037Fits in one request

GPT-5 Nano costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
GPT-5 Nano$0.014Fits in one request

GPT-5 Nano 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 GPT-5 Nano
SpecificationZ.ai GLM 5OpenAI GPT-5 Nano
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedFebruary 11, 2026August 7, 2025
Context window205K400K
Input $/Mtok$1.00$0.05
Output $/Mtok$3.20$0.40
Coding index41.7Not benchmarked
Independent measurements behind it30
Cost per solved task$0.63$0.109
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5 better than GPT-5 Nano for coding?

Only GLM 5 has a coding score, 41.7 on the Vibe Coding Index; GPT-5 Nano has none, so the two cannot be ranked on coding. Pick GPT-5 Nano for output tokens 8.0x cheaper ($0.40 vs $3.20 per million) and a lower cost per solved task ($0.109 against $0.63).

Which is cheaper, GLM 5 or GPT-5 Nano?

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; GPT-5 Nano costs $0.05 and $0.40. Per solved SWE-bench Verified task, GLM 5 costs $0.63 and GPT-5 Nano $0.109.

Which has the bigger context window, GLM 5 or GPT-5 Nano?

GPT-5 Nano, with 400K tokens against 205K.

How many benchmarks is the GLM 5 vs GPT-5 Nano comparison based on?

57 benchmarks have a result for both models as of October 22, 2026. GLM 5's coding index rests on 3 independent benchmarks and GPT-5 Nano's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next