返回模型列表
Kimi K2.7 Code
moonshotmoonshot/kimi-k2.7-code
供应商自营与 TheRouter 服务形态的差异
供应商自己运营时
Moonshot 将 Kimi K2.7 Code 描述为 Kimi 平台的编码模型:强制 thinking、公开价格,并讨论包含高速路由选项的更广 K2.7 家族。
在 TheRouter 上
TheRouter 当前将 moonshot/kimi-k2.7-code 发布为文本到文本的 Chat Completions 路由,standard-models.yaml 中配置 256K 上下文、65,536 最大输出 token 和 TheRouter 平台价格。
API 使用指南
Chat 调用
使用标准 TheRouter Chat Completions 端点处理编码提示。
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"moonshot/kimi-k2.7-code","messages":[{"role":"user","content":"Review this diff for regressions."}]}'工具调用
编码 agent 给出明确工具时,K2.7 Code 表现最佳,不应让它臆测文件状态。
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"moonshot/kimi-k2.7-code","messages":[{"role":"user","content":"Read src/router.ts and identify unsafe fallbacks."}],"tools":[{"type":"function","function":{"name":"read_file","description":"Read a project file","parameters":{"type":"object","properties":{"path":{"type":"string"}},"required":["path"]}}}]}'相关新闻
事实档案 — 本页每条断言可在此回溯来源
| 来源 | URL | 采集于 | |
|---|---|---|---|
| 发布日期 | platform.kimi.ai ↗ | 2026-08-04 | 已核实 |
| 架构 | platform.kimi.ai ↗ | 2026-08-04 | 已核实 |
| 上下文窗口 | platform.kimi.ai ↗ | 2026-08-04 | 已核实 |
| 思考模式 | platform.kimi.ai ↗ | 2026-08-04 | 已核实 |
| 训练数据截止 | — | — | 未知 |
| 许可 | platform.kimi.ai ↗ | 2026-08-04 | 已核实 |
| Kimi Code Bench v2 | platform.kimi.ai ↗ | 2026-08-04 | 已核实 |
| Program Bench | platform.kimi.ai ↗ | 2026-08-04 | 已核实 |
| MCP Mark Verified | platform.kimi.ai ↗ | 2026-08-04 | 已核实 |
| Kimi Claw 24/7 | platform.kimi.ai ↗ | 2026-08-04 | 已核实 |
| Kimi K2.7 Code API:减少 30% 思考 Token,HighSpeed 变体改变路由策略 | Kimi Open Platform ↗ | 2026-06-17 | 已核实 |
| Kimi K2.7 Code API:仅思考模式约束改变编码 Agent 路由方式 | Moonshot AI ↗ | 2026-06-13 | 已核实 |
| moonshot/kimi-k2.7-code 适合作为所有编码请求的默认模型吗? | platform.kimi.ai ↗ | 2026-08-04 | 待核实 |
| 这个 TheRouter 路由支持图像输入吗? | platform.kimi.ai ↗ | 2026-08-04 | 待核实 |
| K2.7 Code 在 TheRouter 上如何计价? | platform.kimi.ai ↗ | 2026-08-04 | 待核实 |