GitHub updated the Copilot usage metrics API on November 3, 2026, so organizations can distinguish bring-your-own-key (BYOK) activity from Copilot-hosted usage. That matters when QA teams are validating AI-assisted development across local models, developer-provided keys, and administrator-configured enterprise models.
The useful shift is attribution, not a new test runner. Treat the new fields as evidence that must be reconciled with controlled test activity, policies, and provider-side records.
What GitHub Copilot BYOK usage metrics now show
GitHub says local BYOK requests made through Copilot CLI or the Copilot app can be identified with used_local_byok, totals_by_local_byok, and daily, weekly, or monthly active-user counts. The totals can be broken down by BYOK kind and by surface. For an enterprise or organization custom model configured by an administrator, is_custom_enterprise_model marks the relevant model entry in totals_by_client.
These signals are not identical in confidence. GitHub explicitly notes that local BYOK relies on client telemetry and can undercount when telemetry is disabled; token counts may also be incomplete when a local provider does not report them. Enterprise custom-model requests are observed server-side. Older report days are not backfilled with the new enterprise-custom-model flag.
Why this matters for QA engineers
- Test environment attribution: A test pilot may use a local model on one workstation and a managed custom model in CI. The report should make that distinction visible rather than collapsing both into generic Copilot use.
- Policy verification: A QA team can prove whether a blocked or permitted BYOK path is reflected in reporting after a controlled request.
- Reliable cost evidence: Copilot-hosted totals and externally billed provider activity should not be interpreted as the same spend signal.
- Regression detection: A drop in local BYOK telemetry is not automatically a drop in usage; it can be a client configuration or telemetry regression.
QA checklist for GitHub Copilot BYOK usage metrics
- Establish a clean baseline. Capture the relevant one-day report before the test. Record the account, client surface, model route, telemetry setting, and expected counters.
- Run three bounded scenarios. Use the same harmless prompt or repository fixture once through a Copilot-hosted model, once through local BYOK, and once through an administrator-configured custom model where your policy permits it.
- Validate classification, not just totals. Confirm local activity appears in the local BYOK fields and the expected CLI or app surface. Confirm the managed custom-model entry is flagged as an enterprise custom model.
- Check aggregation windows. Compare user-level results with organization or enterprise daily and 28-day reports after the documented reporting interval. Do not treat an immediate empty aggregation as a product defect without allowing for collection timing.
- Test a telemetry boundary. In a non-production test account, repeat a local BYOK request with permitted telemetry configuration changes. Document the expected undercount behavior; do not use this test to bypass organizational policy.
- Reconcile independently. Match the test log and provider-side evidence to the API response. File a defect when the request path, model classification, or counts disagree beyond the documented limitations.
Simple evidence matrix
| Scenario | Expected API evidence | Independent evidence |
|---|---|---|
| Copilot-hosted model | Existing client/model totals; no local BYOK marker | Test run ID and Copilot configuration |
| Local BYOK | used_local_byok and local-BYOK totals for CLI or app | Local provider or client test log |
| Enterprise custom model | is_custom_enterprise_model: true in client model totals | Admin configuration and controlled-request log |
Two mistakes to avoid
- Do not infer individual local-model names from these local BYOK fields; GitHub says local usage is not broken out by model name.
- Do not compare pre-release historical data to the new custom-model flag as though it were complete. GitHub states that prior report days are not backfilled.
For QA leaders, the practical takeaway is straightforward: add model route and telemetry state to every AI-assistant test case. GitHub Copilot BYOK usage metrics can make governance testing more observable, but a passing dashboard alone is not proof of correct routing or reliable cost attribution.

