dsh-token-stats:为 DeepSeek Harness 增加 Token 用量统计

dsh-token-stats 是 DeepSeek Harness (DSH) 的 Token 用量统计插件,由 huantian1223 维护,采用 MIT 许可证。该插件直接解析本地 DSH 会话日志 `session.jsonl.zstd` 中的真实 provider usage,不依赖估算或抓包。 核心功能包括:展示累计、今日及峰值 Token 统计;提供 GitHub 风格的 12 个月活动热力图,支持多时间范围与视图切换;细分输入、输出、缓存及推理消耗,并生成模型与工作区维度的排名;在会话头部显示 Token 及 DeepSeek 账户余额角标,支持余额刷新与低阈值(默认 ¥5)

Read More
DeepSeek Harness 用量插件:在 Web 会话里查看今日估算消费与账户余额

`arslan-jh/deepseek-harness-usage` 是一款面向 DeepSeek Harness (DSH) Web 的 MIT 许可插件,旨在解决账户额度可见性问题。它在对话输入区下方实时显示“今日消费”(估算值)和“总余额”,每 3 分钟自动刷新。总余额直接调用 DeepSeek 官方接口获取,而今日消费基于当天余额基线变化估算,并支持通过输入官网数字进行校准。插件复用 DSH 已配置的 API Key,无需重复填写,并具备充值识别、读取本机日志以补齐全天消费等功能。安装需 Node.js 22+,可通过 `dsh` 或 `npx` 命令添加,安装后刷新 Web 页面即可

Read More
dsh-token-stats:面向 DSH Web 的全局 Token 用量统计插件

`dsh-token-stats` 是面向 DeepSeek Harness / DSH Web 的插件,用于集中展示 Token 用量。它从 `llm/stream` 调用采集真实 usage 并记入账本,按供应商、模型、会话、日期聚合数据,统计缓存命中率、成功率、平均耗时及首字延迟,并基于真实 usage 估算费用。插件提供右下角可拖动的悬浮面板及全屏大屏弹窗,支持查看 KPI、图表及明细,并可通过 HTTP API 和模型工具 `token_stats` 进行查询。安装命令为 `dsh plugin --profile web add dsh-token-stats`,要求 `@deep

Read More
dsh-token-usage:DSH Web UI 的 Token 用量统计插件

dsh-token-usage 是一款 DeepSeek Harness Web UI 插件,旨在解决智能体开发中 LLM 调用 token 用量监控不便的问题。该插件通过捕获 `llm/stream` 事件中的用量数据,在侧边栏提供统计面板,支持按 API、模型及日期维度展示 Token 消耗、缓存命中率及估算成本。核心功能包括双轴趋势图、近一年每日用量热力图、模型汇总表及最近请求记录,并支持导出 JSONL、JSON 或 CSV 格式数据。插件具备自动成本估算功能,价格数据同步自 modelradar.cn 且支持手动覆盖。安装需 Node >=18,推荐通过 `dsh plugin` 命

Read More
dsh-token-activity:在 DeepSeek Harness 中查看最近 365 天 Token 消耗

snownightt/dsh-token-activity 是一款面向 DeepSeek Harness(DSH)的 MIT 许可第三方插件,旨在解决模型调用记录分散在会话日志中、难以统计历史 Token 消耗的问题。该插件在 DSH Web 界面的设置中新增“使用量”导航,展示累计 Token 与峰值 Token,并以热力图形式呈现最近 365 天的每日 Token 消耗。用户悬停特定日期即可查看当日总量及各模型的具体用量,支持历史会话自动回填且单会话失败不影响整体统计。安装需通过 npm 命令添加插件包并重启 Web 服务,适合开发者快速查看本地会话日志中的用量趋势。需注意,该插件数据基于

Read More
dsh-token-cost:在 DSH 网页端查看 DeepSeek 用量、花费与余额

dsh-token-cost 是一款用于 DSH 网页端的插件,旨在解决 DeepSeek 会话中 Token 用量、费用及余额分散的问题。该插件在浏览器中提供一个可拖动的鲸鱼悬浮球,用户悬停即可通过环形进度查看剩余余额百分比,点击则展开详细卡片,显示本次会话费用、输入/缓存读/写/输出四类 Token 用量、累计花费及 DeepSeek 官方账号余额(含赠送与充值构成)。 核心优势在于服务端精确记账:插件注册会话投影单元,在 DSH 服务端逐事件回放日志,按每个请求实际使用的模型单价计费,避免了前端估算误差,支持会话中途切换模型时的准确核算。此外,它复用 DSH 配置的 DEEPSEEK_A

Read More
dsh-usage-monitor:DeepSeek Harness 的 Session 用量看板

dsh-usage-monitor 是一个由 NOirBRight 开发的 DeepSeek Harness (DSH) Web 插件,旨在解决多组 Provider、Model 和 Workspace 下用量指标分散的问题。该插件通过读取 `ctx.sessionQuery` 的实时及持久化会话日志,将 Token 用量、请求数、输出 Token 及缓存命中率汇总至 Web UI 的 `Settings → Usage` 界面。其核心功能包括提供堆叠图表,支持按 Token/请求指标、Provider/Model/Workspace 分组,以及按日/周/月或自定义时间段聚合数据,并具备响应式

Read More
dsh-balance:在 DSH Web 输入框下方状态栏展示供应商余额/用量

dsh-balance 是 GeekRicardo 维护的 DeepSeek Harness (DSH) web 插件,采用 MIT 许可。该插件旨在解决切换不同 AI 提供商后需手动查询余额的问题,通过在 DSH 输入框下方的状态栏实时展示当前提供商的余额或订阅用量。 其核心功能包括:自动识别当前提供商(基于 agentDefaultModel.currentSelection()),支持 DeepSeek、Kimi Coding、OpenCode Go、智谱 GLM、MiniMax、OpenRouter 及 OpenAI Codex 等主流提供商;采用 2 秒轮询机制更新界面,并设有 5

Read More
dsh-ocgo-usage:在 DeepSeek Harness Web 侧边栏显示 OpenCode Go 用量

dsh-ocgo-usage 是 DSH Web 的一款 MIT 许可证插件,旨在解决查看 OpenCode Go 用量需切换外部界面的问题。它在侧边栏左下角显示常驻角标,直观呈现本月剩余用量百分比及状态颜色(橙色代表低余量,红色代表耗尽)。悬停角标可展开明细卡片,展示滚动、本周、本月用量进度及重置时间。核心功能包括基于北京时间的高峰时段时间轴,高亮当前区间并提示距下一切换点时间。插件自动按顺序读取本地配置文件或环境变量中的 API key,无需额外配置,数据每 60 秒自动刷新。Host 端通过 Node ESM 注册路由代理用量接口,Client 端手写 Bundle 注册 UI 位置,跨

Read More
dsh-go:DSH Web GUI 的 OpenCode GO 套餐用量监控插件

dsh-go 是专为 DeepSeek Harness (DSH) Web GUI 设计的 OpenCode GO 套餐用量监控插件。它提供集中化的用量视图,核心功能包括:显示 5 小时、每周、每月三个维度的额度环形图,并在接近额度时变色警示;基于本机 DSH 会话日志聚合各模型的 Token 消耗与估算金额;展示官方 GO 价格表及近 30 天每日花费趋势;以及在对话输入框下方提供迷你条,悬浮可查看详情,点击即可刷新数据。 插件支持自动解析 API Key,具备主题自适应能力,并允许自定义后端参数。安装推荐通过 `dsh plugin` 命令直接添加 GitHub 源,也支持本地离线打包安装

Read More
dsh-pulse: A Cross-Session Usage and Cost Dashboard for DSH

dsh-pulse is a Web UI plugin for DSH, designed to address usage monitoring and cost management challenges in multi-workspace, multi-model scenarios. The plugin provides a unified dashboard with core features including: cross-session token usage trend analysis (supporting hourly to yearly views and heatmaps), usage breakdown and ranking by project and model dimensions, cost estimation based on per-model rates (with peak/off-peak time-of-use pricing and exchange rate configuration), as well as DeepSeek official balance queries and reconciliation. Additionally, it supports session-level detail attribution, adaptive theming, and CSV data export. The plugin runs within the DSH UI plane, consuming no additional tokens and storing no secrets, and requires Node.js >= 22.15. It can be installed via the `dsh plugin` command.

Read More
dsh-token-viewer: CC Switch-style token consumption statistics for the DeepSeek Harness Web GUI

`qwert702/dsh-token-viewer` is an MIT-licensed read-only statistics plugin for DeepSeek Harness Web GUI. Adhering to the "everything is a plugin" philosophy, it does not modify prompts or initiate new requests. Instead, it centrally displays token consumption, cache hit rates, cost trends, and account balance by reading the host's `usageLog` and proxy balance interface. Core features include the real-time TokenDock above the Composer, balance cards in the sidebar, usage statistics panels, and trend charts based on per-request data. The plugin supports filtering data by time range (Today/7d/14d/30d/All) and tabs (Request Logs, Projects, Models), and provides views for request and model statistics along with average cost. Price calculations are based on a built-in peak-valley list or P

Read More
Sev7een/ds-api-usage: Checking API Balance and Usage in the DeepSeek Harness Settings Page

Sev7een/ds-api-usage is a community plugin for DeepSeek Harness (DSH), designed to allow users to monitor their DeepSeek API balance and usage directly within the DSH settings page. It eliminates the need for additional key configuration by reusing the existing `DEEPSEEK_API_KEY`. The plugin's core functionality includes displaying the total balance, a breakdown of gifted versus topped-up amounts, estimated consumption over the past 24 hours (in CNY), input/output token counts, and API request numbers. It also provides timeline charts with hourly and daily granularity, enabling users to switch between views for cost, token usage, and request counts. The plugin supports real-time refresh, automatically updating every 60 seconds on the host and every 30 seconds on the page, along with manual refresh capability. Data is stored locally in `$DSH_HOME/storage`.

Read More
dsh-whale-meter: DeepSeek Harness Usage and Cost Dashboard

dsh-whale-meter is a community-maintained DeepSeek Harness (DSH) plugin designed to provide a centralized usage and cost dashboard. Developed by Shiye-10Pages under the MIT license, it supports local computation with zero data reporting, only initiating network requests when querying balances. Its core features include multi-model cost estimation (covering 46 models such as DeepSeek, Anthropic, and OpenAI), monthly consumption tier display, daily budget reminders, and price comparison and peak-valley pricing before and after the August 17 DeepSeek price adjustment. Additionally, it supports per-model/session billing, historical data backfilling, 14-day trend analysis, and balance queries. The installation is simple, enabling activation via the `dsh plugin add` command.

Read More
DSH-OpenCode-Go-Usage: Displaying OpenCode Go Usage Above the DSH Web Input Box

`dsh-opencode-go-usage` is a lightweight extension plugin designed specifically for the DeepSeek Harness (DSH) web profile. It addresses the issue faced by OpenCode Go subscription users who find it difficult to monitor their usage limits in real-time within the conversation interface. This plugin displays a usage chip above the input field, providing real-time visualization of the remaining proportions and reset countdowns across three windows: a 5-hour rolling period, weekly, and monthly usage. It supports color-coded alerts based on thresholds (≥80% in yellow for warnings, ≥90% in red for errors) and shows the data update time. The plugin features a 10-second polling mechanism, a 300-second host-side cache, and failure cooldown functionality, and it automatically appears only when the current session utilizes the `opencode-go` provider. Users can customize settings via a built-in editor or environment variables.

Read More
dsh-opencode-go-usage: OpenCode Go Usage and Cost Floating Dashboard

dsh-opencode-go-usage is a DSH client plugin that offers a draggable floating panel in the desktop bottom-right corner, summarizing OpenCode Go official usage.list account details, rolling/weekly/monthly quotas, and DSH session cost analysis. It supports multi-key quota pools, model ranking, 7/14/30-day trends, and CSV export, with data processed locally. Installation is available via bundle or dynamic loading; initial setup requires manual configuration of the auth Cookie and workspaceId.

Read More