Kimi K2.7 Code vs GLM-5.2
Compare Kimi K2.7 Code from Moonshot AI and GLM-5.2 from Z.ai (Zhipu) on price, context length and features. Use both through one Yunshu Router API key.
kimi-k2.7-codeglm-5.2| Model |
Change model
|
Change model
|
|---|---|---|
| Good for | Coding agents · Hard reasoning · Images and screenshots | Coding agents · Hard reasoning · Long context |
| Overview | ||
| Model ID | kimi-k2.7-code | glm-5.2 |
| Availability | Available | Available |
| Context length | 256K tokens | 128K tokens |
| Reasoning | Always on | Can be switched off |
| Reads | text, image, video | text |
| Writes | text | text |
| Tool calling | Yes | Yes |
| Price per 1M tokens | ||
| Input | $1.1515 | $0.8584 |
| Output | $4.7831 | $3.0045 |
| Cached input | $0.2303 | $0.2146 |
Analysis
Kimi K2.7 Code vs GLM-5.2: side-by-side summary
Kimi K2.7 Code and GLM-5.2 are both available through the Yunshu Router API, so switching between them is a change of model ID, not a new integration.
Kimi K2.7 Code, from Moonshot AI, has a 256K-token context window and is priced at $1.1515 per 1M input tokens and $4.7831 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).
GLM-5.2, from Z.ai (Zhipu), has a 128K-token context window and is priced at $0.8584 per 1M input tokens and $3.0045 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).
| Attribute | Kimi K2.7 Code | GLM-5.2 |
|---|---|---|
| Context window | 256K tokens | 128K tokens |
| Price | $1.1515 / M input, $4.7831 / M output | $0.8584 / M input, $3.0045 / M output |
| Provided by | Moonshot AI | Z.ai (Zhipu) |
| Model page | Kimi K2.7 Code details, setup and pricing | GLM-5.2 details, setup and pricing |
USD per 1M tokens, prices as of 2026-11-21. Input types are what each model's maker lists. "Highlight best" marks the lowest price and the largest context among the models shown, in green.
More comparisons
- Qwen3.6 Plus vs Kimi K2.7 Code
- Qwen3.7 Max vs Kimi K2.7 Code
- Qwen3.7 Plus vs Kimi K2.7 Code
- Qwen3.8 Flash vs Kimi K2.7 Code
- Qwen3.8 Max vs Kimi K2.7 Code
- Claude Fable 5 vs Kimi K2.7 Code
- Qwen3.6 Plus vs GLM-5.2
- Qwen3.7 Max vs GLM-5.2
- Qwen3.7 Plus vs GLM-5.2
- Qwen3.8 Flash vs GLM-5.2
- Qwen3.8 Max vs GLM-5.2
- Claude Fable 5 vs GLM-5.2