Model Comparison

GLM-5.1 vs Kimi K2.7 CodeWhich is better in 2026?

Kimi K2.7 Code significantly outperforms across most benchmarks. Kimi K2.7 Code is 1.5x cheaper per token.

Verdict: GLM-5.1 vs Kimi K2.7 Code — which is better?

GLM-5.1 (by Zhipu AI) and Kimi K2.7 Code (by Moonshot AI) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

GLM-5.1 outperforms in 0 benchmarks, while Kimi K2.7 Code is better at 2 benchmarks (LiveBench, MCP Atlas). Kimi K2.7 Code significantly outperforms across most benchmarks.

On price, Kimi K2.7 Code is roughly 1.5x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Kimi K2.7 Code also accepts a larger context window (262,144 input tokens), making it the stronger choice for long documents and large codebases.

Choose GLM-5.1 if…

  • you want predictable pricing at $1.40/M input and $4.40/M output

Choose Kimi K2.7 Code if…

  • you want the strongest raw capability — it leads on 2 of 2 shared benchmarks
  • cost matters — it's about 1.5x cheaper per token
  • you process long inputs — it offers a 262,144 token context window
  • you want the most recent training data — it shipped Jun 2026

Performance Benchmarks

Comparative analysis across standard metrics

2 benchmarks

GLM-5.1 outperforms in 0 benchmarks, while Kimi K2.7 Code is better at 2 benchmarks (LiveBench, MCP Atlas).

Kimi K2.7 Code significantly outperforms across most benchmarks.

Tue Jul 28 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Kimi K2.7 Code costs less

For input processing, GLM-5.1 ($1.40/1M tokens) is 1.9x more expensive than Kimi K2.7 Code ($0.74/1M tokens).

For output processing, GLM-5.1 ($4.40/1M tokens) is 1.3x more expensive than Kimi K2.7 Code ($3.50/1M tokens).

In conclusion, GLM-5.1 is more expensive than Kimi K2.7 Code.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Tue Jul 28 2026 • llm-stats.com
Zhipu AI
GLM-5.1
Input tokens$1.40
Output tokens$4.40
Best providerFriendliAI
Moonshot AI
Kimi K2.7 Code
Input tokens$0.74
Output tokens$3.50
Best providerDeepinfra
Notice missing or incorrect data?Start an Issue

Model Size

Parameter count comparison

246.0B diff

Kimi K2.7 Code has 246.0B more parameters than GLM-5.1, making it 32.6% larger.

Zhipu AI
GLM-5.1
754.0Bparameters
Moonshot AI
Kimi K2.7 Code
1.0Tparameters
754.0B
GLM-5.1
1000.0B
Kimi K2.7 Code

Context Window

Maximum input and output token capacity

Kimi K2.7 Code accepts 262,144 input tokens compared to GLM-5.1's 200,000 tokens. Kimi K2.7 Code can generate longer responses up to 131,072 tokens, while GLM-5.1 is limited to 128,000 tokens.

Zhipu AI
GLM-5.1
Input200,000 tokens
Output128,000 tokens
Moonshot AI
Kimi K2.7 Code
Input262,144 tokens
Output131,072 tokens
Tue Jul 28 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Kimi K2.7 Code supports multimodal inputs, whereas GLM-5.1 does not.

Kimi K2.7 Code can handle both text and other forms of data like images, making it suitable for multimodal applications.

GLM-5.1

Text
Images
Audio
Video

Kimi K2.7 Code

Text
Images
Audio
Video

License

Usage and distribution terms

GLM-5.1 is licensed under MIT, while Kimi K2.7 Code uses Modified MIT License.

License differences may affect how you can use these models in commercial or open-source projects.

GLM-5.1

MIT

Open weights

Kimi K2.7 Code

Modified MIT License

Open weights

Release Timeline

When each model was launched

GLM-5.1 was released on 2026-04-07, while Kimi K2.7 Code was released on 2026-06-12.

Kimi K2.7 Code is 2 months newer than GLM-5.1.

GLM-5.1

Apr 7, 2026

3 months ago

Kimi K2.7 Code

Jun 12, 2026

1 months ago

2mo newer

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

GLM-5.1 is available from FriendliAI, ZAI. Kimi K2.7 Code is available from DeepInfra, Fireworks, Moonshot AI, Novita, Together.

GLM-5.1

friendli logo
FriendliAI
Input Price:Input: $1.40/1MOutput Price:Output: $4.40/1M
z logo
Unknown Organization
Input Price:Input: $1.40/1MOutput Price:Output: $4.40/1M

Kimi K2.7 Code

deepinfra logo
Deepinfra
Input Price:Input: $0.74/1MOutput Price:Output: $3.50/1M
fireworks logo
Fireworks
Input Price:Input: $0.95/1MOutput Price:Output: $4.00/1M
moonshot logo
Unknown Organization
Input Price:Input: $0.95/1MOutput Price:Output: $4.00/1M
novita logo
Novita
Input Price:Input: $0.95/1MOutput Price:Output: $4.00/1M
together logo
Together
Input Price:Input: $0.95/1MOutput Price:Output: $4.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

No standout differentiators in the data we have for this pair.

Larger context window (262,144 tokens)
Supports multimodal inputs
Less expensive input tokens
Less expensive output tokens
Higher LiveBench score (71.9% vs 70.2%)
Higher MCP Atlas score (76.0% vs 71.8%)

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against GLM-5.1 and Kimi K2.7 Code side-by-side, then vote on the output you prefer.

GLM-5.1
✓ Preferred
Kimi K2.7 Code
Open in Playground
AI Model Comparison Table
Feature
Zhipu AI
GLM-5.1
Moonshot AI
Kimi K2.7 Code

FAQ

Common questions about GLM-5.1 vs Kimi K2.7 Code.

Which is better, GLM-5.1 or Kimi K2.7 Code?

Kimi K2.7 Code significantly outperforms across most benchmarks. GLM-5.1 is made by Zhipu AI and Kimi K2.7 Code is made by Moonshot AI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does GLM-5.1 compare to Kimi K2.7 Code in benchmarks?

GLM-5.1 scores Vending-Bench 2: 100.0%, AIME 2026: 95.3%, HMMT 2025: 94.0%, GPQA: 86.2%, IMO-AnswerBench: 83.8%. Kimi K2.7 Code scores MCP-Mark: 81.1%, MCP Atlas: 76.0%, LiveBench: 71.9%, Kimi Code Bench v2: 62.0%, Program Bench: 53.6%.

Is GLM-5.1 cheaper than Kimi K2.7 Code?

Kimi K2.7 Code is 1.9x cheaper for input tokens. GLM-5.1 costs $1.40/M input and $4.40/M output via friendli. Kimi K2.7 Code costs $0.74/M input and $3.50/M output via deepinfra.

What are the context window sizes for GLM-5.1 and Kimi K2.7 Code?

GLM-5.1 supports 200K tokens and Kimi K2.7 Code supports 262K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between GLM-5.1 and Kimi K2.7 Code?

Key differences include context window (200K vs 262K), input pricing ($1.40 vs $0.74/M), multimodal support (no vs yes), licensing (MIT vs Modified MIT License). See the full comparison above for benchmark-by-benchmark results.

Who makes GLM-5.1 and Kimi K2.7 Code?

GLM-5.1 is developed by Zhipu AI and Kimi K2.7 Code is developed by Moonshot AI.