Copilot usage metrics API now counts requests from tools like OpenCode
GitHub says the Copilot usage metrics API now reports model usage from tools outside the IDE that use Copilot as their model provider, including OpenCode, which earlier reports did not capture. Those tools often send no editor telemetry, so their usage was missing from totals_by_ide.
- New field: a
totals_by_clientarray in the enterprise, organization, enterprise-user and organization-user reports, in both 1-day and 28-day versions. In the 28-day reports it appears in eachday_totalsentry. - What each entry holds: the
client(such asopencode,claude_code,codex,zed,copilot_cli,github_app,cloud_agent,code_review,vscodeorjetbrains; unrecognized clients are grouped asother),request_count,session_count, token usage (prompt, output and average per request) and the same figures by model, with amodel_selection_modeofuser_selected,autoorproduct_selected. - Caveats: requests are counted on the server and are model calls, not prompts, so one prompt can count several times. Clients are identified by the integration ID they send, which GitHub calls a best-effort grouping, not a verified identity. Code review and cloud agent requests report
product_selected, and code review models are reported asunknown. - Access: enterprise owners, billing managers, organization owners and custom roles with the View Copilot Metrics permission, with the usage metrics policy enabled. The change is additive; existing fields are unchanged.
- GitHub notes this differs from agent app activity, which counts jobs started by agent apps such as Claude and Codex on GitHub.
Sources
Get news like this as a push.
AI Tracker alerts you when something changes for the tools you use.