litellm/ui
Dhruv 2c8a6e8a05 fix(ui): correct cache-miss rate math in provider cache cost formula
Address review feedback on the input cost formula rows.

The cache-miss input cost subtracted only the cache-read portion, so when a
request also had cache-write (creation) cost the miss rate was inflated;
subtract both the cache-read and cache-write portions. Guard the derived rate
against a negative cache-miss cost, which inconsistent backend costs could
produce, so the formula hides instead of showing a negative rate.

Show the per-token input formula only when cache_read_cost is present, since
otherwise input_cost blends the miss and hit rates and cannot be split
accurately, and render it directly under the Input Cost line so it attaches to
the right row rather than floating below the whole section.
2026-07-03 18:38:58 +05:30
..
litellm-dashboard fix(ui): correct cache-miss rate math in provider cache cost formula 2026-07-03 18:38:58 +05:30
Dockerfile feat: add componentized proxy deployment with gateway, backend, ui, and migrations (#27557) 2026-05-16 09:25:17 -07:00
nginx.conf feat: add componentized proxy deployment with gateway, backend, ui, and migrations (#27557) 2026-05-16 09:25:17 -07:00