Enter opens the highlighted result. Esc closes.

GLM 5.1 vs Grok 4.6

Grok 4.6 leads GLM 5.1 on coding, 65.7 to 49.2 on the Vibe Coding Index, and GLM 5.1 costs 1.4x less per output token ($4.40 vs $6.00 per million). Updated October 21, 2026; 82 benchmarks have a result for both.

GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
32
Grok 4.6xAI
Coding
65.7
Overall
67.4
Output $/M
$6.00
50
vs boards won of 82 shared

GLM 5.1 or Grok 4.6: which to pick

Pick Grok 4.6 for coding: it scores 65.7 on the Vibe Coding Index against 49.2 for GLM 5.1.

Pick GLM 5.1 for output tokens 1.4x cheaper ($4.40 vs $6.00 per million) and a lower cost per solved task ($0.60 against $0.82).

Shared results
82
GLM 5.1 only
7
Grok 4.6 only
41
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.1 49.2 from 3 benchmarks, Grok 4.6 65.7 from 6 benchmarks.
Widest category
Coding, 15.3 points apart on average over 15 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GLM 5.1 31.5% against Grok 4.6 76.2%, 44.8 points apart on a 0 to 100 scale.
Output price
GLM 5.1 $4.40 against Grok 4.6 $6.00 per million output tokens, 1.4x apart.
Context window
GLM 5.1 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 5.1BarsGrok 4.6Ties
Coding213
Intelligence02
Agentic work013
Reasoning36
Math23
Knowledge55
Web design35
General173
All shared boards3250
CodingLike-for-likeSix of these boards feed the Vibe Coding Index213
Coding benchmarks for GLM 5.1 and Grok 4.6
BenchmarkGLM 5.1Grok 4.6Leader
LiveBench codingNot measured89.1%Only Grok 4.6 measured
LMArena WebDev15081617Grok 4.6
AA Coding Index55.876.8Grok 4.6
LiveCodeBench (Vals AI)81.4%88.2%Grok 4.6
SWE-bench Verified (Vals AI)76.4%95.6%Grok 4.6
Terminal-Bench 4 (Vals AI)Not measured17.2%Only Grok 4.6 measured
Vibe Code Bench (Vals AI)31.5%76.2%Grok 4.6
Code migration (Vals AI)25.8%44.6%Grok 4.6
ProgramBench (Vals AI)0.0%1.0%Grok 4.6
IOI (Vals AI)Not measured47.6%Only Grok 4.6 measured
Terminal-Bench 2.1 (Vals AI)56.9%78.3%Grok 4.6
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
SciCode44.8%56.5%Grok 4.6
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5.1 measured
FrontierCodeNot measured48.0%Only Grok 4.6 measured
FrontierSWENot measured25.3%Only Grok 4.6 measured
WeirdML57.1%67.3%Grok 4.6
ALE-Bench887.11508.1Grok 4.6
LMArena Text: coding14851466GLM 5.1
LMArena Text: software and IT14841457GLM 5.1
LMArena WebDev: React15051631Grok 4.6
LMArena WebDev: HTML15081597Grok 4.6
LMArena WebDev: from an imageNot measured1603Only Grok 4.6 measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5.1 and Grok 4.6
BenchmarkGLM 5.1Grok 4.6Leader
AA Intelligence Index26.144.3Grok 4.6
Epoch Capabilities Index149.8156.6Grok 4.6
Agentic workLike-for-likePublic boards, shown as published, kept out of the index013
Agentic work benchmarks for GLM 5.1 and Grok 4.6
BenchmarkGLM 5.1Grok 4.6Leader
AA Agentic Index23.953.0Grok 4.6
Design Arena: agents building web apps11751248Grok 4.6
Design Arena: agents building full-stack apps11671264Grok 4.6
Design Arena: agents building mobile apps11621236Grok 4.6
Design Arena: agents building Android apps11801297Grok 4.6
Design Arena: agents building Godot games10531276Grok 4.6
Design Arena: agents building games11641208Grok 4.6
Design Arena: HTML slides11701249Grok 4.6
Design Arena: PowerPoint slides11881241Grok 4.6
Design Arena: spreadsheets1315Not measuredOnly GLM 5.1 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)44.8%53.7%Grok 4.6
Tax Agent Bench (Vals AI)Not measured33.1%Only Grok 4.6 measured
Legal Research Bench (Vals AI)27.9%48.1%Grok 4.6
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 Telecom97.7%Not measuredOnly GLM 5.1 measured
APEX-Agents40.9%65.3%Grok 4.6
Vending-Bench 2$5,634$9,047Grok 4.6
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index36
Reasoning benchmarks for GLM 5.1 and Grok 4.6
BenchmarkGLM 5.1Grok 4.6Leader
GPQA Diamond84.5%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)86.8%94.9%Grok 4.6
Humanity's Last Exam (Artificial Analysis run)30.1%44.1%Grok 4.6
GPQA Diamond (Epoch AI run)89.9%94.0%Grok 4.6
ARC-AGINot measured87.5%Only Grok 4.6 measured
ARC-AGI-2Not measured67.1%Only Grok 4.6 measured
SimpleBench55.1%75.9%Grok 4.6
Chess puzzles20.0%33.0%Grok 4.6
Mystery game puzzlesNot measured34.0%Only Grok 4.6 measured
EBR-benchNot measured30.5%Only Grok 4.6 measured
LMArena Text: hard prompts14731448GLM 5.1
LMArena Text: expert14781469GLM 5.1
LMArena Text: hard prompts in English14821445GLM 5.1
LMArena Vision: diagramsNot measured1285Only Grok 4.6 measured
LMArena Vision: homeworkNot measured1283Only Grok 4.6 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index23
Math benchmarks for GLM 5.1 and Grok 4.6
BenchmarkGLM 5.1Grok 4.6Leader
AIME91.9%Not measuredOnly GLM 5.1 measured
OTIS Mock AIME93.3%99.2%Grok 4.6
FrontierMath, tiers 1 to 336.8%66.0%Grok 4.6
FrontierMath, tier 4Not measured31.7%Only Grok 4.6 measured
ProofBench22.2%51.0%Grok 4.6
LMArena Text: math14731417GLM 5.1
LMArena Text: mathematical work14701464GLM 5.1
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index55
Knowledge benchmarks for GLM 5.1 and Grok 4.6
BenchmarkGLM 5.1Grok 4.6Leader
MMLU Pro86.9%89.4%Grok 4.6
LegalBench (Vals AI)84.4%86.3%Grok 4.6
CaseLaw (Vals AI)51.5%Not measuredOnly GLM 5.1 measured
CorpFin (Vals AI)64.5%66.2%Grok 4.6
TaxEval (Vals AI)71.2%71.1%GLM 5.1
MortgageTax (Vals AI)Not measured64.2%Only Grok 4.6 measured
MedCode (Vals AI)41.6%44.7%Grok 4.6
SimpleQA Verified34.0%49.3%Grok 4.6
LMArena Text: science14781437GLM 5.1
LMArena Text: medicine and healthcare14741420GLM 5.1
LMArena Text: legal and government14651429GLM 5.1
LMArena Text: business and finance14521416GLM 5.1
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index35
Web design benchmarks for GLM 5.1 and Grok 4.6
BenchmarkGLM 5.1Grok 4.6Leader
Design Arena: websites12901289GLM 5.1
Design Arena: UI components12921295Grok 4.6
Design Arena: game dev12651296Grok 4.6
Design Arena: data viz13661282GLM 5.1
Design Arena: 3D13361277GLM 5.1
Design Arena: all code categories12681292Grok 4.6
Design Arena: SVG12181239Grok 4.6
Design Arena: ASCII art11421278Grok 4.6
LiveBench designNot measured79.8%Only Grok 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index173
General benchmarks for GLM 5.1 and Grok 4.6
BenchmarkGLM 5.1Grok 4.6Leader
LiveBench data analysisNot measured75.3%Only Grok 4.6 measured
Public Benefits Bench (Vals AI)61.8%66.8%Grok 4.6
SAGE (Vals AI)Not measured28.9%Only Grok 4.6 measured
MedScribe (Vals AI)72.3%86.5%Grok 4.6
IFBench76.3%Not measuredOnly GLM 5.1 measured
Long context reasoning (AA-LCR)73.7%81.0%Grok 4.6
DTBenchNot measured97.3%Only Grok 4.6 measured
LMCANot measured48.5%Only Grok 4.6 measured
Furniture assemblyNot measured40.0%Only Grok 4.6 measured
ExploitBench18.1%Not measuredOnly GLM 5.1 measured
LMArena Text14631429GLM 5.1
LMArena Text: instruction following14531431GLM 5.1
LMArena Text: creative writing14531426GLM 5.1
LMArena VisionNot measured1263Only Grok 4.6 measured
LMArena Text: English14761433GLM 5.1
LMArena Text: non-English14481420GLM 5.1
LMArena Text: Chinese15151476GLM 5.1
LMArena Text: German14671426GLM 5.1
LMArena Text: Japanese14351378GLM 5.1
LMArena Text: Korean14241391GLM 5.1
LMArena Text: French14701455GLM 5.1
LMArena Text: Spanish14681414GLM 5.1
LMArena Text: Russian14541421GLM 5.1
LMArena Text: Polish14491430GLM 5.1
LMArena Text: multi-turn14731425GLM 5.1
LMArena Text: longer queries14671456GLM 5.1
LMArena Text: writing and language14541429GLM 5.1
LMArena Text: entertainment and media14421421GLM 5.1
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.1 and Grok 4.6
BenchmarkGLM 5.1Grok 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.1$0.0036Fits in one request
Grok 4.6$0.0050Fits in one request

GLM 5.1 costs less

Repository review

50K input + 3K output tokens

GLM 5.1$0.083Fits in one request
Grok 4.6$0.118Fits in one request

GLM 5.1 costs less

Agent loop

200K input + 10K output tokens

GLM 5.1$0.324Exceeds the context window
Grok 4.6$0.460Fits in one request

GLM 5.1 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.1 and Grok 4.6
SpecificationZ.ai GLM 5.1SpaceXAI Grok 4.6
MakerZ.aixAI
WeightsOpen weightsNo public weights listed
ReleasedApril 7, 2026August 12, 2026
Context window205K500K
Input $/Mtok$1.40$2.00
Output $/Mtok$4.40$6.00
Coding index49.265.7
Independent measurements behind it36
Cost per solved task$0.60$0.82
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.1 better than Grok 4.6 for coding?

Pick Grok 4.6 for coding: it scores 65.7 on the Vibe Coding Index against 49.2 for GLM 5.1. Pick GLM 5.1 for output tokens 1.4x cheaper ($4.40 vs $6.00 per million) and a lower cost per solved task ($0.60 against $0.82).

Which is cheaper, GLM 5.1 or Grok 4.6?

GLM 5.1 costs $1.40 per million input tokens and $4.40 per million output tokens; Grok 4.6 costs $2.00 and $6.00. Per solved SWE-bench Verified task, GLM 5.1 costs $0.60 and Grok 4.6 $0.82.

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

Grok 4.6, with 500K tokens against 205K.

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

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