Bring Kimi (Moonshot AI) models — kimi-k3, kimi-k2.7-code, kimi-k2.7-code-highspeed, kimi-k2.6, kimi-k2.5, and the kimi-for-coding membership model — directly into GitHub Copilot Chat, with visible step-by-step thinking and a built-in usage monitor. Supports both Kimi Code membership (OAuth) and Standard API (BYOK).
Install the Extension from VSCode Marketplace or search Kimi Family for Github Copilot Chat in VSCode Extension Store.
This extension is modeled after glm-for-copilot and adapted for the Kimi (Moonshot AI) OpenAI-compatible API. Huge shout out to @KiwiGaze for his foundamental work and generous licensing.
Features
🧩 Seamless Copilot Chat integration — Kimi models show up in the Copilot Chat model picker via the LanguageModelChatProvider API (vendor kimi).
🛠️ Tool calling — full function/tool support (up to 128 tools) for agentic workflows.
🏆 Kimi Code membership support — sign in via OAuth device-code login (browser) or paste a Kimi Code Console API key from kimi.com/code/console. Shared quota with Kimi会员, tracked via the /coding/v1/usages endpoint (weekly quota %, 5-hour window, and Booster/Extra-Usage wallet).
💰 Balance monitoring — for the Standard API, a status-bar item and detail panel show your available / voucher / cash balance via GET /v1/users/me/balance. The bar turns red when exhausted.
🔐 Secure credential storage — OAuth tokens and API keys both live in VS Code SecretStorage (OS keychain), never in settings.json.
🌏 International + Mainland China — platform.kimi.ai (api.moonshot.ai) and platform.kimi.com (api.moonshot.cn) for Standard API; global api.kimi.com for membership.
🔁 Resilient streaming — automatic retries with exponential backoff for HTTP 429 / 5xx.
📝 Token usage reporting — per-request usage (prompt / completion / total / cached) is forwarded to Copilot Chat.
Quick start
Option A: Kimi Code membership (OAuth or API key)
Install the extension.
Set kimi-copilot.apiMode to Kimi Code Membership.
Run Kimi: Set API Key and choose:
Sign in with browser (OAuth) — opens a browser for the Kimi device-code login flow (recommended), or