A VSCode extension that displays GitHub Copilot Premium Requests usage in the status bar
Features
Displays Premium Requests usage percentage in the status bar
Configurable label style (icon or text)
Configurable refresh interval
Automatic GitHub authentication
Installation
Install from VSCode Marketplace:
Open VSCode
Press Cmd+Shift+X (macOS) or Ctrl+Shift+X (Windows/Linux) to open Extensions
Search for "Copilot Usage"
Click Install
Requirements
VSCode 1.85.0 or higher
GitHub account with Copilot subscription
Configuration
Setting
Type
Default
Description
copilotUsage.labelStyle
string
"icon"
Label style: "icon" or "text"
copilotUsage.refreshInterval
number
60
Data refresh interval in seconds
Usage
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
Status Bar Display
Icon mode: 🤖 n%
Text mode: Copilot: n%
- - Unable to fetch data (error or unlimited plan)
Development
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes
npm run watch
[!WARNING]
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.