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

Dimensionkimi-k2.7-codeglm-5.2
ProviderMoonshot AIZ.AI
TypeTextText
Context window—1M
Input price¥4.4828¥3.5468
Output price¥18.6208¥12.4139
Cache read¥0.8966¥0.8867
Cache write¥5.2727¥0
CapabilitiesText · MultimodalText
Endpoints11

Platform prices per million tokens (image / video models use their own units); your invoice is authoritative.

kimi-k2.7-code

Coding-focused variant in the Kimi K2 family. Accepts text and image inputs, with reasoning on by default. Suited for long-horizon coding and agentic workflows.

glm-5.2

GLM 5.2 is a large-scale reasoning model with a 1M-token context window, suited for long-horizon agents, repo-level coding, and multi-step automation.

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.
What are the context windows of kimi-k2.7-code and glm-5.2?
kimi-k2.7-code: —. glm-5.2: 1M.