vs
One table to see how kimi-k2.7-code (Moonshot AI) and glm-5.2 (Z.AI) differ. On EasyAPI both use the same endpoint and the same key; only the model name changes.
Quick verdict
- glm-5.2 has the lower input price, 21% cheaper than kimi-k2.7-code.
- glm-5.2 has the lower output price, 33% cheaper than kimi-k2.7-code.
Specs and pricing side by side
| Dimension | kimi-k2.7-code | glm-5.2 |
|---|---|---|
| Provider | Moonshot AI | Z.AI |
| Type | Text | Text |
| Input price | ¥4.503 | ¥3.5628 |
| Output price | ¥18.7046 | ¥12.4697 |
| Cache read | ¥0.9006 | ¥0.6998 |
| Cache write | ¥5.2964 | ¥0 |
| Capabilities | 文本 · 多模态 | 文本 |
| Endpoints | 1 | 1 |
Platform prices per million tokens (image / video models use their own units); your invoice is authoritative.
kimi-k2.7-code
Kimi K2 系列编程模型,接受文字与图像输入,默认开启思维链,适合长流程 Agent 编程与多轮调试。
glm-5.2
GLM 5.2 是大型推理模型,支持百万上下文,适合长程 Agent、代码库编程与多步自动化。
FAQ
- Which is cheaper, kimi-k2.7-code or glm-5.2?
- glm-5.2 has the lower input price, 21% cheaper than kimi-k2.7-code.
- Can I call kimi-k2.7-code and glm-5.2 through the same API?
- Yes. Both are served through EasyAPI's OpenAI-compatible API. Point base_url at EasyAPI and swap the model name; no separate vendor accounts needed.