Model comparison
GLM-4.7 vs Grok 4.20
Head-to-head evidence from 4 shared benchmark results across 3 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: GLM-4.7 #46 (Supported); Grok 4.20 #93 (Estimated). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. GLM-4.7 and Grok 4.20 share 4 comparable benchmark results. 2 of 8 categories are comparable. 26 results are unique to GLM-4.7; 15 to Grok 4.20.
Updated July 28, 2026- Shared results
- 4
- GLM-4.7 only
- 26
- Grok 4.20 only
- 15
- Comparable categories
- 2 / 8
Pick GLM-4.7 if you want the stronger benchmark profile. Grok 4.20 only becomes the better choice if agentic is the priority or you need the larger 2M context window.
Confidence note. This is a partial-evidence comparison with 4 shared benchmark results across 3 evidence categories; 2 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.
Why this result
GLM-4.7 is clearly ahead on the BenchAlign aggregate, 60.39 to 53.88. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.
GLM-4.7's sharpest advantage is in coding, where it averages 75.4 against 67.1. The single biggest benchmark swing on the page is Terminal-Bench 2.0, 41% to 47.1%. Grok 4.20 does hit back in agentic, so the answer changes if that is the part of the workload you care about most.
Grok 4.20 is also the more expensive model on tokens at $2.00 input / $6.00 output per 1M tokens, versus $0.00 input / $0.00 output per 1M tokens for GLM-4.7. That is roughly Infinityx on output cost alone. Grok 4.20 gives you the larger context window at 2M, compared with 200K for GLM-4.7.
Category breakdown
Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.
| Category | GLM-4.7 | Δ | Grok 4.20 |
|---|---|---|---|
| Coding | GLM-4.775.4 | Margin← 8.3 | Grok 4.2067.1 |
| Agentic | GLM-4.745.7 | Margin→ 1.4 | Grok 4.2047.1 |
| Reasoning | GLM-4.7Not measured | MarginNo overlap | Grok 4.2053.3 |
| Knowledge | GLM-4.751.8 | MarginNo overlap | Grok 4.20Not measured |
| Math | GLM-4.71.8 | MarginNo overlap | Grok 4.20Not measured |
| Multimodal | GLM-4.7Not measured | MarginNo overlap | Grok 4.2070.1 |
Decisive benchmark drivers
The largest measured benchmark gaps in this matchup, with exact reported values.
More
- Source ↗
Terminal-Bench 2.0
AgenticA 41%B 47.1%Winner: Grok 4.20Δ 6.1Terminal-Bench 2.0: GLM-4.7 scored 41%; Grok 4.20 scored 47.1%. Grok 4.20 wins this benchmark. - Source ↗
SWE-bench Verified
CodingA 73.8%B 76.7%Winner: Grok 4.20Δ 2.9SWE-bench Verified: GLM-4.7 scored 73.8%; Grok 4.20 scored 76.7%. Grok 4.20 wins this benchmark.
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | GLM-4.7 | Grok 4.20 | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | GLM-4.7$0 input / $0 output | Grok 4.20$2 input / $6 output | GLM-4.7 has the lower combined listed price. |
| Generation speedtokens per second | GLM-4.782 tok/s | Grok 4.20233 tok/s | Grok 4.20 has the higher measured throughput. |
| First-answer latencyseconds to first token | GLM-4.71.10 s | Grok 4.2010.33 s | GLM-4.7 reaches the first token sooner. |
| Context windowmaximum listed tokens | GLM-4.7200K | Grok 4.202M | Grok 4.20 lists the larger context window. |
Benchmark Deep Dive
AgenticGrok 4.20 wins9 benchmarks
| Benchmark | GLM-4.7 | Grok 4.20 | Result |
|---|---|---|---|
| Terminal-Bench 2.0Source | 41% | 47.1% | Grok 4.20 leads |
| BrowseCompSource | 52% | — | Not comparable |
| VITA-BenchSource | 15.5% | — | Not comparable |
| AA Agentic IndexSource | 25.4% | — | Not comparable |
| τ²-bench resultsSource | 95.9% | — | Not comparable |
| Gert LabsSource | 39.95% | 38.36% | GLM-4.7 leads |
| GDPval-AASource | 33.3% | — | Not comparable |
| GDPval-AASource | 1166 | — | Not comparable |
| DeepSearchQASource | — | 62.8% | Not comparable |
CodingGLM-4.7 wins9 benchmarks
| Benchmark | GLM-4.7 | Grok 4.20 | Result |
|---|---|---|---|
| SWE-bench VerifiedSource | 73.8% | 76.7% | Grok 4.20 leads |
| LiveCodeBenchSource | 84.9% | — | Not comparable |
| SWE-RebenchSource | 58.7% | — | Not comparable |
| AA Coding IndexSource | 45.3% | — | Not comparable |
| AA-SciCodeSource | 45.1% | — | Not comparable |
| AA LiveCodeBenchSource | 89.4% | — | Not comparable |
| LiveCodeBench ProSource | — | 74.2% | Not comparable |
| SWE-bench ProSource | — | 51.8% | Not comparable |
| Vibe Code BenchSource | — | 4.06% | Not comparable |
Reasoning4 benchmarks
Knowledge13 benchmarks
| Benchmark | GLM-4.7 | Grok 4.20 | Result |
|---|---|---|---|
| GPQASource | 85.7% | — | Not comparable |
| MMLU-ProSource | 84.3% | — | Not comparable |
| HLESource | 24.8% | — | Not comparable |
| Artificial Analysis Intelligence IndexSource | 33.7% | — | Not comparable |
| AA-GPQA DiamondSource | 85.9% | — | Not comparable |
| AA-HLESource | 25.1% | — | Not comparable |
| AA-Omniscience IndexSource | -34.6% | — | Not comparable |
| AA-Omniscience AccuracySource | 29.3% | — | Not comparable |
| AA-Omniscience Hallucination RateSource | 90.3% | — | Not comparable |
| GPQA-DSource | — | 88.5% | Not comparable |
| HLE w/o toolsSource | — | 31.6% | Not comparable |
| HealthBench HardSource | — | 20.3% | Not comparable |
| MedXpertQA (Text)Source | — | 50.2% | Not comparable |
Math3 benchmarks
Multimodal6 benchmarks
Inst. Following1 benchmarks
| Benchmark | GLM-4.7 | Grok 4.20 | Result |
|---|---|---|---|
| AA-IFBenchSource | 67.9% | — | Not comparable |
Frequently Asked Questions (3)
Which is better, GLM-4.7 or Grok 4.20?
GLM-4.7 is ahead on BenchLM's BenchAlign leaderboard, 60.39 to 53.88. The biggest single separator in this matchup is Terminal-Bench 2.0, where the scores are 41% and 47.1%.
Which is better for coding, GLM-4.7 or Grok 4.20?
GLM-4.7 has the edge for coding in this comparison, averaging 75.4 versus 67.1. Inside this category, SWE-bench Verified is the benchmark that creates the most daylight between them.
Which is better for agentic tasks, GLM-4.7 or Grok 4.20?
Grok 4.20 has the edge for agentic tasks in this comparison, averaging 47.1 versus 45.7. Inside this category, Terminal-Bench 2.0 is the benchmark that creates the most daylight between them.
Related Comparisons
Explore More
Know when it’s worth switching models
The model to choose, the cheaper alternative, and the release we would wait on.
One email each week. Unsubscribe anytime.