MOONSHOT
kimi-k2.7-code
Moonshot AI's Kimi K2.7 Code, a 256K-token context model tuned for programming and agentic software work, with thinking always on. Listed as deprecated in Moonshot's docs, with access limited to existing users.
Usage billing
Official price vs Nbility
Per 1M tokens, read live from the gateway. Nbility shows its lowest public group.
Moonshot list price
Input$6.50Output$27.00
Nbility · china-大厂 group
Input4.225Output17.55
Group prices
Every available group is listed with its effective input and output price.
| Group | Ratio | Input | Output | Cache read price |
|---|---|---|---|---|
| Base price | x1 | 6.50/1M | 27.00/1M | 1.30/1M |
| china-大厂 | x0.65 | 4.225/1M | 17.55/1M | 0.845/1M |
Quick start
Replace YOUR_API_KEY with a key from your account.
curl https://api.nbility.ai/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"kimi-k2.7-code","messages":[{"role":"user","content":"Hello"}]}'Compatible endpoints
openai
POST /v1/chat/completionsopenai-response
POST /v1/responsesopenai-response-compact
POST /v1/responses/compactanthropic
POST /v1/messagesgemini
POST /v1beta/models/{model}:generateContentopenai-alpha-search
POST /v1/alpha/search