Compare/Kimi K2.7 Code vs GLM-5.1 (Reasoning)

Kimi K2.7 CodevsGLM-5.1 (Reasoning)

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

Kimi

Kimi K2.7 Code

Input
$0.95/M
Output
$4/M
Speed
39 tok/s
TTFT
2.97s
Z AI

GLM-5.1 (Reasoning)

Input
$1.28/M
Output
$4.07/M
Speed
51 tok/s
TTFT
1.82s

Winner by Category

Cheaper
Kimi K2.7 Code
Faster (tok/s)
GLM-5.1 (Reasoning)
Lower Latency
GLM-5.1 (Reasoning)
Benchmarks (2-0)
Kimi K2.7 Code

Pricing Comparison

MetricKimi K2.7 CodeGLM-5.1 (Reasoning)
Input ($/M tokens)$0.95$1.28
Output ($/M tokens)$4$4.07
Cost for 1M input + 100K output tokens:
Kimi K2.7 Code$1.35
GLM-5.1 (Reasoning)$1.69

Speed Comparison

Output Speed (tokens/s) — higher is better
Kimi K2.7 Code
39 tok/s
GLM-5.1 (Reasoning)
51 tok/s
Time to First Token (seconds) — lower is better
Kimi K2.7 Code
2.97s
GLM-5.1 (Reasoning)
1.82s

Editorial Analysis

Verdict. Kimi K2.7 Code wins the overall benchmark matchup 2–0 across 2 overlapping categories, but raw benchmark score is only one input to the decision.

Pricing. Both models sit in the mid-tier bracket for output-token pricing. At 1.0× the per-million-token cost, Kimi K2.7 Code is meaningfully cheaper if your traffic is output-heavy (long completions, document generation, agent loops). Kimi K2.7 Code makes more sense when output volume is low and absolute reasoning quality justifies the premium.

Strengths. Kimi K2.7 Code is strongest on Coding Index (60.8), Intelligence Index (43.0). GLM-5.1 (Reasoning) leads on Coding Index (55.8), Intelligence Index (41.0).

Speed. On throughput, GLM-5.1 (Reasoning) generates tokens at 51 tok/s versus 39 tok/s — about 23% faster. On time-to-first-token, GLM-5.1 (Reasoning) responds in 1820ms vs 2970ms, which matters most for chat-style UIs.

Provider. Kimi and Z AI sell to overlapping but distinct developer audiences: Kimi tends to ship frontier reasoning models with premium positioning, while Z AI often prices more aggressively. Your existing vendor relationships, billing, and SLA preferences may matter as much as the raw numbers above.

Workload cost. Workload scenarios (per million requests at 30M input + 15M output tokens): Kimi K2.7 Code costs $88.50 ($1062/year); GLM-5.1 (Reasoning) costs $99.45 ($1193/year). At a smaller 5M-input/2M-output scale (single-developer tool or prototype): Kimi K2.7 Code ≈ $12.75/run, GLM-5.1 (Reasoning) ≈ $14.54/run. At agent/realtime scale (200M input / 100M output per million requests): Kimi K2.7 Code ≈ $590/run, GLM-5.1 (Reasoning) ≈ $663/run. Kimi K2.7 Code becomes more attractive at higher volume — the absolute per-token pricing difference compounds when you ship at scale.

Recommendation. Both models have legitimate use cases — the right answer depends on whether you are optimizing for benchmark ceiling, latency, or unit cost. Start with the cheaper / faster model, evaluate against your specific task, and only switch if the upgrade shows a meaningful lift.

Head-to-head deltas

  • Aggregate benchmark score (sum across 12 categories, capped at 100): Kimi K2.7 Code = 104, GLM-5.1 (Reasoning) = 97. Within 15% — effectively equivalent if both meet the threshold your product requires.

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
43.041.0
Coding Index
60.855.8
Math Index
GPQA Diamond
MMLU-Pro
LiveCodeBench
AIME 2025
MATH-500
Humanity's Last Exam
SciCode
IFBench
TerminalBench
Kimi K2.7 Code2 wins
0 winsGLM-5.1 (Reasoning)

Frequently Asked Questions

Which is cheaper, Kimi K2.7 Code or GLM-5.1 (Reasoning)?

Kimi K2.7 Code is cheaper overall. Its blended price (3:1 input/output ratio) is $1.71/M tokens vs $1.98/M for GLM-5.1 (Reasoning).

Which model performs better on benchmarks?

Kimi K2.7 Code wins 2 out of 12 benchmarks compared to 0 for GLM-5.1 (Reasoning). See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

GLM-5.1 (Reasoning) generates tokens faster at 51 tok/s vs 39 tok/s. However, GLM-5.1 (Reasoning) has lower time-to-first-token (1.82s vs 2.97s).

When should I use Kimi K2.7 Code vs GLM-5.1 (Reasoning)?

Choose based on your priorities: Kimi K2.7 Code for lower cost, Kimi K2.7 Code for stronger benchmark performance, and GLM-5.1 (Reasoning) for faster generation. For latency-sensitive apps, check the TTFT comparison above.