dsh-token-usage:在 DSH 设置里看按模型、按日的 Token 用量

dsh-token-usage 是 GIN0076 维护的 DSH 客户端插件,在 Settings 中提供按 provider/model 的日/周/月 token 统计、纯 SVG 折线与排行,数据只读本地会话日志。可选 ~/.dsh/token-usage-prices.json 估算费用与预算,支持 CSV/JSON 导出与 Rebuild 重扫。安装:dsh plugin --profile desktop add github:GIN0076/dsh-token-usage。MIT,v1.3.0。

Read More
dsh-token-usage: DeepSeek Harness Token Usage Dashboard

The `dsh-token-usage` plugin for DeepSeek Harness (DSH) provides visualized usage statistics to eliminate the hassle of manually checking logs. Core features include metric cards, an activity heatmap, a daily trend chart, and a model share donut chart. Installation supports command line or local path, with the UI mounted on the settings page. When using it, ensure that requests include the `usage` field, and restart DSH after installation for changes to take effect. Note that this plugin is not an npm package and is recommended for use in a specific version environment.

Read More
DeepSeek Harness (DSH) Plugin: dsh-token-usage - Account, Quota, and Local Usage Ledger

`dsh-token-usage` is a management plugin for DeepSeek Harness (DSH), focusing on account and quota monitoring and local log recording. Its core features include unified connection management, account pool rotation, subscription login management, SDK streaming diagnostics, and native compression counting. The plugin must be used with a compression component and supports optional diagnostic stages. Installation requires Node.js 22.19.0 or later. In terms of data security, the plugin contains no telemetry, prompts, or credentials; known cancellation-related errors may occur but do not affect core functionality.

Read More
DeepSeek Harness Plugin: dsh-token-usage User Guide

dsh-token-usage is a DeepSeek Harness (DSH) plugin designed to monitor token consumption, costs, and provider quotas in real time through visual charts and panels. It supports real-time logging, historical backfilling, session usage analysis, and model-based pricing views, effectively addressing resource consumption monitoring. Install it via npm. When upgrading from older versions, remove and reinstall it first, and ensure the pricing files are synchronized from the cloud.

Read More
dsh-token-usage: Token Usage and Cost Analysis Plugin for DeepSeek Harness

`dsh-token-usage` is a local web plugin for DeepSeek Harness (DSH) that reads persistent logs to provide developers with intuitive token usage statistics and cost estimates. The plugin offers summary cards, GitHub-style heatmaps, and actual billing calculations based on Beijing peak/off-peak periods, with support for custom per-model pricing tables. It is easy to install, stores all data locally, and does not affect Agent runtime logic.

Read More
dsh-token-usage: DeepSeek Harness Token Usage and Cost Dashboard

`dsh-token-usage` is a plugin for DeepSeek Harness (DSH) designed to track token consumption, costs, and model performance. By monitoring DSH session logs, it provides real-time and historical replay, an overview dashboard, task/model/project statistics, and 14-day chart visualization. It supports the peak/off-peak pricing rules from the official DeepSeek website, stores all data locally, and does not upload private information. To install it, ensure that DSH, git, and pnpm are installed, then enable the plugin via a one-click script or manual mounting.

Read More
DeepSeek Harness Token Usage Statistics Plugin

`dsh-token-usage` is a DeepSeek Harness plugin that provides authoritative token counting statistics for agent development. By reading local session logs directly, the plugin ensures accurate usage data without relying on estimates. It offers two access methods: a web sidebar panel and an Agent tool. Users can view cumulative and today’s input, output, cache-read, and other metrics, or limit the query scope through tool parameters. The plugin supports multi-frame zstd decoding and allows configuration of cache behavior and the number of sessions returned. To install it, add the directory to the profile and restart the client.

Read More
dsh-token-usage: Add a Token Usage Analysis Page to DSH Web GUI

dsh-token-usage is a Token usage analysis plugin for DSH Web GUI (npm package @samecorner/dsh-client-ui-token-usage, v0.1.3, MIT licensed). It adds a "Token Usage" tab at the top of the session, rendering projection data such as `tokenUsage` and `contextPressure` from the host as visual panels. Features include per-round KPI cards, context pressure progress bars (warning at 80%), context composition, and per-round bar charts.

Read More
@kelearns/dsh-token-usage: Add a token usage heatmap to the dsh web GUI

# Introduction When running agents with DSH, conversation logs are stored under `$DSH_HOME/sessions`, with token consumption scattered across individual sessions. To answer questions like "How many tokens were used daily this month?" or "Which model was used the most?", you must manually decompress zstd-compressed JSONL files and calculate line by line. While writing a script to do this isn't difficult, you have to re-run it every time you want to view the data. @kelearns/dsh-token-usage brings this functionality into the GUI: a GitHub-style contribution graph displaying daily, weekly, and cumulative token usage. DSH follows the philosophy that "everything is a plugin." This plugin is mounted via the official plugin mechanism and does not require modifying the DSH source code. Below, we introduce its features, installation method, and data interface.

Read More
dsh-token-usage: Add a Codex-style Token Usage Panel to DSH

# Introduction Developers who have been running DSH (DeepSeek Harness) for a while often wonder: Where exactly are the tokens being spent? Is it a long session consuming them, or a specific plugin or Skill continuously draining them? The built-in token-meter provides data, but the interface lacks a place to aggregate and view the consumption of the entire instance at a glance. dsh-token-usage addresses exactly this problem: It adds a Token usage statistics panel to the DSH Web interface, aggregating and displaying the Token consumption of all sessions within the currently running instance. The interface mimics the style of the Codex personal usage page, offering almost zero learning curve for developers familiar with Codex. # What is dsh-token-usage

Read More
dsh-token-usage: DeepSeek Harness Web GUI Token Usage Display Plugin

`dsh-token-usage` is a Token usage display plugin for the DeepSeek Harness (DSH) Web GUI, maintained by AFAP and licensed under the MIT License. The plugin operates without configuration in a read-only manner, designed to assist users in monitoring session-level and global Token consumption. Its core functions include displaying a "Session Capsule" in the session header, showcasing input, output, and context usage, and supporting the viewing of detailed breakdowns. It provides a "Global Consumption Panel" in the sidebar that aggregates daily consumption over the last 30 days, model distribution, and 24-hour usage. Data is sourced from local session logs, and the panel automatically refreshes every 60 seconds when active. The plugin adheres to strict technical constraints with zero external dependencies, parses zstd logs using Node 22.22+ built-in capabilities, and ensures... via the browser trust boundary.

Read More
dsh-token-usage: Token usage statistics plugin for DSH Web UI

dsh-token-usage is a DeepSeek Harness Web UI plugin designed to address the difficulty of monitoring LLM token usage during agent development. By capturing usage data from `llm/stream` events, the plugin provides a statistics panel in the sidebar, supporting the display of Token consumption, cache hit rate, and estimated costs by API, model, and date dimensions. Key features include a dual-axis trend chart, a daily usage heatmap for the past year, a model summary table, and recent request records, along with support for exporting data in JSONL, JSON, or CSV formats. The plugin features automatic cost estimation with price data synchronized from modelradar.cn and supports manual overrides. Installation requires Node >= 18 and is recommended via the `dsh plugin` command.

Read More
dsh-token-usage: A Session Token Usage Bar for the DeepSeek Harness Web UI

`dsh-token-usage` is a pure client-side plugin (MIT licensed) for the DeepSeek Harness (DSH) community, maintained by `hashdiana`. The plugin is designed to replace the default plain-text token statistics line in the Web UI, providing a more intuitive visual experience. Its core features include: dynamically displaying context usage with color; breaking down input tokens into cache reads, cache writes, and uncached portions while showing the cache hit rate; displaying decoding throughput (tok/s) and time-to-first-token (TTFT) in real time; and offering a click-to-expand details panel to view the complete context composition and session statistics. The plugin supports both light and dark themes as well as Chinese and English, reads persisted projection data, and automatically hides when no data is available. Users can install it from Gi via the `dsh plugin` command.

Read More
dsh-token-usage: Adding an LLM API Call Usage Statistics Panel to DSH

@wycto/dsh-token-usage is a DeepSeek Harness (DSH) plugin designed to address the challenge of quickly verifying sessions, statuses, token usage, and costs after model calls. By reading DSH session logs rather than intercepting requests, this plugin consolidates scattered API call information into a full-screen statistics panel. Core features include: multi-condition filtering by time, session ID, model, provider, and status code; a detailed table with 15 columns, supporting click-to-sort by column headers and quick filtering by session ID; grouped statistics by provider, model, status, and effort dimensions; and CSV export for secondary analysis. Cost display supports dual-currency estimation in USD and RMB, with a default exchange rate of 7.2, configurable via s

Read More