Grok 4.7 vs GLM-5.2
Grok 4.7 comes out ahead, 66 to 62 on our weighted score, though GLM-5.2 is 28% cheaper per token.Grok 4.7 comes out ahead, 79 to 71 on our weighted score, though GLM-5.2 is 28% cheaper per token.
Grok 4.7 is our pick
Grok 4.7 is the better all-round choice, scoring 66/100 against GLM-5.2 (62). It leads on capability and inputs & features. GLM-5.2 wins on price and context window. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.Grok 4.7 is the better all-round choice, scoring 79/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.7Capabilities Index (ECI): Grok 4.7 156.4 · GLM-5.2 153.1
- Lowest priceGLM-5.2GLM-5.2 $2.15 · Grok 4.7 $3.00 per 1M tokens (3:1 blend)
- Longest contextGLM-5.2GLM-5.2 1,000,000 · Grok 4.7 500,000 tokens
- Widest inputsGrok 4.7Grok 4.7: Text, Images, PDFs · GLM-5.2: Text
- Self-hostingGLM-5.2Publishes downloadable weights
| Measure | Weight | Grok 4.7 | GLM-5.2 |
|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 84 | 81 |
| Price | 25% | 26 | 33 |
| Inputs & features | 15% | 80 | 45 |
| Context window | 10% | 53 | 64 |
| Overall | 100% | 66/100 | 62/100 |
| Measure | Weight | Grok 4.7 | GLM-5.2 |
|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 67% | 84 | 81 |
| Inputs & features | 20% | 80 | 45 |
| Context window | 13% | 53 | 64 |
| Overall | 100% | 79/100 | 71/100 |
Every spec in one table
Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.
| Specification | ||
|---|---|---|
| Capability | ||
| Capabilities Index (ECI) | 156.4 (best) | 153.1 |
| ECI rank | #39 of 159 (best) | #55 of 159 |
| ECI confidence interval | 154.5–158.5 | 151.3–154.9 |
| ECI evaluation date | Sep 21, 2026 | Jun 16, 2026 |
| Documented capabilities | xAI's frontier model for long-running agents, coding, knowledge work, and visual projects | Open flagship GLM for long-horizon coding agents and million-token context work |
| Model parameters | Not published | Not published |
| Output modalities | Text | Text |
| GPQA DiamondGraduate-level science questions | 92.7%xhigh (best) | 91.9%max |
| FrontierMath Tiers 1–3Research-level mathematics | 53.0%xhigh | 59.2%max (best) |
| OTIS Mock AIME 2024–2025Competition mathematics | 98.1%xhigh (best) | 86.4%max |
| SWE-bench VerifiedFixing real GitHub issues | Not published | 78.7%max |
| SimpleQA VerifiedShort factual questions | 56.0%xhigh (best) | 34.2%max |
| Publisher-reported benchmarks | ||
| CursorBench 4.0xhigh effort | 46.3scoreReported resultSep 21, 2026 | Not published |
| DeepSWE 1.1high effort | 71scoreReported resultSep 21, 2026 | Not published |
| EEBenchxhigh effort | 64scoreReported resultSep 21, 2026 | Not published |
| AA-Briefcase 1.1xhigh effort | 1657EloReported resultSep 21, 2026 | Not published |
| Terminal-Bench 4.0xhigh effort | 37.6scoreReported resultSep 21, 2026 | Not published |
| Harvey Legal Agent Benchmarkxhigh effort | 19.6scoreReported resultSep 21, 2026 | Not published |
| HealthBenchxhigh effort; professional | 56.7scoreReported resultSep 21, 2026 | Not published |
| GDPvalxhigh effort | 1695EloReported resultSep 21, 2026 | Not published |
| SWE-Bench ProPublisher-reported result | Not published | 62.1resolve rateReported resultJun 16, 2026 |
| Terminal-Bench 2.1Publisher-reported result | Not published | 82.7success rateReported resultJun 16, 2026 |
| FrontierSWEPublisher-reported result | Not published | 74.4dominanceReported resultJun 16, 2026 |
| Humanity's Last Exam · text-only subsetPublisher-reported result | Not published | 40.5accuracyReported resultJun 16, 2026 |
| Humanity's Last Exam · text-only subsetwith tools | Not published | 54.7accuracyReported resultJun 16, 2026 |
| CritPtPublisher-reported result | Not published | 20.9accuracyReported resultJun 16, 2026 |
| AIME 2026Publisher-reported result | Not published | 99.2accuracyReported resultJun 16, 2026 |
| HMMT November 2025Publisher-reported result | Not published | 94.4accuracyReported resultJun 16, 2026 |
| HMMT February 2026Publisher-reported result | Not published | 92.5accuracyReported resultJun 16, 2026 |
| IMOAnswerBenchPublisher-reported result | Not published | 91accuracyReported resultJun 16, 2026 |
| GPQA DiamondPublisher-reported result | Not published | 91.2accuracyReported resultJun 16, 2026 |
| NL2RepoPublisher-reported result | Not published | 48.9resolve rateReported resultJun 16, 2026 |
| DeepSWEPublisher-reported result | Not published | 46.2resolve rateReported resultJun 16, 2026 |
| Program BenchPublisher-reported result | Not published | 63.7scoreReported resultJun 16, 2026 |
| PostTrainBenchPublisher-reported result | Not published | 34.3scoreReported resultJun 16, 2026 |
| SWE MarathonPublisher-reported result | Not published | 13resolve rateReported resultJun 16, 2026 |
| MCP Atlas · public subsetPublisher-reported result | Not published | 76.8scoreReported resultJun 16, 2026 |
| Tool-DecathlonPublisher-reported result | Not published | 48.2scoreReported resultJun 16, 2026 |
| Price per million tokens | ||
| Input | $2.00 | $1.40 (best) |
| Output | $6.00 | $4.40 (best) |
| Cached input | $0.50 | $0.26 (best) |
| Blended (3:1) | $3.00 | $2.15 (best) |
| Long-context rate | Over 200K: $4.00 / $12.00 | Same rate |
| Price source | Official xAI API | Official Z.AI API |
| Limits | ||
| Context window | 500,000 tokens | 1,000,000 tokens (best) |
| Max input | Not published | Not published |
| Max output | 500,000 tokens (best) | 131,072 tokens |
| Inputs and features | ||
| Text | Yes | Yes |
| Images | Yes | No |
| PDFs | Yes | No |
| Audio | No | No |
| Video | No | No |
| Reasoning | Yeslow · medium · high · xhigh | Yeshigh · max |
| Tool calling | Yes | Yes |
| Structured output | Yes | Yes |
| File attachments | Yes | No |
| Temperature control | Yes | Yes |
| Reasoning control | effort | effort |
| Availability | ||
| Weights | Proprietary | Open |
| API model ID | grok-4.7 | glm-5.2 |
| API providers | 35 | 88 (best) |
| Released | Sep 21, 2026 | Jun 13, 2026 |
| Knowledge cutoff | May 2026 | Not published |
| Publisher documentation | Publisher documentation | Publisher documentation · Model weights |
| Source metadata updated | Sep 21, 2026 | Jun 13, 2026 |
| Data sources | models.dev · Epoch AI | models.dev · Epoch AI |
| Catalog checked | Nov 22, 2026 | Nov 22, 2026 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Grok 4.7$32.00
GLM-5.2$22.80
Which should you choose?
Which is better: Grok 4.7 or GLM-5.2?
Grok 4.7 is the better all-round choice, scoring 66/100 against GLM-5.2 (62). It leads on capability and inputs & features. GLM-5.2 wins on price and context window. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.Grok 4.7 is the better all-round choice, scoring 79/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, Grok 4.7 or GLM-5.2?
GLM-5.2 is cheaper at $1.40 input / $4.40 output per million tokens (official Z.AI API price). Grok 4.7 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.7 (1.4× as much).
Which scores higher on benchmarks?
Grok 4.7 scores higher on the Capabilities Index (ECI): Grok 4.7 156.4 (#39 of 159) and GLM-5.2 153.1 (#55 of 159). The confidence ranges of the top two overlap (154.5–158.5 vs 151.3–154.9), so treat the gap as small. On individual benchmarks: GPQA Diamond — Grok 4.7 92.7%, GLM-5.2 91.9%; FrontierMath Tiers 1–3 — GLM-5.2 59.2%, Grok 4.7 53.0%; OTIS Mock AIME 2024–2025 — Grok 4.7 98.1%, GLM-5.2 86.4%; SimpleQA Verified — Grok 4.7 56.0%, GLM-5.2 34.2%.
Which is better for coding?
There are no published SWE-bench Verified results for Grok 4.7 yet, so there is no like-for-like coding score. On overall capability, Grok 4.7 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.7. Maximum output per response: Grok 4.7 up to 500,000, GLM-5.2 up to 131,072 tokens.
Which can read images, PDFs, audio or video?
Grok 4.7 accepts text, images and PDFs; GLM-5.2 accepts text. Grok 4.7 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.7 is proprietary.
Which is newer?
Grok 4.7 is the newest, released Sep 21, 2026. GLM-5.2 came out Jun 13, 2026. Knowledge cutoff: Grok 4.7 May 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.