GLM 5.2 vs Kimi K2.7 Code
GLM 5.2 leads Kimi K2.7 Code on coding, 61.1 to 53.4 on the Vibe Coding Index, at about the same output price ($4.40 vs $4.00 per million). Updated October 21, 2026; 50 benchmarks have a result for both.
GLM 5.2 or Kimi K2.7 Code: which to pick
Pick GLM 5.2 for coding: it scores 61.1 on the Vibe Coding Index against 53.4 for Kimi K2.7 Code.
Pick Kimi K2.7 Code for output tokens 1.1x cheaper ($4.00 vs $4.40 per million) and a lower cost per solved task ($0.35 against $0.86).
- Shared results
- 50
- GLM 5.2 only
- 48
- Kimi K2.7 Code only
- 1
- Like-for-like categories
- 8 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
GLM 5.2
GLM 5.2 scores 61.1 against 53.4.
4 benchmarks behind each score
Intelligence
AA Intelligence Index
GLM 5.2
GLM 5.2 leads, 33.7 against 25.8.
Same board, both measured
Agentic work
AA Agentic Index
GLM 5.2
GLM 5.2 leads, 38.4 against 21.0.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only GLM 5.2 has a GPQA Diamond result, 85.6%.
Directional only
Knowledge
MMLU Pro
No call
Only GLM 5.2 has a MMLU Pro result, 86.7%.
Directional only
Web design
Design Arena: websites
GLM 5.2
GLM 5.2 leads, 1285 against 1264.
Same board, both measured
Long documents
Listed context window
GLM 5.2
GLM 5.2 takes 1.05M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Kimi K2.7 Code
GLM 5.2 $0.0036, Kimi K2.7 Code $0.0029 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Kimi K2.7 Code
GLM 5.2 $0.86, Kimi K2.7 Code $0.35.
Published attempt cost and pass rate
At a glance
- Coding index
- GLM 5.2 61.1 from 4 benchmarks, Kimi K2.7 Code 53.4 from 4 benchmarks.
- Widest category
- Math, 10.5 points apart on average over 3 shared benchmarks.
- Widest single gap
- LMArena WebDev: React: GLM 5.2 1617 against Kimi K2.7 Code 1475, 20.8 points apart on a 0 to 100 scale.
- Output price
- GLM 5.2 $4.40 against Kimi K2.7 Code $4.00 per million output tokens, 1.1x apart.
- Context window
- GLM 5.2 takes 1.05M tokens, Kimi K2.7 Code 262K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | GLM 5.2 | Bars | Kimi K2.7 Code | Ties |
|---|---|---|---|---|
| Coding | 13 | 3 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 10 | 2 | ||
| Reasoning | 4 | 1 | ||
| Math | 2 | 1 | ||
| Knowledge | 0 | 1 | ||
| Web design | 7 | 1 | ||
| General | 2 | 1 | ||
| All shared boards | 40 | 10 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index133
| Benchmark | GLM 5.2 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| LMArena WebDev | 1604 | 1474 | GLM 5.2 |
| AA Coding Index | 68.8 | 60.8 | GLM 5.2 |
| LiveCodeBench (Vals AI) | 69.5% | 82.0% | Kimi K2.7 Code |
| SWE-bench Verified (Vals AI) | 82.8% | 78.2% | GLM 5.2 |
| Vibe Code Bench (Vals AI) | 64.0% | 47.2% | GLM 5.2 |
| Code migration (Vals AI) | 37.9% | 25.4% | GLM 5.2 |
| ProgramBench (Vals AI) | 0.5% | 0.0% | GLM 5.2 |
| Terminal-Bench 2.1 (Vals AI) | 67.8% | 67.0% | GLM 5.2 |
| SkillsBench (Vals AI) | 45.1% | 50.0% | Kimi K2.7 Code |
| SciCode | 51.2% | 47.8% | GLM 5.2 |
| Terminal-Bench Hard (Artificial Analysis run) | 50.8% | 44.7% | GLM 5.2 |
| FrontierCode | 24.5% | 30.1% | Kimi K2.7 Code |
| WeirdML | 70.1% | 54.1% | GLM 5.2 |
| ALE-Bench | 1047.0 | 886.2 | GLM 5.2 |
| LMArena Text: coding | 1487 | Not measured | Only GLM 5.2 measured |
| LMArena Text: software and IT | 1486 | Not measured | Only GLM 5.2 measured |
| LMArena WebDev: React | 1617 | 1475 | GLM 5.2 |
| LMArena WebDev: HTML | 1565 | 1451 | GLM 5.2 |
| LMArena WebDev: from an image | Not measured | 1513 | Only Kimi K2.7 Code measured |
| Neither model has a result on the other 20 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GLM 5.2 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| AA Intelligence Index | 33.7 | 25.8 | GLM 5.2 |
| Epoch Capabilities Index | 151.9 | 150.1 | GLM 5.2 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index102
| Benchmark | GLM 5.2 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| AA Agentic Index | 38.4 | 21.0 | GLM 5.2 |
| Design Arena: agents building web apps | 1222 | 1176 | GLM 5.2 |
| Design Arena: agents building full-stack apps | 1241 | 1175 | GLM 5.2 |
| Design Arena: agents building mobile apps | 1160 | 1143 | GLM 5.2 |
| Design Arena: agents building Android apps | 1178 | 1137 | GLM 5.2 |
| Design Arena: agents building Godot games | 1142 | 1147 | Kimi K2.7 Code |
| Design Arena: agents building games | 1206 | 1131 | GLM 5.2 |
| Design Arena: HTML slides | 1175 | 1201 | Kimi K2.7 Code |
| Design Arena: PowerPoint slides | 1195 | 1154 | GLM 5.2 |
| SREBench (Vals AI) | 0.0% | Not measured | Only GLM 5.2 measured |
| Finance Agent (Vals AI) | 49.7% | Not measured | Only GLM 5.2 measured |
| Legal Research Bench (Vals AI) | 31.3% | Not measured | Only GLM 5.2 measured |
| Excel Modeling Benchmark (Vals AI) | 61.5% | Not measured | Only GLM 5.2 measured |
| τ²-Bench Telecom | 99.1% | 90.1% | GLM 5.2 |
| APEX-Agents | 45.2% | 37.6% | GLM 5.2 |
| PostTrainBench | 31.7% | Not measured | Only GLM 5.2 measured |
| Vending-Bench 2 | $8,314 | $5,083 | GLM 5.2 |
| Neither model has a result on the other 24 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index41
| Benchmark | GLM 5.2 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| GPQA Diamond | 85.6% | Not measured | Only GLM 5.2 measured |
| GPQA Diamond (Artificial Analysis run) | 89.5% | 89.6% | Kimi K2.7 Code |
| Humanity's Last Exam (Artificial Analysis run) | 41.1% | 35.0% | GLM 5.2 |
| GPQA Diamond (Epoch AI run) | 91.9% | 87.9% | GLM 5.2 |
| ARC-AGI | 77.0% | Not measured | Only GLM 5.2 measured |
| ARC-AGI-2 | 22.8% | Not measured | Only GLM 5.2 measured |
| SimpleBench | 58.8% | 57.9% | GLM 5.2 |
| Chess puzzles | 22.0% | 14.0% | GLM 5.2 |
| Mystery game puzzles | 19.0% | Not measured | Only GLM 5.2 measured |
| EBR-bench | 9.5% | Not measured | Only GLM 5.2 measured |
| LMArena Text: hard prompts | 1481 | Not measured | Only GLM 5.2 measured |
| LMArena Text: expert | 1487 | Not measured | Only GLM 5.2 measured |
| LMArena Text: hard prompts in English | 1481 | Not measured | Only GLM 5.2 measured |
| Kagi LLM Benchmark | 62.6% | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 8 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index21
| Benchmark | GLM 5.2 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| OTIS Mock AIME | 86.4% | 95.6% | Kimi K2.7 Code |
| FrontierMath, tiers 1 to 3 | 59.2% | 54.0% | GLM 5.2 |
| FrontierMath, tier 4 | 29.3% | 12.2% | GLM 5.2 |
| ProofBench | 35.0% | Not measured | Only GLM 5.2 measured |
| LMArena Text: math | 1483 | Not measured | Only GLM 5.2 measured |
| LMArena Text: mathematical work | 1489 | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GLM 5.2 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| MMLU Pro | 86.7% | Not measured | Only GLM 5.2 measured |
| LegalBench (Vals AI) | 84.1% | Not measured | Only GLM 5.2 measured |
| CorpFin (Vals AI) | 66.1% | Not measured | Only GLM 5.2 measured |
| TaxEval (Vals AI) | 73.3% | Not measured | Only GLM 5.2 measured |
| MedCode (Vals AI) | 40.8% | Not measured | Only GLM 5.2 measured |
| SimpleQA Verified | 34.2% | 36.5% | Kimi K2.7 Code |
| LMArena Text: science | 1489 | Not measured | Only GLM 5.2 measured |
| LMArena Text: medicine and healthcare | 1475 | Not measured | Only GLM 5.2 measured |
| LMArena Text: legal and government | 1486 | Not measured | Only GLM 5.2 measured |
| LMArena Text: business and finance | 1451 | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 8 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index71
| Benchmark | GLM 5.2 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| Design Arena: websites | 1285 | 1264 | GLM 5.2 |
| Design Arena: UI components | 1296 | 1259 | GLM 5.2 |
| Design Arena: game dev | 1268 | 1220 | GLM 5.2 |
| Design Arena: data viz | 1285 | 1227 | GLM 5.2 |
| Design Arena: 3D | 1288 | 1241 | GLM 5.2 |
| Design Arena: all code categories | 1288 | 1253 | GLM 5.2 |
| Design Arena: SVG | 1214 | 1176 | GLM 5.2 |
| Design Arena: ASCII art | 1190 | 1196 | Kimi K2.7 Code |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index21
| Benchmark | GLM 5.2 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| MedScribe (Vals AI) | 83.5% | Not measured | Only GLM 5.2 measured |
| IFBench | 73.3% | 63.1% | GLM 5.2 |
| Long context reasoning (AA-LCR) | 78.3% | 79.3% | Kimi K2.7 Code |
| DTBench | 93.6% | Not measured | Only GLM 5.2 measured |
| LMCA | 45.8% | Not measured | Only GLM 5.2 measured |
| Surface Evolver Bench | 55.6% | 48.8% | GLM 5.2 |
| LMArena Text | 1470 | Not measured | Only GLM 5.2 measured |
| LMArena Text: instruction following | 1466 | Not measured | Only GLM 5.2 measured |
| LMArena Text: creative writing | 1463 | Not measured | Only GLM 5.2 measured |
| LMArena Text: English | 1475 | Not measured | Only GLM 5.2 measured |
| LMArena Text: non-English | 1459 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Chinese | 1522 | Not measured | Only GLM 5.2 measured |
| LMArena Text: German | 1470 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Japanese | 1450 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Korean | 1440 | Not measured | Only GLM 5.2 measured |
| LMArena Text: French | 1479 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Spanish | 1478 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Russian | 1468 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Polish | 1456 | Not measured | Only GLM 5.2 measured |
| LMArena Text: multi-turn | 1469 | Not measured | Only GLM 5.2 measured |
| LMArena Text: longer queries | 1480 | Not measured | Only GLM 5.2 measured |
| LMArena Text: writing and language | 1463 | Not measured | Only GLM 5.2 measured |
| LMArena Text: entertainment and media | 1450 | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 23 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5.2 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Kimi K2.7 Code costs less
Repository review
50K input + 3K output tokens
Kimi K2.7 Code costs less
Agent loop
200K input + 10K output tokens
Kimi K2.7 Code costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Z.ai GLM 5.2 | MoonshotAI Kimi K2.7 Code |
|---|---|---|
| Maker | Z.ai | Moonshot AI |
| Weights | Open weights | Open weights |
| Released | June 16, 2026 | June 12, 2026 |
| Context window | 1.05M | 262K |
| Input $/Mtok | $1.40 | $0.95 |
| Output $/Mtok | $4.40 | $4.00 |
| Coding index | 61.1 | 53.4 |
| Independent measurements behind it | 4 | 4 |
| Cost per solved task | $0.86 | $0.35 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5.2 better than Kimi K2.7 Code for coding?
Pick GLM 5.2 for coding: it scores 61.1 on the Vibe Coding Index against 53.4 for Kimi K2.7 Code. Pick Kimi K2.7 Code for output tokens 1.1x cheaper ($4.00 vs $4.40 per million) and a lower cost per solved task ($0.35 against $0.86).
Which is cheaper, GLM 5.2 or Kimi K2.7 Code?
GLM 5.2 costs $1.40 per million input tokens and $4.40 per million output tokens; Kimi K2.7 Code costs $0.95 and $4.00. Per solved SWE-bench Verified task, GLM 5.2 costs $0.86 and Kimi K2.7 Code $0.35.
Which has the bigger context window, GLM 5.2 or Kimi K2.7 Code?
GLM 5.2, with 1.05M tokens against 262K.
How many benchmarks is the GLM 5.2 vs Kimi K2.7 Code comparison based on?
50 benchmarks have a result for both models as of October 21, 2026. GLM 5.2's coding index rests on 4 independent benchmarks and Kimi K2.7 Code's on 4. Where only one model has a result, the page says so instead of naming a winner.