Kimi for Coding · Moonshot AI · API
適合:編碼 Agent · 代碼生成 · 長上下文 · 可用檔位:首充解鎖
能力:工具調用上下文 262K
快速開始
curl https://ad9.io/{your-uid}/api/v1/chat/completions \
-H "Authorization: Bearer <your-api-key>" \
-H "content-type: application/json" \
-d '{"model":"kimi-for-coding","messages":[{"role":"user","content":"Hello!"}]}'
把 {your-uid} 與 <your-api-key> 換成你的專屬值——登入 ad9.io/account 一鍵複製完整配置。
一鍵配置
curl -fsSL https://ad9.io/install/codex.sh | bash
定價
| 輸入(每 1M token) | 輸出(每 1M token) | 緩存讀取(每 1M token) | 可用檔位 |
|---|---|---|---|
| $0.95 | $4.00 | — | 首充解鎖 |
按 token 實際用量計費,價格源自模型目錄(litellm 快照),整數微美元精確計量;以帳戶 key 實際計費為準。先燒免費汽油、後燒充值餘額。免費汽油受公平使用與高峰限流約束,充值餘額不受限。
* 此模型價格為 ad9 網關口徑(litellm 未收錄),與網關 prices.json 一致;以帳戶 key 實際計費為準。
常見問題
Kimi for Coding 屬於首充解鎖檔;免費汽油可先調 Claude Sonnet/Haiku 等免費模型,首充任意金額($3 起)即永久解鎖 Kimi for Coding(並發 10 + 全模型)。
把你的 SDK 或工具的 base_url 指向你的專屬 endpoint(https://ad9.io/{your-uid}/api/v1)、帶上帳戶頁生成的 API Key(Authorization: Bearer 標頭),model 填 kimi-for-coding 即可。相容 Moonshot AI 官方協議;登入 ad9.io/account 可一鍵複製完整配置。
不需要翻牆;免費汽油不需要信用卡。付費為 Pay as you go 充值($3 起,無套餐),支持信用卡 / Apple Pay / Google Pay / 微信。
按實際 token 用量計費:輸入約 $0.95/1M token、輸出約 $4.00/1M token(模型目錄快照,以帳戶 key 實際計費為準)。先燒 $100 免費汽油,日常用量基本夠用。
準備好了?
最後更新:2026-07-24