dsh-cost-ledger

Cost ledger tab for DSH: per-turn token accounting converted to CNY, stacked daily charts styled after the DeepSeek console, and a built-in Alibaba Bailian price book covering 142 models (Qwen, DeepSeek, Kimi, GLM, MiniMax). Models no catalogue covers stay explicitly unpriced instead of being counted as zero, and a manual price fills them in with one click.

Overview

Cost ledger tab for DSH: per-turn token accounting converted to CNY, stacked daily charts styled after the DeepSeek console, and a built-in Alibaba Bailian price book covering 142 models (Qwen, DeepSeek, Kimi, GLM, MiniMax). Models no catalogue covers stay explicitly unpriced instead of being counted as zero, and a manual price fills them in with one click.

Installation

Install from GitHub

dsh plugin --profile web add github:Looriann/dsh-cost-ledger

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.