DSH 侧边栏页脚的 Token 用量组件,同时跑两路数据源而不是二选一:DeepSeek 平台账号的用量/金额接口(账号全部设备、仅官方通道),本机会话日志(仅本机、含所有供应商、实时、无金额)。两路逐日合并——官方通道取较大值(同一次调用两路都会记),平台看不到的供应商再叠加;历史月份从平台回补,供应商按通道而非模型名判定,日桶跟随平台口径(UTC);平台数字默认复用 DSH 已登录账号,不用粘贴 token。数字出现在紧凑条、展开面板,以及含日历/图表/模型/供应商/年/月/当月按天页签的详细数据弹窗,口径为总消耗/当前项目/今日/当周/当月/近 7 天/近 30 天。
curl -fsSL https://www.dshhub.co/install.sh -o dshhub-install.sh && bash dshhub-install.shAlready have DSH? Skip the wizard and install the market directly:dsh plugin --profile web add dshhub-market
This plugin installs only from the plugin side.