dsh-token-optima: Token Attribution and Cache ROI Diagnosis in DSH
dsh-token-optima is a DSH Cordis plugin maintained by Boris-boomer. Through 64-token block-level cache modeling and 14 categories of attribution, it displays locally the token flow per request round, cache hits, costs under DeepSeek's official pricing, and cache savings (including peak and off-peak periods). It supports invalidation attribution, multi-session history, and a chart panel, with optional loading of a HuggingFace vocabulary for exact tokenizer support. Installation is performed via profile package.json link dependencies added to bundles, requiring a pnpm install followed by a full restart of DSH.
Read More