fix(costs): preserve finite per-million rates on overflow (#585)

Scaling the cost by one million could overflow before division by the token total. Retry with a scaled denominator and omit unrepresentable final rates, preserving ordinary rounding.

Add direct and executed label regressions. Documentation: update usage, cost-history rules and Unreleased; TODO parity items are unaffected.
4b25224e10Simone committed on 10/22/2026, 6:38:14 PM· committed by GitHubparentbe2821b

Checks

All checks passed
6 files changedLine totals unavailable