{"slug": "ai-credits-consumed-per-user-now-in-the-copilot-usage-metrics-api", "title": "AI credits consumed per user now in the Copilot usage metrics API", "summary": "GitHub's Copilot usage metrics API now reports AI credits consumed per user per day, enabling enterprise administrators and organization owners to track consumption alongside usage data. The new `ai_credits_used` field appears in user-level reports for single-day and 28-day periods at enterprise and organization levels, helping connect consumption to value and plan for usage-based billing.", "body_md": "# AI credits consumed per user now in the Copilot usage metrics API\n\nThe [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).\n\n[What’s new](#whats-new)\n\nA new `ai_credits_used`\n\nfield 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.\n\nThe field is available in both the single-day (`users-1-day`\n\n) and 28-day (`users-28-day`\n\n) user-level reports at the enterprise and organization levels.\n\n[Why this matters](#why-this-matters)\n\n**Connect consumption to value:**`ai_credits_used`\n\nsits 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.\n\n[Important notes](#important-notes)\n\n- These metrics are available to enterprise administrators and organization owners who have access to\n[Copilot usage metrics](https://docs.github.com/copilot/concepts/copilot-usage-metrics)through the REST API. `ai_credits_used`\n\nis 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.\n\nVisit 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).", "url": "https://wpnews.pro/news/ai-credits-consumed-per-user-now-in-the-copilot-usage-metrics-api", "canonical_source": "https://github.blog/changelog/2026-06-19-ai-credits-consumed-per-user-now-in-the-copilot-usage-metrics-api", "published_at": "2026-06-19 16:23:29+00:00", "updated_at": "2026-06-19 17:15:18.232708+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-infrastructure"], "entities": ["GitHub", "Copilot"], "alternates": {"html": "https://wpnews.pro/news/ai-credits-consumed-per-user-now-in-the-copilot-usage-metrics-api", "markdown": "https://wpnews.pro/news/ai-credits-consumed-per-user-now-in-the-copilot-usage-metrics-api.md", "text": "https://wpnews.pro/news/ai-credits-consumed-per-user-now-in-the-copilot-usage-metrics-api.txt", "jsonld": "https://wpnews.pro/news/ai-credits-consumed-per-user-now-in-the-copilot-usage-metrics-api.jsonld"}}