AIGate Token用量查询:在对话里查 AIGate Token 余额与消耗
AIGate Token用量查询是 SkillHub 社区 Skill(v1.0.2,data-analysis),坐标 @user_0f7a070e/aigate-token-query。面向自定义 AIGate 平台,在 Agent 对话中一键查看 Token 余额、每日消耗与月度统计,支持含 Token 关键词触发,标签要求配置 API Key。文章说明安装路径(如 Cursor 的 ~/.cursor/skills/)、skillhub install 命令及典型自然语言用法,并提醒按 SKILL.md 完成鉴权与平台地址配置。
Read Moredsh-clear-usage:在 DSH 设置里看清本地 Token 用量与缓存命中
dsh-clear-usage 是 xgxx666 维护的 DSH Web 客户端插件,在设置→用量统计中展示已结算调用的真实 Token、官方口径的缓存命中率、今天 24 小时柱状图与 Token 构成,以及本月/全部/自定义日期的热力图和模型圆环图。保留原版输入框状态栏,不估算费用。安装:dsh plugin --profile web add github:xgxx666/dsh-clear-usage,需 DSH ≥0.2.0-rc.2。数据仅读本地会话,模型分类存于 $DSH_HOME/dsh-clear-usage/models.json。
Read MoreDeepSeek Harness 余额与 Token 用量监控面板 (dsh-usage-panel)
DSH(DeepSeek Harness)智能体开发框架的 Web 插件 dsh-usage-panel,由 Mysterious Mark 维护,旨在解决调试与长时任务中手动查询余额和 Token 的痛点。该插件通过在会话头部展示彩色胶囊,实时监控 DeepSeek 账户余额及 Token 用量(含缓存命中率),并提供三级余额预警与充值入口。插件支持宿主端与浏览器端兼容,具备页面可见时轮询、指数退避及宿主端 30s 缓存等优化策略。用户可通过命令行安装,并可在 patch 中配置接口与缓存参数,适用于需要在 Web 界面持续监控成本的 DSH 用户。
Read Moredsh-toolkit: DSH Web Bundle (Image Generation and Token Usage Panel)
`dsh-toolkit` is a Web Bundle plugin for DeepSeek Harness that integrates image generation and token usage statistics. Installation requires DSH 0.1.7+ and involves declaring the dependency in `package.json` and loading it via `plugin_manager`. Image generation supports text-to-image, image-to-image, and editing via OpenAI-compatible APIs; the token component tracks total consumption across all sessions, including heatmaps, cost trends, and request details. Plugin data is stored by default in `$DSH_HOME/dsh-toolkit/` and supports custom paths and configuration via environment variables.
Read Moredsh-token-use: DeepSeek Harness Real-Time Token Usage and Cost Dashboard
DeepSeek Harness (DSH) adds a new `dsh-token-use` plugin aimed at addressing the difficulty of tracking token consumption through visual dashboards. Integrated into the settings panel, its core features include overview, model, and project statistics, with support for 7/30/90-day trend charts, heat maps, and multi-dimensional filtering. It estimates costs based on DeepSeek’s official pricing (counting only deepseek models) and supports health checks and system operations. The plugin updates data incrementally via an event bus without polling and requires DSH web version ≥ 0.1.0-rc.6.
Read Moredsh-token-usage-stats: Token Usage and Cost Statistics for the DSH Web Plugin
`dsh-token-usage-stats` is a DeepSeek Harness (DSH) plugin designed to address the lack of long-term usage summaries in the official interface. It supports cross-session statistics for token consumption and request counts, providing a standalone dashboard and a sidebar entry. Core features include hourly/daily view switching, automatic data refresh, and intelligent pricing (supporting custom pricing and “peak/off-peak” logic based on Beijing Time). Data is sourced from local session logs, and users must configure the currency and model pricing to display costs. After installation, the plugin can be accessed via the sidebar or URL, helping developers monitor consumption trends at a glance.
Read Moredsh-receipt: DeepSeek Harness Conversation Usage Receipt Plugin
`dsh-receipt` is a DeepSeek Harness plugin designed to help developers precisely track conversation costs. It provides a “receipt” entry in the conversation header and locally calculates and displays total cost, token consumption, model distribution, and per-level sub-agent cost breakdowns. It includes DeepSeek’s official pricing, supports custom rates, peak/off-peak pricing, and light/dark theme switching. The plugin runs under strict read-only permissions, has no external dependencies, and is compatible with Node.js 22.19+ and DSH 0.1.7-rc.2.
Read Moredsh-token-usage: DeepSeek Harness Local Token Usage Dashboard
`dsh-token-usage` is a local token usage monitoring plugin for DeepSeek Harness. It reads `$DSH_HOME/sessions/session.l.zstd`, aggregates statistics over the past 30 days, and supports dark/light mode. The plugin provides two views—a heatmap and a model table—for tracking token consumption. To install it, run commands in the plugin directory and resolve any potential `pnpm` version lock issues. The plugin is independent of the DSH source code, requires Node >= 22, and provides lightweight monitoring for local agent development.
Read Moredsh-token-usage: A DSH Web Plugin for Tracking Token Usage and Costs by Session
`dsh-token-usage` is a DeepSeek Harness plugin designed to intuitively display token consumption and costs for a single session in the sidebar. Core features include per-session independent statistics, detailed token breakdowns, cache hit rate visualization, peak and off-peak time-of-use pricing based on Beijing time, and automatic synchronization with official website pricing. The plugin uses a decoupled Host and Client architecture, depends on `dsh-better-sidebar` (>=0.12.0), and requires restarting the process and refreshing the browser after installation.
Read Moredsh-api-balance: View DeepSeek Balance and Real Token Usage in the DSH Settings Panel
dsh-api-balance is a DSH plugin developed by gaozhiwei521 (v0.1.0, MIT) that addresses the lack of a public usage interface for DeepSeek, requiring developers to log in to the console or manually estimate tokens.
Read Moredsh-token-heatmap: Daily token usage heatmap for the DSH Web interface
# Introduction DSH's philosophy is "everything is a plugin," and Web interface capabilities can be supplemented by plugins on demand. However, for daily users of `dsh web`, token usage data is scattered across event logs in various sessions. There is no ready-made entry point to answer questions like "how much was used today" or "how much has been accumulated this month." Below is an introduction to `@kidli1412/dsh-token-heatmap`, a DSH Web GUI plugin: it renders a GitHub-style daily token usage heatmap below the input box on the new session screen, displaying today's, monthly, and cumulative statistics in a single row. It is ready to use out of the box. # What is it? One-sentence positioning: Displays the current calendar year (optional year) below the input box on the new session screen.
Read Moredsh-usage-lite: DeepSeek Harness Web Balance and Token Usage Panel
dsh-usage-lite is a lightweight plugin for the DeepSeek Harness (DSH) Web interface, maintained by ericw0315 and licensed under the MIT License. It aims to resolve the scattered display of balance and local token usage in DSH Web by centralizing the display of DeepSeek balance, vendor account information, and local usage over the past six months in a sidebar panel. Core features include auto-discovery of configured model vendors, querying DeepSeek's current and bonus/recharge balances, aggregating input/output and cached tokens, displaying estimated costs by model, providing a 27-week daily usage heatmap, and supporting Chinese and English interface switching. Users need to install and restart the service using the `dsh plugin` command and configure the API Key in the credentials file to enable balance features.
Read Moredsh-token-data: Token Usage, Supplier Balances, and Quota Panel for DSH Web
dsh-token-data is an MIT-licensed plugin designed for the DeepSeek Harness (DSH) web interface, aiming to centralize the display of dispersed token usage, vendor balances, and subscription quotas. The plugin provides a real-time usage dashboard, daily heat maps, and 7-day trend analysis. It supports balance inquiries for mainstream vendors such as DeepSeek, OpenRouter, and Kimi, as well as quota monitoring for services like OpenCode Go. Its core features include five read-only, loopback-only GET API endpoints, real-time credential parsing (no key storage), incremental caching, and a fault tolerance mechanism (preserving the last successful data). Installation requires Node.js >= 20 and can be performed via `dsh plugin --profile web add dsh-`
Read Moredsh-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 Morexie-tj/dsh-token-usage-ledger: DSH Web profile usage ledger and Usage dashboard
This article introduces the community repository `xie-tj/dsh-token-usage-ledger`, an MIT-licensed plugin designed for the DeepSeek Harness Web profile. The plugin aims to solve the problem of scattered usage information that is lost after restarts, providing a persistent usage ledger and a visual dashboard. Core functionalities include logging every provider dispatch (including failures and retries), saving input, output, and cached tokens, and supporting data backfilling based on session history. In the Settings → Usage interface, users can filter by provider, model, and time range (7/30 days) to view detailed data, including line charts, bar charts, and API request counts, while also separately displaying cache hit status. Installation requires...
Read Moredsh-token-pet: DSH Plugin for displaying Token usage and weather in DeepSeek Harness session header
dsh-token-pet is a Web plugin for DeepSeek Harness (DSH) based on the MIT license, maintained by pk7j7sqryy-ops. The plugin aims to address the inconvenience of viewing context usage and cumulative Token information during sessions by integrating it into the cartoon doll "Bubu" component in the top-right corner of the session header, achieving a non-floating embedded display. Its core features include real-time local timezone date display, real-time weather and 3-day forecasts based on IP geolocation, extreme weather alerts, as well as detailed statistics on context usage and input/output/cache Token consumption. Token data is reused from frontend projections to achieve zero additional requests; expressions change dynamically based on usage; and the theme color adapts to light and dark modes. It is recommended to install using the `dsh plugin` command.
Read Moredsh-usage-meter: A Token Usage Statistics Plugin for DSH Web Client
dsh-usage-meter is an MIT-licensed plugin maintained by cute-baobao, specifically designed for the Web platform DSH client to visually display the token usage of model calls. The plugin automatically records usage data to a local JSONL file and aggregates it by the "model × hour" dimension upon startup. Users can clearly view the token consumption per hour for each model through stacked bar charts color-coded by model in the Web GUI settings page. The interface supports both Chinese and English, automatically following the language switching of the GUI. Installation requires using the pnpm command to add the plugin package, followed by restarting the DSH Web process to take effect. Data is stored by default in `$DSH_HOME/usage-meter/usage.jsonl`. This plugin is suitable for those who want to view usage by
Read Moredsh-balance-plugin: View DeepSeek Balance and Token Usage in DSH Web Sidebar
dsh-balance-plugin is a web plugin for DeepSeek Harness (DSH), designed to address the inconvenience of querying DeepSeek API balance and token usage. This plugin adds a balance viewing feature at the bottom of the DSH Web sidebar, supporting switches between "Today" (Beijing time) and "All History," and strictly limits data statistics to the `deepseek-official` provider only, avoiding interference from other vendors' API calls. Core features include automatically reusing local credentials to call the official interface for displaying balance, and reading local session logs to aggregate token usage by uncached input, cached reads, output, and model call counts. The plugin adapts to both light and dark themes, implemented via injecting a button and a floating panel at the bottom of the sidebar. The installation process is straightforward.
Read MoreViewing Balance, Quota, and Token Usage on DeepSeek Harness Web Interface with dsh-usage-stats
The community plugin dsh-usage-stats (@ychris12138/dsh-usage-stats) provides multi-provider balance, subscription quota, and token usage heatmaps for dsh web. This article introduces its core capabilities, web profile installation commands, key points for credential configuration, typical operational steps, and security considerations such as loopback access and local credential boundaries. It is suitable for Harness developers who use multiple APIs or coding plans.
Read MoreDisplay GitHub-style activity heatmap in DeepSeek Harness web interface using dsh-heatmap
dsh-heatmap is a DeepSeek Harness interface enhancement plugin maintained by 283Gawin. It places a GitHub-style heatmap of the past 90 days at the bottom of the left sidebar of the webpage, allowing users to switch among submission times, Token usage and estimated costs, and displays today's Token consumption, cache hit rate and cost by model. The data is provided by the host process which reads the local session logs and workspace git history via `/activity-heatmap/stats`. The installation command on the directory page is `dsh plugin add github:283Gawin/dsh-heatmap`, and it is under MIT license. The plugin runs with the permissions of the current dsh process. Before installation, you should check the source code and fix the commit as much as possible.
Read MoreAdd a Token Usage Dashboard to the DeepSeek Harness Sidebar with dsh-token-monitor
### 正式翻译(符合海外开源项目文档风格): The `dsh-token-monitor` is a DeepSeek Harness Web extension maintained by zhangzheng25, released under the MIT License. In its current 0.6.0 version, it features a "Today's Usage" card in the sidebar. Clicking the card will display the total token consumption for today, 7 days and 30 days, a 30-day stacked chart of token usage grouped by model, a top 4 usage ranking, and the number of top-tier sessions. All data is idempotently backfilled solely from session logs and persisted locally. The community catalog page still mentions the settings page and 90-day contribution chart, please refer to the repository source code for the latest information.
Read MoreAdd Usage Heatmap and Account Balance to DeepSeek Harness Web Interface with dsh-usage-stats
The `dsh-usage-stats` maintained by Ychris12138 has added Token usage heatmap, model-by-model details and multi-vendor account balance functions for dsh web. This article verifies the installation commands, credential configuration, local loopback interface and security boundary in accordance with the directory page and GitHub README. The current version is 0.2.0, licensed under MIT, and a web profile is required.
Read More