Enter opens the highlighted result. Esc closes.

GLM 4.7 vs Grok 4.6

Grok 4.6 leads GLM 4.7 on coding, 65.7 to 55.1 on the Vibe Coding Index, and GLM 4.7 costs 2.7x less per output token ($2.20 vs $6.00 per million). Updated October 21, 2026; 66 benchmarks have a result for both.

GLM 4.7Z.ai
Coding
55.1
Overall
56.9
Output $/M
$2.20
15
Grok 4.6xAI
Coding
65.7
Overall
67.4
Output $/M
$6.00
51
vs boards won of 66 shared

GLM 4.7 or Grok 4.6: which to pick

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

Pick GLM 4.7 for output tokens 2.7x cheaper ($2.20 vs $6.00 per million) and a lower cost per solved task ($0.29 against $0.82).

Shared results
66
GLM 4.7 only
15
Grok 4.6 only
57
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 4.7 55.1 from 2 benchmarks, Grok 4.6 65.7 from 6 benchmarks.
Widest category
Agentic work, 27.0 points apart on average over 5 shared benchmarks.
Widest single gap
ProofBench: GLM 4.7 6.0% against Grok 4.6 51.0%, 45.0 points apart on a 0 to 100 scale.
Output price
GLM 4.7 $2.20 against Grok 4.6 $6.00 per million output tokens, 2.7x apart.
Context window
GLM 4.7 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 4.7BarsGrok 4.6Ties
Coding09
Intelligence02
Agentic work05
Reasoning18
Math13
Knowledge46
Web design08
General910
All shared boards1551
CodingLike-for-likeSix of these boards feed the Vibe Coding Index09
Coding benchmarks for GLM 4.7 and Grok 4.6
BenchmarkGLM 4.7Grok 4.6Leader
LiveBench codingNot measured89.1%Only Grok 4.6 measured
LMArena WebDev14351617Grok 4.6
AA Coding Index45.376.8Grok 4.6
LiveCodeBench (Vals AI)82.2%88.2%Grok 4.6
SWE-bench Verified (Vals AI)69.4%95.6%Grok 4.6
Terminal-Bench 4 (Vals AI)Not measured17.2%Only Grok 4.6 measured
Vibe Code Bench (Vals AI)Not measured76.2%Only Grok 4.6 measured
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
LiveCodeBench (Artificial Analysis run)89.4%Not measuredOnly GLM 4.7 measured
SciCodeNot measured56.5%Only Grok 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)31.8%Not measuredOnly GLM 4.7 measured
Terminal-Bench33.4%Not measuredOnly GLM 4.7 measured
FrontierCodeNot measured48.0%Only Grok 4.6 measured
FrontierSWENot measured25.3%Only Grok 4.6 measured
WeirdMLNot measured67.3%Only Grok 4.6 measured
ALE-Bench399.51508.1Grok 4.6
LMArena Text: coding14541466Grok 4.6
LMArena Text: software and IT14531457Grok 4.6
LMArena WebDev: React14201631Grok 4.6
LMArena WebDev: HTML14471597Grok 4.6
LMArena WebDev: from an imageNot measured1603Only Grok 4.6 measured
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 4.7 and Grok 4.6
BenchmarkGLM 4.7Grok 4.6Leader
AA Intelligence Index22.244.3Grok 4.6
Epoch Capabilities Index143.6156.6Grok 4.6
Agentic workLike-for-likePublic boards, shown as published, kept out of the index05
Agentic work benchmarks for GLM 4.7 and Grok 4.6
BenchmarkGLM 4.7Grok 4.6Leader
AA Agentic IndexNot measured53.0Only Grok 4.6 measured
Design Arena: agents building web appsNot measured1248Only Grok 4.6 measured
Design Arena: agents building full-stack apps10501264Grok 4.6
Design Arena: agents building mobile apps11051236Grok 4.6
Design Arena: agents building Android apps11121297Grok 4.6
Design Arena: agents building Godot games10581276Grok 4.6
Design Arena: agents building gamesNot measured1208Only Grok 4.6 measured
Design Arena: HTML slidesNot measured1249Only Grok 4.6 measured
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 Telecom95.9%Not measuredOnly GLM 4.7 measured
APEX-AgentsNot measured65.3%Only Grok 4.6 measured
Vending-Bench 2$2,377$9,047Grok 4.6
BrowseComp-Plus64.7%Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index18
Reasoning benchmarks for GLM 4.7 and Grok 4.6
BenchmarkGLM 4.7Grok 4.6Leader
GPQA Diamond80.0%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)85.9%94.9%Grok 4.6
Humanity's Last Exam (Artificial Analysis run)27.4%44.1%Grok 4.6
GPQA Diamond (Epoch AI run)83.3%94.0%Grok 4.6
ARC-AGINot measured87.5%Only Grok 4.6 measured
ARC-AGI-2Not measured67.1%Only Grok 4.6 measured
SimpleBench47.7%75.9%Grok 4.6
Chess puzzles21.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 prompts14431448Grok 4.6
LMArena Text: expert14241469Grok 4.6
LMArena Text: hard prompts in English14521445GLM 4.7
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 index13
Math benchmarks for GLM 4.7 and Grok 4.6
BenchmarkGLM 4.7Grok 4.6Leader
AIME93.3%Not measuredOnly GLM 4.7 measured
MGSM (Vals AI)88.2%Not measuredOnly GLM 4.7 measured
AA Math Index95.0Not measuredOnly GLM 4.7 measured
AIME 2025 (Artificial Analysis run)95.0%Not measuredOnly GLM 4.7 measured
OTIS Mock AIME83.3%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
ProofBench6.0%51.0%Grok 4.6
LMArena Text: math14241417GLM 4.7
LMArena Text: mathematical work14111464Grok 4.6
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index46
Knowledge benchmarks for GLM 4.7 and Grok 4.6
BenchmarkGLM 4.7Grok 4.6Leader
MMLU Pro82.7%89.4%Grok 4.6
LegalBench (Vals AI)83.4%86.3%Grok 4.6
CaseLaw (Vals AI)54.9%Not measuredOnly GLM 4.7 measured
CorpFin (Vals AI)46.4%66.2%Grok 4.6
TaxEval (Vals AI)68.8%71.1%Grok 4.6
MortgageTax (Vals AI)Not measured64.2%Only Grok 4.6 measured
MedQA (Vals AI)93.7%Not measuredOnly GLM 4.7 measured
MedCode (Vals AI)32.8%44.7%Grok 4.6
MMLU Pro (Artificial Analysis run)85.6%Not measuredOnly GLM 4.7 measured
SimpleQA Verified32.2%49.3%Grok 4.6
LMArena Text: science14571437GLM 4.7
LMArena Text: medicine and healthcare14691420GLM 4.7
LMArena Text: legal and government14441429GLM 4.7
LMArena Text: business and finance14291416GLM 4.7
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 4.7 and Grok 4.6
BenchmarkGLM 4.7Grok 4.6Leader
Design Arena: websites12261289Grok 4.6
Design Arena: UI components11991295Grok 4.6
Design Arena: game dev11891296Grok 4.6
Design Arena: data viz11951282Grok 4.6
Design Arena: 3D11911277Grok 4.6
Design Arena: all code categories12171292Grok 4.6
Design Arena: SVG11431239Grok 4.6
Design Arena: ASCII art11651278Grok 4.6
LiveBench designNot measured79.8%Only Grok 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index910
General benchmarks for GLM 4.7 and Grok 4.6
BenchmarkGLM 4.7Grok 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)68.6%86.5%Grok 4.6
IFBench67.9%Not measuredOnly GLM 4.7 measured
Long context reasoning (AA-LCR)71.0%81.0%Grok 4.6
DTBenchNot measured97.3%Only Grok 4.6 measured
LMCANot measured48.5%Only Grok 4.6 measured
CL-bench15.9%Not measuredOnly GLM 4.7 measured
Furniture assemblyNot measured40.0%Only Grok 4.6 measured
CL-bench Life10.9%Not measuredOnly GLM 4.7 measured
LMArena Text14351429GLM 4.7
LMArena Text: instruction following14121431Grok 4.6
LMArena Text: creative writing14011426Grok 4.6
LMArena VisionNot measured1263Only Grok 4.6 measured
LMArena Text: English14531433GLM 4.7
LMArena Text: non-English14171420Grok 4.6
LMArena Text: Chinese14951476GLM 4.7
LMArena Text: German14261426Grok 4.6
LMArena Text: Japanese14391378GLM 4.7
LMArena Text: Korean13991391GLM 4.7
LMArena Text: French14321455Grok 4.6
LMArena Text: Spanish14341414GLM 4.7
LMArena Text: Russian14231421GLM 4.7
LMArena Text: Polish14351430GLM 4.7
LMArena Text: multi-turn14461425GLM 4.7
LMArena Text: longer queries14321456Grok 4.6
LMArena Text: writing and language14111429Grok 4.6
LMArena Text: entertainment and media14001421Grok 4.6
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 11 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.7 and Grok 4.6
BenchmarkGLM 4.7Grok 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 4.7$0.0017Fits in one request
Grok 4.6$0.0050Fits in one request

GLM 4.7 costs less

Repository review

50K input + 3K output tokens

GLM 4.7$0.037Fits in one request
Grok 4.6$0.118Fits in one request

GLM 4.7 costs less

Agent loop

200K input + 10K output tokens

GLM 4.7$0.142Exceeds the context window
Grok 4.6$0.460Fits in one request

GLM 4.7 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.7 and Grok 4.6
SpecificationZ.ai GLM 4.7SpaceXAI Grok 4.6
MakerZ.aixAI
WeightsOpen weightsNo public weights listed
ReleasedDecember 22, 2025August 12, 2026
Context window205K500K
Input $/Mtok$0.60$2.00
Output $/Mtok$2.20$6.00
Coding index55.165.7
Independent measurements behind it26
Cost per solved task$0.29$0.82
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.7 better than Grok 4.6 for coding?

Pick Grok 4.6 for coding: it scores 65.7 on the Vibe Coding Index against 55.1 for GLM 4.7. Pick GLM 4.7 for output tokens 2.7x cheaper ($2.20 vs $6.00 per million) and a lower cost per solved task ($0.29 against $0.82).

Which is cheaper, GLM 4.7 or Grok 4.6?

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

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

Grok 4.6, with 500K tokens against 205K.

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

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