GitHub Expands Copilot Usage Metrics API
According to GitHub. New updates to the Copilot metrics API now capture model usage from external tools and non-IDE integrations.
- • The API now tracks model usage from tools like OpenCode, Claude Code, and Zed.
- • New totals_by_client array provides granular request, session, and token metrics.
- • Metrics help administrators make informed governance decisions based on real tool usage.
Enhanced Visibility for External Tools
GitHub has updated its Copilot usage metrics API to include data from tools that operate outside of standard IDE environments. By capturing requests on the server side, the platform aims to close the telemetry gap for tools like OpenCode and cloud agents that previously lacked editor-based reporting, allowing enterprise owners to see which tools are driving Copilot consumption.
Granular Reporting Capabilities
The update introduces the totals_by_client array, which breaks down usage by specific clients. Each entry includes request counts, session counts, and token usage, alongside model selection modes. This allows organizations to compare volume across different integrations and understand whether models were selected by the user, the product, or automated systems.
- 1. github.blogOpen source