vitas/dsh-model-pricing 预览 preview

vitas/dsh-model-pricing

Compare LLM API prices before you pick a model — and see what you actually paid after you used it. A plugin for DeepSeek Harness (DSH) that puts a model pricing and capability table directly into your DSH settings (7,250 priced models, 213 providers), and then reads your own session logs through the same catalog:

catalog descriptioncatalog 简介 / catalog description:Model pricing & capability board for DeepSeek Harness: ~7,250 models across 213 providers, honest lowest-listed comparison, session costs priced by the route you actually called, and cache-leak attribution. Local-first, no server.

Project Overview项目介绍

dsh-model-pricing is a native plugin built specifically for the DeepSeek Harness (DSH) and is installed through the DSH package manager with dsh plugin --profile web add dsh-model-pricing, after which a model pricing and capability table appears at the bottom of the DSH Settings → Models page; it ships a bundle-manifest for the DSH plugin runtime and is published on npm under the same name, while its GitHub topic explicitly tags it as a deepseek-harness-plugin. The catalog merges ~7,250 priced models across 213 providers from models.dev with the @earendil-works/pi-ai routing catalog that DSH already bundles, and it flags rows where the public price diverges from the harness's authoritative routed price by more than 10%, including cross-provider lowest-listed badges and ⚠ flags for suspiciously cheap routes. Capability tags (Coding, Agentic, Vision, Long context, Open weights, Structured output) are computed from structured catalog fields and remain user-configurable.

In daily workflow, a DSH user stops opening three browser tabs to compare providers because the same table they browse is now the route-selection surface inside the harness itself, with verified, time-boxed community promos rendered as badges with provenance tooltips and one-click filtering through promos/README.md pull requests validated by CI. After sessions are run, the plugin replays the harness's own log files, including mid-session model switches, to compute per-workspace spend per (provider, model) with an explicit confidence ladder (routed > listed > estimated range > nothing shown) alongside promo-adjusted savings versus list price, and it attributes cache-leak spend to idle gaps past documented provider TTLs, route switches, or unattributed causes, explicitly excluding compaction. A price × speed quadrant plots your own median TTFT and tokens/second against list price once at least five samples exist, so “cheap and slow” becomes a fact about your history.

Dependencies are intentionally minimal: the plugin runs entirely on the user's machine with no server of its own, performs an anonymous read of the public models.dev catalog and the bundled pi-ai catalog on first load, caches results locally, and parses session logs that already live under the DSH home directory, so nothing leaves the device. It is licensed Apache-2.0, distributed on npm and via the awesome-dsh-plugin registry (accepted 2026-09-11), localized with parity-checked English, Chinese, and Russian UIs, and clearly labels every displayed number with its source and freshness while reminding users that prices, costs, and leak figures are model-selection estimates only — the provider's invoice is the sole billing authority. From-source development follows git clone → npm install → npm run snapshot && npm run build → dsh plugin --profile web add ..

dsh-model-pricing 是面向 DeepSeek Harness(DSH)的原生插件,通过 dsh plugin --profile web add dsh-model-pricing 安装并在 DSH 的"设置 → Models"页面底部加载一张可筛选的模型价格与能力表格,覆盖来自 models.dev 的约 7,250 个模型、213 家提供商,并叠加 DSH 自带的 @earendil-works/pi-ai 路由目录作为权威价格,对偏差超过 10% 的条目逐行标红,同时呈现经过 CI 审核的限时促销徽章。

典型使用场景:在 DSH 内直接对比输入、输出、缓存读取的每百万 token 单价、上下文窗口与最大输出,能力标签(编程、Agent、视觉、长上下文、开源权重、结构化输出)由目录字段推导并支持用户自定义规则;插件还会重放本地会话日志,按实际调用路由汇总每个项目支出、归因缓存泄露(空闲超 TTL、路由切换等),并在价格 × 速度象限中用 TTFT 与 tok/s 的中位数对模型做出基于自身历史而非博客的评判。

依赖方面,插件完全本地运行,不持有自建服务,首次加载会拉取目录并本地缓存;会话成本与泄露统计全部来自 DSH 主目录下的本地日志,绝不上传,UI 提供英语、中文、俄语三语并行。许可证为 Apache-2.0,所有价格、成本与泄露数字仅为模型选型估算,最终计费以提供商账单为准。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-model-pricing

把 vitas/dsh-model-pricing 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-model-pricing

Compare LLM API prices before you pick a model — and see what you actually paid after you used it. A plugin for DeepSeek Harness (DSH) that puts a model pricing and capability table directly into your DSH settings (~7,250 priced models, 213 providers), and then reads your own session logs through the same catalog: per-project spend priced by the route you actually called, and the dollars your prompt cache is silently losing.

npm License stars dsh plugin awesome-dsh-plugin

dsh-model-pricing pricing table rendered in the DSH Models settings page

The pricing table in the DSH Settings → Models page: cross-provider lowest listed badges, capability tags, and per-1M-token prices.

dsh-model-pricing session costs panel: spend per workspace, cache-leak attribution and the route performance quadrant

The session costs panel: per-workspace spend by the route actually called, cache leaks by cause, and a price × speed quadrant measured from your own history.

Why

Choosing a coding agent model today means opening three browser tabs: your provider's price page, a comparison site, and someone's spreadsheet of which API is discounting this month. dsh-model-pricing collapses that into the harness you are already in: one table, filtered to what you can actually call, refreshed from public catalogs on your own machine.

Features

  • Pricing table for every connectable model — input / output / cache-read price per 1M tokens, context window, and max output (213 providers, ~7,250 priced models)
  • Capability tags computed from structured catalog fields: Coding, Agentic, Vision, Long context, Open weights, Structured output — with user-configurable rules
  • Authoritative routing prices: for models DSH can actually invoke, the harness's own bundled pi-ai catalog overrides the public catalog, and price divergences larger than 10% are flagged row by row
  • Honest cross-provider comparison: the winner badge says lowest listed — a claim about the catalog, not the market — $0 free tiers compare only against free tiers, and a route listed below half the first-party price is flagged ⚠ to verify
  • Community promotion feed: verified, time-boxed offers rendered as badges with provenance tooltips and a one-click filter; contributed through reviewed pull requests and validated by CI (promos/README.md)
  • Session costs, priced by the actual route: replays the harness's own session logs — including mid-session model switches — and sums what each project spent per (provider, model), with an explicit confidence ladder (routed > listed > estimated range > nothing shown) and promo-adjusted savings next to list price
  • Cache-leak attribution: what share of your spend is history re-billed at full input price instead of cached price, split by cause — idle gaps past documented provider TTLs, route switches, unattributed — and never charging compaction, which is the opposite of a leak
  • Route performance quadrant: time-to-first-token and tokens/second per (provider, model), medians over your own window — paired with the list price, so “cheap & slow” is a fact about your history, not a blog post; five samples or more before anything is labelled
  • English, Chinese and Russian UI, parity-checked in CI

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-kb 下一个 Next dsh-pubmed →