ZMIME
Comparison · 2 models · Updated Nov 22, 2026

GLM-5.2 vs Grok 4.5

Too close to call on our weighted score (Grok 4.5 64, GLM-5.2 62). The right pick depends on what you value most.Grok 4.5 comes out ahead, 76 to 71 on our weighted score, though GLM-5.2 is 28% cheaper per token.

  1. Z.ai (Zhipu)

    GLM-5.2

    Released Jun 13, 2026

    62/100
    • ECI153.1
    • Price$1.40 / $4.40
    • Context1M
  2. xAI

    Grok 4.5

    Released Jul 8, 2026

    64/100
    • ECI155.0
    • Price$2.00 / $6.00
    • Context500K
  3. Z.ai (Zhipu)

    GLM-5.2

    Released Jun 13, 2026

    71/100
    • ECI153.1
    • Price$1.40 / $4.40
    • Context1M
  4. Our pick

    xAI

    Grok 4.5

    Released Jul 8, 2026

    76/100
    • ECI155.0
    • Price$2.00 / $6.00
    • Context500K
  5. Add a model

    Make it a three-way comparison.

01 — Verdict

Too close to callGrok 4.5 is our pick

It is close. Our weighted score puts them within 2 points (Grok 4.5 64/100, GLM-5.2 62/100), so choose by what matters most for your work: Grok 4.5 for raw capability, GLM-5.2 on price and GLM-5.2 for long inputs. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.Grok 4.5 is the better all-round choice, scoring 76/100 against GLM-5.2 (71). It leads on capability and inputs & features. GLM-5.2 wins on context window. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityGrok 4.5Capabilities Index (ECI): Grok 4.5 155.0 · GLM-5.2 153.1
  • Lowest priceGLM-5.2GLM-5.2 $2.15 · Grok 4.5 $3.00 per 1M tokens (3:1 blend)
  • Longest contextGLM-5.2GLM-5.2 1,000,000 · Grok 4.5 500,000 tokens
  • Widest inputsGrok 4.5GLM-5.2: Text · Grok 4.5: Text, Images
  • Self-hostingGLM-5.2Publishes downloadable weights
How the score is built
MeasureWeightGLM-5.2Grok 4.5
CapabilityCapabilities Index (ECI)50%8183
Price25%3326
Inputs & features15%4570
Context window10%6453
Overall100%62/10064/100
How the score is built
MeasureWeightGLM-5.2Grok 4.5
CapabilityCapabilities Index (ECI)67%8183
Inputs & features20%4570
Context window13%6453
Overall100%71/10076/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.

GLM-5.2 vs Grok 4.5 specifications side by side
SpecificationGLM-5.2Z.ai (Zhipu)Grok 4.5xAI
Capability
Capabilities Index (ECI)153.1155.0 (best)
ECI rank#55 of 159#48 of 159 (best)
ECI confidence interval151.3–154.9153.1–156.9
ECI evaluation dateJun 16, 2026Jul 8, 2026
Documented capabilitiesOpen flagship GLM for long-horizon coding agents and million-token context workxAI's Grok model for chat, coding, agentic tools, and lower hallucination risk
Model parametersNot publishedNot published
Output modalitiesTextText
GPQA DiamondGraduate-level science questions91.9%max93.4%high (best)
FrontierMath Tiers 1–3Research-level mathematics59.2%max (best)57.2%high
OTIS Mock AIME 2024–2025Competition mathematics86.4%max97.8%high (best)
SWE-bench VerifiedFixing real GitHub issues78.7%maxNot published
SimpleQA VerifiedShort factual questions34.2%max48.3%high (best)
Publisher-reported benchmarks
SWE-Bench ProPublisher-reported result62.1resolve rateReported resultJun 16, 202664.7resolve rateReported resultJul 8, 2026
Terminal-Bench 2.1Publisher-reported result82.7success rateReported resultJun 16, 202683.3success rateReported resultJul 8, 2026
FrontierSWEPublisher-reported result74.4dominanceReported resultJun 16, 2026Not published
Humanity's Last Exam · text-only subsetPublisher-reported result40.5accuracyReported resultJun 16, 2026Not published
Humanity's Last Exam · text-only subsetwith tools54.7accuracyReported resultJun 16, 2026Not published
CritPtPublisher-reported result20.9accuracyReported resultJun 16, 2026Not published
AIME 2026Publisher-reported result99.2accuracyReported resultJun 16, 2026Not published
HMMT November 2025Publisher-reported result94.4accuracyReported resultJun 16, 2026Not published
HMMT February 2026Publisher-reported result92.5accuracyReported resultJun 16, 2026Not published
IMOAnswerBenchPublisher-reported result91accuracyReported resultJun 16, 2026Not published
GPQA DiamondPublisher-reported result91.2accuracyReported resultJun 16, 2026Not published
NL2RepoPublisher-reported result48.9resolve rateReported resultJun 16, 2026Not published
DeepSWEPublisher-reported result46.2resolve rateReported resultJun 16, 2026Not published
Program BenchPublisher-reported result63.7scoreReported resultJun 16, 2026Not published
PostTrainBenchPublisher-reported result34.3scoreReported resultJun 16, 2026Not published
SWE MarathonPublisher-reported result13resolve rateReported resultJun 16, 2026Not published
MCP Atlas · public subsetPublisher-reported result76.8scoreReported resultJun 16, 2026Not published
Tool-DecathlonPublisher-reported result48.2scoreReported resultJun 16, 2026Not published
SWE-Bench MultilingualPublisher-reported resultNot published78resolve rateReported resultJul 8, 2026
DeepSWE 1.0Publisher-reported resultNot published62resolve rateReported resultJul 8, 2026
DeepSWE 1.1Publisher-reported resultNot published53resolve rateReported resultJul 8, 2026
SWE MarathonPublisher-reported resultNot published29pass@1Reported resultJul 8, 2026
Price per million tokens
Input$1.40 (best)$2.00
Output$4.40 (best)$6.00
Cached input$0.26 (best)$0.30
Blended (3:1)$2.15 (best)$3.00
Long-context rateSame rateOver 200K: $4.00 / $12.00
Price sourceOfficial Z.AI APIOfficial xAI API
Limits
Context window1,000,000 tokens (best)500,000 tokens
Max inputNot publishedNot published
Max output131,072 tokens500,000 tokens (best)
Inputs and features
TextYesYes
ImagesNoYes
PDFsNoNo
AudioNoNo
VideoNoNo
ReasoningYeshigh · maxYeslow · medium · high · xhigh
Tool callingYesYes
Structured outputYesYes
File attachmentsNoYes
Temperature controlYesYes
Reasoning controlefforteffort
Availability
WeightsOpenProprietary
API model IDglm-5.2grok-4.5
API providers88 (best)27
ReleasedJun 13, 2026Jul 8, 2026
Knowledge cutoffNot publishedNot published
Publisher documentationPublisher documentation · Model weightsPublisher documentation
Source metadata updatedJun 13, 2026Jul 8, 2026
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 22, 2026Nov 22, 2026
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • GLM-5.2$22.80
  • Grok 4.5$32.00
04 — Questions

Which should you choose?

Which is better: GLM-5.2 or Grok 4.5?

It is close. Our weighted score puts them within 2 points (Grok 4.5 64/100, GLM-5.2 62/100), so choose by what matters most for your work: Grok 4.5 for raw capability, GLM-5.2 on price and GLM-5.2 for long inputs. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.Grok 4.5 is the better all-round choice, scoring 76/100 against GLM-5.2 (71). It leads on capability and inputs & features. GLM-5.2 wins on context window. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, GLM-5.2 or Grok 4.5?

GLM-5.2 is cheaper at $1.40 input / $4.40 output per million tokens (official Z.AI API price). Grok 4.5 costs $2.00 input / $6.00 output per million tokens (official xAI API price). At a typical mix of three input tokens to one output token, that is $2.15 per million tokens for GLM-5.2 versus $3.00 for Grok 4.5 (1.4× as much).

Which scores higher on benchmarks?

Grok 4.5 scores higher on the Capabilities Index (ECI): Grok 4.5 155.0 (#48 of 159) and GLM-5.2 153.1 (#55 of 159). The confidence ranges of the top two overlap (153.1–156.9 vs 151.3–154.9), so treat the gap as small. On individual benchmarks: GPQA Diamond — Grok 4.5 93.4%, GLM-5.2 91.9%; FrontierMath Tiers 1–3 — GLM-5.2 59.2%, Grok 4.5 57.2%; OTIS Mock AIME 2024–2025 — Grok 4.5 97.8%, GLM-5.2 86.4%; SimpleQA Verified — Grok 4.5 48.3%, GLM-5.2 34.2%.

Which is better for coding?

There are no published SWE-bench Verified results for Grok 4.5 yet, so there is no like-for-like coding score. On overall capability, Grok 4.5 leads, which tends to carry over to coding, but test on your own codebase. Both support tool calling for agent workflows.

Which has the bigger context window?

GLM-5.2 has the largest context window at 1,000,000 tokens, against 500,000 for Grok 4.5. Maximum output per response: GLM-5.2 up to 131,072, Grok 4.5 up to 500,000 tokens.

Which can read images, PDFs, audio or video?

GLM-5.2 accepts text; Grok 4.5 accepts text and images. Grok 4.5 handles the widest range of inputs.

Are any of these open source?

GLM-5.2 publishes its weights and can be self-hosted; Grok 4.5 is proprietary.

Which is newer?

Grok 4.5 is the newest, released Jul 8, 2026. GLM-5.2 came out Jun 13, 2026.

How do you decide the winner?

This rating uses capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 22, 2026.This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 22, 2026.