AI credits used by each user are now included in the Copilot usage metrics API.

AI credits used by each user are now included in the Copilot usage metrics API.
Summary
The Copilot usage metrics API now reports daily AI credits consumption per user.
A new ai_credits_used field indicates total credits consumed across all user activity.
Metrics help analyze consumption patterns and inform budget decisions for enterprise users.

Share

Bookmark

Newsletter

The Copilot usage metrics API has introduced a new feature that tracks daily AI credit usage for individual users, utilizing data from the same system employed in the usage-based billing API.

A new field, ai_credits_used, has been integrated into user-level reports, showcasing the cumulative AI credits consumed by each user. This total reflects all activities performed by the user while using Copilot.

This data is accessible through both single-day (users-1-day) and 28-day (users-28-day) reports at the organization and enterprise levels.

This new metric connects credit consumption directly to value by appearing in the reports you already monitor for usage, allowing you to correlate consumption with the work that generated it. Furthermore, tracking AI credit usage will provide insights into how it is distributed throughout your organization or enterprise, making it easier to identify areas where Copilot is adding the most value.

By analyzing this data, organizations can more effectively plan for usage-based billing by observing daily consumption trends to predict AI credit requirements, thereby aiding in budget planning.

Access to these metrics is granted to enterprise administrators and organizational owners who utilize the Copilot usage metrics via the REST API. Note that ai_credits_used provides an aggregate total per user and is not segmented by specific features, models, or surfaces. It's an indicator for analyzing consumption patterns but does not reflect billed totals; users are advised to consult their billing information for invoicing purposes.

For further details, please refer to the Copilot usage metrics API documentation or participate in discussions within the GitHub Community.

Loading comments...