A focused VS Code extension for monitoring request quotas from
https://api.nkq.vn/dashboard/<KEY>.
Features
Shared weekly and monthly quota across NKQ 4.6, 4.7, and 4.8.
Rolling five-hour quota for NKQ 4.6 and the shared NKQ 4.7/4.8 premium pool.
Remaining and lifetime request counts.
Automatic refresh every 30 seconds, manual refresh, and stale/error states.
Automatic default-key discovery from claudeCode.environmentVariables when
ANTHROPIC_BASE_URL is https://api.nkq.vn.
Multiple additional dashboard keys, stored in VS Code SecretStorage, with one
independently refreshed panel per key.
One-click key switching from any panel updates Claude Code's active key while
preserving unrelated environment variables.
A two-model selector keeps all Claude Code model environment aliases in sync
for claude-opus-4-8 and claude-opus-4-6.
Run locally
npm install
npm run reinstall
Reload VS Code with Developer: Reload Window, then run
The key in claudeCode.environmentVariables appears automatically. Run
NKQ Monitor: Add Dashboard Key to track more keys.
For development, open this repository in VS Code and press F5.
Commands
NKQ Monitor: Add Dashboard Key
NKQ Monitor: Remove Dashboard Key
NKQ Monitor: Refresh Usage
Privacy
The extension reads only claudeCode.environmentVariables to discover
ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN. It does not read process
environment variables, Claude transcripts, workspace files, or other VS Code
settings. Manually-added keys are stored in SecretStorage and raw keys are
never sent to the webview.