LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GLM 4.5 vs GPT-5.1

Updated October 21, 2026. 57 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GLM 4.5Z.ai
Coding
64.2
Overall
12.8
Output $/M
$2.20
2
GPT-5.1OpenAI
Coding
53.3
Overall
24.7
Output $/M
$10.00
55
vs boards won of 57 shared

Decision reading

Pick GLM 4.5 for coding: it scores 64.2 on the Vibe Coding Index against 53.3 for GPT-5.1, though on 1 benchmark against 2.

Pick GPT-5.1 when the context window is larger, 400K against 131K tokens, or when what matters is SWE-bench Verified or LiveCodeBench (Vals AI), where it leads.

Shared results
57
GLM 4.5 only
3
GPT-5.1 only
43
Like-for-like categories
8 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 4.5 64.2 from 1 benchmark, GPT-5.1 53.3 from 2 benchmarks.
Widest category
Agentic work, 38.9 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: GLM 4.5 43.0% against GPT-5.1 81.9%, 38.9 points apart on a 0 to 100 scale.
Output price
GLM 4.5 $2.20 against GPT-5.1 $10.00 per million output tokens, 4.5x apart.
Context window
GLM 4.5 takes 131K tokens, GPT-5.1 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 4.5BarsGPT-5.1Ties
Coding07
Intelligence01
Agentic work01
Reasoning06
Math06
Knowledge010
Web design16
General118
All shared boards255
CodingLike-for-likeFour of these boards feed the Vibe Coding Index07
Coding benchmarks for GLM 4.5 and GPT-5.1
BenchmarkGLM 4.5GPT-5.1Leader
SWE-bench Verified64.2%66.0%GPT-5.1
LMArena WebDevNot measured1396Only GPT-5.1 measured
AA Coding IndexNot measured49.4Only GPT-5.1 measured
LiveCodeBench (Vals AI)67.5%86.5%GPT-5.1
SWE-bench Verified (Vals AI)Not measured69.8%Only GPT-5.1 measured
Vibe Code Bench (Vals AI)Not measured24.6%Only GPT-5.1 measured
LiveCodeBench (Artificial Analysis run)73.8%86.8%GPT-5.1
Terminal-Bench Hard (Artificial Analysis run)22.0%45.5%GPT-5.1
Terminal-BenchNot measured47.6%Only GPT-5.1 measured
GSO-BenchNot measured13.7%Only GPT-5.1 measured
WeirdML40.6%60.8%GPT-5.1
ALE-Bench344.8Not measuredOnly GLM 4.5 measured
LMArena Text: coding14341453GPT-5.1
LMArena Text: software and IT14401454GPT-5.1
LMArena WebDev: ReactNot measured1307Only GPT-5.1 measured
LMArena WebDev: HTMLNot measured1405Only GPT-5.1 measured
LMArena WebDev: from an imageNot measured1421Only GPT-5.1 measured
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.5 and GPT-5.1
BenchmarkGLM 4.5GPT-5.1Leader
AA Intelligence Index12.824.7GPT-5.1
Epoch Capabilities IndexNot measured149.8Only GPT-5.1 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GLM 4.5 and GPT-5.1
BenchmarkGLM 4.5GPT-5.1Leader
τ²-Bench Telecom43.0%81.9%GPT-5.1
DeepResearch BenchNot measured42.8%Only GPT-5.1 measured
Vending-Bench 2Not measured$1,473Only GPT-5.1 measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for GLM 4.5 and GPT-5.1
BenchmarkGLM 4.5GPT-5.1Leader
GPQA Diamond72.2%86.6%GPT-5.1
MMMU Pro (Vals AI)Not measured83.2%Only GPT-5.1 measured
GPQA Diamond (Artificial Analysis run)78.2%87.3%GPT-5.1
Humanity's Last Exam (Artificial Analysis run)13.0%28.5%GPT-5.1
GPQA Diamond (Epoch AI run)Not measured87.6%Only GPT-5.1 measured
ARC-AGINot measured72.8%Only GPT-5.1 measured
ARC-AGI-2Not measured17.6%Only GPT-5.1 measured
SimpleBenchNot measured53.2%Only GPT-5.1 measured
Chess puzzlesNot measured42.0%Only GPT-5.1 measured
Mystery game puzzlesNot measured19.0%Only GPT-5.1 measured
VPCTNot measured58.7%Only GPT-5.1 measured
LMArena Text: hard prompts14291457GPT-5.1
LMArena Text: expert14331470GPT-5.1
LMArena Text: hard prompts in English14291462GPT-5.1
LMArena Vision: diagramsNot measured1264Only GPT-5.1 measured
LMArena Vision: homeworkNot measured1272Only GPT-5.1 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index06
Math benchmarks for GLM 4.5 and GPT-5.1
BenchmarkGLM 4.5GPT-5.1Leader
AIME86.7%93.3%GPT-5.1
MATH 500 (Vals AI)94.0%Not measuredOnly GLM 4.5 measured
MGSM (Vals AI)90.8%93.0%GPT-5.1
AA Math Index73.794.0GPT-5.1
AIME 2025 (Artificial Analysis run)73.7%94.0%GPT-5.1
OTIS Mock AIMENot measured88.6%Only GPT-5.1 measured
LMArena Text: math14271446GPT-5.1
LMArena Text: mathematical work14301449GPT-5.1
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index010
Knowledge benchmarks for GLM 4.5 and GPT-5.1
BenchmarkGLM 4.5GPT-5.1Leader
MMLU Pro81.2%86.4%GPT-5.1
LegalBench (Vals AI)75.6%85.7%GPT-5.1
CaseLaw (Vals AI)Not measured73.4%Only GPT-5.1 measured
CorpFin (Vals AI)61.0%63.8%GPT-5.1
TaxEval (Vals AI)72.4%74.9%GPT-5.1
MortgageTax (Vals AI)Not measured61.4%Only GPT-5.1 measured
MedQA (Vals AI)90.0%96.4%GPT-5.1
MedCode (Vals AI)Not measured52.7%Only GPT-5.1 measured
MMLU Pro (Artificial Analysis run)83.5%87.0%GPT-5.1
SimpleQA VerifiedNot measured48.0%Only GPT-5.1 measured
LMArena Text: science14441459GPT-5.1
LMArena Text: medicine and healthcare14551456GPT-5.1
LMArena Text: legal and government14381459GPT-5.1
LMArena Text: business and finance14201431GPT-5.1
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index16
Web design benchmarks for GLM 4.5 and GPT-5.1
BenchmarkGLM 4.5GPT-5.1Leader
Design Arena: websites11701187GPT-5.1
Design Arena: UI components11441166GPT-5.1
Design Arena: game dev11451179GPT-5.1
Design Arena: data viz11591204GPT-5.1
Design Arena: 3D11701061GLM 4.5
Design Arena: all code categories11651171GPT-5.1
Design Arena: SVG10961149GPT-5.1
Design Arena: ASCII artNot measured1118Only GPT-5.1 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index118
General benchmarks for GLM 4.5 and GPT-5.1
BenchmarkGLM 4.5GPT-5.1Leader
SAGE (Vals AI)Not measured43.2%Only GPT-5.1 measured
MedScribe (Vals AI)Not measured88.1%Only GPT-5.1 measured
IFBench44.1%72.9%GPT-5.1
Long context reasoning (AA-LCR)52.7%80.0%GPT-5.1
DTBenchNot measured90.1%Only GPT-5.1 measured
LMCANot measured43.9%Only GPT-5.1 measured
Creative writing (Lech Mazur)73.4%Not measuredOnly GLM 4.5 measured
CL-benchNot measured23.7%Only GPT-5.1 measured
CL-bench LifeNot measured17.3%Only GPT-5.1 measured
LMArena Text14301443GPT-5.1
LMArena Text: instruction following14041443GPT-5.1
LMArena Text: creative writing13951427GPT-5.1
LMArena VisionNot measured1250Only GPT-5.1 measured
LMArena Text: English14371451GPT-5.1
LMArena Text: non-English14171431GPT-5.1
LMArena Text: Chinese14651495GPT-5.1
LMArena Text: German14071438GPT-5.1
LMArena Text: Japanese14151453GPT-5.1
LMArena Text: Korean13801401GPT-5.1
LMArena Text: French14181450GPT-5.1
LMArena Text: Spanish14541433GLM 4.5
LMArena Text: Russian14131435GPT-5.1
LMArena Text: Polish14221440GPT-5.1
LMArena Text: multi-turn14151450GPT-5.1
LMArena Text: longer queries14121448GPT-5.1
LMArena Text: writing and language14031428GPT-5.1
LMArena Text: entertainment and media14041415GPT-5.1
LMArena Vision: EnglishNot measured1252Only GPT-5.1 measured
LMArena Vision: ChineseNot measured1270Only GPT-5.1 measured
LMArena Vision: reading textNot measured1255Only GPT-5.1 measured
LMArena Vision: humorNot measured1263Only GPT-5.1 measured
LMArena Vision: captioningNot measured1252Only GPT-5.1 measured
LMArena Vision: recognizing thingsNot measured1232Only GPT-5.1 measured
LMArena Vision: creative writingNot measured1266Only GPT-5.1 measured
LMArena DocumentNot measured1403Only GPT-5.1 measured
Neither model has a result on the other 11 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.5 and GPT-5.1
BenchmarkGLM 4.5GPT-5.1Leader
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 4.5$0.0017Fits in one request
GPT-5.1$0.0063Fits in one request

GLM 4.5 costs less

Repository review

50K input + 3K output tokens

GLM 4.5$0.037Fits in one request
GPT-5.1$0.092Fits in one request

GLM 4.5 costs less

Agent loop

200K input + 10K output tokens

GLM 4.5$0.142Exceeds the context window
GPT-5.1$0.350Fits in one request

GLM 4.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 4.5 and GPT-5.1
SpecificationZ.ai GLM 4.5OpenAI GPT-5.1
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 25, 2025November 13, 2025
Context window131K400K
Input $/Mtok$0.60$1.25
Output $/Mtok$2.20$10.00
Coding index64.253.3
Independent measurements behind it12
Cost per solved taskNot computable$1.02
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.5 better than GPT-5.1 for coding?

Pick GLM 4.5 for coding: it scores 64.2 on the Vibe Coding Index against 53.3 for GPT-5.1, though on 1 benchmark against 2. Pick GPT-5.1 when the context window is larger, 400K against 131K tokens, or when what matters is SWE-bench Verified or LiveCodeBench (Vals AI), where it leads.

Which is cheaper, GLM 4.5 or GPT-5.1?

GLM 4.5 costs $0.60 per million input tokens and $2.20 per million output tokens; GPT-5.1 costs $1.25 and $10.00. Cost per solved task is known for GPT-5.1 only.

Which has the bigger context window, GLM 4.5 or GPT-5.1?

GPT-5.1, with 400K tokens against 131K.

How many benchmarks is the GLM 4.5 vs GPT-5.1 comparison based on?

57 benchmarks have a result for both models as of October 21, 2026. GLM 4.5's coding index rests on 1 independent benchmark and GPT-5.1's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next