Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AI Quota ToolNew to Visual Studio Code? Get it now.
AI Quota Tool

AI Quota Tool

Basant Pandey

|
4 installs
| (0) | Free
Monitor remaining AI quota for Claude, Copilot, and Codex directly in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Quota Tool

Monitor your remaining AI quota for Claude, GitHub Copilot, and OpenAI Codex — live in VS Code.

Status bar showing Claude 72% | Copilot 91% | Codex 8%


Features

  • Status bar item — shows remaining quota at a glance (Claude 72% | Copilot 91% | Codex 8%); turns amber when any service drops below 10%
  • Dashboard panel — full quota breakdown with session and weekly progress rings per service
  • Standalone — fetches quota directly from VS Code using your session credentials; no Chrome extension required
  • Automatic refresh — polls every 60 seconds in the background

Setup (one time)

  1. Install the extension
  2. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  3. Run "AI Quota Tool: Configure Credentials"
  4. Paste credentials for each service (press Enter to skip any)

How to get each credential

Claude session key

  1. Open claude.ai in Chrome and sign in
  2. Open DevTools (F12) → Application tab → Cookies → https://claude.ai
  3. Copy the value of the sessionKey cookie (starts with sk-ant-sid02-)

GitHub Personal Access Token (for Copilot)

  1. Go to github.com/settings/tokens
  2. Generate a new classic token with the read:user scope
  3. Copy the token (starts with ghp_)

ChatGPT session token (for Codex)

  1. Open chatgpt.com in Chrome and sign in
  2. Open DevTools (F12) → Application tab → Cookies → https://chatgpt.com
  3. Copy the value of __Secure-next-auth.session-token

Usage

Command Description
AI Quota Tool: Open Dashboard Opens the quota dashboard panel
AI Quota Tool: Configure Credentials Set or update your session credentials

Click the status bar item ($(pulse) AI Quota) to open the dashboard directly.


Optional: Chrome Extension

For automatic real-time updates without managing session cookies, install the companion Chrome extension. It pushes quota data to VS Code over a local WebSocket whenever it polls — no credential setup required in VS Code.

Both modes work simultaneously: the Chrome extension supplements the direct polling.


Privacy

  • All credentials are stored in VS Code's encrypted SecretStorage — never written to disk in plain text
  • Quota data is fetched directly from each service and stays on your machine
  • No telemetry, no external servers

Requirements

  • VS Code 1.95 or later
  • Active accounts on the services you want to monitor (Claude Pro/Free, GitHub Copilot, ChatGPT)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft