Setup
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and run:
- Kimi Quota: Set API Key — securely store your Kimi API key
- Kimi Quota: Clear API Key — remove the stored key
Note: This is an unofficial community extension. It is not affiliated with or endorsed by Moonshot AI / Kimi.
How to install and run
# 1. Install deps
npm install
# 2. Compile TypeScript
npm run compile
# 3. Open in VS Code and press F5 to launch Extension Development Host
# — or package it:
npm install -g @vscode/vsce
vsce package # creates kimi-quota-tracker-0.2.2.vsix
code --install-extension kimi-quota-tracker-0.2.2.vsix
What it shows
The status bar reads <pace icon>Kimi <weekly>%|<rate-window>% — two
independent quotas, each shown as % used:
- weekly — your weekly quota (resets roughly every 7 days)
- rate-window — a separate, shorter rolling quota (e.g. a 5-hour window)
The pace icon is not derived from either of those two numbers directly.
It compares your weekly usage % against how much of the week has elapsed,
as a burn-rate check: are you on track to run out early?
| Icon |
Status |
Meaning |
| ⚪ |
idle |
No usage yet this week |
| 🟢 |
on-track |
Weekly usage is tracking roughly with time elapsed |
| 🟡 |
ahead |
Burning weekly quota faster than time is passing |
| 🔴 |
critical |
Well ahead of pace — likely to hit the weekly limit early |
| ⛔ |
complete |
Weekly quota exhausted |
| ⚠️ |
error |
API unreachable, request failed, or timed out |
Example: 🔴Kimi 55%|30% means 55% of the weekly quota is used and 30% of
the rate-window quota is used. The 🔴 means that 55% weekly figure is high
relative to how much of the week has actually gone by — the rate-window
number doesn't factor into the icon at all.
Hover the status bar item for exact usage numbers, reset countdowns, %
of the week elapsed, and last updated time. Click it to open the Kimi
console.