English · 中文
Kimi Code Usage: The Curated Toolchain
Manifesting your AI quota with aesthetic precision across CLI, MCP, and VS Code.
-100%25%20coverage-brightgreen)
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
English · 中文
Manifesting your AI quota with aesthetic precision across CLI, MCP, and VS Code.
-100%25%20coverage-brightgreen)
Kimi (Moonshot AI) Coding Plan API usage quota tracker — CLI + MCP Server + VSCode Extension
In the era of "Vibecoding," transparency of resources is a prerequisite for flow. Kimi Code Usage is a meticulously crafted toolchain — three components, one soul.
⚠️ 重要:API Key 类型说明
本工具查询的是 Kimi Code 平台(Coding Plan 会员) 的用量数据。你需要的是 Kimi Code 控制台 创建的 API Key(格式
sk-kimi-xxx), 不是 Kimi 开放平台(platform.kimi.com)的 API Key(格式sk-xxx)。两种 Key 不互通。获取方式:登录 Kimi Code 控制台 → 创建 API Key → 设置环境变量
KIMI_API_KEY。 详见 Kimi Code 文档。
Prerequisite: A Kimi Coding Plan API Key (sk-kimi-xxx), set as KIMI_API_KEY in your environment or .env file.
Monthly membership usage is optional. In interactive mode, if an installed Kimi WebBridge daemon is stopped,
kimi-usageasks on every launch whether to start it. Declining affects only monthly credits. The browser extension must still be connected and Kimi must be logged in; weekly and 5-hour Kimi usage continue working when monthly usage is unavailable.
ChatGPT Plus usage reads the local Codex authentication file. After a 401 response, it refreshes the access token and retries once. If authentication still fails, run
codex login.
A Rich-rendered panel in your terminal. Zero noise, pure signal.
Install & Run:
pip install kimi-code-usage
kimi-usage # Aesthetic Rich panel
kimi-usage -i # Interactive panel with optional WebBridge startup prompt
kimi-usage --json # Machine-readable JSON
kimi-usage --plain # Plain text output
Or run instantly without installing:
uvx kimi-code-usage
Exposes
get_kimi_usageto any MCP-compatible AI Agent.
Compatible with Claude Code, Cursor, Windsurf, Hermes, and any MCP-enabled agent.
Add to your MCP config (e.g., ~/.claude/settings.json):
{
"mcpServers": {
"kimi-code-usage": {
"command": "uvx",
"args": ["--from", "kimi-code-usage", "kimi-mcp"],
"env": {
"KIMI_API_KEY": "YOUR_KEY"
}
}
}
}
Note: The MCP server still needs
--frombecausekimi-mcpis a separate command from the defaultkimi-code-usageentry point.
Then simply ask your AI: "Check my Kimi quota."
A sleek status bar indicator with sensory color alerting.
Install: Search Kimi Code Usage in the VS Code Marketplace, or:
code --install-extension HainingYu.kimi-code-usage
Configure (Settings > Kimi Code Usage):
Usage: Status bar shows 🌕 [===] Wee:96% 5Ho:99%. Hover for details. Cmd+Shift+P → Kimi: Refresh.
How much does a ¥199/mo Coding Plan actually cover? Real data from 5 months of heavy vibe coding, with a cost comparison against standard API pricing.
Full data → docs/kimi-code-usage.md
A 91.9% cache hit rate is the signature of vibe coding — long sessions where each turn carries full conversation history, and only the latest exchange is fresh.
Based on continuous weekly sampling (3 days = 30% of weekly quota):
Priced against Kimi K2.6 standard API rates (input ¥6.50 / cache ¥1.10 / output ¥27.00 per million tokens):
The Coding Plan saves heavy users ≈ ¥2,221/month (~92%). Cache reads account for 92% of total tokens; the plan bundles both cache and input into the subscription fee. Under pay-as-you-go, cache alone makes up 63% of the bill.
This analysis reflects one user's actual usage from 2026-01 to 2026-05 via
ccusage. Token ratios and cost estimates are for reference only — actual results vary by session pattern, model choice, caching behavior, and API pricing. Rates sourced from platform.kimi.com as of 2026-05-24.
Crafted with ❤️ by Haining Yu, an Art Curator and Vibecoder. This toolchain is part of a curated collection designed to bridge the gap between aesthetic curation and intuitive, AI-powered coding.
Kimi (Moonshot AI) Coding Plan API usage quota tracker — CLI + MCP Server + VSCode Extension
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Kimi Code Usage 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 Kimi (Moonshot AI) Coding Plan API usage quota tracker — CLI + MCP Server + VSCode Extension