github / github/app

Show AI credit consumption per automation run

Đang mở
#2,696 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
153
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Không có tệp, bài kiểm thử hoặc điểm vào nào được nêu. Hãy bắt đầu bằng cách xác định phần chi tiết lần chạy tự động hóa, lịch sử lần chạy và các chế độ xem mức sử dụng tổng hợp, đồng thời truy vết dữ liệu có sẵn cho từng lần chạy. Hoàn tất có nghĩa là credits cho từng lần chạy được hiển thị, cùng với số token tùy chọn và các giá trị tổng và trung bình cho khoảng thời gian có thể chọn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github
Lĩnh vực
analytics, desktop
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.