Kimi K2.7 Code vs GLM 5.1
API pricing, monthly cost and benchmark scores for Kimi K2.7 Code (Moonshot) and GLM 5.1 (Z.AI), side by side.
The short answer
Kimi K2.7 Code is the cheaper of the two on the default workload (2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached): $988 a month against $1,226 for GLM 5.1, 19% less. Kimi K2.7 Code (151.1) and GLM 5.1 (150.7) are within half a point on the Epoch Capabilities Index, so there is no meaningful intelligence gap.
Kimi K2.7 Code has the larger context window, 262,000 tokens against 205,000. Across the 5 benchmarks both have results for, Kimi K2.7 Code leads on 3 and GLM 5.1 on 2.
Side by side
| Specification | ||
|---|---|---|
| Input price per 1M tokens | $0.950 | $1.40 |
| Cached input per 1M tokens | $0.190 | $0.260 |
| Output price per 1M tokens | $4.00 | $4.40 |
| Context window | 262K tokens | 205K tokens |
| Epoch Capabilities Index | 151.1 | 150.7 |
| GPQA | 87.3% | 90.1% |
| Release date | Jun 12, 2026 | Apr 7, 2026 |
| Open weights | Yes | Yes |
| Capabilities | tools, reasoning, json, vision | tools, reasoning, json |
Monthly cost for three workloads
Each row prices 30 days of traffic at standard rates. Cached input is billed at the cached rate for the share shown.
| Workload | Difference | ||
|---|---|---|---|
| Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached | $987.60 | $1,226.40 | Kimi K2.7 Code is 19% cheaper |
| Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached | $2,298.00 | $3,228.00 | Kimi K2.7 Code is 29% cheaper |
| Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached | $2,542.50 | $2,850.00 | Kimi K2.7 Code is 11% cheaper |
Benchmark by benchmark
Only benchmarks where both models have a score. Scores are as published on each benchmark; higher is better unless the benchmark page says otherwise.
| Benchmark | ||
|---|---|---|
| Epoch Capabilities IndexECI | 151.1 | 150.7 |
| FrontierMath Tiers 1-3% solved | 56.88 | 38.78 |
| APEX-Agents% pass@1 | 37.6 | 40.9 |
| SimpleQA Verified% correct | 36.5 | 34 |
| GPQA Diamond% accuracy | 87.33 | 90.14 |
Go further
Full pages: Kimi K2.7 Code and GLM 5.1. Or use the interactive comparison to pick any models.