Enter opens the highlighted result. Esc closes.

GLM 5.3 vs GPT-4

GLM 5.3 leads GPT-4 on the Artificial Analysis Intelligence Index, 44.8 to 6.7, and GLM 5.3 costs 13.6x less per output token ($4.40 vs $60.00 per million). Updated October 21, 2026; 34 benchmarks have a result for both.

GLM 5.3Z.ai
Coding
70.6
Overall
67.9
Output $/M
$4.40
34
GPT-4OpenAI
Coding
No data
Overall
No data
Output $/M
$60.00
0
vs boards won of 34 shared

GLM 5.3 or GPT-4: which to pick

Only GLM 5.3 has a coding score, 70.6 on the Vibe Coding Index; GPT-4 has none, so the two cannot be ranked on coding.

Compare them on price, context and the boards below.

Shared results
34
GLM 5.3 only
66
GPT-4 only
11
Like-for-like categories
6 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.3 70.6 from 6 benchmarks, GPT-4 not benchmarked.
Widest category
Reasoning, 53.4 points apart on average over 4 shared benchmarks.
Widest single gap
LMArena Text: Korean: GLM 5.3 1460 against GPT-4 1087, 62.2 points apart on a 0 to 100 scale.
Output price
GLM 5.3 $4.40 against GPT-4 $60.00 per million output tokens, 13.6x apart.
Context window
GLM 5.3 takes 1.05M tokens, GPT-4 8K.

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 5.3BarsGPT-4Ties
Coding30
Intelligence20
Reasoning40
Math20
Knowledge40
General190
All shared boards340
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for GLM 5.3 and GPT-4
BenchmarkGLM 5.3GPT-4Leader
SWE-bench VerifiedNot measured22.4%Only GPT-4 measured
SWE-bench LiteNot measured39.7%Only GPT-4 measured
SWE-bench (full test set)Not measured12.5%Only GPT-4 measured
LiveBench coding82.8%Not measuredOnly GLM 5.3 measured
LMArena WebDev1621Not measuredOnly GLM 5.3 measured
AA Coding Index74.813.1GLM 5.3
LiveCodeBench (Vals AI)80.5%Not measuredOnly GLM 5.3 measured
SWE-bench Verified (Vals AI)95.4%Not measuredOnly GLM 5.3 measured
Terminal-Bench 4 (Vals AI)38.9%Not measuredOnly GLM 5.3 measured
Vibe Code Bench (Vals AI)78.1%Not measuredOnly GLM 5.3 measured
Code migration (Vals AI)44.2%Not measuredOnly GLM 5.3 measured
ProgramBench (Vals AI)1.5%Not measuredOnly GLM 5.3 measured
IOI (Vals AI)68.4%Not measuredOnly GLM 5.3 measured
Terminal-Bench 2.1 (Vals AI)71.5%Not measuredOnly GLM 5.3 measured
Vibe Code Bench 1-100 (Vals AI)20.0%Not measuredOnly GLM 5.3 measured
SkillsBench (Vals AI)47.5%Not measuredOnly GLM 5.3 measured
CyberBench (Vals AI)72.1%Not measuredOnly GLM 5.3 measured
SciCode59.0%Not measuredOnly GLM 5.3 measured
FrontierCode40.1%Not measuredOnly GLM 5.3 measured
FrontierSWE30.2%Not measuredOnly GLM 5.3 measured
WeirdML75.4%Not measuredOnly GLM 5.3 measured
ALE-Bench1317.4Not measuredOnly GLM 5.3 measured
LMArena Text: coding14971209GLM 5.3
LMArena Text: software and IT14931195GLM 5.3
LMArena WebDev: React1641Not measuredOnly GLM 5.3 measured
LMArena WebDev: HTML1595Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 5.3 and GPT-4
BenchmarkGLM 5.3GPT-4Leader
AA Intelligence Index44.86.7GLM 5.3
Epoch Capabilities Index156.0125.7GLM 5.3
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index16 boards, none shared
Agentic work benchmarks for GLM 5.3 and GPT-4
BenchmarkGLM 5.3GPT-4Leader
AA Agentic Index53.1Not measuredOnly GLM 5.3 measured
Design Arena: agents building mobile apps1194Not measuredOnly GLM 5.3 measured
Design Arena: HTML slides1189Not measuredOnly GLM 5.3 measured
Design Arena: PowerPoint slides1254Not measuredOnly GLM 5.3 measured
LiveBench research73.2%Not measuredOnly GLM 5.3 measured
LiveBench browser0.0%Not measuredOnly GLM 5.3 measured
LiveBench long agentic35.9%Not measuredOnly GLM 5.3 measured
SREBench (Vals AI)9.2%Not measuredOnly GLM 5.3 measured
Finance Agent (Vals AI)55.8%Not measuredOnly GLM 5.3 measured
Tax Agent Bench (Vals AI)39.7%Not measuredOnly GLM 5.3 measured
Legal Research Bench (Vals AI)49.0%Not measuredOnly GLM 5.3 measured
Harvey's Legal Agent Benchmark (Vals AI)14.6%Not measuredOnly GLM 5.3 measured
Excel Modeling Benchmark (Vals AI)56.3%Not measuredOnly GLM 5.3 measured
Terminal-Bench-Science (Vals AI)5.7%Not measuredOnly GLM 5.3 measured
APEX-Agents56.6%Not measuredOnly GLM 5.3 measured
Vending-Bench 2$8,164Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 25 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index40
Reasoning benchmarks for GLM 5.3 and GPT-4
BenchmarkGLM 5.3GPT-4Leader
GPQA Diamond88.1%Not measuredOnly GLM 5.3 measured
LiveBench reasoning85.8%Not measuredOnly GLM 5.3 measured
MysteryMechanism (Vals AI)23.0%Not measuredOnly GLM 5.3 measured
GPQA Diamond (Artificial Analysis run)91.7%34.9%GLM 5.3
Humanity's Last Exam (Artificial Analysis run)42.3%Not measuredOnly GLM 5.3 measured
GPQA Diamond (Epoch AI run)90.9%Not measuredOnly GLM 5.3 measured
Chess puzzles37.0%Not measuredOnly GLM 5.3 measured
Mystery game puzzles33.0%Not measuredOnly GLM 5.3 measured
BIG-Bench HardNot measured75.1%Only GPT-4 measured
LMArena Text: hard prompts14901200GLM 5.3
LMArena Text: expert15141149GLM 5.3
LMArena Text: hard prompts in English14961209GLM 5.3
Neither model has a result on the other 10 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for GLM 5.3 and GPT-4
BenchmarkGLM 5.3GPT-4Leader
OTIS Mock AIME91.1%Not measuredOnly GLM 5.3 measured
FrontierMath, tiers 1 to 368.8%Not measuredOnly GLM 5.3 measured
FrontierMath, tier 429.3%Not measuredOnly GLM 5.3 measured
ProofBench49.0%Not measuredOnly GLM 5.3 measured
GSM8KNot measured92.0%Only GPT-4 measured
LMArena Text: math14951230GLM 5.3
LMArena Text: mathematical work14971228GLM 5.3
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for GLM 5.3 and GPT-4
BenchmarkGLM 5.3GPT-4Leader
MMLU Pro86.8%Not measuredOnly GLM 5.3 measured
LegalBench (Vals AI)84.8%Not measuredOnly GLM 5.3 measured
TaxEval (Vals AI)72.4%Not measuredOnly GLM 5.3 measured
MedCode (Vals AI)42.9%Not measuredOnly GLM 5.3 measured
MMLU Pro (Artificial Analysis run)Not measured56.2%Only GPT-4 measured
SimpleQA Verified41.0%Not measuredOnly GLM 5.3 measured
MMLUNot measured86.4%Only GPT-4 measured
AI2 Reasoning ChallengeNot measured96.3%Only GPT-4 measured
LMArena Text: science14981177GLM 5.3
LMArena Text: medicine and healthcare14811145GLM 5.3
LMArena Text: legal and government14731191GLM 5.3
LMArena Text: business and finance14591145GLM 5.3
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for GLM 5.3 and GPT-4
BenchmarkGLM 5.3GPT-4Leader
Design Arena: websites1295Not measuredOnly GLM 5.3 measured
Design Arena: UI components1314Not measuredOnly GLM 5.3 measured
Design Arena: game dev1311Not measuredOnly GLM 5.3 measured
Design Arena: data viz1259Not measuredOnly GLM 5.3 measured
Design Arena: 3D1332Not measuredOnly GLM 5.3 measured
Design Arena: all code categories1304Not measuredOnly GLM 5.3 measured
Design Arena: SVG1293Not measuredOnly GLM 5.3 measured
Design Arena: ASCII art1213Not measuredOnly GLM 5.3 measured
LiveBench design77.3%Not measuredOnly GLM 5.3 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
General benchmarks for GLM 5.3 and GPT-4
BenchmarkGLM 5.3GPT-4Leader
Vals Index59.7%Not measuredOnly GLM 5.3 measured
LiveBench data analysis70.2%Not measuredOnly GLM 5.3 measured
Public Benefits Bench (Vals AI)68.5%Not measuredOnly GLM 5.3 measured
MedScribe (Vals AI)88.8%Not measuredOnly GLM 5.3 measured
IFBenchNot measured33.2%Only GPT-4 measured
Long context reasoning (AA-LCR)79.7%Not measuredOnly GLM 5.3 measured
DTBench87.7%62.7%GLM 5.3
LMCA55.5%17.1%GLM 5.3
HellaSwagNot measured95.3%Only GPT-4 measured
WinoGrandeNot measured87.5%Only GPT-4 measured
LMArena Text14741206GLM 5.3
LMArena Text: instruction following14791201GLM 5.3
LMArena Text: creative writing14581191GLM 5.3
LMArena Text: English14821220GLM 5.3
LMArena Text: non-English14591194GLM 5.3
LMArena Text: Chinese15321184GLM 5.3
LMArena Text: German14881198GLM 5.3
LMArena Text: Japanese14601137GLM 5.3
LMArena Text: Korean14601087GLM 5.3
LMArena Text: French15031220GLM 5.3
LMArena Text: Spanish14621197GLM 5.3
LMArena Text: Russian14691195GLM 5.3
LMArena Text: Polish14661265GLM 5.3
LMArena Text: multi-turn14721206GLM 5.3
LMArena Text: longer queries14831190GLM 5.3
LMArena Text: writing and language14691219GLM 5.3
LMArena Text: entertainment and media14471184GLM 5.3
Neither model has a result on the other 19 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.3 and GPT-4
BenchmarkGLM 5.3GPT-4Leader
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.3$0.0036Fits in one request
GPT-4$0.060Fits in one request

GLM 5.3 costs less

Repository review

50K input + 3K output tokens

GLM 5.3$0.083Fits in one request
GPT-4$1.68Exceeds the context window

GLM 5.3 costs less

Agent loop

200K input + 10K output tokens

GLM 5.3$0.324Fits in one request
GPT-4$6.60Exceeds the context window

GLM 5.3 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.3 and GPT-4
SpecificationZ.ai GLM 5.3OpenAI GPT-4
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedAugust 18, 2026May 28, 2023
Context window1.05M8K
Input $/Mtok$1.40$30.00
Output $/Mtok$4.40$60.00
Coding index70.6Not benchmarked
Independent measurements behind it60
Cost per solved task$0.36Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.3 better than GPT-4 for coding?

Only GLM 5.3 has a coding score, 70.6 on the Vibe Coding Index; GPT-4 has none, so the two cannot be ranked on coding. Compare them on price, context and the boards below.

Which is cheaper, GLM 5.3 or GPT-4?

GLM 5.3 costs $1.40 per million input tokens and $4.40 per million output tokens; GPT-4 costs $30.00 and $60.00. Cost per solved task is known for GLM 5.3 only.

Which has the bigger context window, GLM 5.3 or GPT-4?

GLM 5.3, with 1.05M tokens against 8K.

How many benchmarks is the GLM 5.3 vs GPT-4 comparison based on?

34 benchmarks have a result for both models as of October 21, 2026. GLM 5.3's coding index rests on 6 independent benchmarks and GPT-4's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next