GitHub · Copilot AI usage REST API
GitHub exposes per-model token counts in its AI credit usage API
Enterprise, organization and user AI credit usage endpoints now return six token counters, allowing dashboards to be populated without downloading a report.
What changes
The counters distinguish text and image input and output, cache reads and writes. Existing filters and permissions remain unchanged. Business and Enterprise administrators and individual Copilot users are eligible. Data generally starts on December 1; an earlier zero does not establish an absence of usage. Feature-specific pricing and availability from France have not been verified.