GLM 5.4 vs Kimi K2.7 Code
GLM 5.4 leads Kimi K2.7 Code on coding, 72.7 to 53.4 on the Vibe Coding Index, at about the same output price ($4.40 vs $4.00 per million). Updated December 3, 2026; 3 benchmarks have a result for both.
GLM 5.4 or Kimi K2.7 Code: which to pick
Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 53.4 for Kimi K2.7 Code, though on 2 benchmarks against 4.
Pick Kimi K2.7 Code for output tokens 1.1x cheaper ($4.00 vs $4.40 per million).
- Shared results
- 3
- GLM 5.4 only
- 7
- Kimi K2.7 Code only
- 50
- Like-for-like categories
- 1 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.4
GLM 5.4 scores 72.7 against 53.4.
2 and 4 benchmarks behind the scores
Web design
Design Arena: websites
No call
Only Kimi K2.7 Code has a Design Arena: websites result, 1306.
Directional only
Long documents
Listed context window
GLM 5.4
GLM 5.4 takes 1.05M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Kimi K2.7 Code
GLM 5.4 $0.0036, Kimi K2.7 Code $0.0029 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Kimi K2.7 Code has the number, $0.35.
Directional only
At a glance
- Coding index
- GLM 5.4 72.7 from 2 benchmarks, Kimi K2.7 Code 53.4 from 4 benchmarks.
- Widest category
- Coding, 25.3 points apart on average over 3 shared benchmarks.
- Widest single gap
- LMArena WebDev: GLM 5.4 1690 against Kimi K2.7 Code 1475, 30.7 points apart on a 0 to 100 scale.
- Output price
- GLM 5.4 $4.40 against Kimi K2.7 Code $4.00 per million output tokens, 1.1x apart.
- Context window
- GLM 5.4 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.4 | Bars | Kimi K2.7 Code | Ties |
|---|---|---|---|---|
| Coding | 3 | 0 | ||
| All shared boards | 3 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
| Benchmark | GLM 5.4 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| LiveBench coding | 74.5% | Not measured | Only GLM 5.4 measured |
| LMArena WebDev | 1690 | 1475 | GLM 5.4 |
| LiveCodeBench (Vals AI) | Not measured | 82.0% | Only Kimi K2.7 Code measured |
| SWE-bench Verified (Vals AI) | Not measured | 78.2% | Only Kimi K2.7 Code measured |
| Vibe Code Bench (Vals AI) | Not measured | 47.2% | Only Kimi K2.7 Code measured |
| Code migration (Vals AI) | Not measured | 25.4% | Only Kimi K2.7 Code measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Kimi K2.7 Code measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 67.0% | Only Kimi K2.7 Code measured |
| SkillsBench (Vals AI) | Not measured | 50.0% | Only Kimi K2.7 Code measured |
| SciCode | Not measured | 47.8% | Only Kimi K2.7 Code measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 44.7% | Only Kimi K2.7 Code measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | Not measured | 1.0% | Only Kimi K2.7 Code measured |
| FrontierCode | Not measured | 30.1% | Only Kimi K2.7 Code measured |
| WeirdML | Not measured | 54.1% | Only Kimi K2.7 Code measured |
| ALE-Bench | Not measured | 886.2 | Only Kimi K2.7 Code measured |
| LMArena WebDev: React | 1739 | 1475 | GLM 5.4 |
| LMArena WebDev: HTML | 1675 | 1454 | GLM 5.4 |
| LMArena WebDev: from an image | Not measured | 1511 | Only Kimi K2.7 Code measured |
| GameBench 2 | Not measured | 33.5 | Only Kimi K2.7 Code measured |
| Neither model has a result on the other 33 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | GLM 5.4 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| Epoch Capabilities Index | Not measured | 151.1 | Only Kimi K2.7 Code measured |
| Neither model has a result on the other 1 board here | |||
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index15 boards, none shared
| Benchmark | GLM 5.4 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | Not measured | 1141 | Only Kimi K2.7 Code measured |
| Design Arena: agents building full-stack apps | Not measured | 1222 | Only Kimi K2.7 Code measured |
| Design Arena: agents building mobile apps | Not measured | 1133 | Only Kimi K2.7 Code measured |
| Design Arena: agents building Android apps | Not measured | 1112 | Only Kimi K2.7 Code measured |
| Design Arena: agents building Godot games | Not measured | 1121 | Only Kimi K2.7 Code measured |
| Design Arena: agents building games | Not measured | 1076 | Only Kimi K2.7 Code measured |
| Design Arena: HTML slides | Not measured | 1104 | Only Kimi K2.7 Code measured |
| Design Arena: PowerPoint slides | Not measured | 1115 | Only Kimi K2.7 Code measured |
| LiveBench research | 86.0% | Not measured | Only GLM 5.4 measured |
| LiveBench browser | 64.5% | Not measured | Only GLM 5.4 measured |
| LiveBench long agentic | 41.3% | Not measured | Only GLM 5.4 measured |
| τ²-Bench Telecom | Not measured | 90.1% | Only Kimi K2.7 Code measured |
| APEX-Agents | Not measured | 37.6% | Only Kimi K2.7 Code measured |
| Vending-Bench 2 | Not measured | $5,083 | Only Kimi K2.7 Code measured |
| Toolathlon-Verified | Not measured | 58.0% | Only Kimi K2.7 Code measured |
| Neither model has a result on the other 29 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | GLM 5.4 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| LiveBench reasoning | 85.2% | Not measured | Only GLM 5.4 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 89.6% | Only Kimi K2.7 Code measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 35.0% | Only Kimi K2.7 Code measured |
| HLE-Diamond (Artificial Analysis run) | Not measured | 14.8% | Only Kimi K2.7 Code measured |
| GPQA Diamond (Epoch AI run) | Not measured | 87.9% | Only Kimi K2.7 Code measured |
| SimpleBench | Not measured | 57.9% | Only Kimi K2.7 Code measured |
| Chess puzzles | Not measured | 14.0% | Only Kimi K2.7 Code measured |
| Neither model has a result on the other 19 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
| Benchmark | GLM 5.4 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| OTIS Mock AIME | Not measured | 95.6% | Only Kimi K2.7 Code measured |
| FrontierMath, tiers 1 to 3 | Not measured | 54.0% | Only Kimi K2.7 Code measured |
| FrontierMath, tier 4 | Not measured | 12.2% | Only Kimi K2.7 Code measured |
| Neither model has a result on the other 11 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | GLM 5.4 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| SimpleQA Verified | Not measured | 36.5% | Only Kimi K2.7 Code measured |
| Neither model has a result on the other 20 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | GLM 5.4 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1306 | Only Kimi K2.7 Code measured |
| Design Arena: UI components | Not measured | 1244 | Only Kimi K2.7 Code measured |
| Design Arena: game dev | Not measured | 1190 | Only Kimi K2.7 Code measured |
| Design Arena: data viz | Not measured | 1213 | Only Kimi K2.7 Code measured |
| Design Arena: 3D | Not measured | 1202 | Only Kimi K2.7 Code measured |
| Design Arena: all code categories | Not measured | 1296 | Only Kimi K2.7 Code measured |
| Design Arena: SVG | Not measured | 1213 | Only Kimi K2.7 Code measured |
| Design Arena: ASCII art | Not measured | 1168 | Only Kimi K2.7 Code measured |
| LiveBench design | 74.2% | Not measured | Only GLM 5.4 measured |
GeneralDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
| Benchmark | GLM 5.4 | Kimi K2.7 Code | Leader |
|---|---|---|---|
| LiveBench data analysis | 72.2% | Not measured | Only GLM 5.4 measured |
| IFBench | Not measured | 63.1% | Only Kimi K2.7 Code measured |
| Long context reasoning (AA-LCR) | Not measured | 79.3% | Only Kimi K2.7 Code measured |
| GDPval-AA | Not measured | 1046 | Only Kimi K2.7 Code measured |
| Surface Evolver Bench | Not measured | 48.8% | Only Kimi K2.7 Code measured |
| Neither model has a result on the other 44 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5.4 | 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.4 | MoonshotAI Kimi K2.7 Code |
|---|---|---|
| Maker | Z.ai | Moonshot AI |
| Weights | Open weights | Open weights |
| Released | December 2, 2026 | June 12, 2026 |
| Context window | 1.05M | 262K |
| Input $/Mtok | $1.40 | $0.95 |
| Output $/Mtok | $4.40 | $4.00 |
| Coding index | 72.7 | 53.4 |
| Independent measurements behind it | 2 | 4 |
| Cost per solved task | Not computable | $0.35 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5.4 better than Kimi K2.7 Code for coding?
Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 53.4 for Kimi K2.7 Code, though on 2 benchmarks against 4. Pick Kimi K2.7 Code for output tokens 1.1x cheaper ($4.00 vs $4.40 per million).
Which is cheaper, GLM 5.4 or Kimi K2.7 Code?
GLM 5.4 costs $1.40 per million input tokens and $4.40 per million output tokens; Kimi K2.7 Code costs $0.95 and $4.00. Cost per solved task is known for Kimi K2.7 Code only.
Which has the bigger context window, GLM 5.4 or Kimi K2.7 Code?
GLM 5.4, with 1.05M tokens against 262K.
How many benchmarks is the GLM 5.4 vs Kimi K2.7 Code comparison based on?
3 benchmarks have a result for both models as of December 3, 2026. GLM 5.4's coding index rests on 2 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.