Back to section
GitHub ⭐ Notable

AI credits consumed per user now in the Copilot usage metrics API

Sobota 20. júna 2026 Source: GitHub Changelog

What's new

  • ai_credits_used field: new attribute in the REST API tracking AI credit consumption per user.
  • Granularity: daily and 28-day user-level reports at enterprise/org level.
  • No extra setup: the field appears automatically for callers of the existing API.

Why it matters

When GitHub started metering AI credits in Copilot (premium models, agent runs), enterprise admins lost visibility into who consumes how much. Without per-user reporting, chargeback between teams can't be done accurately. This is a small API addition, but important for finance teams and IT governance in Copilot-heavy organizations.

How to try

Call the Copilot usage metrics REST API endpoint; the 'ai_credits_used' field appears in the response payload with no further configuration.

Open original source GitHub Changelog