Requesty

kimi-k2.7-code vs glm-5.2

Side-by-side comparison of kimi-k2.7-code and glm-5.2: benchmarks, pricing, context window and capabilities. Both are accessible through Requesty's unified API. glm-5.2 outperforms kimi-k2.7-code on 6 of 7 shared benchmarks.

Benchmark comparison

Intelligence Indexreasoning
kimi-k2.7-code41.9%
glm-5.251.1%
Coding Indexcoding
kimi-k2.7-code60.8%
glm-5.268.8%
GPQA Diamondreasoning
kimi-k2.7-code89.6%
glm-5.289.5%
Terminal-Bench Hardagentic
kimi-k2.7-code44.7%
glm-5.250.8%
τ²-Benchagentic
kimi-k2.7-code90.1%
glm-5.299.1%
SciCodecoding
kimi-k2.7-code47.5%
glm-5.250.5%
Humanity's Last Examreasoning
kimi-k2.7-code32.8%
glm-5.240.1%

Scores sourced from official model cards, Artificial Analysis, and public leaderboards. Benchmarks measure specific skills and don't capture every aspect of model quality.

Pricing & specifications

kimi-k2.7-codeglm-5.2
Input price / 1M$0.95$1.40
Output price / 1M$4.00$4.40
Context window262K tokens1M tokens
Max output262K tokens128K tokens
Vision inputYesYes
Tool callingYesYes
ReasoningYesYes
Prompt cachingYesYes
Computer useN/AN/A
ProviderMoonshot AIZ.ai

Questions people ask

Is kimi-k2.7-code better than glm-5.2?
glm-5.2 outperforms kimi-k2.7-code on 6 of 7 shared benchmarks. See the benchmark comparison above for specifics: kimi-k2.7-code and glm-5.2 have different strengths across reasoning, coding, math and multimodal tasks.
Which is cheaper, kimi-k2.7-code or glm-5.2?
kimi-k2.7-code is cheaper. kimi-k2.7-code costs $0.95/$4.00 per 1M input/output tokens, while glm-5.2 costs $1.40/$4.40.
Can I use kimi-k2.7-code and glm-5.2 through the same API?
Yes. Requesty provides a single OpenAI-compatible API that routes to both. Change just the "model" parameter to switch between "moonshot/kimi-k2.7-code" and "zai/glm-5.2", no other code changes needed.
What are the context windows?
kimi-k2.7-code supports up to 262K tokens of context. glm-5.2 supports up to 1M tokens. Longer context means you can feed larger documents or codebases in a single prompt, though quality often degrades past 128K for most models.

Switch between kimi-k2.7-code and glm-5.2 with one line of code

Requesty provides a single OpenAI-compatible API for 400+ models. Change the model parameter, not your code.