Files
ruflo/plugins/ruflo-cost-tracker/data
rUvandr 74fcaf48c7 fix(cost-tracker): correct Claude price book rows (#5169) (#5182)
* fix(cost-tracker): correct Claude price book rows (#5169)

Give each Claude version its own price-book row at the rates on the
pricing page (asOf 2026-11-28). Opus 4.5-4.8 fell through to the legacy
Opus row (3x high), Opus 5 matched Opus 5.5, Fable 5 / 5.2 matched 5.1,
Haiku 5.5 matched the Haiku 3 fallback, Sonnet 5.5 cache reads were 0.20.
Minor-version rows use `re` with (?!\d) so fable-5-2 does not catch a
dated claude-fable-5-2026... id.

Haiku 5.5 gets a long_prompt block applied per request over 100K prompt
tokens. track.mjs and session.mjs price each response at its model row
and split 1h cache writes. Plugin 0.31.5.

Co-Authored-By: RuFlo <ruv@ruv.net>

* fix(cost-tracker): accept dotted model ids in price-book rows; README rates (#5169)

Co-Authored-By: RuFlo <ruv@ruv.net>

---------

Co-authored-by: r <r@x>
2026-11-28 16:59:18 -05:00
..