jsoncode/dsh-balance-by-token
jsoncode★ 0JavaScript最后同步: 2026-08-22
DeepSeek Harness(dsh)双面插件(宿主 + 浏览器半边):查看 DeepSeek 账户余额, 按 token 用量估算费用,价格按模型 × 高峰/空闲时段在线配置。所有能力收敛在 统一弹框中(侧边栏底部「余额」入口),另在会话头部提供实时 「当前会话 ≈xx CNY | 余额 xx CNY」按钮。界面中英双语(跟随宿主 UI 语言)。
README 摘要
dsh-balance-by-token A DeepSeek Harness plugin (dual-face: host + browser) for watching your DeepSeek account balance and estimating token-based costs , with prices configured per model × peak/off-peak period online. Everything lives in a unified modal (opened from the sidebar-footer Balance button); a session-header button shows a live "Session ≈xx CNY". UI copy is bilingual (Chinese / English, following the host UI language). 中文文档 Features Balance tab - Enumerates every DeepSeek provider: - entries from the host llm-pi-ai settings whose baseURL points at DeepSeek, - the official llm-deepseek route, - manually attached extra API keys (see below). - Each API key row shows " Today spend ≈xx CNY Balance xx CNY " (numbers green) — the key's own today cost (matched from the per-key cost stats by provider route, ≈0.00 when unused) plus its account balance. - For each provider the plugin resolves the configured apiKeyEnv via the host credentials service and calls the official GET https://api.deepseek.com/user/balance (proxied by the host — keys never reach the browser). Each row shows total balance / granted balance (+ topped-out flag) or the failure reason. Results are cached in memory …
在 GitHub 查看完整 README →分类
Enhancement suite for Gemini, AI Studio, Claude & ChatGPT — plus a prompt manager for any web UI, DeepSeek Harness included. / 面向 Gemini、AI Studio、Claude 与 ChatGPT 的增强套件;提示词管理器可用于任意 Web UI,含 DeepSeek Harness。
★ 19,772
zhu1090093659/dsh-web-uiPlugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
★ 5,470
omdsh-dev/DSH-better-sidebar开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git, and sub-agent pages.
★ 2,596