Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>QuotaDeck — AI Usage & Limit MonitorNew to Visual Studio Code? Get it now.
QuotaDeck — AI Usage & Limit Monitor

QuotaDeck — AI Usage & Limit Monitor

Pornput Sooduppatham

|
2 installs
| (1) | Free
AI monitor for Antigravity, Claude Code, Codex, OpenRouter, DeepSeek, and Cline. Track 5-hour & weekly rate limits, quota resets, and API credit balances in the VS Code status bar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

QuotaDeck — AI Usage & Limit Monitor

QuotaDeck (pornput-s.quotadeck) is an AI monitor extension for Visual Studio Code, Cursor, Windsurf, Antigravity, and VSCodium that tracks 5-hour and weekly AI coding rate limits, session reset countdowns, burn-rate pacing, and API credit balances directly in your editor Status Bar and Dashboard.

Designed as an all-in-one Antigravity monitor, Claude Code limit monitor, and Codex rate limit tracker, QuotaDeck also supports OpenRouter, DeepSeek, Cline / ClinePass, and Custom HTTP JSON or CLI endpoints with zero telemetry and encrypted vscode.SecretStorage key management.


Quick Facts

Attribute Value
Extension ID pornput-s.quotadeck
Visual Studio Marketplace QuotaDeck on VS Code Marketplace
Open VSX Registry QuotaDeck on Open VSX
Source & Releases github.com/ChuBu0012/vscode-extension
Supported Editors Visual Studio Code ^1.90.0, Cursor, Windsurf, Antigravity, VSCodium
Supported OS macOS, Linux, Windows (native and WSL / remote workspaces)
Telemetry / Tracking None (0 external analytics calls)
Credential Storage Encrypted OS keychain via vscode.SecretStorage (never written to settings.json)

Installation

Visual Studio Code (Marketplace)

  1. Open Extensions (Cmd+Shift+X on macOS or Ctrl+Shift+X on Windows/Linux).
  2. Search for QuotaDeck or pornput-s.quotadeck, then click Install.
  3. Or install from the terminal:
    code --install-extension pornput-s.quotadeck
    

Cursor, Windsurf, Antigravity, and VSCodium (Open VSX)

  1. Open the Extensions view in your editor (Cmd+Shift+X / Ctrl+Shift+X).
  2. Search for QuotaDeck or pornput-s.quotadeck and click Install.

Manual VSIX Installation

Download quotadeck-<version>.vsix from GitHub Releases or Open VSX Versions, then install via Extensions -> ... -> Install from VSIX... or:

code --install-extension quotadeck-<version>.vsix

Supported AI Monitors & Quota Sources

Provider What QuotaDeck Tracks Auth / Discovery Hidden When Absent
Antigravity (agy) 5-hour & weekly pool limits (Gemini, Claude & GPT) Runs agy /usage on startup & refresh Yes (not_connected when agy is missing)
Claude Code 5-hour session, 7-day weekly, Sonnet & Opus limits (api/oauth/usage) macOS Keychain (Claude Code-credentials) & $CLAUDE_CONFIG_DIR/.credentials.json (~/.claude) Yes (not_connected when not signed in)
Codex Primary (5h) & secondary (weekly) rate limits (wham/usage) $CODEX_HOME/auth.json (~/.codex/auth.json) Yes (not_connected when not signed in)
OpenRouter Key credit limit remaining or account USD balance API key via + Add Agent (SecretStorage) Yes until connected
DeepSeek Total balance (USD / CNY) + optional budget cap % API key via + Add Agent (SecretStorage) Yes until connected
Cline / ClinePass 5h / weekly plan utilization or pay-as-you-go balance Token via + Add Agent (SecretStorage) Yes until connected
Custom HTTP / CLI Any https:// or localhost JSON API or local CLI command Guided wizard in + Add Agent or quotadeck.customProviders Shown once configured

What Each Monitor Tracks

  • Antigravity Monitor (agy): Reads agy /usage pool percentages for Gemini and Claude/GPT models, highlights tight weekly vs. 5-hour windows, and estimates burn pacing (On pace, Moderate, Fast).
  • Claude Code Monitor & Limit Tracker: Reads official OAuth utilization (five_hour, seven_day, seven_day_sonnet, seven_day_opus), picks the newest valid token across macOS Keychain and ~/.claude/.credentials.json, and automatically retries the alternate store on HTTP 401.
  • Codex Limit & Rate-Limit Tracker: Parses primary and secondary rolling usage windows from $CODEX_HOME/auth.json so you know exact remaining Codex quota before hitting a cooldown.
  • API Credit Monitor (OpenRouter, DeepSeek, Cline, LiteLLM / Custom): Tracks live USD/CNY balance with optional user-configured monthly budget caps (quotadeck.budgets) to display remaining percentages and low-balance warnings.

Local Agent Auto-Detection & Quick Re-Check

  • On editor startup, QuotaDeck checks Antigravity, Claude Code, and Codex automatically without requiring separate API keys.
  • Tools not installed or not signed in return not_connected, stay hidden from the Dashboard to prevent clutter, and are skipped during background auto-polling.
  • If a session or subscription refreshes after returning unavailable, QuotaDeck automatically re-checks on editor focus or lets you click Re-check directly on the provider card or Refresh in the Dashboard.

Features

1. Glanceable Status Bar & Rich Tooltip

  • Displays live quotas and balances inline (for example: AGY: G 93% | CL 50% | DS $10.00).
  • Switches to warning highlight (statusBarItem.warningBackground) when remaining quota drops to <= 20% or balance drops to <= $1.00.
  • Hovering shows ASCII progress bars, both 5h and Weekly windows, exact local reset countdowns, and one-click Refresh / Open Dashboard actions.

2. Minimalist Provider Dashboard

  • List & Grid Views: Switch between a single-column hairline list and a responsive multi-column grid (webview state persisted across sessions).
  • Global Left / Used Mode: Toggle all cards, history bars, and the Status Bar between remaining (% left) and consumed (% used).
  • Inline Status Bar Switches: Toggle the Bar switch on any pool card to pin or unpin that provider from the Status Bar.
  • + Add Agent CTA: Guided flow to connect OpenRouter, DeepSeek, Cline, re-check local agents, or add a custom HTTP/CLI endpoint with live button loading states and automatic Status Bar feedback.
  • Provider Tabs & Auto-Reload Controls: Filter cleanly by provider tab, select baseline reload interval (30s, 1m, 5m, 10m), and toggle Smart auto-detect polling.
  • Collapsible Usage History: Compact bar chart (24H, 7D, 30D) stored locally in extension globalStorageUri with per-provider filtering.

3. Adaptive Backoff Polling & Offline Resilience

  • Automatically backs off from the baseline interval when quotas are unchanged (1x -> 2x -> 4x, capped at 30 minutes) and wakes up ~2 seconds after the earliest known reset window.
  • Pauses background polling when the editor window loses focus and serves the last cached snapshot if an upstream API temporarily times out.

Configuration Reference

Configure via VS Code Settings (Cmd+, / Ctrl+, -> search QuotaDeck) or settings.json:

Setting Type / Default Description
quotadeck.displayMode "remaining" | "used" (default "remaining") Show percentages as remaining (left) or consumed (used).
quotadeck.statusBarProviders string[] (default ["agy-gemini", "claude", "codex"]) Pool IDs displayed in the Status Bar (agy-gemini, agy-claude, claude, codex, openrouter, deepseek, cline, custom:<id>).
quotadeck.pollingIntervalSeconds number (default 300, range 30–3600) Baseline auto-reload interval (30s, 1m, 5m, 10m in Dashboard) before adaptive backoff.
quotadeck.smartPolling boolean (default true) Automatically speed up polling to 1m when quota/balance drops and relax back after 3 unchanged checks.
quotadeck.lowThresholdPct number (default 20, range 1–90) Remaining quota percentage threshold for Status Bar warnings, Low filters, and color tiers.
quotadeck.lowBalanceUsd number (default 1, min 0) Remaining USD balance threshold for uncapped balance warnings.
quotadeck.budgets object (default {}) Optional USD budget caps ({ "openrouter": 20, "deepseek": 10, "cline": 20 }) for computing percentage bars on uncapped balances.
quotadeck.customProviders CustomProviderConfig[] (default []) Array of custom HTTP JSON (https:///localhost) or local CLI usage providers.

Custom Provider Configuration Example

You can configure custom providers through the interactive + Add Agent -> Custom HTTP / CLI Endpoint wizard or directly in settings.json:

"quotadeck.customProviders": [
  {
    "id": "my-gateway",
    "name": "LiteLLM Gateway",
    "shortCode": "LT",
    "kind": "http",
    "url": "https://gateway.example.com/key/info",
    "method": "GET",
    "headers": {
      "Authorization": "Bearer {{SECRET}}"
    },
    "secretKey": "quotadeck.secret.my-gateway",
    "valueType": "balance_usd",
    "valuePath": "info.remaining_budget",
    "budgetCapUsd": 50,
    "resetPath": "info.budget_reset_at"
  }
]

Custom Provider Fields:

  • kind: "http" (https:// or http://localhost / 127.0.0.1 / ::1) or "cli" (executes command directly via execFile without shell interpolation on POSIX).
  • valueType: "percentage" (0–100 remaining), "used_percentage" (0–100 used, auto-inverted), or "balance_usd".
  • valuePath / resetPath: Safe dot-notation paths into the JSON response (prototype keys such as __proto__, constructor, and prototype are blocked).
  • headers: Optional map; any {{SECRET}} placeholder is substituted at runtime from vscode.SecretStorage under secretKey (otherwise defaults to Authorization: Bearer <secret>).

Commands

Command ID Description
QuotaDeck: Open Dashboard quotadeck.openDashboard Open or focus the Dashboard Webview.
QuotaDeck: Refresh Usage quotadeck.refresh Immediately re-check all providers (including hidden local tools).
QuotaDeck: Add Agent / Provider API Key quotadeck.connectProvider Open the + Add Agent QuickPick for API keys, local tools, or custom endpoints.
QuotaDeck: Disconnect Provider API Key quotadeck.disconnectProvider Remove a stored API key from vscode.SecretStorage.
QuotaDeck: Clear History quotadeck.clearHistory Erase recorded usage history snapshots.

Frequently Asked Questions (FAQ)

How do I monitor Claude Code 5-hour and weekly usage limits in VS Code or Cursor?

Install QuotaDeck (pornput-s.quotadeck) and sign in to Claude Code locally. QuotaDeck reads your existing Claude OAuth credentials from macOS Keychain or ~/.claude/.credentials.json (CLAUDE_CONFIG_DIR) and displays live 5h, 7-day weekly, Sonnet, and Opus percentages plus reset countdowns in both the Status Bar and Dashboard without requiring a separate Anthropic Admin key.

How does QuotaDeck work as an Antigravity (agy) monitor and Codex limit tracker?

For Antigravity, QuotaDeck invokes agy /usage asynchronously to report remaining percentages and burn pacing across Gemini and Claude/GPT pools. For OpenAI Codex, QuotaDeck reads $CODEX_HOME/auth.json (~/.codex/auth.json) and queries wham/usage for both the 5-hour primary window and weekly secondary window.

What happens when a Claude Code session token or subscription expires (401 / 403)?

If Claude Code returns HTTP 401 (OAuth token expired or revoked) or HTTP 403 (subscription inactive), QuotaDeck clears stale cached quota data and marks the card unavailable with the reason code. Once you open Claude Code and send a prompt or renew your subscription, QuotaDeck automatically recovers across macOS Keychain and ~/.claude/.credentials.json when you focus VS Code, click Re-check on the card, or click Refresh.

Where can I install QuotaDeck (VS Code Marketplace vs. Open VSX)?

QuotaDeck (pornput-s.quotadeck) is published on both the Visual Studio Code Marketplace (for Microsoft VS Code) and the Open VSX Registry (for Cursor, Windsurf, Antigravity, and VSCodium). You can also install .vsix packages directly from GitHub Releases.

Where are my API keys and bearer tokens stored?

All API keys for OpenRouter, DeepSeek, Cline, and custom endpoints are encrypted inside vscode.SecretStorage (backed by your OS keychain). QuotaDeck never writes credentials into settings.json, workspace files, or output logs.

Can I monitor custom LLM proxies, LiteLLM gateways, or local CLI quota scripts?

Yes. Click + Add Agent -> Custom HTTP / CLI Endpoint in the Dashboard (or add an entry to quotadeck.customProviders) to extract remaining percentages, consumed percentages, or USD balances from any https:// or localhost JSON endpoint or local CLI command using a safe JSON dot-path.


Privacy & Security

  • Local-First Architecture: Only communicates with configured official API endpoints and user-defined custom providers.
  • Strict Webview CSP: Inline scripts run with cryptographic per-panel nonces; all rendered strings are HTML-escaped.
  • Non-Blocking Host Execution: CLI and HTTP checks run asynchronously with bounded timeouts (windowsHide: true on Windows).
  • Zero Notification Spam: Status feedback uses Status Bar progress/messages and the QuotaDeck Output Channel rather than modal popups.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft