DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-usage-cost

d

dsh-usage-cost

Manifest valid

DSH plugin: per-step timestamped API usage timeline (usageTimeline projection) + peak/off-peak cost readout for DeepSeek V4 Pro

UI (client)hasBundlePatch

dsh-usage-cost

DeepSeek Harness 插件:按会话逐轮 token 用量实时计算 DeepSeek API 成本,8/17 起自动切换峰谷计价。
服务端投影 usageTimeline(逐轮 token 桶 + 完成时间戳)+ 客户端四段成本读数。

license official bundle

安装

dsh plugin --profile web add "github:Dino6021/dsh-usage-cost#main"

装完重启 web 并刷新页面,对话底部(统计行下方)即出现成本行。

官方 bundle 形态(dsh.bundle.patch + dsh.client),构建产物已入库,git 源安装无需构建。

能力面

能力说明
投影 usageTimeline服务端 session projection:逐条 assistant/message 的 token 桶(未命中 / 输出 / 缓存读 / 缓存写)+ 完成时间戳
槽 usage-costconversation.composer.dock:四段成本读数(对话 / 工作区 / 今日 / 5小时)

计价(DeepSeek V4 Pro,每百万 token,人民币)

时段缓存命中缓存未命中输出
当前(8/17 前)¥0.025¥3¥6
8/17 起 · 空闲时段¥0.15¥4.5¥13.5
8/17 起 · 高峰时段(北京时间 9–12、14–18)¥0.30¥9¥27
  • 8/17 零点自动由平峰切为峰谷,逐轮按时间戳判峰谷;
  • 无时间线(旧会话/投影缺失)时回退平峰价;
  • 单价在 lib/client.js 顶部常量(FLAT / PPO / PPO_START)可改。

核对与调整单价

单价集中定义在 lib/client.js 顶部,便于维护:

常量含义
FLAT平峰价(8/17 前生效)
PPO峰谷价(8/17 起生效;offPeak 空闲 / peak 高峰)
PPO_START峰谷生效时刻(= 8/17 00:00 北京时间,epoch 毫秒)
  • 切换是自动的:priceAt(ms) 按每条样本的时间戳决定用平峰还是峰谷,无需改代码。
  • 改价后生效:编辑 lib/client.js → 重装(dsh plugin --profile web add "github:Dino6021/dsh-usage-cost#main")→ 刷新页面。
  • 官方价为准:https://api-docs.deepseek.com/zh-cn/quick_start/pricing/ ;缓存写入价按「缓存未命中」价计(DeepSeek 未单列写入价,该桶实际常为 0)。

插件管理

已装插件用 plugin-registry 的薄控制台管理(浏览器面板):

dsh plugin --profile web add "github:vlln/plugin-registry#main&path:/packages/plugin/console"

Comments

Loading…

From the same category

dsh-TUI

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 4.3k

↓ 10.9k/wk

MIT

TypeScript

Oct 11, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by strukto-ai

The World's First Virtual Terminal for AI Agents

Terminal & ClientsManifest valid

★ 3.7k

↓ 355/wk

Apache-2.0

TypeScript

Oct 11, 2026

dsh plugin --profile agent add @struktoai/mirage-dsh

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesTerminal & ClientsUI & ExperienceManifest valid

★ 2k

↓ 34.4k/wk

Apache-2.0

TypeScript

Oct 11, 2026

dsh plugin --profile web add dsh-context

by huiliyi37

官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。

Terminal & ClientsManifest valid

★ 287

↓ 462/wk

Apache-2.0

TypeScript

Sep 30, 2026

dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tui

by Hilbert-beinghappy

面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。

Terminal & ClientsManifest valid

★ 197

↓ 108/wk

MIT

TypeScript

Oct 1, 2026

dsh plugin --profile web add seektty

by T-Auto

deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准

Terminal & Clients

★ 83

MIT

JavaScript

Oct 10, 2026

Index only — not installable