You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature or problem you'd like to solve
Add command that shows sessions metrics like duration, cost, API calls, tokens, etc.
Proposed solution
It would be helpful to have access to metrics like session duration, cumulative activity duration (time the agent is doing work), number of code changes, tokens used, cost, API call count, tasks completed, or even how cost saving are achieved like one competing product has. The objective is to provide developers a clear view of spend and efficacy. My current context is a comparison of the various CLI coding agents so I need consistent data across the products but as an engineering leader I'd want to measure the value of my investment over time.
Example prompts or workflows
Add a command like "/metrics" that outputs a formatted view of the various metrics. Also, output the metrics when the CLI agent exits.
It would be useful to see the context usage percentage (Claude Code style). If I understand it correctly, as of now it reports how many token remains (in percentage) for the current moth.
Activity
RyanHecht commentedon Sep 29, 2025
Thanks for the feedback! We would definitely like to add these kinds of insights
dmuraco commentedon Sep 29, 2025
This would be useful to me, too.
k3rn31 commentedon Sep 30, 2025
It would be useful to see the context usage percentage (Claude Code style). If I understand it correctly, as of now it reports how many token remains (in percentage) for the current moth.
RyanHecht commentedon Oct 2, 2025
We've added the
/usagecommand in 0.0.333 that adds a bunch of stats, and also prints them when the CLI exits! https://github.com/github/copilot-cli/releases/tag/v0.0.333