Enter opens the highlighted result. Esc closes.

GLM 5.1 vs Grok 4.3

GLM 5.1 leads Grok 4.3 on coding, 49.2 to 37.4 on the Vibe Coding Index, and Grok 4.3 costs 1.8x less per output token ($2.50 vs $4.40 per million). Updated October 21, 2026; 83 benchmarks have a result for both.

GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
67
Grok 4.3xAI
Coding
37.4
Overall
53.1
Output $/M
$2.50
13
vs boards won of 83 shared, 3 tied

GLM 5.1 or Grok 4.3: which to pick

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

Pick Grok 4.3 for output tokens 1.8x cheaper ($2.50 vs $4.40 per million) and a lower cost per solved task ($0.31 against $0.60).

Shared results
83
GLM 5.1 only
6
Grok 4.3 only
21
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.3 37.4 from 3 benchmarks.
Widest category
Agentic work, 16.0 points apart on average over 13 shared benchmarks.
Widest single gap
Vending-Bench 2: GLM 5.1 $5,634 against Grok 4.3 $35, 35.0 points apart on a 0 to 100 scale.
Output price
GLM 5.1 $4.40 against Grok 4.3 $2.50 per million output tokens, 1.8x apart.
Context window
GLM 5.1 takes 205K tokens, Grok 4.3 1M.

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.3Ties
Coding1231 tie
Intelligence10
Agentic work1201 tie
Reasoning53
Math311 tie
Knowledge83
Web design80
General183
All shared boards67133 ties
CodingLike-for-likeSix of these boards feed the Vibe Coding Index123
Coding benchmarks for GLM 5.1 and Grok 4.3
BenchmarkGLM 5.1Grok 4.3Leader
LMArena WebDev15081358GLM 5.1
AA Coding Index55.842.2GLM 5.1
LiveCodeBench (Vals AI)81.4%84.5%Grok 4.3
SWE-bench Verified (Vals AI)76.4%71.4%GLM 5.1
Vibe Code Bench (Vals AI)31.5%19.4%GLM 5.1
Code migration (Vals AI)25.8%6.8%GLM 5.1
ProgramBench (Vals AI)0.0%0.0%Tie
Terminal-Bench 2.1 (Vals AI)56.9%42.0%GLM 5.1
SkillsBench (Vals AI)Not measured40.6%Only Grok 4.3 measured
SciCode44.8%48.3%Grok 4.3
Terminal-Bench Hard (Artificial Analysis run)43.2%37.9%GLM 5.1
WeirdML57.1%49.9%GLM 5.1
ALE-Bench887.1944.2Grok 4.3
LMArena Text: coding14851415GLM 5.1
LMArena Text: software and IT14841416GLM 5.1
LMArena WebDev: React15051353GLM 5.1
LMArena WebDev: HTML15081367GLM 5.1
LMArena WebDev: from an imageNot measured1375Only Grok 4.3 measured
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 5.1 and Grok 4.3
BenchmarkGLM 5.1Grok 4.3Leader
AA Intelligence Index26.124.9GLM 5.1
Epoch Capabilities Index149.8Not measuredOnly GLM 5.1 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index120
Agentic work benchmarks for GLM 5.1 and Grok 4.3
BenchmarkGLM 5.1Grok 4.3Leader
AA Agentic Index23.915.5GLM 5.1
Design Arena: agents building web apps11751126GLM 5.1
Design Arena: agents building full-stack apps11671006GLM 5.1
Design Arena: agents building mobile apps11621059GLM 5.1
Design Arena: agents building Android apps1180961GLM 5.1
Design Arena: agents building Godot games1053914GLM 5.1
Design Arena: agents building games11641007GLM 5.1
Design Arena: HTML slides11701008GLM 5.1
Design Arena: PowerPoint slides11881013GLM 5.1
Design Arena: spreadsheets1315Not measuredOnly GLM 5.1 measured
Finance Agent (Vals AI)44.8%37.7%GLM 5.1
Tax Agent Bench (Vals AI)Not measured6.2%Only Grok 4.3 measured
Legal Research Bench (Vals AI)27.9%15.4%GLM 5.1
Excel Modeling Benchmark (Vals AI)Not measured18.4%Only Grok 4.3 measured
τ²-Bench Telecom97.7%97.7%Tie
APEX-Agents40.9%Not measuredOnly GLM 5.1 measured
Vending-Bench 2$5,634$35GLM 5.1
LMArena SearchNot measured1166Only Grok 4.3 measured
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index53
Reasoning benchmarks for GLM 5.1 and Grok 4.3
BenchmarkGLM 5.1Grok 4.3Leader
GPQA Diamond84.5%91.4%Grok 4.3
MMMU Pro (Vals AI)Not measured83.1%Only Grok 4.3 measured
GPQA Diamond (Artificial Analysis run)86.8%90.1%Grok 4.3
Humanity's Last Exam (Artificial Analysis run)30.1%37.2%Grok 4.3
GPQA Diamond (Epoch AI run)89.9%88.8%GLM 5.1
SimpleBench55.1%Not measuredOnly GLM 5.1 measured
Chess puzzles20.0%18.0%GLM 5.1
LMArena Text: hard prompts14731396GLM 5.1
LMArena Text: expert14781384GLM 5.1
LMArena Text: hard prompts in English14821402GLM 5.1
LMArena Vision: diagramsNot measured1241Only Grok 4.3 measured
LMArena Vision: homeworkNot measured1241Only Grok 4.3 measured
Neither model has a result on the other 10 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index31
Math benchmarks for GLM 5.1 and Grok 4.3
BenchmarkGLM 5.1Grok 4.3Leader
AIME91.9%Not measuredOnly GLM 5.1 measured
OTIS Mock AIME93.3%93.3%Tie
FrontierMath, tiers 1 to 336.8%42.8%Grok 4.3
FrontierMath, tier 4Not measured14.6%Only Grok 4.3 measured
ProofBench22.2%11.0%GLM 5.1
LMArena Text: math14731387GLM 5.1
LMArena Text: mathematical work14701396GLM 5.1
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index83
Knowledge benchmarks for GLM 5.1 and Grok 4.3
BenchmarkGLM 5.1Grok 4.3Leader
MMLU Pro86.9%85.8%GLM 5.1
LegalBench (Vals AI)84.4%84.5%Grok 4.3
CaseLaw (Vals AI)51.5%79.3%Grok 4.3
CorpFin (Vals AI)64.5%68.5%Grok 4.3
TaxEval (Vals AI)71.2%70.8%GLM 5.1
MortgageTax (Vals AI)Not measured48.3%Only Grok 4.3 measured
MedCode (Vals AI)41.6%38.1%GLM 5.1
SimpleQA Verified34.0%33.2%GLM 5.1
LMArena Text: science14781399GLM 5.1
LMArena Text: medicine and healthcare14741384GLM 5.1
LMArena Text: legal and government14651386GLM 5.1
LMArena Text: business and finance14521381GLM 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 index80
Web design benchmarks for GLM 5.1 and Grok 4.3
BenchmarkGLM 5.1Grok 4.3Leader
Design Arena: websites12901196GLM 5.1
Design Arena: UI components12921192GLM 5.1
Design Arena: game dev12651174GLM 5.1
Design Arena: data viz13661179GLM 5.1
Design Arena: 3D13361125GLM 5.1
Design Arena: all code categories12681187GLM 5.1
Design Arena: SVG12181081GLM 5.1
Design Arena: ASCII art11421125GLM 5.1
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index183
General benchmarks for GLM 5.1 and Grok 4.3
BenchmarkGLM 5.1Grok 4.3Leader
Public Benefits Bench (Vals AI)61.8%51.7%GLM 5.1
SAGE (Vals AI)Not measured19.7%Only Grok 4.3 measured
MedScribe (Vals AI)72.3%74.4%Grok 4.3
Vals Multimodal IndexNot measured43.3%Only Grok 4.3 measured
IFBench76.3%83.3%Grok 4.3
Long context reasoning (AA-LCR)73.7%75.0%Grok 4.3
DTBenchNot measured90.7%Only Grok 4.3 measured
LMCANot measured38.3%Only Grok 4.3 measured
ExploitBench18.1%Not measuredOnly GLM 5.1 measured
LMArena Text14631397GLM 5.1
LMArena Text: instruction following14531366GLM 5.1
LMArena Text: creative writing14531380GLM 5.1
LMArena VisionNot measured1229Only Grok 4.3 measured
LMArena Text: English14761404GLM 5.1
LMArena Text: non-English14481385GLM 5.1
LMArena Text: Chinese15151422GLM 5.1
LMArena Text: German14671395GLM 5.1
LMArena Text: Japanese14351379GLM 5.1
LMArena Text: Korean14241354GLM 5.1
LMArena Text: French14701411GLM 5.1
LMArena Text: Spanish14681399GLM 5.1
LMArena Text: Russian14541399GLM 5.1
LMArena Text: Polish14491398GLM 5.1
LMArena Text: multi-turn14731406GLM 5.1
LMArena Text: longer queries14671393GLM 5.1
LMArena Text: writing and language14541385GLM 5.1
LMArena Text: entertainment and media14421370GLM 5.1
LMArena Vision: EnglishNot measured1235Only Grok 4.3 measured
LMArena Vision: ChineseNot measured1257Only Grok 4.3 measured
LMArena Vision: reading textNot measured1235Only Grok 4.3 measured
LMArena Vision: humorNot measured1222Only Grok 4.3 measured
LMArena Vision: recognizing thingsNot measured1217Only Grok 4.3 measured
LMArena Vision: creative writingNot measured1237Only Grok 4.3 measured
Neither model has a result on the other 13 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.3
BenchmarkGLM 5.1Grok 4.3Leader
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.3$0.0025Fits in one request

Grok 4.3 costs less

Repository review

50K input + 3K output tokens

GLM 5.1$0.083Fits in one request
Grok 4.3$0.070Fits in one request

Grok 4.3 costs less

Agent loop

200K input + 10K output tokens

GLM 5.1$0.324Exceeds the context window
Grok 4.3$0.275Fits in one request

Grok 4.3 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.3
SpecificationZ.ai GLM 5.1SpaceXAI Grok 4.3
MakerZ.aixAI
WeightsOpen weightsNo public weights listed
ReleasedApril 7, 2026April 30, 2026
Context window205K1M
Input $/Mtok$1.40$1.25
Output $/Mtok$4.40$2.50
Coding index49.237.4
Independent measurements behind it33
Cost per solved task$0.60$0.31
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.1 better than Grok 4.3 for coding?

Pick GLM 5.1 for coding: it scores 49.2 on the Vibe Coding Index against 37.4 for Grok 4.3. Pick Grok 4.3 for output tokens 1.8x cheaper ($2.50 vs $4.40 per million) and a lower cost per solved task ($0.31 against $0.60).

Which is cheaper, GLM 5.1 or Grok 4.3?

GLM 5.1 costs $1.40 per million input tokens and $4.40 per million output tokens; Grok 4.3 costs $1.25 and $2.50. Per solved SWE-bench Verified task, GLM 5.1 costs $0.60 and Grok 4.3 $0.31.

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

Grok 4.3, with 1M tokens against 205K.

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

83 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.3'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/glm-5-1-vs-grok-4-3" title="GLM 5.1 vs Grok 4.3, 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-3">LLMBenchmark.ai, GLM 5.1 vs Grok 4.3</a></p>