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

> Source: <https://github.blog/changelog/2026-06-19-ai-credits-consumed-per-user-now-in-the-copilot-usage-metrics-api>
> Published: 2026-06-19 16:23:29+00:00

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

The [Copilot usage metrics API](https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics?apiVersion=2026-03-10) 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](https://docs.github.com/rest/billing/usage?apiVersion=2026-03-10).

[What’s new](#whats-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](#why-this-matters)

**Connect consumption to value:**`ai_credits_used`

sits 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](#important-notes)

- These metrics are available to enterprise administrators and organization owners who have access to
[Copilot usage metrics](https://docs.github.com/copilot/concepts/copilot-usage-metrics)through the REST API. `ai_credits_used`

is 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](https://docs.github.com/enterprise-cloud@latest/rest/copilot/copilot-usage-metrics?apiVersion=2026-03-10) to learn more. You can also join the discussion within [GitHub Community](https://github.com/orgs/community/discussions/categories/announcements).
