// head_to_head
Kimi K2.7 Code vs GLM 5.2
Published LiveBench scores across all seven categories, live list pricing, context windows, and the measured cost of a point of capability — for both models, side by side.
GLM 5.2 is the better model, at roughly the same price.
GLM 5.2 leads by 4.7 points overall and the two list within about 10% of each other, so the cheaper-but-weaker trade-off does not apply. Price parity plus a score gap usually makes this an easy call. Kimi K2.7 Code also leads on measured cost per point of capability, at $0.0545 per point.
moonshotai
Kimi K2.7 Code
- Blended / 1M
- $1.35
- Context
- 262K
- Released
- Jun 12, 2026
- Overall score
- 68.4
z-ai
GLM 5.2
- Blended / 1M
- $1.48
- Context
- 1.0M
- Released
- Jun 16, 2026
- Overall score
- 73.2
Specs and pricing
| Metric | Kimi K2.7 Code | GLM 5.2 |
|---|---|---|
| LiveBench overall Mean of the seven LiveBench category scores, 0–100. Higher is better. | 68.4 | 73.2win |
| Cost per point Measured benchmark spend divided by overall score — dollars per point of capability. | $0.0545win | $0.1260 |
| Blended price / 1M 3:1 input:output mix, the usual shape of production traffic. | $1.35 | $1.48 |
| Input price / 1M | $0.670win | $0.966 |
| Output price / 1M | $3.40 | $3.04win |
| Cached input / 1M Price of an input token served from the prompt cache, where the provider publishes one. | $0.170win | $0.193 |
| Context window | 262K | 1.0Mwin |
| Max output tokens | 262Kwin | 131K |
Benchmarks by category
An overall score averages away the thing you probably care about. These are the seven LiveBench categories scored separately — Kimi K2.7 Code on top, GLM 5.2 below, both out of 100.
What each one costs to run
Per-token prices are hard to feel. These are monthly list costs for both models across five workload shapes, using each provider's published cached-input rate where there is one.
| Workload | Kimi K2.7 Code | GLM 5.2 |
|---|---|---|
| Support chatbot 1.2K in / 400 out × 200K requests | $396.80/mo | $419.08/mo |
| RAG assistant 8K in / 600 out × 100K requests | $540.00/mo | $645.84/mo |
| Coding agent 40K in / 4K out × 20K requests | $528.00/mo | $582.91/mo |
| Document extraction 20K in / 1.5K out × 50K requests | $900.00/mo | $1155.06/mo |
| Bulk classification 500 in / 20 out × 5M requests | $1765.00/mo | $2332.20/mo |
Which should you pick?
You are running this at volume
Kimi K2.7 Code
Lowest measured cost per point of capability at $0.0545 per point — the gap compounds with every request.
Quality matters more than the bill
GLM 5.2
Highest overall LiveBench score of the two at 73.2.
The workload is coding or agentic work
GLM 5.2
Leads on agentic coding — 51.8 against 45.7.
You need to fit large documents in one call
GLM 5.2
Wider context window — 1.0M against 262K.
Kimi K2.7 Code vs GLM 5.2 FAQ
Which is better, Kimi K2.7 Code or GLM 5.2?
GLM 5.2 is the better model, at roughly the same price. GLM 5.2 leads by 4.7 points overall and the two list within about 10% of each other, so the cheaper-but-weaker trade-off does not apply. Price parity plus a score gap usually makes this an easy call. Kimi K2.7 Code also leads on measured cost per point of capability, at $0.0545 per point.
Is Kimi K2.7 Code cheaper than GLM 5.2?
They cost about the same. Both land near $1.35 per million tokens on a 3:1 input:output blend, so price is unlikely to be the deciding factor between them.
Kimi K2.7 Code vs GLM 5.2: which scores higher on benchmarks?
Kimi K2.7 Code scores 68.4 and GLM 5.2 scores 73.2 overall on LiveBench, the mean of its seven categories. That is a 4.7-point lead for GLM 5.2. Category scores differ from the overall figure — a model can lead on reasoning and trail on coding, which the per-category table above breaks out.
Which gives better value for money, Kimi K2.7 Code or GLM 5.2?
Kimi K2.7 Code. Cost per point divides the measured dollars LiveBench spent running the benchmark by the score it earned, so it captures something token pricing misses: a reasoning model can emit many times more tokens than its per-token rate suggests. Kimi K2.7 Code works out at $0.0545 per point and GLM 5.2 at $0.1260.
Does Kimi K2.7 Code or GLM 5.2 have a bigger context window?
GLM 5.2 has the larger context window: 262K for Kimi K2.7 Code against 1.0M for GLM 5.2. Note that a window you can fill is not a window you should fill — retrieval quality usually degrades well before the limit, and you pay for every token you put in it.
Do Kimi K2.7 Code and GLM 5.2 support prompt caching?
Both publish a cached-input rate: $0.170 per million for Kimi K2.7 Code and $0.193 for GLM 5.2, against full input rates of $0.670 and $0.966. On a workload with a long stable prefix — a system prompt, a tool schema, a retrieved corpus — that changes the economics more than the headline price does.
Related comparisons
How these numbers are produced
- Price — provider list price from OpenRouter, refreshed every 15 minutes. “Blended” is a 3:1 input:output mix.
- Scores — LiveBench release 2026-06-25, using their own category map. Each model shows its strongest published run. A blank means “not evaluated”, never “bad”.
- Cost per point — the measured dollars LiveBench spent on the run, divided by the score it earned.
- “Win” — awarded only past a threshold: one full point on a benchmark score, 10% on a price, 25% on a context window. Anything tighter reports as a tie, because effort settings alone move a LiveBench score by more than that.
Published benchmarks rank models on someone else's tasks. Before committing, see LLM & agent evaluation for building an eval on your own.