CommandCodeAI / CommandCodeAI/command-code

Better usage stats

未关闭
#558 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 Usage 部分以及现有的整体 token 消耗聚合。跟踪使用情况的记录和显示方式,然后确定可以在哪里显示模型标识以及输入、输出和总 token 值。完成的标准是用户可以按模型查看这三个指标,同时现有的整体使用情况仍然可用。

由索引模型根据 Issue 内容生成。

评估

领域
analytics
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。