Open DevTools (F12) → Application tab → Cookies → https://chatgpt.com
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)