Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Month AI UsageNew to Visual Studio Code? Get it now.
Month AI Usage

Month AI Usage

LunaDevel

|
1 install
| (0) | Free
Shows in the status bar how much of your monthly AI credits (GitHub Copilot + Claude) you have used compared with the share of the working month already elapsed.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Month AI Usage

A VS Code extension that shows, permanently in the status bar, how much of your monthly AI credits you have used (GitHub Copilot and Claude) next to how much of the working month has already gone by. The item turns amber at 80 % usage and red at 95 %.

Status: early development.

Status bar item showing the usage percentage and its tooltip

How it works

  • GitHub Copilot – reads your AI credits quota through the same internal GitHub endpoint the Copilot extension uses, authenticated with your GitHub session in VS Code.
  • Claude – reads your monthly spend and spend limit from claude.ai, authenticated with your claude.ai sessionKey cookie, which is stored in VS Code's secret storage.

Both sources are unofficial internal APIs and may change without notice. When one fails the extension shows the other and reports the problem in the tooltip.

Settings

Setting Default What it does
monthAiUsage.refreshIntervalMinutes 15 How often the data is refreshed.
monthAiUsage.workingDays [1,2,3,4,5] Days counted as working days, 0 = Sunday.
monthAiUsage.warningThresholdPercent 80 Usage at which the item turns amber.
monthAiUsage.errorThresholdPercent 95 Usage at which the item turns red.
monthAiUsage.copilot.enabled true Track GitHub Copilot.
monthAiUsage.claude.enabled true Track Claude.
monthAiUsage.claude.organizationId "" claude.ai organization uuid; empty auto-detects.
monthAiUsage.claude.monthlyLimitUsd 0 Overrides the limit read from claude.ai.

Development

npm install
npm run watch      # rebuild on change
# press F5 in VS Code to launch the Extension Development Host
npm test

License

MIT

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