Enter opens the highlighted result. Esc closes.

GLM 4.7 Flash vs Grok 4.5

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

GLM 4.7 FlashZ.ai
Coding
No data
Overall
14.9
Output $/M
$0.40
0
Grok 4.5xAI
Coding
58.6
Overall
38.8
Output $/M
$6.00
40
vs boards won of 40 shared

Decision reading

Only Grok 4.5 has a coding score, 58.6 on the Vibe Coding Index; GLM 4.7 Flash has none, so the two cannot be ranked on coding.

GLM 4.7 Flash has the edge where output tokens cost 15.0x less.

Shared results
40
GLM 4.7 Flash only
3
Grok 4.5 only
80
Like-for-like categories
7 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 4.7 Flash not benchmarked, Grok 4.5 58.6 from 6 benchmarks.
Widest category
Reasoning, 25.7 points apart on average over 6 shared benchmarks.
Widest single gap
OTIS Mock AIME: GLM 4.7 Flash 58.3% against Grok 4.5 97.8%, 39.4 points apart on a 0 to 100 scale.
Output price
GLM 4.7 Flash $0.40 against Grok 4.5 $6.00 per million output tokens, 15.0x apart.
Context window
GLM 4.7 Flash takes 200K tokens, Grok 4.5 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.7 FlashBarsGrok 4.5Ties
Coding02
Intelligence01
Reasoning06
Math03
Knowledge04
Web design07
General017
All shared boards040
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for GLM 4.7 Flash and Grok 4.5
BenchmarkGLM 4.7 FlashGrok 4.5Leader
LiveBench codingNot measured94.3%Only Grok 4.5 measured
LMArena WebDevNot measured1553Only Grok 4.5 measured
AA Coding IndexNot measured72.4Only Grok 4.5 measured
LiveCodeBench (Vals AI)Not measured87.3%Only Grok 4.5 measured
SWE-bench Verified (Vals AI)Not measured86.6%Only Grok 4.5 measured
Terminal-Bench 4 (Vals AI)Not measured8.6%Only Grok 4.5 measured
Vibe Code Bench (Vals AI)Not measured69.0%Only Grok 4.5 measured
Code migration (Vals AI)Not measured36.6%Only Grok 4.5 measured
ProgramBench (Vals AI)Not measured0.0%Only Grok 4.5 measured
IOI (Vals AI)Not measured40.6%Only Grok 4.5 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only Grok 4.5 measured
SkillsBench (Vals AI)Not measured66.0%Only Grok 4.5 measured
CyberBench (Vals AI)Not measured71.0%Only Grok 4.5 measured
SciCodeNot measured55.0%Only Grok 4.5 measured
Terminal-Bench Hard (Artificial Analysis run)22.0%Not measuredOnly GLM 4.7 Flash measured
FrontierCodeNot measured42.4%Only Grok 4.5 measured
WeirdMLNot measured46.4%Only Grok 4.5 measured
ALE-BenchNot measured1309.3Only Grok 4.5 measured
LMArena Text: coding13821474Grok 4.5
LMArena Text: software and IT13891471Grok 4.5
LMArena WebDev: ReactNot measured1556Only Grok 4.5 measured
LMArena WebDev: HTMLNot measured1567Only Grok 4.5 measured
LMArena WebDev: from an imageNot measured1562Only Grok 4.5 measured
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.7 Flash and Grok 4.5
BenchmarkGLM 4.7 FlashGrok 4.5Leader
AA Intelligence Index14.938.8Grok 4.5
Epoch Capabilities IndexNot measured154.1Only Grok 4.5 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index23 boards, none shared
Agentic work benchmarks for GLM 4.7 Flash and Grok 4.5
BenchmarkGLM 4.7 FlashGrok 4.5Leader
AA Agentic IndexNot measured41.2Only Grok 4.5 measured
Design Arena: agents building web appsNot measured1218Only Grok 4.5 measured
Design Arena: agents building full-stack appsNot measured1249Only Grok 4.5 measured
Design Arena: agents building mobile appsNot measured1221Only Grok 4.5 measured
Design Arena: agents building Android appsNot measured1242Only Grok 4.5 measured
Design Arena: agents building Godot gamesNot measured1229Only Grok 4.5 measured
Design Arena: agents building gamesNot measured1236Only Grok 4.5 measured
Design Arena: HTML slidesNot measured1204Only Grok 4.5 measured
Design Arena: PowerPoint slidesNot measured1233Only Grok 4.5 measured
LiveBench researchNot measured85.9%Only Grok 4.5 measured
LiveBench browserNot measured44.0%Only Grok 4.5 measured
LiveBench long agenticNot measured27.9%Only Grok 4.5 measured
SREBench (Vals AI)Not measured0.8%Only Grok 4.5 measured
Finance Agent (Vals AI)Not measured48.4%Only Grok 4.5 measured
Tax Agent Bench (Vals AI)Not measured24.9%Only Grok 4.5 measured
Legal Research Bench (Vals AI)Not measured38.0%Only Grok 4.5 measured
Excel Modeling Benchmark (Vals AI)Not measured52.9%Only Grok 4.5 measured
Time Horizon Index (Vals AI)Not measured6.3%Only Grok 4.5 measured
τ²-Bench Telecom98.8%Not measuredOnly GLM 4.7 Flash measured
APEX-AgentsNot measured56.2%Only Grok 4.5 measured
PostTrainBenchNot measured23.4%Only Grok 4.5 measured
Vending-Bench 2Not measured$3,887Only Grok 4.5 measured
LMArena SearchNot measured1216Only Grok 4.5 measured
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for GLM 4.7 Flash and Grok 4.5
BenchmarkGLM 4.7 FlashGrok 4.5Leader
GPQA DiamondNot measured92.9%Only Grok 4.5 measured
LiveBench reasoningNot measured87.2%Only Grok 4.5 measured
MMMU Pro (Vals AI)Not measured61.8%Only Grok 4.5 measured
GPQA Diamond (Artificial Analysis run)58.1%93.1%Grok 4.5
Humanity's Last Exam (Artificial Analysis run)7.6%42.7%Grok 4.5
GPQA Diamond (Epoch AI run)60.5%93.4%Grok 4.5
ARC-AGINot measured87.2%Only Grok 4.5 measured
ARC-AGI-2Not measured52.6%Only Grok 4.5 measured
SimpleBenchNot measured70.0%Only Grok 4.5 measured
Chess puzzlesNot measured35.0%Only Grok 4.5 measured
LMArena Text: hard prompts13561462Grok 4.5
LMArena Text: expert13571465Grok 4.5
LMArena Text: hard prompts in English13691464Grok 4.5
LMArena Vision: diagramsNot measured1304Only Grok 4.5 measured
LMArena Vision: homeworkNot measured1295Only Grok 4.5 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for GLM 4.7 Flash and Grok 4.5
BenchmarkGLM 4.7 FlashGrok 4.5Leader
OTIS Mock AIME58.3%97.8%Grok 4.5
FrontierMath, tiers 1 to 3Not measured57.2%Only Grok 4.5 measured
FrontierMath, tier 4Not measured24.4%Only Grok 4.5 measured
ProofBenchNot measured31.0%Only Grok 4.5 measured
LMArena Text: math13551460Grok 4.5
LMArena Text: mathematical work13691482Grok 4.5
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for GLM 4.7 Flash and Grok 4.5
BenchmarkGLM 4.7 FlashGrok 4.5Leader
MMLU ProNot measured89.2%Only Grok 4.5 measured
LegalBench (Vals AI)Not measured86.0%Only Grok 4.5 measured
CorpFin (Vals AI)Not measured67.4%Only Grok 4.5 measured
TaxEval (Vals AI)Not measured71.7%Only Grok 4.5 measured
MortgageTax (Vals AI)Not measured61.8%Only Grok 4.5 measured
MedCode (Vals AI)Not measured43.3%Only Grok 4.5 measured
SimpleQA VerifiedNot measured48.3%Only Grok 4.5 measured
LMArena Text: science13581464Grok 4.5
LMArena Text: medicine and healthcare13431440Grok 4.5
LMArena Text: legal and government13571463Grok 4.5
LMArena Text: business and finance13431441Grok 4.5
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index07
Web design benchmarks for GLM 4.7 Flash and Grok 4.5
BenchmarkGLM 4.7 FlashGrok 4.5Leader
Design Arena: websites11941281Grok 4.5
Design Arena: UI components12081279Grok 4.5
Design Arena: game dev11351263Grok 4.5
Design Arena: data viz11231266Grok 4.5
Design Arena: 3D11211257Grok 4.5
Design Arena: all code categories11781275Grok 4.5
Design Arena: SVG10381215Grok 4.5
Design Arena: ASCII artNot measured1257Only Grok 4.5 measured
LiveBench designNot measured78.1%Only Grok 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index017
General benchmarks for GLM 4.7 Flash and Grok 4.5
BenchmarkGLM 4.7 FlashGrok 4.5Leader
LiveBench data analysisNot measured73.0%Only Grok 4.5 measured
SAGE (Vals AI)Not measured35.0%Only Grok 4.5 measured
MedScribe (Vals AI)Not measured86.9%Only Grok 4.5 measured
Vals Multimodal IndexNot measured63.4%Only Grok 4.5 measured
IFBench60.8%Not measuredOnly GLM 4.7 Flash measured
Long context reasoning (AA-LCR)41.7%79.3%Grok 4.5
DTBenchNot measured96.5%Only Grok 4.5 measured
LMCANot measured45.2%Only Grok 4.5 measured
Surface Evolver BenchNot measured74.4%Only Grok 4.5 measured
Furniture assemblyNot measured22.5%Only Grok 4.5 measured
LMArena Text13511448Grok 4.5
LMArena Text: instruction following13271445Grok 4.5
LMArena Text: creative writing12961442Grok 4.5
LMArena VisionNot measured1287Only Grok 4.5 measured
LMArena Text: English13731453Grok 4.5
LMArena Text: non-English13301440Grok 4.5
LMArena Text: Chinese14031495Grok 4.5
LMArena Text: German13361448Grok 4.5
LMArena Text: JapaneseNot measured1430Only Grok 4.5 measured
LMArena Text: Korean12831406Grok 4.5
LMArena Text: French13321457Grok 4.5
LMArena Text: Spanish13501451Grok 4.5
LMArena Text: Russian13331449Grok 4.5
LMArena Text: Polish12911432Grok 4.5
LMArena Text: multi-turn13421456Grok 4.5
LMArena Text: longer queries13451462Grok 4.5
LMArena Text: writing and language13201445Grok 4.5
LMArena Text: entertainment and media13041434Grok 4.5
LMArena Vision: EnglishNot measured1285Only Grok 4.5 measured
LMArena Vision: ChineseNot measured1345Only Grok 4.5 measured
LMArena Vision: reading textNot measured1293Only Grok 4.5 measured
LMArena Vision: humorNot measured1276Only Grok 4.5 measured
LMArena Vision: creative writingNot measured1293Only Grok 4.5 measured
LMArena DocumentNot measured1452Only Grok 4.5 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 4.7 Flash and Grok 4.5
BenchmarkGLM 4.7 FlashGrok 4.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

GLM 4.7 Flash$0.0003Fits in one request
Grok 4.5$0.0050Fits in one request

GLM 4.7 Flash costs less

Repository review

50K input + 3K output tokens

GLM 4.7 Flash$0.0045Fits in one request
Grok 4.5$0.118Fits in one request

GLM 4.7 Flash costs less

Agent loop

200K input + 10K output tokens

GLM 4.7 Flash$0.017Exceeds the context window
Grok 4.5$0.460Fits in one request

GLM 4.7 Flash 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 Flash and Grok 4.5
SpecificationZ.ai GLM 4.7 FlashSpaceXAI Grok 4.5
MakerZ.aixAI
WeightsOpen weightsNo public weights listed
ReleasedJanuary 19, 2026July 8, 2026
Context window200K500K
Input $/Mtok$0.0653$2.00
Output $/Mtok$0.40$6.00
Coding indexNot benchmarked58.6
Independent measurements behind it06
Cost per solved taskNot computable$0.62
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.7 Flash better than Grok 4.5 for coding?

Only Grok 4.5 has a coding score, 58.6 on the Vibe Coding Index; GLM 4.7 Flash has none, so the two cannot be ranked on coding. GLM 4.7 Flash has the edge where output tokens cost 15.0x less.

Which is cheaper, GLM 4.7 Flash or Grok 4.5?

GLM 4.7 Flash costs $0.0653 per million input tokens and $0.40 per million output tokens; Grok 4.5 costs $2.00 and $6.00. Cost per solved task is known for Grok 4.5 only.

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

Grok 4.5, with 500K tokens against 200K.

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

40 benchmarks have a result for both models as of October 21, 2026. GLM 4.7 Flash's coding index rests on 0 independent benchmarks and Grok 4.5's on 6. Where only one model has a result, the page says so instead of naming a winner.

Compare next