Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>MiniMax UsageNew to Visual Studio Code? Get it now.
MiniMax Usage

MiniMax Usage

Hukilow

|
5 installs
| (0) | Free
Show your MiniMax Token Plan quota (5-hour and weekly) in the VS Code status bar and a detail dashboard with a usage history chart.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MiniMax Usage

Show your MiniMax Token Plan quota (5-hour and weekly) right inside VS Code — status bar and a detail dashboard with a usage history chart.

MIT License VS Code


📸 Screenshots

Status bar (bottom-right)

Status bar

Detail dashboard

Dashboard

Settings

Settings


Features

  • Status bar (bottom-right): live 5-hour and weekly used %, color-coded (green / yellow / red), with reset countdowns on hover.
  • Detail dashboard: big usage bars, reset countdowns, historical chart of usage over time, auto-refreshing live countdowns. Open it from the status bar or via "MiniMax Usage: Open Usage Dashboard".
  • Command palette: MiniMax Usage: Set API Key, Refresh Now, Open Usage Dashboard, Open Billing Page, …
  • Private by design: API key in OS keychain (SecretStorage); no telemetry, no analytics, zero runtime npm dependencies.

📦 Installation

  1. Install the MiniMax Usage extension from the VS Code Marketplace (search "MiniMax Usage" or run ext install Hukilow.minimax-usage).
  2. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  3. Run MiniMax Usage: Set API Key and paste your Subscription Key from Billing → Token Plan.
  4. The status bar should populate within a few seconds.

A Subscription Key is the Team-level key issued when you subscribe to MiniMax Token Plan. It is not the same as a pay-as-you-go Open Platform API key.


⚙️ Settings

Setting Default Description
minimaxUsage.refreshIntervalSeconds 60 Polling interval (30–600s).
minimaxUsage.statusBarDisplayMode compact compact (two panels) or split (inline countdown).
minimaxUsage.warningThreshold 70 Used-% at which the status bar turns yellow.
minimaxUsage.errorThreshold 90 Used-% at which the status bar turns red.
minimaxUsage.historySampleLimit 100 History ring-buffer size.
minimaxUsage.debug false Verbose logs in Output channel.

🔐 Privacy

  • Reads your Token Plan usage (one outbound HTTPS call to api.minimax.io).
  • Never writes to your MiniMax account, never calls LLM APIs, never sends data anywhere else.
  • API key is stored locally in your OS keychain via VS Code's SecretStorage API.
  • No telemetry, no analytics, no error reporting service.
  • Zero runtime npm dependencies (CVE surface = 0).
  • See SECURITY.md for how to report vulnerabilities.

🛠️ Development

git clone https://github.com/Hukilow/minimax-usage.git
cd minimax-usage
npm install
npm run watch            # in one terminal
# In VS Code: Run > "Run Extension"  (uses .vscode/launch.json)

Commands

Script Purpose
npm run build Bundle the extension (Node target).
npm run build:web Bundle the webview (browser target).
npm run watch Rebuild on change.
npm run typecheck tsc --noEmit.
npm run lint ESLint.
npm test Vitest unit tests.
npm run package Build + bundle + vsce package (produces .vsix).

Project layout

src/
├── extension.ts            # activate / deactivate
├── api/                    # HTTP client, QuotaService, types
├── auth/                   # SecretStorage wrapper
├── ui/                     # status bar, tree view, webview
├── commands/               # command palette handlers
├── utils/                  # time, logger, regions
├── webview/                # webview-side TS (bundled separately)
└── test/                   # vitest unit tests

See CONTRIBUTING.md for the full guide.


📄 License

MIT © 2026 Hukilow

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft