Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GitHub Copilot Premium Quota MonitorNew to Visual Studio Code? Get it now.
GitHub Copilot Premium Quota Monitor

GitHub Copilot Premium Quota Monitor

Petricca Antonio

|
243 installs
| (1) | Free
Monitor the remaining GitHub Copilot premium model quota directly from 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

GitHub Copilot Premium Quota Monitor — VS Code Extension

Monitor the remaining GitHub Copilot premium model quota directly from the VS Code status bar.

Features

  • Status bar widget showing the remaining premium quota as a percentage (with Copilot icon) and colour-coded urgency levels (critical / warning / normal).
  • Single click the widget to open a quick-action menu: Refresh, Sign in, Sign out, Open Settings.
  • Double click the widget to refresh the quota immediately.
  • Configurable alert thresholds and colours: set your own critical (default 10 %) and warning (default 30 %) percentage thresholds and colours via Settings → Extensions → GitHub Copilot Premium Quota Monitor.
  • Automatic background refresh (default every 5 minutes, configurable 1–60 min).
  • Secure authentication via GitHub OAuth Device Flow; token stored in VS Code's Secret Storage (OS keychain).
  • GitHub Enterprise support: authenticate against GitHub Enterprise Cloud (data residency) or a self-hosted GitHub Enterprise Server instance instead of github.com, by configuring a custom server URL and OAuth Client ID in Settings.
  • Tooltip with remaining quota %, AI credits, and renewal date.
  • Multilingual: English, German, Spanish, French, Italian, Japanese, Portuguese, Russian, Albanian, Turkish, Chinese (Simplified).

Requirements

A GitHub account with an active Copilot subscription is required.

Getting Started

  1. Install the extension.
  2. On first launch you will be prompted to sign in — click Sign in with GitHub.
  3. A panel opens with a one-time code. Copy it, open the GitHub authorisation page, paste the code, and approve.
  4. The status bar widget will start showing your quota.

GitHub Enterprise (Cloud with data residency, or self-hosted Server)

To authenticate against a GitHub Enterprise deployment instead of github.com, open Settings → Extensions → GitHub Copilot Premium Quota Monitor:

  1. On your GitHub Enterprise Cloud tenant or Server instance, register an OAuth App (organization/enterprise → Developer settings → OAuth Apps) with Device Flow enabled, and note its Client ID.
  2. Set ghcpPremiumQuotaMonitor.gitHubServerType to one of:
    • github.com (default) — the standard behaviour against github.com / api.github.com with the extension's built-in Client ID.
    • enterprise_cloud — for a Cloud tenant with a dedicated subdomain (e.g. https://contoso.ghe.com). The REST API is automatically resolved from the api. subdomain (e.g. https://api.contoso.ghe.com).
    • enterprise_server — for a self-managed instance (e.g. https://github.example.com). The REST API is automatically resolved under /api/v3 (e.g. https://github.example.com/api/v3).
  3. Fill in ghcpPremiumQuotaMonitor.gitHubEnterpriseUrl (the base URL of your tenant/instance) and ghcpPremiumQuotaMonitor.gitHubEnterpriseClientId (from step 1).
  4. If you were already signed in, existing credentials are cleared automatically and you will be prompted to sign in again — click the status bar widget and choose Sign in with GitHub.

Settings

Setting Default Description
ghcpPremiumQuotaMonitor.refreshIntervalMinutes 5 Auto-refresh interval (1–60 min)
ghcpPremiumQuotaMonitor.criticalThreshold 10 Quota % for critical colour
ghcpPremiumQuotaMonitor.criticalColor #FF0000 Colour for critical state
ghcpPremiumQuotaMonitor.warningThreshold 30 Quota % for warning colour
ghcpPremiumQuotaMonitor.warningColor #FFFF00 Colour for warning state
ghcpPremiumQuotaMonitor.gitHubServerType github.com Deployment to authenticate against: github.com, enterprise_cloud, or enterprise_server
ghcpPremiumQuotaMonitor.gitHubEnterpriseUrl (empty) Base URL of the GitHub Enterprise Cloud tenant or Server instance. Required unless deployment is github.com
ghcpPremiumQuotaMonitor.gitHubEnterpriseClientId (empty) OAuth Client ID registered on the GitHub Enterprise Cloud tenant or Server instance. Required unless deployment is github.com

Commands

Command Description
GitHub Copilot Premium Quota Monitor: Refresh Quota Refresh quota immediately
GitHub Copilot Premium Quota Monitor: Sign In with GitHub Start the sign-in flow
GitHub Copilot Premium Quota Monitor: Sign Out Sign out and clear credentials

Credits

Based on the IntelliJ plugin.

Special thanks to contributors:

  • Fabio Miconi
  • Fabio Pelliccia
  • Massimo Ambrosino
  • Vincenzo Pimpinella

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft