dsh-session-cost-daily
Manifest validA cost bar for DSH relay users: current-session and today totals under the composer (today includes already-closed sessions), a peak/off-peak dot, and no call to the official balance API. Click for a
dsh-session-cost-daily
中转站用户的费用条:不看余额,只算钱。
对话输入框下方常驻显示「本次」和「今日」花费;右上角一个小圆点告诉你此刻按高峰价还是空闲价计费。不依赖 DeepSeek 官方余额接口,所以走中转网关也能正常用。
它解决什么问题
市面上的会话费用条大多把「账户余额」当核心卖点,余额要调官方接口——用中转站的人永远拿不到,那一块要么空白要么报错。
这个版本把余额整套去掉,只留三件事:
- 本次:当前这次会话的预估花费,按模型逐条计价(人民币)
- 今日:今天所有会话的累计花费,包括已经关掉的会话——直接读会话日志算,不是只算当前进程
- 峰谷圆点:高峰时段橙、空闲时段绿;只对 deepseek 模型显示,避免误导
点一下可以展开当前会话与今日的分模型明细;小窗口下优先保留费用读数,让出轮次与步数。
安装
dsh plugin --profile desktop add dsh-session-cost-daily
网页端把 desktop 换成 web。装完重启 DSH 并刷新页面。
和原版的区别
基于 KIDLi1412/dsh-session-cost(MIT)修改:
- 移除账户余额查询与低余额阈值(中转站拿不到官方余额)
- 新增「今日」跨会话累计(含已关闭会话,读本地会话日志)
- 新增峰谷时段小圆点
- 窄窗口下优先牺牲轮次 / 步数读数
- 兼容声明覆盖 0.2.x 各版本
许可
MIT。原项目版权归 KIDLi1412,见 LICENSE。
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.1 | — | — |
Comments
Loading…
Similar plugins
by LanFeng97
DSH web plugin: per-turn session cost chip in the composer stats row — per-turn spend and cache-hit / cache-miss totals (CNY), priced from an official price table refreshed on demand. · DSH 网页插件:输入框下方统计栏里的会话费用胶囊——逐轮花费与命中/未命中两项总额(CNY),价目表按需从官方定价页刷新。
★ 3
↓ 251/wk
MIT
JavaScript
Oct 14, 2026
dsh plugin --profile web add dsh-bottom-costDeepSeek Harness plugin: real-time API cost with peak / off-peak rates — a composer pill, /cost, a session_cost tool and a JSON snapshot, with subagent and agent-team spend rolled in.
★ 1
MIT
TypeScript
dsh plugin --profile web add dsh-api-costby Lzh3070
Composer cost chip: prices the current session DeepSeek API spend message-by-message with the official pricing table (incl. the 2026-08-17 peak/off-peak policy); hover for the breakdown, today (DSH) t
★ 20
↓ 701/wk
MIT
JavaScript
Aug 20, 2026
dsh plugin --profile web add @phynez_1103/dsh-session-costby xtd1145
Real-time DeepSeek API balance (official endpoint) and today-spend estimate (this DSH instance session-log usage x per-model price table) for the DSH web: composer dock strip, always-on floating badge
★ 0
MIT
JavaScript
Sep 7, 2026
dsh plugin --profile web add dsh-deepseek-cost-liveDSH plugin: real-time API balance in the sidebar with provider switching (DeepSeek / Zhipu GLM / OpenRouter / Tavily), peak/off-peak pricing, per-session and daily cost tracking, and configurable spending limits.
★ 0
dsh plugin --profile web add dsh-balance-monitorby KIDLi1412
DSH web plugin: conversation status bar with per-session token cost estimate (per-model CNY pricing) and live DeepSeek API balance; display mode configurable (standalone bar or merged into the stats l
★ 5
↓ 2.1k/wk
MIT
JavaScript
Nov 4, 2026
dsh plugin --profile web add @kidli1412/dsh-session-cost