GitHub announced per-model token reporting in its AI credit usage REST API on 2 December 2026. Toolzify checked the announcement and public documentation on 3 December. The addition gives reporting teams another way to investigate Copilot consumption, alongside the credit and amount fields already used for billing.
The official announcement identifies six raw counters: tokenInput, tokenOutput, tokenImageInput, tokenImageOutput, tokenCacheRead and tokenCacheWrite. They describe input, generated output, image input/output and cache activity without pricing or discount adjustments. Cache writes exclude extended cache creation. Existing endpoint filters still apply, and existing consumers receive the added fields without a permission change.
The capture boundary changes how to read a zero
GitHub says token capture generally begins with usage on 1 December 2026. Early-access customers may have partial older data. A period before capture can return zero token fields; GitHub directs readers needing earlier detail to the downloadable AI usage report in billing settings.
Toolzify analysis: a dashboard needs to distinguish an observed zero from unavailable historical measurement. Otherwise, a November-to-December chart could suggest a sudden consumption increase that actually reflects the start of capture. Preserve a note about coverage beside the series instead of silently treating every older zero as evidence of inactivity.
For example, imagine a team comparing two monthly reports for a model it already used in November. If the earlier token counters are zero while billing usage exists, the first question should be whether the requested period predates token capture. It should not immediately trigger a claim that December introduced a new workload. This is an interpretation example, not a measurement from a GitHub customer account.
Choose the account that pays for the usage
The organization and personal billing API reference says user endpoints cover usage billed directly to a personal account. An organization-managed license is reported through the relevant organization or enterprise instead. For organization AI credit usage, the reference documents read access through the Administration organization permission.
The enterprise billing API reference documents an enterprise AI credit report with read access to enterprise billing. Its filters include time, organization, user, model, product and cost center. The organization endpoint uses /organizations/{org}/settings/billing/ai_credit/usage; the enterprise route starts with /enterprises/{enterprise}. Check the selected endpoint's current access requirements before configuring a collector.
Toolzify analysis: keep the reporting scope in the stored record. A personal-account result cannot explain a company's entire Copilot bill merely because the same developer signs in with that username. Likewise, combining enterprise totals with their constituent organization totals risks counting the same scope twice. Choose one aggregation boundary for the question being answered.
Keep token measurement separate from financial totals
GitHub's usage-reporting guide distinguishes overall usage summaries from detailed AI credit reporting. The latter supports investigation of model consumption and the relationship between included usage and additional spend. That is a useful starting point for deciding which dataset belongs in a finance report and which belongs in an operational investigation.
Toolzify analysis: retain the six categories separately rather than multiplying an undifferentiated token total by an assumed universal price. Raw quantities, credits and billed amounts answer different questions. A shift toward cache reads may explain a workload change, but it does not by itself establish a particular saving. This article makes no cost or performance claim for any model.
A practical report could place token categories in one panel and the returned billing quantities and amounts in another, both filtered to the same model, account and period. Label the period and scope directly. If those boundaries differ, investigate that mismatch before interpreting a ratio or announcing a spending trend.
A focused review before changing a dashboard
- Record the billing account level and exact time/model filters used for each retrieval.
- Check response parsing against the new fields while preserving the existing billing fields.
- Mark the historical capture limitation and inspect earlier usage through the documented report route when necessary.
- Review category-level changes alongside credit and amount data before attributing a financial effect.
- Keep a dated copy of the reporting assumptions so future readers can interpret the transition.
Toolzify verified public documentation for this news analysis. It did not authenticate to a billing endpoint, inspect private usage, alter permissions or run a customer-account integration. The immediate change is richer model-level measurement; meaningful comparisons still depend on coverage, account scope and the distinction between raw activity and accounting.
Comments (0)
Join the discussion