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 price, on coding, on intelligence and on context window.
Price
GLM 5.2
Coding
GLM 5.2
Intelligence
GLM 5.2
Context window
GLM 5.2
Key takeaways
who wins on what, from the published numbersGLM 5.2 wins
- Cheaper input ($0.61 vs $0.66 /1M)
- Cheaper output ($1.98 vs $3.40 /1M)
- Larger context window (1M vs 262K)
- Higher max output (1M vs 262K)
- More serving providers (10 vs 7)
Kimi K2.7 Code wins
- Supports vision
Cheaper overall
GLM 5.2
$0.61 + $1.98 /1M
Larger context
GLM 5.2
1M
More providers
GLM 5.2
10 providers
Pricing & specs
cheapest serving route · per 1M tokens| GLM 5.2 | Kimi K2.7 Code | |
|---|---|---|
| Input $/1M | $0.61 best | $0.66 |
| Output $/1M | $1.98 best | $3.40 |
| Context window | 1M best | 262K |
| Max output | 1M best | 262K |
| Serving providers | 10 best | 7 |
| Released | 2026-06-13 | 2026-06-13 |
Benchmarks
Artificial Analysis indices, side by side| GLM 5.2 | Kimi K2.7 Code | |
|---|---|---|
| Intelligence | 52.6 best | 43.0 |
| Coding | 68.8 best | 60.8 |
| GPQA Diamond | 89% | 90% best |
| Output speed | 70 t/s best | 46 t/s |
| Latency (TTFT) | 1.56s best | 2.81s |
Cost calculator
choose a serving route for each sideInput tokens / month
Output tokens / month
GLM 5.2
via Scx AI
$5.03
Kimi K2.7 Code
via OpenRouter
$6.70
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?
GLM 5.2 is cheaper for input ($0.61 vs $0.66 per 1M tokens). GLM 5.2 is cheaper for output ($1.98 vs $3.40 per 1M tokens).
What is the context window difference between GLM 5.2 and Kimi K2.7 Code?
GLM 5.2 has a 1M-token context window and Kimi K2.7 Code has 262K tokens, so GLM 5.2 can take a larger prompt.
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