Across 5 comparable benchmarks, Grok 4 Heavy has better reported results on 3 and worse on 1, with 1 tied.
Moderate evidence5 of 5 shared results countedHow we compare
Price basis: International rates vs listed rates. The price section below shows the applicable periods.
| Fact | GLM-4.7 | Grok 4 Heavy |
|---|---|---|
| Context window | 200K tokens | 128K tokens |
| Input / 1M | $0.600 | — |
| Output / 1M | $2.20 | — |
| Blended (4:1) | $0.567 | — |
| Status | Available | Available |
| Released | December 22, 2025 | July 10, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 4 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
GLM-4.7 ahead on 1 of 1 counted
Grok 4 Heavy ahead on 1 of 2 counted
Grok 4 Heavy ahead on 1 of 1 counted
No shared comparable results for Abstract reasoning, Computer & tool use, Research & search, Long context, Multimodal, Professional work & productivity, Cybersecurity.
Published scores, with matching modes where available. Gaps show GLM-4.7 relative to Grok 4 Heavy. Reading the results
| Benchmark | GLM-4.7 | Grok 4 Heavy | Gap |
|---|---|---|---|
| SWE-bench VerifiedRepository Engineering · Accuracy | 73.8Thinking · tools | 73.5≠Parallel Thinking · tools | +0.3 pts#42 vs #43 of 108 |
| AIME2025Mathematics · Accuracy | 95.7Thinking · no tools | 100.0≠Parallel Thinking · no tools | −4.3 pts#21 vs #1 of 86 |
| FrontierMath - Tier 4Mathematics · Accuracy | 2.1Normal · no tools | 2.1≠Normal · tools + web | =#31 vs #31 of 50 |
| GPQA DiamondScientific Reasoning · Accuracy | 85.7Thinking · no tools | 88.9≠Parallel Thinking · no tools | −3.2 pts#77 vs #60 of 200 |
| HLEKnowledge Exams · Accuracy | 42.8Thinking · tools | 44.4≠Parallel Thinking · tools | −1.6 pts#73 vs #68 of 151 |
Repository Engineering · Accuracy
Mathematics · Accuracy
Mathematics · Accuracy
Scientific Reasoning · Accuracy
Knowledge Exams · Accuracy
A dash means no result is available.
| Benchmark | GLM-4.7 | Grok 4 Heavy |
|---|---|---|
| AIME 2026 | 92.9 | — |
| CritPt | 1.7 | — |
| MMLU-Pro | 84.3 | — |
| LiveCodeBench | 84.9 | — |
| SWE-Bench Pro - Public | 40.6 | — |
| Terminal Bench 2.0 | 41.0 | — |
| Terminal Bench Hard | 33.3 | — |
| MCP-Atlas | 58.1 | — |
| ECI | 144 | — |
| LiveBench | 58.1 | — |
| Creative Writing | 1414 | — |
| τ²-Bench | 87.4 | — |
| τ³-Banking | 12.2 | — |
| SimpleBench | 47.7 | — |
| Vending-Bench 2 | 2377 | — |
| BrowseComp | 52.0 | — |
| MedCode | 32.8 | — |
| MedScribe | 68.6 | — |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
GLM-4.7: International pricing. Z.ai official (OpenRouter Z.AI first-party row), verified 2026-09-25
Grok 4 Heavy: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | GLM-4.7 | Grok 4 Heavy | Ratio |
|---|---|---|---|
| Input | $0.60 | — | — |
| Output | $2.20 | — | — |
| Cached input | $0.11 | — | — |
| Cache write | — | — | — |
| Blended | $0.567 | — | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Reported cost per task, paired with the score from the same run. Settings and sources may differ; costs do not affect the verdict.
| Attribute | GLM-4.7 | Grok 4 Heavy |
|---|---|---|
| Availability | Available | Available |
| Provider | Zhipu AI | xAI |
| Model type | Chat model | Reasoning model |
| First release | December 22, 2025 | July 10, 2025 |
| Context window | 200K tokens | 128K tokens |
| Max output | 128K tokens | 8K tokens |
| Total parameters | 358B | — |
| Active parameters | 32B | — |
| Architecture | Mixture of Experts (MoE) | Undisclosed |
| Documented capabilities | Reasoning, Multilingual | Reasoning, Multilingual |
| Input modalities | Text | — |
| Output modalities | Text | — |
| Weights | Open weights | Closed / API only |
| Licence | MIT License | — |
| Commercial use | Commercial use allowed | Proprietary |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on GLM-4.7 vs Grok 4 Heavy.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.