Agentic
Like-for-like- GLM-5.2
- 81.0
- Grok 4.20
- 47.1
- Weighted basis
- 1 vs 1 rows
- Reading
- GLM-5.2 leads
Model comparison
Updated July 31, 2026. Public scores include evidence status and uncertainty. They are not guarantees for a specific workload.
GLM-5.2 has the higher public score estimate, 62.94 versus 53.91, but the 90% score intervals overlap. Treat that as a lead, not a settled winner.
4 results are shared. Category rows based on different benchmark sets are marked directional and do not name a winner.
Recommendations appear only when a shared evidence basis or an explicit operating constraint supports the call. Secondary and unsupported use cases stay disclosed below the initial list.
Tool use, computer use, and multi-step task completion
GLM-5.2
GLM-5.2 leads on the same 1 weighted benchmark row.
Confidence: limited
Prompts that approach the documented context limit
Grok 4.20
Grok 4.20 has the larger documented context window.
Confidence: documented
1K fresh input + 500 output tokens
GLM-5.2
GLM-5.2 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.
Confidence: listed-rates
200K cached + 20K fresh input + 10K output tokens
GLM-5.2
GLM-5.2 has the lower estimated token cost for this stated workload. GLM-5.2 has no published cached-input rate, so cached tokens use its listed input rate. Grok 4.20 has no published cached-input rate, so cached tokens use its listed input rate.
Confidence: rate-fallback
50K fresh input + 3K output tokens
GLM-5.2
GLM-5.2 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.
Confidence: listed-rates
Code generation, repair, and software-engineering tasks
Not enough matched evidence
The category averages use different weighted benchmark sets, so they are directional rather than like-for-like.
Confidence: limited
Shared results can support a head-to-head reading. Results present for only one model describe coverage, not superiority.
1 category uses different evidence sets. Those rows remain visible for coverage context but do not name a winner.
Each row states whether both averages use the same weighted benchmark set. Directional and not-comparable rows remain visible, but they never receive a winner in this template.
| Category | GLM-5.2 | Grok 4.20 | Weighted basis | Reading |
|---|---|---|---|---|
| Agentic | 81.0 | 47.1 | Like-for-like1 vs 1 rows | GLM-5.2 leads |
| Coding | 62.1 | 67.1 | Directional only1 vs 2 rows | Directional only |
| Reasoning | Not measured | 53.3 | Not comparable0 vs 1 rows | Not comparable |
| Knowledge | 59.6 | Not measured | Not comparable2 vs 0 rows | Not comparable |
| Math | 95.9 | Not measured | Not comparable2 vs 0 rows | Not comparable |
| Multilingual | Not measured | Not measured | Not comparable0 vs 0 rows | Not comparable |
| Multimodal | Not measured | 70.1 | Not comparable0 vs 2 rows | Not comparable |
| Instruction following | Not measured | Not measured | Not comparable0 vs 0 rows | Not comparable |
Only shared public evidence is shown. Sparse evidence stays a ruled list rather than being closed into a radar shape.
Too few matched category axes support a radar. The ruled list below shows only shared benchmark results; positions use each benchmark’s normalized display scale when available.
Terminal-Bench 2.0
Agentic
SWE-bench Pro
Coding
Three fixed token mixes turn per-token rates into comparable decisions. Each scenario states context fit and whether cached input had to fall back to the published list-input rate.
1K fresh input + 500 output tokens
GLM-5.2 has the lower modeled cost
Costs use the listed standard API rates.
50K fresh input + 3K output tokens
GLM-5.2 has the lower modeled cost
Costs use the listed standard API rates.
200K cached + 20K fresh input + 10K output tokens
GLM-5.2 has the lower modeled cost
GLM-5.2 has no published cached-input rate, so cached tokens use its listed input rate. Grok 4.20 has no published cached-input rate, so cached tokens use its listed input rate.
Sourced differences are shown directly. Missing facts stay explicit instead of being inferred from a model name or family.
Maximum documented context; output-token limits may be lower.
GLM-5.2
1M
Grok 4.20
2M
GLM-5.2
Not sourced
Grok 4.20
Not sourced
A missing cached-input rate falls back to the listed input rate only in the stated workload estimate.
GLM-5.2
Not published
Grok 4.20
Not published
GLM-5.2
Not sourced
Grok 4.20
Not sourced
GLM-5.2
Not sourced
Grok 4.20
Not sourced
GLM-5.2
Not sourced
Grok 4.20
Not sourced
GLM-5.2
Reasoning
Grok 4.20
Reasoning
GLM-5.2
Open Weight
Grok 4.20
Proprietary
GLM-5.2
Open Weight
Grok 4.20
Proprietary
GLM-5.2
2026-06-16
Grok 4.20
2026-03-10
Run the same representative tasks against both endpoints before changing production traffic.
The full public result ledger is available for audit without forcing a wide desktop table onto a phone.
Terminal-Bench 2.0
GLM-5.2 leads this result
MCP Atlas
Not directly comparable
Toolathlon
Not directly comparable
ResearchClawBench
Not directly comparable
DeepSearchQA
Not directly comparable
Gert Labs
Not directly comparable
SWE-bench Pro
GLM-5.2 leads this result
NL2Repo
Not directly comparable
Terminal-Bench 2.0
Not directly comparable
ProgramBench
Not directly comparable
cursorBench32
Not directly comparable
LiveCodeBench Pro
Not directly comparable
SWE-bench Verified
Not directly comparable
Vibe Code Bench
Not directly comparable
GPQA
Not directly comparable
GPQA-D
GLM-5.2 leads this result
HLE
Not directly comparable
HLE w/o tools
GLM-5.2 leads this result
HealthBench Hard
Not directly comparable
MedXpertQA (Text)
Not directly comparable
MMMU-Pro
Not directly comparable
CharXiv
Not directly comparable
ERQA
Not directly comparable
SimpleVQA
Not directly comparable
MedXpertQA (MM)
Not directly comparable
GLM-5.2 has the higher public score estimate, 62.94 versus 53.91, but the 90% score intervals overlap. The higher estimate is not a decisive winner because the uncertainty ranges overlap.
The current coding averages use different weighted benchmark sets, so BenchLM does not name a winner from them. Read the shared benchmark rows directly and test the models on the same task set.
GLM-5.2 leads the like-for-like agentic tasks comparison across 1 shared weighted benchmark row.
For the stated presets, chat costs $0.0036 on GLM-5.2 and $0.005 on Grok 4.20; repository review costs $0.0832 and $0.118; the cache-heavy agent loop costs $0.352 and $0.5. GLM-5.2 has no published cached-input rate, so cached tokens use its listed input rate. Grok 4.20 has no published cached-input rate, so cached tokens use its listed input rate.
Grok 4.20 has the larger documented context window: 2M, compared with 1M.
Last updated July 31, 2026
One weekly email when material rank, price, or benchmark evidence changes make this matchup worth revisiting.
Read a sample issueJoin 2,000+ readers.