CommandCodeAI / CommandCodeAI/command-code

Better usage stats

Open
#558 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

Feature Description

Currently, the Usage section shows overall token consumption, but it doesn't provide a breakdown by model.

It would be very helpful to include per-model token usage (input, output, and total tokens) so users can:

  • Identify which models are consuming the most tokens.
  • Better estimate and optimize costs.
  • Compare usage across different models.
  • Debug unexpected token spikes from specific models or workflows.

This would be especially useful for users who frequently switch between multiple models or providers within the same project.

Use Case

No response

Additional Context

No response

How important is this to you?

Nice to have

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Usage section and the existing overall token-consumption aggregation. Trace how usage is recorded and displayed, then determine where model identity and input, output, and total token values can be surfaced. Done means users can view those three metrics broken down by model and the existing overall usage remains available.

Written by the indexing model from the issue text.

Assessment

Domain
analytics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.