Skip to content

Show usage per API key #842

Description

@sarel-myburgh

Summary

Allow users to see the usage of individual API keys in addition to the overall usage. This allows users to see which apps, services, agents are using or bleeding tokens.

Expected Behavior

When clicking the Usage tab on the Command Code website, there should be an option to cycle through a list of currently issued API keys, and display the usage for those keys only. OpenCode Go has a good implementation of this feature.

Actual Behavior

Only overall usage is displayed. This means someone who issued multiple API keys can not see which keys are using the most tokens. I can see I used 6 Kimi K2.7 calls yes, but from which of my agents??

Steps to reproduce the issue

Sign into Command Code
Click on Usage

Command Code Version

1.26.0

Operating System

Other

Terminal/IDE

ghostty

Shell

bash

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

This is a feature on the website, user dashboard. Not in the harness.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions