github phuryn/claude-usage v1.5.7

57 minutes ago

v1.5.7 — 2026-12-01

Pricing

  • Priced the Claude 5 generation at its own rates instead of the older models' rates its ids fell back to: Opus 5.5 ($4/$20, $0.20 cache read), Opus 5, Sonnet 5.5 ($2/$10, $0.10 cache read), Sonnet 5 ($2/$10, fixes #175), Haiku 5.5 ($0.10/$0.50) and Fable 5.1 (#181, thanks @roy-tong; #185, thanks @MarcelRoozekrans). Opus 5.5 cache reads had been priced at $0.50 instead of $0.20 (2.5× too high), and cache reads are most of a Claude Code bill.
  • Added Fable 5.2 and Mythos 5.2 ($8/$40, $0.20 cache read) and Mythos 5.1, which fell back to Fable 5's $10/$50 and its $1.00 cache read. Prices are from platform.claude.com, checked 2026-12-01.
  • Haiku 5.5 is priced at its up-to-100K-token rate. A request whose prompt is over 100K tokens costs 5× more, and the tool doesn't track prompt size per request, so long Haiku 5.5 prompts are underestimated.
  • Model ids now resolve to the longest matching pricing key that ends at a separator, so a date-suffixed id can't land on a neighbouring model (claude-fable-5-<date> on Fable 5.2, claude-sonnet-5-5-<date> on Sonnet 5).
  • Priced 1-hour cache writes at 2× input instead of the 5-minute 1.25× rate (#163, thanks @MildlyMeticulous; fixes #162). Claude Code writes most of its prompt cache with the 1-hour lifetime. The split now reaches every view: the KPI card, the daily chart, the model, session, project, branch and dispatch tables, the CSV exports and the CLI. Turns stored before this release are backfilled once from the transcripts still on disk.

Dashboard

  • Priced session, project and branch costs per model, so subagent turns on a cheaper model are no longer billed at the session's main model, and the tables agree with the Est. Cost card (#165, thanks @blineadam; fixes #160).
  • Let the hourly chart's hour labels rotate instead of overlapping on narrow windows (#172, thanks @DiegoDAF).
  • The model filter label no longer reads a date suffix as a minor version ("Sonnet 4", not "Sonnet 4.20250514").

Scanner

  • Kept a message's final token counts when a scan lands mid-stream, instead of the partial counts it first saw (#169, thanks @NickAme03).
  • Sessions whose first record carries no working directory (a title record) are no longer filed under project unknown (#183, thanks @netomat). Sessions already stored that way are renamed from their turns on the next scan.
  • Named background subagent dispatches, which all showed as unknown in Top Subagent Dispatches and the subagent chart, from the subagent's own attributionAgent records, with a one-time backfill for existing databases (#176, thanks @retog).

Project / docs

  • Pinned the test workflow to Ubuntu 24.04: ubuntu-latest moved to 26.04, which has no Python 3.9, so CI failed on every push.
  • Added the week subcommand to the README (#155, thanks @lennartlng) and brought the README pricing table up to date.

Don't miss a new claude-usage release

NewReleases is sending notifications on new releases.