一、环境及提示词
订阅情况:
-
GLM-5.1 : 智谱国内站 新Max套餐(460元)。
-
Kimi-k2.6: kimi 199元档位套餐。
-
Claude Opus-4.7: Max满血中转(经测试未降智且支持1M上下文)。
本次测试中CC均设置为200K上下文窗口。毕竟这个小项目用不到1M。
提示词统一为:
为我规划一个2048网页小游戏,需要实现排行榜功能,按照用户脱敏IP进行排行,每个IP保留最高记录。
使用next.js + shadcn + tailwindcss + sqlite3 来实现。使用APP Router来实现后端接口。
CLI工具:
统一使用Claude Code v2.1.111
二、CC Cli结果对比
GLM-5.1最后的报错是因为我手动kill了npm run dev进程,来进行下一轮测试。

对比结果
指标 GLM-5.1 Kimi-k2.6 Claude Opus-4.7 耗费时间 19m58s 14m22s 3m21s 完成时上下文窗口 33% 16% 19% 备注 调用子 agent 并行文件写入 -– -–三、前端页面横向对比
从左至右,分别为GLM-5.1 、 Kimi-K2.6 、 Claude Opus 4.7
npm run dev启动,三个报错均为SSR问题。

四、项目架构对比
GLM-5.1 CC工作目录为 ~/Desktop/2048testglm/,目录架构如下:
➜ 2048testglm git:(main) ✗ tree -I 'node_modules|.git|.next' -L 4
.
├── AGENTS.md
├── app
│ ├── api
│ │ └── leaderboard
│ │ └── route.ts
│ ├── favicon.ico
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx
├── CLAUDE.md
├── components
│ ├── game
│ │ ├── game-board.tsx
│ │ ├── game-container.tsx
│ │ ├── game-header.tsx
│ │ ├── game-over-overlay.tsx
│ │ └── game-tile.tsx
│ ├── leaderboard
│ │ └── leaderboard-table.tsx
│ └── ui
│ ├── button.tsx
│ ├── card.tsx
│ └── table.tsx
├── components.json
├── data
│ ├── game.db
│ ├── game.db-shm
│ └── game.db-wal
├── eslint.config.mjs
├── hooks
│ ├── use-game.ts
│ ├── use-keyboard.ts
│ └── use-touch.ts
├── lib
│ ├── db.ts
│ ├── game
│ │ ├── core.ts
│ │ └── types.ts
│ ├── ip.ts
│ ├── schema.sql
│ └── utils.ts
├── next-env.d.ts
├── next.config.ts
├── package-lock.json
├── package.json
├── postcss.config.mjs
├── public
│ ├── file.svg
│ ├── globe.svg
│ ├── next.svg
│ ├── vercel.svg
│ └── window.svg
├── README.md
└── tsconfig.json
13 directories, 42 files
Kimi-K2.6 CC工作目录为 ~/Desktop/2048testkimi/,目录架构如下:
➜ 2048testkimi tree -I 'node_modules|.git|.next' -L 4
.
└── my-app
├── AGENTS.md
├── CLAUDE.md
├── components.json
├── data
│ ├── scores.db
│ ├── scores.db-shm
│ └── scores.db-wal
├── eslint.config.mjs
├── next-env.d.ts
├── next.config.ts
├── package-lock.json
├── package.json
├── postcss.config.mjs
├── public
│ ├── file.svg
│ ├── globe.svg
│ ├── next.svg
│ ├── vercel.svg
│ └── window.svg
├── README.md
├── src
│ ├── app
│ │ ├── api
│ │ ├── favicon.ico
│ │ ├── globals.css
│ │ ├── layout.tsx
│ │ └── page.tsx
│ ├── components
│ │ ├── game-board.tsx
│ │ ├── leaderboard.tsx
│ │ └── ui
│ └── lib
│ ├── db.ts
│ ├── game-logic.ts
│ └── utils.ts
└── tsconfig.json
10 directories, 28 files
Claude Opus 4.7 CC工作目录为 ~/Desktop/2048testopus/,目录架构如下:
➜ 2048testopus git:(main) ✗ tree -I 'node_modules|.git|.next' -L 4
.
├── AGENTS.md
├── app
│ ├── api
│ │ └── scores
│ │ └── route.ts
│ ├── favicon.ico
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx
├── CLAUDE.md
├── components
│ ├── game-board.tsx
│ ├── leaderboard.tsx
│ ├── tile.tsx
│ └── ui
│ ├── button.tsx
│ ├── card.tsx
│ ├── dialog.tsx
│ └── table.tsx
├── components.json
├── data
│ ├── scores.db
│ ├── scores.db-shm
│ └── scores.db-wal
├── eslint.config.mjs
├── lib
│ ├── db.ts
│ ├── game-logic.ts
│ └── utils.ts
├── next-env.d.ts
├── next.config.ts
├── package-lock.json
├── package.json
├── postcss.config.mjs
├── public
│ ├── file.svg
│ ├── globe.svg
│ ├── next.svg
│ ├── vercel.svg
│ └── window.svg
├── README.md
└── tsconfig.json
9 directories, 34 files
五、结论
小游戏大差不差。
- 本次测试中也只有Kimi-k2.6在
2048testkimi目录下使用shadcn初始化项目到了`2048testkimi/my-app`目录,其余模型正常。 - 今天刚买Kimi订阅时,第一轮对kimi-k2.6测试时出现了异常,一轮对话未正常完成项目规划和代码编写。但这轮并行测试时反倒输出的跟Opus 4.7很类似。
- 第一轮k2.6写的前端页面如下图,且后端报错未安装
better-sqlite3。

8 个帖子 - 1 位参与者