# Grok 4.5 vs GLM-5.1 - AI Model Comparison

- Page: https://opencode.ai/data/compare/xai/grok-4-5/zhipuai/glm-5-1
- Updated: 2026-10-25T09:34:31.000Z

|  | Grok 4.5 | GLM-5.1 |
| --- | --- | --- |
| Lab | xAI | Zhipu |
| Context window | 500K | 200K |
| Max output | 500K | 131K |
| Input modalities | text, image | text |
| Reasoning | Yes | Yes |
| Tool calling | Yes | Yes |
| Open weights | No | Yes |
| Release date | 2026-07-08 | 2026-04-07 |
| Input price per 1M tokens | $2.00 | $0.90 |
| Output price per 1M tokens | $6.00 | $3.59 |
| Cached input price per 1M tokens | $0.30 | $0.19 |
| OpenCode tokens: past 2 months | 588M | 64B |
| Share of all tokens | 0% | 0.0% |
| Rank by tokens last week | - | #45 |
| Unique users | 5.7K | 40K |
| Weekly retention | 46.4% | 55.8% |

Model pages: [Grok 4.5](https://opencode.ai/data/xai/grok-4-5.md), [GLM-5.1](https://opencode.ai/data/zhipuai/glm-5-1.md)

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Session cost is the average cost per OpenCode session. Token prices are list prices from the OpenCode model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
