Skip to content

Kimi K2.7 Code vs GLM 5.2

Kimi K2.7 Code

Moonshot AI

40#301
vs
GLM 5.2

Zhipu AI

69#133
Signal-by-Signal Comparison
SignalKimi K2.7 CodeDeltaGLM 5.2
Capabilities
83
+17
67
Pricing
97
+3
93
Context window size
86
-9
96
Recency
100
--
100
Output Capacity
86
-10
96
Benchmarks
0
-69
69
Overall Result
2 wins
of 6
3 wins
GLM 5.2 wins 3 of 6 signals

Score History

Score History (22 data points)
Kimi K2.7 CodeGLM 5.2
Kimi K2.7 Code

40

current score

Leader

GLM 5.2

right now

GLM 5.2

68.9

current score

LMMarketCap.com
Interactive Price Comparison
100Kcalls/month
1,000tokens (~1,333 chars)
500tokens (~667 chars)

Kimi K2.7 Code

Moonshot AI

Best Value
Per request$0.002350
Daily$7.83
Monthly$235.00
Annual$2820.00

GLM 5.2

Zhipu AI

Per request$0.003406
Daily$11.35
Monthly$340.60
Annual$4087.20

Kimi K2.7 Code saves you $105.60/month

That's $1267.20/year compared to GLM 5.2 at your current usage level of 100K calls/month.

31% cheaper
Choose Kimi K2.7 Code for cost optimization

Kimi K2.7 Code pricing:
Input:$0.60/M tokens
Output:$3.50/M tokens
GLM 5.2 pricing:
Input:$0.01/M tokens
Output:$6.80/M tokens
Kimi K2.7 Code

Moonshot AI

40

Composite Score

Winner
GLM 5.2

Zhipu AI

69

Composite Score

Signal-by-Signal Comparison
MetricKimi K2.7 CodeGLM 5.2Winner
Overall Score
40
69
GLM 5.2
Rank#301#133
GLM 5.2
Quality Rank#301#133
GLM 5.2
Adoption Rank#301#133
GLM 5.2
Parameters------
Context Window262K1049K
GLM 5.2
Pricing$0.60/$3.50/M$0.01/$6.80/M--
Signal Scores
Capabilities
83
67
Kimi K2.7 Code
Pricing
97
93
Kimi K2.7 Code
Context window size
86
96
GLM 5.2
Recency
100
100
Kimi K2.7 Code
Output Capacity
86
96
GLM 5.2
Benchmarks--
69
GLM 5.2
Benchmark Head-to-Head(1 benchmarks)
Kimi K2.7: 0GLM 5.2: 0
Kimi K2.7
GLM 5.2
Normalized 0-100%
MMLU-Pro
-86%
Benchmark Interpretation

Our score (0-100) is driven by benchmark performance (90%) from Arena Elo ratings, MMLU, GPQA, HumanEval, SWE-bench, and 15+ standardized evaluations. Capabilities and context window serve as tiebreakers (10%). Learn more about our methodology.

Kimi K2.7 CodeEntry Level

Scores 40/100 (rank #301), placing it in the top -3% of all 290 models tracked.

Raw Quality0/100
Cost Efficiency0/100
Speed0/100
GLM 5.2Competitive

Scores 69/100 (rank #133), placing it in the top 54% of all 290 models tracked.

Raw Quality0/100
Cost Efficiency0/100
Speed0/100

GLM 5.2 has a 29-point advantage, which typically translates to noticeably stronger performance on complex reasoning, code generation, and multi-step tasks.

When to Use Each Model

Choose Kimi K2.7 Code when you need:

  • High-volume production workloads where API costs must be minimized
  • Multimodal workflows that require image understanding
  • Step-by-step reasoning and chain-of-thought problem solving
  • Self-hosted deployments where you need full control over the model

Choose GLM 5.2 when you need:

  • Processing long documents or large codebases (1049K token context)
  • Step-by-step reasoning and chain-of-thought problem solving
  • Self-hosted deployments where you need full control over the model
Cost-Performance Analysis
Kimi K2.7 Code
Input cost$0.60/M tokens
Output cost$3.50/M tokens
Cost per quality point$0.102
Est. monthly (1M tokens/day)$61.50
GLM 5.2Best Value
Input cost$0.01/M tokens
Output cost$6.80/M tokens
Cost per quality point$0.099
Est. monthly (1M tokens/day)$102.09

GLM 5.2 offers 40% better value per quality point. At 1M tokens/day, you'd spend $61.50/month with Kimi K2.7 Code vs $102.09/month with GLM 5.2 - a $40.59 monthly difference.

Latency & Speed
Kimi K2.7 CodeFaster
Speed score0/100
GLM 5.2
Speed score0/100

Both models have comparable response speeds. For most applications, the latency difference is negligible.

When latency matters most: Interactive chatbots, IDE code completion, real-time translation, and user-facing applications where response time directly impacts experience. For batch processing, background summarization, or offline analysis, latency is less critical.

Example Use Cases

Code generation & review

Based on overall model capabilities and architecture for coding tasks like generating functions, debugging, and refactoring

Kimi K2.7 Code

Customer support chatbot

Suitable for user-facing chat with competitive response times. Kimi K2.7 Code also offers lower per-token costs for high-volume support

Kimi K2.7 Code

Long document analysis

Larger context window (1049K tokens) can process longer documents, contracts, and research papers in a single pass

GLM 5.2

Batch data extraction

Lower output pricing ($3.50/M) reduces costs when processing thousands of records daily

Kimi K2.7 Code

Creative writing & content

Higher overall composite score (69/100) correlates with better nuance, coherence, and style in long-form content

GLM 5.2

Image understanding & OCR

Supports vision input - can analyze screenshots, diagrams, photos, and scanned documents directly

Kimi K2.7 Code
Which Should You Choose?
Our recommendation:
GLM 5.2

GLM 5.2 clearly outperforms Kimi K2.7 Code with a significant 28.900000000000006-point lead. For most general use cases, GLM 5.2 is the stronger choice. However, Kimi K2.7 Code may still excel in niche scenarios.

by Moonshot AI

  • Choose for Quality - Marginally better benchmark scores; both are excellent
  • Choose for Cost - 40% lower pricing; better value at scale
  • Choose for Reliability - Higher uptime and faster response speeds
  • Choose for Prototyping - Stronger community support and better developer experience
  • Choose for Production - Wider enterprise adoption and proven at scale
GLM 5.2
Recommended

by Zhipu AI

Consider for specialized use cases.

Capability Comparison
CapabilityKimi K2.7 CodeGLM 5.2
Vision (Image Input)differs
Function Calling
Streaming
JSON Mode
Reasoning
Web Search
Image Output
Monthly Cost Calculator
1,000tokens (600 in / 400 out)
100requests/day (3,000/month)

Kimi K2.7 Code

Moonshot AI

Best Value
$5.28
estimated monthly cost

GLM 5.2

Zhipu AI

$8.17
estimated monthly cost

Kimi K2.7 Code saves you $2.89/month

That's 35% cheaper than GLM 5.2 at 1,000 tokens/request and 100 requests/day.

Assumes 60% input / 40% output token ratio per request. Actual costs may vary based on your usage pattern.

Parameters & Context
ParameterKimi K2.7 CodeGLM 5.2
Context Window262K1.0M
Max Output Tokens235,929943,718
Open SourceYesYes
CreatedJun 12, 2026Jun 16, 2026
Last updated: 58m ago

Related comparisons

Kimi K2.7 Code vs GLM 5.2 (2026) | LM Market Cap