服务商

Kimi · Kimi Code

Agent 怎样通过 KeyKeeper 拿到 Kimi · Kimi Code 的 key,在 www.kimi.com 该选什么,KeyKeeper 怎么验证。

模板 idkimi-code(别名 kimi-coding、kimi-for-coding)
字段kimi-api-key → KIMI_API_KEY · 密钥
key 长什么样以 sk-kimi- 开头,创建时只显示一次
创建页面www.kimi.com
KeyKeeper 的验证不验证
模板核实日期2026-09-15

Agent 做什么

keykeeper providers show kimi-code
keykeeper save --provider kimi-code --from-clipboard --create --purpose "这个任务是做什么的"
keykeeper run -c kimi-code -- <你的命令>

--provider kimi-code 会补上凭据 ID 和字段名。这些环境变量就是 Kimi 自家工具读的那个,不需要任何映射。

只有你能做的

Sign in to Kimi
Activate a Kimi membership that includes Kimi Code
Create a Kimi Code API key in the console (maximum five)
Copy it before closing; the full key is shown once
复制 key,然后在 KeyKeeper 的窗口里确认保存。

该选什么

This membership key is only for supported coding tools. It is not interchangeable with a Kimi Open Platform key. Use https://api.kimi.com/coding/v1 for OpenAI-compatible tools or https://api.kimi.com/coding/ for Anthropic-compatible tools, and keep the tool's real User-Agent.

Agent 被告知的是同一件事。它替你打开页面、说明该选什么;它从不替你登录、过 2FA 或付费。

KeyKeeper 检查什么

  • 写入前: 值必须像一把 Kimi · Kimi Code 的 key(以 sk-kimi- 开头)。贴错了会在存入之前被拒绝,并告诉 Agent 原因——不含值。
  • 保存后: Kimi · Kimi Code 没有 KeyKeeper 可用的只读接口,第一次真实调用就是测试。

轮换与过期

No universal expiry policy was confirmed for this credential type. Record the date shown by the provider, or leave it unknown. 在 www.kimi.com 轮换或撤销。