LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GLM 5 vs Grok 4.6

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

GLM 5Z.ai
Coding
59.7
Overall
27.9
Output $/M
$3.20
23
Grok 4.6xAI
Coding
76.4
Overall
44.3
Output $/M
$6.00
42
vs boards won of 65 shared

Decision reading

Pick Grok 4.6 for coding: it scores 76.4 on the Vibe Coding Index against 59.7 for GLM 5.

Pick GLM 5 when output tokens cost 1.9x less, or when a solved task costs $0.63 against $0.82.

Shared results
65
GLM 5 only
10
Grok 4.6 only
58
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 5 59.7 from 2 benchmarks, Grok 4.6 76.4 from 2 benchmarks.
Widest category
Coding, 20.8 points apart on average over 10 shared benchmarks.
Widest single gap
ARC-AGI-2: GLM 5 4.9% against Grok 4.6 67.1%, 62.2 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against Grok 4.6 $6.00 per million output tokens, 1.9x apart.
Context window
GLM 5 takes 205K tokens, Grok 4.6 500K.

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 5BarsGrok 4.6Ties
Coding19
Intelligence02
Agentic work06
Reasoning28
Math12
Knowledge44
Web design08
General153
All shared boards2342
CodingLike-for-likeFour of these boards feed the Vibe Coding Index19
Coding benchmarks for GLM 5 and Grok 4.6
BenchmarkGLM 5Grok 4.6Leader
SWE-bench Verified72.8%Not measuredOnly GLM 5 measured
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LiveBench codingNot measured89.1%Only Grok 4.6 measured
LMArena WebDev14351617Grok 4.6
AA Coding IndexNot measured76.8Only Grok 4.6 measured
LiveCodeBench (Vals AI)81.9%88.2%Grok 4.6
SWE-bench Verified (Vals AI)71.4%95.6%Grok 4.6
Terminal-Bench 4 (Vals AI)Not measured17.2%Only Grok 4.6 measured
Vibe Code Bench (Vals AI)23.4%76.2%Grok 4.6
Code migration (Vals AI)Not measured44.6%Only Grok 4.6 measured
ProgramBench (Vals AI)Not measured1.0%Only Grok 4.6 measured
IOI (Vals AI)Not measured47.6%Only Grok 4.6 measured
Terminal-Bench 2.1 (Vals AI)Not measured78.3%Only Grok 4.6 measured
Vibe Code Bench 1-100 (Vals AI)Not measured14.8%Only Grok 4.6 measured
SkillsBench (Vals AI)Not measured55.8%Only Grok 4.6 measured
CyberBench (Vals AI)Not measured67.7%Only Grok 4.6 measured
SciCodeNot measured56.5%Only Grok 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5 measured
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
FrontierCodeNot measured48.0%Only Grok 4.6 measured
FrontierSWENot measured25.3%Only Grok 4.6 measured
WeirdML48.2%67.3%Grok 4.6
ALE-Bench765.61508.1Grok 4.6
LMArena Text: coding14611466Grok 4.6
LMArena Text: software and IT14601457GLM 5
LMArena WebDev: React14241631Grok 4.6
LMArena WebDev: HTML14501597Grok 4.6
LMArena WebDev: from an imageNot measured1603Only Grok 4.6 measured
Neither model has a result on the other 10 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5 and Grok 4.6
BenchmarkGLM 5Grok 4.6Leader
AA Intelligence Index27.944.3Grok 4.6
Epoch Capabilities Index145.8156.6Grok 4.6
Agentic workLike-for-likePublic boards, shown as published, kept out of the index06
Agentic work benchmarks for GLM 5 and Grok 4.6
BenchmarkGLM 5Grok 4.6Leader
AA Agentic IndexNot measured53.0Only Grok 4.6 measured
Design Arena: agents building web appsNot measured1247Only Grok 4.6 measured
Design Arena: agents building full-stack apps11231264Grok 4.6
Design Arena: agents building mobile apps11361234Grok 4.6
Design Arena: agents building Android apps11521297Grok 4.6
Design Arena: agents building Godot games11441276Grok 4.6
Design Arena: agents building gamesNot measured1208Only Grok 4.6 measured
Design Arena: HTML slides11481249Grok 4.6
Design Arena: PowerPoint slidesNot measured1241Only Grok 4.6 measured
LiveBench researchNot measured84.5%Only Grok 4.6 measured
LiveBench browserNot measured64.0%Only Grok 4.6 measured
LiveBench long agenticNot measured40.7%Only Grok 4.6 measured
Finance Agent (Vals AI)Not measured53.7%Only Grok 4.6 measured
Tax Agent Bench (Vals AI)Not measured33.1%Only Grok 4.6 measured
Legal Research Bench (Vals AI)Not measured48.1%Only Grok 4.6 measured
Excel Modeling Benchmark (Vals AI)Not measured62.7%Only Grok 4.6 measured
BioMysteryBench (Vals AI)Not measured72.2%Only Grok 4.6 measured
Terminal-Bench-Science (Vals AI)Not measured11.4%Only Grok 4.6 measured
Vals Science IndexNot measured38.1%Only Grok 4.6 measured
Time Horizon Index (Vals AI)Not measured5.8%Only Grok 4.6 measured
τ²-Bench Telecom98.2%Not measuredOnly GLM 5 measured
APEX-AgentsNot measured65.3%Only Grok 4.6 measured
Vending-Bench 2$4,432$9,047Grok 4.6
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index28
Reasoning benchmarks for GLM 5 and Grok 4.6
BenchmarkGLM 5Grok 4.6Leader
GPQA Diamond83.3%94.7%Grok 4.6
LiveBench reasoningNot measured91.2%Only Grok 4.6 measured
MysteryMechanism (Vals AI)Not measured30.6%Only Grok 4.6 measured
GPQA Diamond (Artificial Analysis run)82.0%94.9%Grok 4.6
Humanity's Last Exam (Artificial Analysis run)29.3%44.1%Grok 4.6
GPQA Diamond (Epoch AI run)87.8%94.0%Grok 4.6
ARC-AGI44.7%87.5%Grok 4.6
ARC-AGI-24.9%67.1%Grok 4.6
SimpleBench53.2%75.9%Grok 4.6
Chess puzzlesNot measured33.0%Only Grok 4.6 measured
Mystery game puzzlesNot measured34.0%Only Grok 4.6 measured
EBR-benchNot measured30.5%Only Grok 4.6 measured
LMArena Text: hard prompts14521448GLM 5
LMArena Text: expert14541469Grok 4.6
LMArena Text: hard prompts in English14601445GLM 5
LMArena Vision: diagramsNot measured1285Only Grok 4.6 measured
LMArena Vision: homeworkNot measured1283Only Grok 4.6 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index12
Math benchmarks for GLM 5 and Grok 4.6
BenchmarkGLM 5Grok 4.6Leader
AIME91.7%Not measuredOnly GLM 5 measured
OTIS Mock AIME80.0%99.2%Grok 4.6
FrontierMath, tiers 1 to 3Not measured66.0%Only Grok 4.6 measured
FrontierMath, tier 4Not measured31.7%Only Grok 4.6 measured
ProofBenchNot measured51.0%Only Grok 4.6 measured
LMArena Text: math14401417GLM 5
LMArena Text: mathematical work14511464Grok 4.6
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index44
Knowledge benchmarks for GLM 5 and Grok 4.6
BenchmarkGLM 5Grok 4.6Leader
MMLU Pro86.0%89.4%Grok 4.6
LegalBench (Vals AI)84.1%86.3%Grok 4.6
CaseLaw (Vals AI)52.5%Not measuredOnly GLM 5 measured
CorpFin (Vals AI)62.9%66.2%Grok 4.6
TaxEval (Vals AI)70.0%71.1%Grok 4.6
MortgageTax (Vals AI)Not measured64.2%Only Grok 4.6 measured
MedQA (Vals AI)94.3%Not measuredOnly GLM 5 measured
MedCode (Vals AI)Not measured44.7%Only Grok 4.6 measured
SimpleQA VerifiedNot measured49.3%Only Grok 4.6 measured
LMArena Text: science14601437GLM 5
LMArena Text: medicine and healthcare14551420GLM 5
LMArena Text: legal and government14531429GLM 5
LMArena Text: business and finance14301416GLM 5
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index08
Web design benchmarks for GLM 5 and Grok 4.6
BenchmarkGLM 5Grok 4.6Leader
Design Arena: websites12471289Grok 4.6
Design Arena: UI components12301294Grok 4.6
Design Arena: game dev12341296Grok 4.6
Design Arena: data viz12281283Grok 4.6
Design Arena: 3D12291277Grok 4.6
Design Arena: all code categories12461292Grok 4.6
Design Arena: SVG11681239Grok 4.6
Design Arena: ASCII art11461278Grok 4.6
LiveBench designNot measured79.8%Only Grok 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index153
General benchmarks for GLM 5 and Grok 4.6
BenchmarkGLM 5Grok 4.6Leader
LiveBench data analysisNot measured75.3%Only Grok 4.6 measured
Public Benefits Bench (Vals AI)Not measured66.8%Only Grok 4.6 measured
SAGE (Vals AI)Not measured28.9%Only Grok 4.6 measured
MedScribe (Vals AI)Not measured86.5%Only Grok 4.6 measured
IFBench72.3%Not measuredOnly GLM 5 measured
Long context reasoning (AA-LCR)75.7%81.0%Grok 4.6
DTBenchNot measured97.3%Only Grok 4.6 measured
LMCANot measured48.5%Only Grok 4.6 measured
CL-bench18.7%Not measuredOnly GLM 5 measured
Furniture assemblyNot measured40.0%Only Grok 4.6 measured
LMArena Text14461429GLM 5
LMArena Text: instruction following14281431Grok 4.6
LMArena Text: creative writing14381426GLM 5
LMArena VisionNot measured1263Only Grok 4.6 measured
LMArena Text: English14581433GLM 5
LMArena Text: non-English14301420GLM 5
LMArena Text: Chinese15111476GLM 5
LMArena Text: German14471426GLM 5
LMArena Text: Japanese14161378GLM 5
LMArena Text: Korean14231391GLM 5
LMArena Text: French14561455GLM 5
LMArena Text: Spanish14541414GLM 5
LMArena Text: Russian14361421GLM 5
LMArena Text: Polish14341430GLM 5
LMArena Text: multi-turn14561425GLM 5
LMArena Text: longer queries14461456Grok 4.6
LMArena Text: writing and language14371429GLM 5
LMArena Text: entertainment and media14261421GLM 5
LMArena Vision: EnglishNot measured1270Only Grok 4.6 measured
LMArena Vision: ChineseNot measured1289Only Grok 4.6 measured
LMArena Vision: reading textNot measured1272Only Grok 4.6 measured
LMArena Vision: humorNot measured1270Only Grok 4.6 measured
LMArena Vision: creative writingNot measured1262Only Grok 4.6 measured
LMArena DocumentNot measured1452Only Grok 4.6 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 Grok 4.6
BenchmarkGLM 5Grok 4.6Leader
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
Grok 4.6$0.0050Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
Grok 4.6$0.118Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
Grok 4.6$0.460Fits in one request

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 Grok 4.6
SpecificationZ.ai GLM 5SpaceXAI Grok 4.6
MakerZ.aixAI
WeightsOpen weightsNo public weights listed
ReleasedFebruary 11, 2026August 12, 2026
Context window205K500K
Input $/Mtok$1.00$2.00
Output $/Mtok$3.20$6.00
Coding index59.776.4
Independent measurements behind it22
Cost per solved task$0.63$0.82
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5 better than Grok 4.6 for coding?

Pick Grok 4.6 for coding: it scores 76.4 on the Vibe Coding Index against 59.7 for GLM 5. Pick GLM 5 when output tokens cost 1.9x less, or when a solved task costs $0.63 against $0.82.

Which is cheaper, GLM 5 or Grok 4.6?

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; Grok 4.6 costs $2.00 and $6.00. Per solved SWE-bench Verified task, GLM 5 costs $0.63 and Grok 4.6 $0.82.

Which has the bigger context window, GLM 5 or Grok 4.6?

Grok 4.6, with 500K tokens against 205K.

How many benchmarks is the GLM 5 vs Grok 4.6 comparison based on?

65 benchmarks have a result for both models as of October 21, 2026. GLM 5's coding index rests on 2 independent benchmarks and Grok 4.6's on 2. 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/glm-5-vs-grok-4-6" title="GLM 5 vs Grok 4.6, 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/glm-5-vs-grok-4-6">LLMBenchmark.ai, GLM 5 vs Grok 4.6</a></p>