Skip to content

About

Monitor AI-credit usage from your active GitHub Copilot session and official GitHub billing.

Topics

Resources

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

copilot-app-cost

Monitor AI-credit usage from your active GitHub Copilot session and official GitHub billing.

Copilot App Cost Dashboard running in GitHub Copilot App

The dashboard canvas running inside the GitHub Copilot App — live session estimate on the right, alongside an active Copilot agent conversation on the left.

Quick Start (recommended) ⚡

Use the repo extension path (most reliable in Copilot App):

  1. Open GitHub Copilot App in this repository session.
  2. Click Add to panel....
  3. Click Import canvas from repo.
  4. Select extension: copilot-app-cost (.github/extensions/copilot-app-cost).

The canvas appears in the right panel and shows real-time AI-credit costs.

What It Shows

  • Live Metrics: Real-time session cost (model, tokens, credits, USD)
  • Official Billing: Your GitHub AI-credit usage
  • Session History: Cost of past sessions from local storage
  • Settings: Refresh rates, alert thresholds, billing scope
  • Diagnostics: Provider status and debug info

Documentation

Key Features

✅ Real-time session cost (live metrics)
✅ Official GitHub billing data
✅ Local session history
✅ Configurable settings (refresh rates, alerts)
✅ No token storage, no prompt access
✅ Read-only, safe for agent use
✅ 88 tests passing

Setup

# 1. Open GitHub Copilot App (VS Code, GitHub.com, or CLI)
# 2. Click: Add to panel → Import canvas from repo
# 3. Select: .github/extensions/copilot-app-cost
# 4. (Optional) For billing: gh auth refresh -h github.com -s user

Questions? See docs/INSTALL.md or docs/FAQ.md

About

Monitor AI-credit usage from your active GitHub Copilot session and official GitHub billing.

Topics

Resources

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages