Model Comparison

Kimi K2.7 Code vs GLM-5.2Which is better in 2026?

GLM-5.2 significantly outperforms across most benchmarks. Kimi K2.7 Code is 1.0x cheaper per token.

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

Kimi K2.7 Code (by Moonshot AI) and GLM-5.2 (by Zhipu 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.

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

GLM-5.2 also accepts a larger context window (1,048,576 input tokens), making it the stronger choice for long documents and large codebases.

Choose Kimi K2.7 Code if…

  • you want predictable pricing at $0.74/M input and $3.50/M output

Choose GLM-5.2 if…

  • you want the strongest raw capability — it leads on 2 of 2 shared benchmarks
  • you process long inputs — it offers a 1,048,576 token context window
  • you want the most recent training data — it shipped Jun 2026

Performance Benchmarks

Comparative analysis across standard metrics

2 benchmarks

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

GLM-5.2 significantly outperforms across most benchmarks.

Fri Jul 17 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, Kimi K2.7 Code ($0.74/1M tokens) is 1.3x cheaper than GLM-5.2 ($0.95/1M tokens).

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

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

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

Lowest available price from all providers
Fri Jul 17 2026 • llm-stats.com
Moonshot AI
Kimi K2.7 Code
Input tokens$0.74
Output tokens$3.50
Best providerDeepinfra
Zhipu AI
GLM-5.2
Input tokens$0.95
Output tokens$3.00
Best providerDeepinfra
Notice missing or incorrect data?Start an Issue

Model Size

Parameter count comparison

247.0B diff

Kimi K2.7 Code has 247.0B more parameters than GLM-5.2, making it 32.8% larger.

Moonshot AI
Kimi K2.7 Code
1.0Tparameters
Zhipu AI
GLM-5.2
753.0Bparameters
1000.0B
Kimi K2.7 Code
753.0B
GLM-5.2

Context Window

Maximum input and output token capacity

GLM-5.2 accepts 1,048,576 input tokens compared to Kimi K2.7 Code's 262,144 tokens. Both models can generate responses up to 131,072 tokens.

Moonshot AI
Kimi K2.7 Code
Input262,144 tokens
Output131,072 tokens
Zhipu AI
GLM-5.2
Input1,048,576 tokens
Output131,072 tokens
Fri Jul 17 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

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

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

Kimi K2.7 Code

Text
Images
Audio
Video

GLM-5.2

Text
Images
Audio
Video

License

Usage and distribution terms

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

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

Kimi K2.7 Code

Modified MIT License

Open weights

GLM-5.2

MIT

Open weights

Release Timeline

When each model was launched

Kimi K2.7 Code was released on 2026-06-12, while GLM-5.2 was released on 2026-06-16.

GLM-5.2 is 0 month newer than Kimi K2.7 Code.

Kimi K2.7 Code

Jun 12, 2026

1 months ago

GLM-5.2

Jun 16, 2026

1 months ago

4d 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

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

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

GLM-5.2

deepinfra logo
Deepinfra
Input Price:Input: $0.95/1MOutput Price:Output: $3.00/1M
fireworks logo
Fireworks
Input Price:Input: $1.40/1MOutput Price:Output: $4.40/1M
friendli logo
FriendliAI
Input Price:Input: $1.40/1MOutput Price:Output: $4.40/1M
novita logo
Novita
Input Price:Input: $1.40/1MOutput Price:Output: $4.40/1M
together logo
Together
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
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Supports multimodal inputs
Less expensive input tokens
Larger context window (1,048,576 tokens)
Less expensive output tokens
Higher MCP Atlas score (76.8% vs 76.0%)
Higher Program Bench score (63.7% vs 53.6%)

Detailed Comparison

Interactive Arena

Judge for yourself.

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

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

FAQ

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

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

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

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

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%. GLM-5.2 scores AIME 2026: 99.2%, HMMT 2025: 94.4%, HMMT Feb 26: 92.5%, GPQA: 91.2%, IMO-AnswerBench: 91.0%.

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

Kimi K2.7 Code is 1.3x cheaper for input tokens. Kimi K2.7 Code costs $0.74/M input and $3.50/M output via deepinfra. GLM-5.2 costs $0.95/M input and $3.00/M output via deepinfra.

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

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

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

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

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

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