qianTouchFish/dsh-deepseek-balance

qianTouchFish★ 0JavaScript最后同步: 2026-08-18

在 GitHub 打开

README 摘要

dsh-deepseek-balance 一个 DeepSeek Harness (DSH) Web 界面 插件:在侧边栏" 设置 "按钮正上方 常显 DeepSeek API 用量条(余额 / 消费金额 / API 请求 / Tokens),点击展开完整卡片——按模型、按时间维度查看消费,官方累计消费,模型选择器旁实时显示 高峰/空闲 计费时段徽标,支持浅色/深色主题,每分钟自动刷新。 A DeepSeek Harness (DSH) web GUI plugin: an always-visible DeepSeek API usage strip above the Settings button in the sidebar (balance / spent / requests / tokens), expanding into a full card — per-model and per-period usage, official cumulative spend, a live peak/off-peak pricing window badge beside the model selector, light/dark theme support, auto-refresh every minute. Features / 功能特性 - 侧边栏"设置"上方 常显用量条 :余额 / 消费金额 / 请求次数 / Tokens,每分钟自动刷新,低余额变黄; - 点击展开 用量卡片 :按模型、按时间维度(今天 / 昨天 / 近7天 / 近30天 / 本月 / 上月)查看消费,含迷你柱状图; - 官方累计消费 :来自平台控制台数据(需平台令牌;未配置时自动回退为余额差值估算); - 高峰/空闲时段徽标 :模型选择器旁实时显示当前计费时段——北京时间 09:00–12:00 / 14:00–18:00 为高峰,其余为空闲; - 令牌一键获取 :卡片内【自动获取】从本机 Chrome / Edge / Chromium 提取平台令牌(Windows / macOS / Linux); - 浅色 / 深色主题自适应;时间维度 / API Key / 模型选择自动持久化。 安装前提 / Prerequisites - DeepSeek Harness (DSH) 已安装并可使用 Web 界面;需要 DSH CLI 与 pnpm; - DeepSeek API Key ( DEEPSEEK API KEY ,必需):在「设置 → 模型」页面填写; - 平台令牌 ( DEEPSEEK PLATFORM TOKEN ,可选):解锁官方 Tokens / 请求次数 / 按模型分类 / 官方累计消费;可安装后在卡片内点【自动获取】一键提取; - 自动获取令牌 :需本…

在 GitHub 查看完整 README →
工具/开发balancedeepseek-harnessdshdsh-pluginsidebar

分类