Skip to content
ModelCap

Head-to-head comparison

Kimi K2.7 Code vs GLM 5.2

Kimi K2.7 Code (Moonshot AI) and GLM 5.2 (Z.ai) compared on the ModelCap Index, API price, context window, provider availability, weight access and every public benchmark board they share. Figures are the same ones shown on the live rankings; nothing here is a hidden score.

Snapshot as of 17 August 2026

As of 17 August 2026, GLM 5.2 holds the stronger ModelCap Index position (#11 vs #26); GLM 5.2 is 2.4× cheaper per output token ($1.45/1M vs $3.50/1M); GLM 5.2 offers the longer context window (1M vs 262K tokens); and GLM 5.2 ships open weights.

Which should you choose?

Choose Kimi K2.7 Code if…

  • ModelCap publishes no field on which Kimi K2.7 Code leads GLM 5.2 for this pair.

Choose GLM 5.2 if…

  • you want the stronger overall ModelCap Index position — #11 against #26 (73.8 vs 63.2 points).
  • API cost matters — $1.45/1M output tokens against $3.50/1M, about 2.4× cheaper.
  • your workload is prompt-heavy — input tokens cost $0.462/1M against $0.71/1M.
  • you need the longer context window — 1M tokens against 262K.
  • you want to self-host: GLM 5.2 ships open weights while Kimi K2.7 Code is restricted license.
  • you want provider choice — 27 listed API providers against 14.
  • LMArena Agent is your yardstick — 6.7% against 1.1%.
  • Artificial Analysis Intelligence Index is your yardstick — 52.6 against 43.0.
  • you want the more recently listed model — GLM 5.2 was listed 16 June 2026, Kimi K2.7 Code 12 June 2026.

Kimi K2.7 Code vs GLM 5.2: specs, pricing and context

Specification comparison of Kimi K2.7 Code and GLM 5.2
FieldKimi K2.7 CodeMoonshot AIGLM 5.2Z.ai
ModelCap Index position#26#11
Index score63.273.8
EvidenceMeasuredMeasured
Input price / 1M tokens$0.71$0.462
Output price / 1M tokens$3.50$1.45
Context window262K tokens1M tokens
Max output tokens262K131K
API providers listed1427
Weight accessRestricted licenseOpen weights
Input modalitiesText, ImageText
First listed12 June 202616 June 2026
PublisherMoonshot AIZ.ai

Evidence: 2 public benchmark observations across 2 boards · 5 public benchmark observations across 5 boards. Prices are the lowest listed API offer per million tokens observed on the OpenRouter catalogue.

Benchmark scores: Kimi K2.7 Code vs GLM 5.2

Public benchmark boards where Kimi K2.7 Code or GLM 5.2 has a published result
BoardKimi K2.7 CodeGLM 5.2Leads
Arena codingArena (LMArena)15061498–1514MaxOnly one result
LMArena AgentLMArena1.1%-1.1%–3.2%6.7%5.8%–7.6%MaxGLM 5.2
ARC-AGI-2ARC Prize Foundation22.8%Only one result
Artificial Analysis Intelligence IndexArtificial Analysis43.0intelligence-index52.6intelligence-indexGLM 5.2

Scores are the sources' own published figures for each model's best evaluated configuration; ModelCap never re-runs a benchmark.

Want a different pairing? Open the interactive comparison tool to swap either model for any current ranked language model.

Kimi K2.7 Code vs GLM 5.2: common questions

Is Kimi K2.7 Code better than GLM 5.2?

GLM 5.2 ranks higher on the ModelCap Index as of 17 August 2026: #11 against #26. That is a capability ranking built from public benchmark evidence with published uncertainty; whether it is "better" for you also depends on price, context and where you can run it.

Is Kimi K2.7 Code cheaper than GLM 5.2?

GLM 5.2 is cheaper on output tokens: $1.45/1M against $3.50/1M. Input tokens are $0.71/1M for Kimi K2.7 Code and $0.462/1M for GLM 5.2. Prices are the lowest listed API offer ModelCap observed, in USD per million tokens.

Which has the bigger context window, Kimi K2.7 Code or GLM 5.2?

GLM 5.2 has the larger context window: 1M tokens against 262K.

Which is better for coding, Kimi K2.7 Code or GLM 5.2?

The two models do not share a coding benchmark board on ModelCap yet, so no head-to-head coding score is published; the ModelCap Index position is the closest overall signal.

Are Kimi K2.7 Code and GLM 5.2 open-weight models?

Kimi K2.7 Code: Restricted license. GLM 5.2: Open weights. Open weights mean the checkpoint can be downloaded and self-hosted under its licence; API-only models are available solely through hosted endpoints.

Where can I run Kimi K2.7 Code and GLM 5.2?

ModelCap currently lists 14 API providers for Kimi K2.7 Code and 27 for GLM 5.2, from the OpenRouter catalogue snapshot the site serves; each model page lists the providers and their prices.

How current is this Kimi K2.7 Code vs GLM 5.2 comparison?

Every figure comes from the sealed ModelCap dataset published 17 August 2026; the page re-renders within a minute of each data refresh, and the ModelCap Index positions are the same ones shown on the live rankings.

Explore further