dsh-cacheback
The missing receipt for DeepSeek's prefix cache: replay local DSH sessions, price every call at peak/off-peak rates, and see how much the cache saved.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yunhenk/dsh-cacheback说明文档
阅读完整 README ↗Configuration
The plugin accepts optional config through the profile patch:
- id: cacheback
config:
usdToCny: 7.2
lang: zh # zh | en, default for the chat summary
open: false # open generated receipts in the browser by default
| Key | Default | Meaning |
|---|---|---|
usdToCny | 7.2 | Display conversion for the approximate CNY figure. |
lang | zh | Default language for the chat summary; the HTML receipt and card are bilingual. |
open | false | Open generated files in the default browser. /cache receipt opens explicitly. |