
AI credits consumed per user now in the Copilot usage metrics API
Quick Answer
The GitHub Copilot usage metrics API now includes daily AI credit consumption per user, enhancing transparency in usage-based billing.
Quick Take
This update allows users to track their AI credits more effectively, providing insights into individual consumption patterns.
Key Points
- Users can now see daily AI credit consumption via the Copilot usage metrics API.
- The data comes from the same source as the usage-based billing API.
- This update aims to improve user insights into AI credit usage.
📖 Reader Mode
~2 min readThe Copilot usage metrics API now reports how many AI credits each user consumed per day, derived from the same AI credits consumption data used in the usage-based billing API.
What’s new
A new ai_credits_used field is now included for each user in the user-level reports and indicates the total AI credits a user consumed. This is an overall per-user total across all of that user’s Copilot activity.
The field is available in both the single-day (users-1-day) and 28-day (users-28-day) user-level reports at the enterprise and organization levels.
Why this matters
- Connect consumption to value:
ai_credits_usedsits in the same reports you already track for usage, so you can see consumption next to the work that drove it. - Understand adoption across your teams: See how AI credit usage is distributed across your enterprise or organization to recognize where Copilot is delivering the most value.
- Plan for usage-based billing: Monitor day-over-day consumption patterns to anticipate AI credit ranges and inform budget decisions.
Important notes
- These metrics are available to enterprise administrators and organization owners who have access to Copilot usage metrics through the REST API.
ai_credits_usedis an overall per-user total. It is not currently broken down by feature, model, or surface.- The field is available in the user-level reports. It is a metrics signal for analyzing consumption, not a billed total—refer to billing for invoicing.
Visit the Copilot usage metrics API documentation to learn more. You can also join the discussion within GitHub Community.
Subscribe to our developer newsletter
Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.
Back to top
— Originally published at github.blog
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from GitHub Copilot Changelog
See more →
GitHub Copilot for JetBrains adds improved OpenTelemetry configuration and model management
The latest GitHub Copilot for JetBrains update enhances workflow control with OpenTelemetry configuration, improved model management, and support for servers in Claude agent flows, facilitating better observability and cost control for enterprise users.
