Copilot Quota Monitor for VS CodeA small VS Code extension that shows GitHub Copilot quota information in the status bar using the official GitHub Copilot SDK. What it shows
The default quota is displayed as Premium model. Its SDK quota key is Usage warnings and detailsWarnings appear in VS code status bar when the selected quota reaches 50%, 75%, and 90% used, based on the SDK's remaining percentage. They suggest GPT-5 mini for docs, explanations, and small tests when it is available at a lower cost or usage multiplier than your current model; the extension does not switch models automatically. Use View Usage in a warning or click the status bar to open a native VS Code dialog with usage, allowance, remaining requests, reset date, and a Refresh action. Choose Model Suggestions from a warning or the usage dialog for task-based guidance:
These are general recommendations, not automatic analysis of your chat or a live ranking of models available to your account. They make no AI calls. Availability depends on your plan and organization; total cost depends on tokens, caching, retries, and your billing model. Check Model Pricing in the suggestions dialog before switching. Guidance is based on GitHub's model comparison and pricing, reviewed September 30, 2026. Names and prices can change. Repeated refreshes do not repeat a warning. If usage jumps across several thresholds, only the highest is shown. Warning history is kept in memory for the current extension session, separately by VS Code account, host, quota type, and reset date. Reloading VS Code clears it. A new reset date rearms warnings; when no reset date is provided, usage must return to zero to rearm them. CLI-only authentication shares one warning history per host and quota because no VS Code account identity is available. Unlimited and zero-allowance quotas do not trigger usage warnings. The status bar uses a warning background at 50% used and a critical background at 90% used; unlimited quotas have no warning color. Requirements
The current GitHub Copilot SDK documentation says the Node.js SDK requires Node.js InstallDownload the VSIX from the GitHub Releases page, then install it in VS Code using Extensions → … → Install from VSIX…. Once installed, the quota monitor appears in the status bar. Alternatively, run this command from the folder containing the downloaded VSIX, with the VS Code
AuthenticationRun Copilot Quota: Sign In from the Command Palette and authorize access to the GitHub account that has your Copilot subscription. The extension passes the VS Code-managed GitHub token to the SDK in memory; it does not persist or log the token. Signing into the GitHub Copilot extension alone does not automatically authorize this extension or sign in the SDK's CLI runtime. For a GitHub Enterprise Cloud with data residency, open Preferences: Open User Settings (JSON) from the Command Palette and configure VS Code's GitHub Enterprise authentication provider. Replace the example URL below with your organization's actual URL:
Then run Copilot Quota: Sign In and authorize the Enterprise account. The extension uses VS Code's You can also edit this setting in the Settings UI by searching for Background refreshes never open sign-in prompts. They reuse an authorized VS Code GitHub session when available, otherwise they fall back to the SDK's CLI/environment authentication. You can still authenticate Copilot CLI separately and run Copilot Quota: Refresh. If authentication fails, click the status bar and choose Sign In, or use the sign-in command directly. Settings
If your account/runtime exposes another quota key, the extension automatically falls back to the first available quota when the configured key is missing. Architecture
Important terminologyCopilot's current billing/usage model is not simply a monthly number of raw model tokens. |