- Displays Premium Requests usage percentage in the status bar
- Configurable label style (icon or text)
- 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.refreshInterval |
number | 60 | Data refresh interval in seconds |
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
- 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
