Repository navigation
Closed
Description
ccusage monthly
WARN Fetching latest model pricing from LiteLLM... ccusage 17:50:29
ℹ Loaded pricing for 1669 models ccusage 17:50:29
╭────────────────────────────────────────────╮
│ │
│ Claude Code Token Usage Report - Monthly │
│ │
╰────────────────────────────────────────────╯
┌──────────┬──────────────────────────────────────────┬──────────┬──────────┬───────────┬──────────┬───────────┬──────────┐
│ Month │ Models │ Input │ Output │ Cache │ Cache │ Total │ Cost │
│ │ │ │ │ Create │ Read │ Tokens │ (USD) │
├──────────┼──────────────────────────────────────────┼──────────┼──────────┼───────────┼──────────┼───────────┼──────────┤
│ 2025-09 │ - glm-4.5 │ 10,262,… │ 991,861 │ 0 │ 218,035… │ 229,290,… │ $5.69 │
├──────────┼──────────────────────────────────────────┼──────────┼──────────┼───────────┼──────────┼───────────┼──────────┤
│ 2025-10 │ - glm-4.5 │ 35,931,… │ 1,100,4… │ 50,733 │ 269,699… │ 306,782,… │ $54.84 │
│ │ - glm-4.5-air │ │ │ │ │ │ │
│ │ - glm-4.6 │ │ │ │ │ │ │
│ │ - haiku-4-5 │ │ │ │ │ │ │
│ │ - opus-4-1 │ │ │ │ │ │ │
├──────────┼──────────────────────────────────────────┼──────────┼──────────┼───────────┼──────────┼───────────┼──────────┤
│ Total │ │ 46,194,… │ 2,092,3… │ 50,733 │ 487,735… │ 536,073,… │ $60.53 │
└──────────┴──────────────────────────────────────────┴──────────┴──────────┴───────────┴──────────┴───────────┴──────────┘When running the command ccusage monthly, the table output truncates token values instead of displaying the full number.
For example:
Total Tokens 536,073,…
The expected behavior is to show the complete token count without ellipsis, e.g.
Total Tokens 536,073,421
Steps to reproduce:
- Run
ccusage monthly - Check the output table under the
Total Tokenscolumn
Expected result:
Full numeric values should be displayed without truncation.
Actual result:
Large numbers are abbreviated with an ellipsis (…), making it unclear what the exact values are.
Environment:
- Tool:
ccusage - Command:
ccusage monthly - OS: macOS 15.0
- Version: 17.1.3
Suggested fix:
Ensure that table rendering does not abbreviate long numbers, or provide an option (e.g. --no-truncate) to display full numeric values.
Metadata
Metadata
Assignees
Labels
No labels
Activity
fix(terminal): increase minimum width for numeric columns to prevent …
fix(terminal): increase minimum width for numeric columns to prevent …