Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Kimi HelperNew to Visual Studio Code? Get it now.
Kimi Helper

Kimi Helper

xlei

|
2 installs
| (0) | Free
在状态栏显示 Kimi Coding 套餐余量(5 小时额度 / 每周额度)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Kimi Helper

在 VSCode 状态栏实时显示 Kimi Coding 套餐余量(5 小时额度 / 每周额度)。 Real-time Kimi Coding plan quota in the VSCode status bar (5-hour & weekly windows).

中文 | English


中文

功能

  • ⚡ 5 小时滚动额度已用百分比
  • 📅 每周额度已用百分比
  • 鼠标悬停查看已用百分比、重置时间、加油包状态,附手动刷新图标
  • 点击状态栏打开详情卡片(可手动刷新),默认每 5 分钟自动刷新(可配置)

数据来自 GET https://api.kimi.com/coding/v1/usages,与 Kimi Code CLI 同源。

效果预览

状态栏

状态栏:5 小时额度与每周额度的已用百分比

悬停卡片(进度条、重置时间、手动刷新图标)

悬停卡片:额度详情与进度条

配置

打开设置(Ctrl+,)搜索 "Kimi Helper":

配置项 默认值 说明
kimiQuota.apiKey "" Kimi Coding API Key(sk-kimi-xxx,在 kimi.com 控制台生成)。留空则读取环境变量 ANTHROPIC_AUTH_TOKEN
kimiQuota.refreshInterval 5 自动刷新间隔(分钟)
kimiQuota.baseUrl https://api.kimi.com/coding/v1 配额接口地址,一般无需修改

如果你已经用环境变量 ANTHROPIC_AUTH_TOKEN + ANTHROPIC_BASE_URL=https://api.kimi.com/coding/ 接入了 Claude Code,本插件零配置即可使用。

开发

npm install
npm run compile   # 或 npm run watch

按 F5 启动扩展开发宿主,在新窗口右下角状态栏查看效果;也可以用命令行启动(在项目根目录执行):

code --new-window --extensionDevelopmentPath=.

命令面板(Ctrl+Shift+P)→ Kimi: 刷新套餐余量 可手动刷新。

打包发布

npx @vscode/vsce package

生成 .vsix 后可本地安装:Extensions: Install from VSIX...


English

Features

  • ⚡ Used percentage of the 5-hour rolling quota
  • 📅 Used percentage of the weekly quota
  • Hover the status bar to see usage percentage, reset time and booster status, with a one-click refresh icon
  • Click the status bar item to open a detail card (manual refresh inside); auto-refreshes every 5 minutes by default (configurable)

Data comes from GET https://api.kimi.com/coding/v1/usages, the same source as Kimi Code CLI.

Preview

Status bar

Status bar: used percentage of the 5-hour and weekly quota

Hover card (progress bars, reset time, manual refresh icon)

Hover card: quota details with progress bars

Configuration

Open Settings (Ctrl+,) and search "Kimi Helper":

Setting Default Description
kimiQuota.apiKey "" Kimi Coding API Key (sk-kimi-xxx, generated in the kimi.com console). If empty, falls back to the ANTHROPIC_AUTH_TOKEN environment variable
kimiQuota.refreshInterval 5 Auto-refresh interval in minutes
kimiQuota.baseUrl https://api.kimi.com/coding/v1 Quota API base URL, normally no need to change

If you already run Claude Code with ANTHROPIC_AUTH_TOKEN + ANTHROPIC_BASE_URL=https://api.kimi.com/coding/, this extension works zero-config.

Development

npm install
npm run compile   # or: npm run watch

Press F5 to launch the Extension Development Host and check the status bar (bottom right) in the new window. Or launch it from the command line (run in the project root):

code --new-window --extensionDevelopmentPath=.

Command Palette (Ctrl+Shift+P) → Kimi: 刷新套餐余量 (Refresh Kimi Quota) for a manual refresh.

Packaging

npx @vscode/vsce package

Install the generated .vsix locally via Extensions: Install from VSIX...

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft