GitHub Copilot usage API now shows AI credits consumed per user
GitHub's Copilot usage metrics API now includes a new field, `ai_credits_used`, which reports the total AI credits consumed by each user daily. This enhancement allows enterprise administrators and organization owners to better connect AI consumption to value, understand adoption across teams, and plan for usage-based billing by monitoring day-over-day patterns. These metrics are available to those with REST API access for user-level reports at enterprise and organization levels.
- →Report AI credits consumed per user in Copilot usage metrics API
- →Connect AI credit consumption to value and adoption
- →Metrics available to enterprise administrators and organization owners
Features (1) ›
- Report AI credits consumed per user in Copilot usage metrics API
The Copilot usage metrics API now includes an `ai_credits_used` field for each user in daily user-level reports. This field reflects the total AI credits a user consumed across all their Copilot activities.
Enhancements (1) ›
- Connect AI credit consumption to value and adoption
The new `ai_credits_used` metric allows administrators to correlate AI consumption with the work it drives, understand adoption patterns across teams, and monitor usage to inform budget decisions for usage-based billing. The field is available in both single-day and 28-day reports at enterprise and organization levels.
Notes (1) ›
- Metrics available to enterprise administrators and organization owners
Access to the `ai_credits_used` metric is limited to enterprise administrators and organization owners with Copilot usage metrics access via the REST API. The metric provides an overall per-user total and is not broken down by feature, model, or surface.
https://github.blog/changelog/2026-06-19-ai-credits-consumed-per-user-now-in-the-copilot-usage-metrics-api
Related releases
- GitHub Copilot Deprecates Gemini 2.5 Pro and 3 Flash Models GitHub Changelog ·
- GitHub Copilot Enterprise Teams Model Policy Targeting in Public Preview GitHub Changelog ·
- npm restricts granular access token ability to bypass 2FA for sensitive actions GitHub Changelog ·
- GitHub Models officially retired GitHub Changelog ·
- GitHub Copilot VS Code Updates: Agents, Chat, UI, and Accessibility GitHub Changelog ·
- GitHub Actions: Reference same-repo workflows with self-repository syntax GitHub Changelog ·