github / github/app

Show AI credit consumption per automation run

Offen
#2,696 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triage
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Feature summary

Surface AI credits (and token counts) consumed by each automation run in the GitHub Copilot app.

### What problem are you trying to solve?

Automations can be triggered frequently and run unattended, but the app does not show what an individual run consumed.

Run frequency is the main decision I have to make when setting up an automation, and cost per run is the input I need to make it. A run that costs 20 AI credits and a run that costs 400 AI credits imply completely different schedules. Today the only way to find out is to enable the automation, watch the total bill move, and reverse-engineer the per-run cost.

The practical result is that I under-use automations, because running them at a useful frequency feels like an unbounded financial risk.

### Proposed solution

- Show AI credits consumed for each run in the run detail view, alongside duration and status. Token counts per model would be a useful addition, but credits are the figure that maps to cost.
- Add a usage column to the automation's run history so runs can be compared at a glance.
- Show aggregate figures per automation: total and average credits per run over a selectable period (e.g. last 7/30 days), so the monthly cost of a given schedule can be projected.

### Workflow impact

Affects anyone running automations on a schedule or a frequent trigger, particularly individual users and small teams on usage-based billing where spend is directly visible.

With per-run cost visible, choosing a trigger frequency becomes an informed decision instead of a guess. It also makes it possible to spot an automation whose cost has drifted upward after a prompt or repository change.

### Installation context

_No response_

### Additional context

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

No files, tests, or entry points are named. Start by locating the automation run detail, run history, and aggregate usage views and tracing the data available for each run. Done means per-run credits are visible, with optional token counts and selectable-period total and average figures.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github
Bereich
analytics, desktop
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.