Kimi · API Platform (Global)
How an agent gets a Kimi · API Platform (Global) key through KeyKeeper, what to choose on platform.kimi.ai, and how KeyKeeper verifies it.
| Template id | kimi-global (also kimi-api, moonshot-ai) |
|---|---|
| Field | moonshot-api-key → MOONSHOT_API_KEY · secret |
| Key looks like | shown once when created |
| Created at | platform.kimi.ai |
| Verified by KeyKeeper | GET https://api.moonshot.ai/v1/models — lists available models |
| Template checked | 2026-09-15 |
What the agent does
keykeeper providers show kimi-global
keykeeper save --provider kimi-global --from-clipboard --create --purpose "what this task does"
keykeeper run -c kimi-global -- <your command>--provider kimi-global fills in the credential id and the field. The environment
variable is the one Kimi's own tools read, so nothing has to be mapped.
What only you can do
What to choose
This is a pay-as-you-go global platform key for https://api.moonshot.ai/v1. It is not interchangeable with a Kimi Code membership key. Rate limits are shared at user level, so use separate keys for revocation rather than quota isolation.
The agent is told the same thing. It opens the page for you and says what to pick; it never logs in, passes 2FA or pays on your behalf.
What KeyKeeper checks
- Before writing: the value must look like a Kimi · API Platform (Global) key (shown once when created). A wrong paste is refused before anything is stored, and the agent is told why — without the value.
- After saving: KeyKeeper itself sends
GET https://api.moonshot.ai/v1/modelswith the key in theAuthorizationheader (lists available models). The agent receives accepted, rejected or could not reach — never the value.
Rotation and expiry
No universal expiry policy was confirmed for this credential type. Record the date shown by the provider, or leave it unknown. Rotate or revoke at platform.kimi.ai.