What happened?
Since v20.0.0, ccusage monthly shows extra per-model/day rows under each monthly aggregate by default.
Before v20, the monthly report showed only month-level rows with an agent subtotal. In v20.0.0 and v20.0.1, the all-agent monthly table expands model-level for each day automatically, which makes the report much noisier and feels closer to a daily view.
This appears to affect the table output only. The JSON output still returns one monthly object per period, with model details nested under modelBreakdowns.
Steps to reproduce
- Use
[email protected] or [email protected]
- Run:
- Observe that the monthly table includes extra per-model rows for each day. For comparison,
[email protected] monthly only showed the month aggregate plus the agent subtotal.
Expected behavior
ccusage monthly should show month-level aggregate rows by default.
Per-model for each day, rows should either require an explicit breakdown option, or there should be a way to disable them.
Actual behavior
ccusage monthly expands per-model for each day rows by default in v20.
Version
Reproduced with:
Last known version without the expanded model rows:
What happened?
Since
v20.0.0,ccusage monthlyshows extra per-model/day rows under each monthly aggregate by default.Before v20, the monthly report showed only month-level rows with an agent subtotal. In
v20.0.0andv20.0.1, the all-agent monthly table expands model-level for each day automatically, which makes the report much noisier and feels closer to a daily view.This appears to affect the table output only. The JSON output still returns one monthly object per period, with model details nested under
modelBreakdowns.Steps to reproduce
[email protected]or[email protected][email protected] monthlyonly showed the month aggregate plus the agent subtotal.Expected behavior
ccusage monthlyshould show month-level aggregate rows by default.Per-model for each day, rows should either require an explicit breakdown option, or there should be a way to disable them.
Actual behavior
ccusage monthlyexpands per-model for each day rows by default in v20.Version
Reproduced with:
[email protected][email protected]Last known version without the expanded model rows:
[email protected]