phant0meow/dsh-meow-cachebilling

Meow Bill: Click on the context ring next to the input box to see the current round of bills - how much does each cache hit/miss/output cost (¥), the official peak price and model price are automatically determined, only the DeepSeek official API is displayed; the lib is released with git for zero-build direct installation

Shows you what your context cache is actually costing, so you can judge when to switch to a fresh session. Clicking the context ring next to the input box opens a compact three-row bill — one API request, the current turn, and the whole session — splitting cache hit / cache miss / output tokens with the total price in its own column. Peak vs off-peak pricing is applied automatically from the event time, per-model prices are tracked (V4 Flash / V4 Pro / V4 Flash Vision Exp), and third-party relay routes are billed too: exact when the model name is in the rate table, approximate (and labelled) when it falls back to the flash price. The rate table is editable from its own Settings tab without a restart.

Web UI Enhancements ★ 9 updated 2026-09-02 — untested
View on GitHub ↗

Install

dsh plugin --profile web add github:Phant0Meow/dsh-meow-cachebilling

README-documented GitHub install (README.en.md). npm package meow-cachebilling 0.6.0 also exists (registry-verified 2026-09-10; registry repository field -> github.com/Phant0Meow/dsh-meow-cachebilling) but the README prescribes the github: form. pnpm >=10 blocks install-time build scripts on the first add — copy the exact allowBuilds key pnpm prints into the profile's pnpm-workspace.yaml and re-run. Uninstall: dsh plugin --profile web remove meow-cachebilling.

Compatibility

DSH Web profile with pnpm >=10 (allowBuilds may be required on first install). Billing follows the official DeepSeek price list; peak/off-peak windows are computed from the event timestamp, independent of system timezone.

Details

FAQ

How do I install meow-cachebilling?
Run: dsh plugin --profile web add github:Phant0Meow/dsh-meow-cachebilling. If pnpm reports an allowBuilds error, add the key it prints to your profile's pnpm-workspace.yaml and re-run.
How do I see my current cache cost?
Click the context ring next to the input box. The bill panel at the bottom shows the current API request, the current turn, and the running session total, broken down into cache hit, cache miss and output.
Does it work with third-party API relays?
Yes. As long as the route reports usage it is billed: exact when the model name matches the rate table (peak/off-peak or flat), otherwise an estimated flash-price figure with the approximation noted in the bill.

Alternatives

liustack/modlens · omdsh-dev/DSH-better-sidebar · ccch1mneyyy/dsh-TUI

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins