- Displays Premium Requests usage percentage in the status bar
- Configurable label style (icon or text)
- Configurable display mode (used/remaining amount)
- Configurable refresh interval
- Automatic GitHub authentication
Install from VSCode Marketplace:
- Open VSCode
- Press
Cmd+Shift+X(macOS) orCtrl+Shift+X(Windows/Linux) to open Extensions - Search for "Copilot Usage"
- Click Install
- VSCode 1.85.0 or higher
- GitHub account with Copilot subscription
| Setting | Type | Default | Description |
|---|---|---|---|
copilotUsage.labelStyle |
string | "icon" |
Label style: "icon" or "text" |
copilotUsage.displayMode |
string | "used" |
Display mode: "used" or "remaining" |
copilotUsage.refreshInterval |
number | 60 | Data refresh interval in seconds |
copilotUsage.statusBarPriority |
number | -1000 | Status bar display priority (higher = further left) |
After installation, the extension will:
- Request GitHub authentication (if not already authenticated)
- Fetch your Copilot usage data
- Display the usage percentage in the status bar
Copilot Usage: Toggle Label Style (Icon/Text)- Switch between icon and text displayCopilot Usage: Toggle Display Mode (Used/Remaining)- Switch between used amount and remaining amount displayCopilot Usage: Set Refresh Interval- Change the data refresh interval
- Icon mode:
๐ค n% - Text mode:
Copilot: n% -- Unable to fetch data (error or unlimited plan)
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes
npm run watchWarning
This extension uses GitHub's internal API (api.github.com/copilot_internal/user) which is not officially documented. The API may change without notice, which could break this extension.
MIT
