# Kimi K2.7 Code vs GLM-5.4 - AI Model Comparison

- Page: https://opencode.ai/data/compare/moonshotai/kimi-k2-7-code/zhipuai/glm-5-4
- Updated: 2026-12-04T10:14:23.000Z

|  | Kimi K2.7 Code | GLM-5.4 |
| --- | --- | --- |
| Lab | Moonshot | Zhipu |
| Context window | 262K | 1M |
| Max output | 262K | 131K |
| Input modalities | text, image, video | text, image, video, pdf |
| Reasoning | Yes | Yes |
| Tool calling | Yes | Yes |
| Open weights | Yes | No |
| Release date | 2026-06-12 | 2026-11-23 |
| Input price per 1M tokens | $0.60 | $1.20 |
| Output price per 1M tokens | $3.00 | $4.18 |
| Cached input price per 1M tokens | $0.12 | $0.30 |
| OpenCode tokens: past 2 months | 1.2T | 23B |
| Share of all tokens | 0.1% | 0% |
| Rank by tokens last week | #31 | #33 |
| Unique users | 135K | 6.5K |
| Weekly retention | 66.2% | - |

Model pages: [Kimi K2.7 Code](https://opencode.ai/data/moonshotai/kimi-k2-7-code.md), [GLM-5.4](https://opencode.ai/data/zhipuai/glm-5-4.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: Average cost per OpenCode session. Token prices are list prices from the model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Benchmarks: Published scores from the models.dev catalog, matched to a single benchmark version per view.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
