Enter opens the highlighted result. Esc closes.

Claude Opus 5 vs GLM 5

Claude Opus 5 leads GLM 5 on coding, 83.0 to 41.7 on the Vibe Coding Index, and GLM 5 costs 7.8x less per output token ($3.20 vs $25.00 per million). Updated October 22, 2026; 64 benchmarks have a result for both.

Claude Opus 5Anthropic
Coding
83.0
Overall
81.6
Output $/M
$25.00
64
GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
0
vs boards won of 64 shared

Claude Opus 5 or GLM 5: which to pick

Pick Claude Opus 5 for coding: it scores 83.0 on the Vibe Coding Index against 41.7 for GLM 5.

Pick GLM 5 for output tokens 7.8x cheaper ($3.20 vs $25.00 per million) and a lower cost per solved task ($0.63 against $1.33).

Shared results
64
Claude Opus 5 only
67
GLM 5 only
12
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
Claude Opus 5 83.0 from 6 benchmarks, GLM 5 41.7 from 3 benchmarks.
Widest category
Coding, 30.2 points apart on average over 10 shared benchmarks.
Widest single gap
ARC-AGI-2: Claude Opus 5 90.4% against GLM 5 4.9%, 85.6 points apart on a 0 to 100 scale.
Output price
Claude Opus 5 $25.00 against GLM 5 $3.20 per million output tokens, 7.8x apart.
Context window
Claude Opus 5 takes 1M tokens, GLM 5 205K.

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
CategoryClaude Opus 5BarsGLM 5Ties
Coding100
Intelligence20
Agentic work50
Reasoning100
Math30
Knowledge80
Web design80
General180
All shared boards640
CodingLike-for-likeSix of these boards feed the Vibe Coding Index100
Coding benchmarks for Claude Opus 5 and GLM 5
BenchmarkClaude Opus 5GLM 5Leader
SWE-bench VerifiedNot measured72.8%Only GLM 5 measured
SWE-bench MultilingualNot measured69.7%Only GLM 5 measured
LiveBench coding90.8%Not measuredOnly Claude Opus 5 measured
LMArena WebDev16891435Claude Opus 5
AA Coding Index78.0Not measuredOnly Claude Opus 5 measured
LiveCodeBench (Vals AI)89.0%81.9%Claude Opus 5
SWE-bench Verified (Vals AI)97.0%71.4%Claude Opus 5
Terminal-Bench 4 (Vals AI)53.5%Not measuredOnly Claude Opus 5 measured
Vibe Code Bench (Vals AI)88.4%23.4%Claude Opus 5
Code migration (Vals AI)57.5%Not measuredOnly Claude Opus 5 measured
ProgramBench (Vals AI)3.0%Not measuredOnly Claude Opus 5 measured
IOI (Vals AI)84.3%Not measuredOnly Claude Opus 5 measured
Terminal-Bench 2.1 (Vals AI)84.6%Not measuredOnly Claude Opus 5 measured
Vibe Code Bench 1-100 (Vals AI)28.5%Not measuredOnly Claude Opus 5 measured
SkillsBench (Vals AI)60.4%Not measuredOnly Claude Opus 5 measured
CyberBench (Vals AI)65.4%Not measuredOnly Claude Opus 5 measured
SciCode56.4%Not measuredOnly Claude Opus 5 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured43.2%Only GLM 5 measured
Terminal-BenchNot measured52.4%Only GLM 5 measured
FrontierCode53.4%Not measuredOnly Claude Opus 5 measured
FrontierSWE52.0%Not measuredOnly Claude Opus 5 measured
WeirdML91.8%48.2%Claude Opus 5
ALE-Bench2164.6765.6Claude Opus 5
LMArena Text: coding15331461Claude Opus 5
LMArena Text: software and IT15271460Claude Opus 5
LMArena WebDev: React17111424Claude Opus 5
LMArena WebDev: HTML16801450Claude Opus 5
LMArena WebDev: from an image1662Not measuredOnly Claude Opus 5 measured
SciCode13.8%Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 10 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Opus 5 and GLM 5
BenchmarkClaude Opus 5GLM 5Leader
AA Intelligence Index50.827.9Claude Opus 5
Epoch Capabilities Index163.9145.8Claude Opus 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index50
Agentic work benchmarks for Claude Opus 5 and GLM 5
BenchmarkClaude Opus 5GLM 5Leader
AA Agentic Index56.5Not measuredOnly Claude Opus 5 measured
Design Arena: agents building web apps1266Not measuredOnly Claude Opus 5 measured
Design Arena: agents building full-stack apps13061123Claude Opus 5
Design Arena: agents building mobile apps13481136Claude Opus 5
Design Arena: agents building Android apps12571147Claude Opus 5
Design Arena: agents building Godot games12791144Claude Opus 5
Design Arena: agents building games1261Not measuredOnly Claude Opus 5 measured
Design Arena: HTML slidesNot measured1098Only GLM 5 measured
Design Arena: PowerPoint slides1240Not measuredOnly Claude Opus 5 measured
LiveBench research88.9%Not measuredOnly Claude Opus 5 measured
LiveBench browser84.0%Not measuredOnly Claude Opus 5 measured
LiveBench long agentic62.1%Not measuredOnly Claude Opus 5 measured
SREBench (Vals AI)12.2%Not measuredOnly Claude Opus 5 measured
Finance Agent (Vals AI)58.6%Not measuredOnly Claude Opus 5 measured
Tax Agent Bench (Vals AI)45.5%Not measuredOnly Claude Opus 5 measured
Legal Research Bench (Vals AI)55.3%Not measuredOnly Claude Opus 5 measured
Excel Modeling Benchmark (Vals AI)73.6%Not measuredOnly Claude Opus 5 measured
BioMysteryBench (Vals AI)79.3%Not measuredOnly Claude Opus 5 measured
Terminal-Bench-Science (Vals AI)27.1%Not measuredOnly Claude Opus 5 measured
Vals Science Index47.9%Not measuredOnly Claude Opus 5 measured
Time Horizon Index (Vals AI)18.8%Not measuredOnly Claude Opus 5 measured
CUA-bench (Vals AI)9.0%Not measuredOnly Claude Opus 5 measured
τ²-Bench TelecomNot measured98.2%Only GLM 5 measured
APEX-Agents65.8%Not measuredOnly Claude Opus 5 measured
OSWorld 2.031.4%Not measuredOnly Claude Opus 5 measured
BALROG63.4%Not measuredOnly Claude Opus 5 measured
PostTrainBench35.0%Not measuredOnly Claude Opus 5 measured
Vending-Bench 2$11,182$4,432Claude Opus 5
LMArena Search1242Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 12 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index100
Reasoning benchmarks for Claude Opus 5 and GLM 5
BenchmarkClaude Opus 5GLM 5Leader
GPQA Diamond93.4%83.3%Claude Opus 5
LiveBench reasoning91.2%Not measuredOnly Claude Opus 5 measured
MysteryMechanism (Vals AI)37.4%Not measuredOnly Claude Opus 5 measured
MMMU Pro (Vals AI)89.9%Not measuredOnly Claude Opus 5 measured
GPQA Diamond (Artificial Analysis run)93.7%82.0%Claude Opus 5
Humanity's Last Exam (Artificial Analysis run)54.9%29.3%Claude Opus 5
GPQA Diamond (Epoch AI run)93.9%87.8%Claude Opus 5
ARC-AGI97.5%44.7%Claude Opus 5
ARC-AGI-290.4%4.9%Claude Opus 5
SimpleBench80.6%53.2%Claude Opus 5
Chess puzzles43.0%Not measuredOnly Claude Opus 5 measured
Mystery game puzzles59.0%Not measuredOnly Claude Opus 5 measured
EBR-bench45.7%Not measuredOnly Claude Opus 5 measured
LMArena Text: hard prompts15271452Claude Opus 5
LMArena Text: expert15541454Claude Opus 5
LMArena Text: hard prompts in English15231460Claude Opus 5
LMArena Vision: diagrams1348Not measuredOnly Claude Opus 5 measured
LMArena Vision: homework1338Not measuredOnly Claude Opus 5 measured
Kagi LLM BenchmarkNot measured75.0%Only GLM 5 measured
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for Claude Opus 5 and GLM 5
BenchmarkClaude Opus 5GLM 5Leader
AIMENot measured91.7%Only GLM 5 measured
OTIS Mock AIME98.9%80.0%Claude Opus 5
FrontierMath, tiers 1 to 385.6%Not measuredOnly Claude Opus 5 measured
FrontierMath, tier 473.2%Not measuredOnly Claude Opus 5 measured
ProofBench99.0%Not measuredOnly Claude Opus 5 measured
LMArena Text: math15331440Claude Opus 5
LMArena Text: mathematical work15441451Claude Opus 5
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index80
Knowledge benchmarks for Claude Opus 5 and GLM 5
BenchmarkClaude Opus 5GLM 5Leader
MMLU Pro91.6%86.0%Claude Opus 5
LegalBench (Vals AI)87.0%84.1%Claude Opus 5
CaseLaw (Vals AI)Not measured52.5%Only GLM 5 measured
CorpFin (Vals AI)73.2%62.9%Claude Opus 5
TaxEval (Vals AI)75.1%70.0%Claude Opus 5
MortgageTax (Vals AI)72.1%Not measuredOnly Claude Opus 5 measured
MedQA (Vals AI)Not measured94.3%Only GLM 5 measured
MedCode (Vals AI)63.6%Not measuredOnly Claude Opus 5 measured
SimpleQA Verified59.9%Not measuredOnly Claude Opus 5 measured
LMArena Text: science15311460Claude Opus 5
LMArena Text: medicine and healthcare15251455Claude Opus 5
LMArena Text: legal and government15301453Claude Opus 5
LMArena Text: business and finance15011430Claude Opus 5
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Claude Opus 5 and GLM 5
BenchmarkClaude Opus 5GLM 5Leader
Design Arena: websites13091247Claude Opus 5
Design Arena: UI components13461227Claude Opus 5
Design Arena: game dev13371234Claude Opus 5
Design Arena: data viz13291228Claude Opus 5
Design Arena: 3D13341228Claude Opus 5
Design Arena: all code categories13231246Claude Opus 5
Design Arena: SVG13111168Claude Opus 5
Design Arena: ASCII art13521147Claude Opus 5
LiveBench design83.0%Not measuredOnly Claude Opus 5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index180
General benchmarks for Claude Opus 5 and GLM 5
BenchmarkClaude Opus 5GLM 5Leader
LiveBench data analysis74.6%Not measuredOnly Claude Opus 5 measured
Public Benefits Bench (Vals AI)76.9%Not measuredOnly Claude Opus 5 measured
SAGE (Vals AI)49.4%Not measuredOnly Claude Opus 5 measured
MedScribe (Vals AI)91.0%Not measuredOnly Claude Opus 5 measured
Vals Multimodal Index73.9%Not measuredOnly Claude Opus 5 measured
IFBenchNot measured72.3%Only GLM 5 measured
Long context reasoning (AA-LCR)82.0%75.7%Claude Opus 5
DTBench97.9%Not measuredOnly Claude Opus 5 measured
LMCA64.5%Not measuredOnly Claude Opus 5 measured
CL-benchNot measured18.7%Only GLM 5 measured
Furniture assembly60.8%Not measuredOnly Claude Opus 5 measured
LMArena Text15091446Claude Opus 5
LMArena Text: instruction following15181428Claude Opus 5
LMArena Text: creative writing14931438Claude Opus 5
LMArena Vision1320Not measuredOnly Claude Opus 5 measured
LMArena Text: English15081458Claude Opus 5
LMArena Text: non-English15021430Claude Opus 5
LMArena Text: Chinese15731511Claude Opus 5
LMArena Text: German15271447Claude Opus 5
LMArena Text: Japanese15201416Claude Opus 5
LMArena Text: Korean15171423Claude Opus 5
LMArena Text: French15191456Claude Opus 5
LMArena Text: Spanish15231454Claude Opus 5
LMArena Text: Russian15071436Claude Opus 5
LMArena Text: Polish15221434Claude Opus 5
LMArena Text: multi-turn15001456Claude Opus 5
LMArena Text: longer queries15171446Claude Opus 5
LMArena Text: writing and language14991437Claude Opus 5
LMArena Text: entertainment and media14811426Claude Opus 5
LMArena Vision: English1315Not measuredOnly Claude Opus 5 measured
LMArena Vision: Chinese1400Not measuredOnly Claude Opus 5 measured
LMArena Vision: reading text1329Not measuredOnly Claude Opus 5 measured
LMArena Vision: humor1293Not measuredOnly Claude Opus 5 measured
LMArena Vision: creative writing1313Not measuredOnly Claude Opus 5 measured
LMArena Document1516Not measuredOnly Claude Opus 5 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 Claude Opus 5 and GLM 5
BenchmarkClaude Opus 5GLM 5Leader
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

Claude Opus 5$0.018Fits in one request
GLM 5$0.0026Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

Claude Opus 5$0.325Fits in one request
GLM 5$0.060Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

Claude Opus 5$1.25Fits in one request
GLM 5$0.232Exceeds 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 Claude Opus 5 and GLM 5
SpecificationAnthropic Claude Opus 5Z.ai GLM 5
MakerAnthropicZ.ai
WeightsNo public weights listedOpen weights
ReleasedJuly 24, 2026February 11, 2026
Context window1M205K
Input $/Mtok$5.00$1.00
Output $/Mtok$25.00$3.20
Coding index83.041.7
Independent measurements behind it63
Cost per solved task$1.33$0.63
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Opus 5 better than GLM 5 for coding?

Pick Claude Opus 5 for coding: it scores 83.0 on the Vibe Coding Index against 41.7 for GLM 5. Pick GLM 5 for output tokens 7.8x cheaper ($3.20 vs $25.00 per million) and a lower cost per solved task ($0.63 against $1.33).

Which is cheaper, Claude Opus 5 or GLM 5?

Claude Opus 5 costs $5.00 per million input tokens and $25.00 per million output tokens; GLM 5 costs $1.00 and $3.20. Per solved SWE-bench Verified task, Claude Opus 5 costs $1.33 and GLM 5 $0.63.

Which has the bigger context window, Claude Opus 5 or GLM 5?

Claude Opus 5, with 1M tokens against 205K.

How many benchmarks is the Claude Opus 5 vs GLM 5 comparison based on?

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

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/claude-opus-5-vs-glm-5" title="Claude Opus 5 vs GLM 5, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/claude-opus-5-vs-glm-5">LLMBenchmark.ai, Claude Opus 5 vs GLM 5</a></p>