← Back to list

dsh-cache-billing

DeepSeek Harness Other New Low risk

Per-call cache billing inside the context-meter popover: current step, round and session totals with hit/miss/output tokens and amounts, automatic Beijing working-hour peak/off-peak pricing, per-model rates, and third-party relays billed too.

在上下文圆环弹层里实时算账:当前步、当前轮、会话累计三块明细,缓存命中/未命中/输出各带 token 与金额,官方峰谷价与模型分价自动判定,第三方中转照常记账。

How to install

DeepSeek Harness dsh plugin add dsh-cache-billing

About

dsh·缓存账单插件 参考 dsh-meow-cachebilling 的思路重写,默认支持第三方中转与多级账单明细。 在上下文圆环弹层里实时算账,告诉你当前步、当前轮、整个会话各自花了多少钱,好让你知道什么时候该换窗口。 第三方中转照常记账,不限定 DeepSeek 官方路由。 引言 DSH 的上下文圆环是给"上下文用了多少"看的,可真正该看的是"这花了多少钱"。缓存命中率高是好事,但上下文越长,每轮带上的缓存前缀就越贵;到了换窗口的关口,旧窗口每动一次都是给缓存付费,还未必看得到数。 所以做了这个插件,把账算到明面上:当前步、当前轮、会话累计三块账,逐笔按各自时刻的峰谷费率累加,缓存命中、未命中、输出列得清清楚楚。心里有底,才知道窗口该不该换。 哦对了,这插件不挑路由——官方也罢、SiliconFlow 这种中转也罢,只要报用量,就照样记账。中转的价格表跟官方不一样时,模型名命中价目表就按估算金额显示,宁近似,不空转。 功能 **第三方中转也认**:不限定 DeepSeek 官方路由,provider 非空即显示,模型名命中价目表就按估算金额计价。凭空 provider 的路由不会显示。 **三块计时级别**:从上到下依次是当前步、当前轮、会话累计。当前步是单次 API 调用,当前轮是本轮内多步累加,会话累计带步数。每块一行标题带总额与总 token,下面缩进细列缓存命中、缓存…

Recommendation signals

63 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
63 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
4
mo. downloads
257
Last push
2026-09-03
Created
2026-08-28

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
billing, cache, cache-hit, cost, deepseek-harness, developer-tools, dsh, dsh-plugin, tokens

Related plugins

DeepSeek Harness
Score88

dsh-context

bowenliang123/dsh-context

DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.

☆ 1.3K ↓ 79.7K Other
DeepSeek Harness
Score77

TokenLedger

zh667/TokenLedger

Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.

☆ 196 ↓ 2.0K Other
DeepSeek Harness
Score75

dsh-damage-pulse

wssfk12138/dsh-damage-pulse

Tracks DeepSeek token usage, per-call and session costs, and account balance with cache-aware charge animations in the DSH Web UI.

☆ 153 ↓ 1.0K Other
DeepSeek Harness
Score69

dsh-usage-chart

Max-Samson/dsh-usage-chart

Token, cost, and balance dashboard under the composer: live indicator plus zero-dependency SVG charts for per-turn usage, estimated cost, and DeepSeek account balance.

☆ 10 ↓ 2.6K Other