Updates

GitHub Copilot adds per-model token counts to its billing API

Blue stacks of different heights next to a chip on a dark circuit surface
Conceptual illustration: Blue stacks of different heights next to a chip on a dark circuit surface

On December 2 GitHub added a per-model token breakdown to GitHub Copilot usage data available through the REST API. Teams that already collect usage can now get the breakdown directly in the response from the billing interface. The new fields answer how many tokens were used and of which type, before pricing or discounts are applied.

Six fields on the same endpoints

The breakdown appears in the existing AI credit usage endpoints at the enterprise, organization and user levels. GitHub says each usage item has six raw counts: input and output tokens, image input and image output tokens, tokens read from the cache and tokens written to it. The cache-write count excludes extended cache creation. Existing filters such as time period, user and model still apply.

GitHub says current users of a qualifying endpoint don't need to change permissions. The feature is available to Copilot Business and Enterprise administrators, as well as individual subscribers at the personal level. Its documentation says usage billed to an organization or enterprise may not appear in a personal report because billing reports follow the account that pays. If a personal report is missing activity you expected, first check where the license is billed.

Why a 0 doesn't necessarily mean no usage

GitHub says API capture generally starts with usage on December 1, 2026. Early-access customers may have some data from before then. Before capture begins, the token fields return 0. That zero is not evidence nobody used Copilot that day. For earlier token detail, see whether it's available in the AI usage report downloaded from the billing page.

For a month that begins before capture, distinguish days with records from days without API data. Otherwise the move to the new data can resemble a sudden jump in usage. A one-day reconciliation between the report and the API will teach you more than comparing entire months collected under different methods.

One model, two kinds of measurement

If you're trying to understand a change in the bill, the mix of tokens by model can show whether, say, image tasks have grown into a larger share of the work. A total number of tokens isn't a monetary amount. The new counts don't reflect pricing or discounts, and credits are charged according to billing rules. The breakdown can help connect a change to the work that drove it. Check billing data separately to establish whether costs actually changed.