DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-session-cost

C

dsh-session-cost

Manifest valid★ 2

dsh plugin: show the estimated DeepSeek API cost of the current session in the web GUI stats strip (token usage × official pricing, peak/off-peak aware)

UI (client)hasBundlePatch

dsh-session-cost

DSH(DeepSeek Harness)插件:在 Web GUI 底部统计条里显示当前会话的 DeepSeek API 费用估算。

效果:统计条下方多出一行 费用 ≈¥0.35 | 命中 ¥0.28 | 未命中 ¥0.02 | 输出 ¥0.05,字体与配色完全对齐官方统计条(12px、主题自适应)。

效果截图

安装

dsh plugin add dsh-session-cost

(dsh 未全局安装时:npx --yes @deepseek-ai/dsh plugin --profile web add dsh-session-cost)

安装后重启 dsh web 生效。

怎么算的

  • 数据源:DSH 的 tokenUsage 会话投影(官方 dsh-token-meter 提供,与统计条同源):uncachedInputTokens / cacheReadTokens / cacheWriteTokens / outputTokens
  • 计费口径(对应官方账单):缓存写入按"未命中"单价计 费用 = (未命中 + 写入) × miss单价 + 命中 × hit单价 + 输出 × out单价
  • 价格:官方 https://api-docs.deepseek.com/zh-cn/quick_start/pricing
模型百万输入(命中)百万输入(未命中)百万输出
deepseek-v4-flash(2026-08-17 前)¥0.02¥1¥2
deepseek-v4-pro(2026-08-17 前)¥0.025¥3¥6
deepseek-v4-flash · 高峰(9-12/14-18 北京时间)¥0.10¥3¥9
deepseek-v4-flash · 空闲¥0.05¥1.5¥4.5
deepseek-v4-pro · 高峰¥0.30¥9¥27
deepseek-v4-pro · 空闲¥0.15¥4.5¥13.5
  • 2026-08-17 00:00(北京时间)起自动切换峰谷计价;高峰时段自动按北京时间判断

说明与限制

  • 估算值:仅供参考,与实际账单可能有出入(缓存写入归入未命中的口径、模型切换、四舍五入)
  • 模型:v1 按 deepseek-v4-flash 计(会话中途切换模型不追溯);要改默认模型/价格,编辑 lib/client.js 顶部的 DEFAULT_MODEL 与价格表
  • 显示"≈"标记表示估算

开发者

Compatibility

DSH 0.2.2-alpha.2: failedDSH 0.2.1-rc.3: failedDSH 0.1.6-alpha.2: failed

Versions

Latest versionPublishedSize
0.1.0——
0.1.1——
0.1.2——
0.1.3——

Comments

Loading…

From the same category

awesome-dsh-plugin

by awesome-dsh-plugin

A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表

Development & Infrastructure

★ 23.2k

CC0-1.0

Python

Nov 5, 2026

Index only — not installable

by 0xsline

DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.

Development & Infrastructure

★ 1.3k

CC0-1.0

Python

Nov 6, 2026

Index only — not installable

by uumit-ai

Open dsh web from your phone or another computer through a UUMit account, without running your own server or installing another program: a built-in tunnel client connects to UUMit's hosted tunnel, and

Tools & CapabilitiesDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 497

↓ 268/wk

MIT

JavaScript

Oct 21, 2026

dsh plugin --profile web add @uumit-ai/dsh-uumit-remote

by Yuuyuko-uu

DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间

Development & InfrastructureMemory & ContextSessions & MessagesManifest valid

★ 488

MIT

JavaScript

Nov 4, 2026

dsh plugin --profile web add dsh-fish-memory

by SAOS-3624

Scene-aware storyboard for DeepSeek Harness: 9-16 numbered cells with timestamps + transcript + an audio envelope, packed into ONE image (384 tokens). Two tools: video_storyboard and video_zoom.

Tools & CapabilitiesVision & MultimodalDevelopment & InfrastructureManifest valid

★ 448

↓ 17k/wk

MIT

JavaScript

Nov 6, 2026

dsh plugin --profile web add dsh-video-storyboard

by woniuniuniu

DeepSeek Harness 自媒体工作台插件:一句话记灵感,一键生成脚本、封面、配图和分镜

Development & InfrastructureManifest valid

★ 342

↓ 457/wk

MIT

JavaScript

Nov 5, 2026

dsh plugin --profile web add dsh-media-desk