GLM 5.2 vs Kimi K2.7 Code
API pricing, context window and capabilities for GLM 5.2 and Kimi K2.7 Code, side by side. Prices are the cheapest serving route per 1M tokens, verified against LiteLLM and OpenRouter.
Verdict
computed from the published numbersGLM 5.2 wins on coding and on intelligence. Kimi K2.7 Code wins on price.
Price
Kimi K2.7 Code
Coding
GLM 5.2
Intelligence
GLM 5.2
Context window
Tied
Key takeaways
who wins on what, from the published numbersGLM 5.2 wins
No clear edge on the tracked metrics.
Kimi K2.7 Code wins
- Cheaper input ($1.40 vs $0.95 /1M)
- Cheaper output ($4.40 vs $4.00 /1M)
Cheaper overall
Kimi K2.7 Code
$0.95 + $4.00 /1M
Larger context
Tied
More providers
Tied
Pricing & specs
cheapest serving route · per 1M tokens| GLM 5.2 | Kimi K2.7 Code | |
|---|---|---|
| Input $/1M | $1.40 | $0.95 best |
| Output $/1M | $4.40 | $4.00 best |
| Context window | 262K | 262K |
| Max output | 262K | 262K |
| Serving providers | 1 | 1 |
| Released | 2026-06-13 | 2026-06-13 |
Benchmarks
Artificial Analysis indices, side by side| GLM 5.2 | Kimi K2.7 Code | |
|---|---|---|
| Intelligence | 51.1 best | 42.0 |
| Coding | 68.8 best | 60.8 |
| GPQA Diamond | 89% | 90% best |
| Output speed | 200 t/s best | 45 t/s |
| Latency (TTFT) | 6.32s best | 39.31s |
Cost calculator
choose a serving route for each sideInput tokens / month
Output tokens / month
GLM 5.2
via Cloudflare
$11
Kimi K2.7 Code
via Cloudflare
$8.75
Capabilities
feature support, side by side| Feature | GLM 5.2 | Kimi K2.7 Code |
|---|---|---|
| Vision | — | — |
| Tool use | ✓ | ✓ |
| Reasoning | ✓ | ✓ |
| Audio | — | — |
| Prompt caching | — | — |
| Structured output | — | — |
| Web search | — | — |
Related comparisons
Frequently asked questions
Which is cheaper, GLM 5.2 or Kimi K2.7 Code?
Kimi K2.7 Code is cheaper for input ($1.40 vs $0.95 per 1M tokens). Kimi K2.7 Code is cheaper for output ($4.40 vs $4.00 per 1M tokens).
What is the context window difference between GLM 5.2 and Kimi K2.7 Code?
Both GLM 5.2 and Kimi K2.7 Code have about a 262K-token context window.
How do GLM 5.2 and Kimi K2.7 Code compare on benchmarks?
On the tracked Artificial Analysis indices, GLM 5.2 leads on coding, and GLM 5.2 leads on intelligence.
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI