GLM 5.1 vs Kimi K2.7 Code

API pricing, context window and capabilities for GLM 5.1 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 numbers

Kimi K2.7 Code wins on price, on coding, on intelligence and on context window.

Price
Kimi K2.7 Code
Coding
Kimi K2.7 Code
Intelligence
Kimi K2.7 Code
Context window
Kimi K2.7 Code

Key takeaways

who wins on what, from the published numbers

GLM 5.1 wins

No clear edge on the tracked metrics.

Kimi K2.7 Code wins

  • Cheaper input ($1.05 vs $0.66 /1M)
  • Cheaper output ($3.50 vs $3.40 /1M)
  • Larger context window (205K vs 262K)
  • Higher max output (131K vs 262K)
  • More serving providers (5 vs 7)
  • Supports vision
Cheaper overall
Kimi K2.7 Code
$0.66 + $3.40 /1M
Larger context
Kimi K2.7 Code
262K
More providers
Kimi K2.7 Code
7 providers

Pricing & specs

cheapest serving route · per 1M tokens
GLM 5.1Kimi K2.7 Code
Input $/1M$1.05 $0.66 best
Output $/1M$3.50 $3.40 best
Context window205K 262K best
Max output131K 262K best
Serving providers5 7 best
Released2026-04-07 2026-06-13

Benchmarks

Artificial Analysis indices, side by side
GLM 5.1Kimi K2.7 Code
Intelligence41.0 43.0 best
Coding55.8 60.8 best
GPQA Diamond87% 90% best
Output speed56 t/s best46 t/s
Latency (TTFT)1.71s best2.81s

Cost calculator

choose a serving route for each side
Input tokens / month
Output tokens / month
GLM 5.1
via DeepInfra
$8.75
Kimi K2.7 Code
via OpenRouter
$6.70

Capabilities

feature support, side by side
FeatureGLM 5.1Kimi K2.7 Code
Vision
Tool use
Reasoning
Audio
Prompt caching
Structured output
Web search

Related comparisons

Frequently asked questions

Which is cheaper, GLM 5.1 or Kimi K2.7 Code?
Kimi K2.7 Code is cheaper for input ($1.05 vs $0.66 per 1M tokens). Kimi K2.7 Code is cheaper for output ($3.50 vs $3.40 per 1M tokens).
What is the context window difference between GLM 5.1 and Kimi K2.7 Code?
GLM 5.1 has a 205K-token context window and Kimi K2.7 Code has 262K tokens, so Kimi K2.7 Code can take a larger prompt.
How do GLM 5.1 and Kimi K2.7 Code compare on benchmarks?
On the tracked Artificial Analysis indices, Kimi K2.7 Code leads on coding, and Kimi K2.7 Code 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