功能建议:增加每日 token 使用量与各模型使用数据统计
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 用户0614
**客户端版本**: 0.1.38
---
## 使用场景
用户希望了解自己每天在 Cindy 中的 token 消耗情况,以及不同模型的使用分布,便于掌握用量、控制成本、评估模型使用习惯。
## 诉求
1. 在「设置」页新增「使用统计」入口,集中展示用量数据。
2. 数据维度建议包含:
- 每日输入 + 输出 token 总量
- 按模型拆分的 token 用量(输入/输出)
- 按模型拆分的调用次数与耗时
3. 支持按日查看历史数据,可回看任意日期的使用情况。
## 建议方案
- 展示方式不限,列表/图表均可,重点是数据完整、可按日回看。
- 若可行,可额外提供 CSV 导出能力(非必需)。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN
Contributor guide
Research direction
No files or tests are named. Start by tracing the Settings page and the existing token, model, call-count, and timing data sources; determine how daily history can be retained and displayed. Done means a Usage Statistics entry shows daily totals, model-level input/output tokens, call counts, and duration, with historical date lookup; CSV export is optional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- analytics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100