csusage 0.2.2

Coding agent CLI usage reports (ccusage fork with Claude Science support)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
source: crates/ccusage/tests/copilot_cli.rs
expression: "format!(\"Daily\\n{}\", run_cli(&fixture, [\"copilot\", \"daily\"]),)"
---
Daily
┌────────────┬───────────────┬───────────┬───────────┬───────────────┬─────────────┬───────────────┬─────────────┐
│ Date       │ Models        │     Input │    Output │  Cache Create │  Cache Read │  Total Tokens │  Cost (USD) │
├────────────┼───────────────┼───────────┼───────────┼───────────────┼─────────────┼───────────────┼─────────────┤
│ 2026-01-03 │ - opus-4.6    │       163 │        94 │            30 │          20 │           307 │       $0.00 │
├────────────┼───────────────┼───────────┼───────────┼───────────────┼─────────────┼───────────────┼─────────────┤
│ 2026-02-01 │ - gpt-5.4     │        65 │        30 │            15 │          10 │           120 │       $0.00 │
├────────────┼───────────────┼───────────┼───────────┼───────────────┼─────────────┼───────────────┼─────────────┤
│ 2026-02-02 │ - gpt-5.4     │         7 │         8 │             0 │           0 │            15 │       $0.00 │
├────────────┼───────────────┼───────────┼───────────┼───────────────┼─────────────┼───────────────┼─────────────┤
│ Total      │               │       235 │       132 │            45 │          30 │           442 │       $0.00 │
└────────────┴───────────────┴───────────┴───────────┴───────────────┴─────────────┴───────────────┴─────────────┘