
Security News
Rust 1.100 Will Add Dependency Cooldowns to Cargo
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.
dsh-session-cost
Advanced tools
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)
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 生效。
tokenUsage 会话投影(官方 dsh-token-meter 提供,与统计条同源):uncachedInputTokens / cacheReadTokens / cacheWriteTokens / outputTokens费用 = (未命中 + 写入) × miss单价 + 命中 × hit单价 + 输出 × out单价| 模型 | 百万输入(命中) | 百万输入(未命中) | 百万输出 |
|---|---|---|---|
| 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 |
deepseek-v4-flash 计(会话中途切换模型不追溯);要改默认模型/价格,编辑 lib/client.js 顶部的 DEFAULT_MODEL 与价格表FAQs
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)
The npm package dsh-session-cost receives a total of 44 weekly downloads. As such, dsh-session-cost popularity was classified as not popular.
We found that dsh-session-cost demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.