DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-aa-killline

d

dsh-aa-killline

Identified

Model kill-line charts for DSH. Reads Artificial Analysis model data and OpenRouter cache prices, then renders two self-contained HTML charts (global and China) plotting the AI intelligence index agai

dsh-aa-killline

Model Kill-Line Charts (English)

The "kill line" is the intelligence-vs-price Pareto frontier: any model below and to the right of it is dominated by a model that is both cheaper and smarter. This plugin recomputes on demand:

  • Global / China kill-line charts (self-contained HTML): AIII intelligence vs effective price scatter with the Pareto frontier, switchable between the official 3:1 blended price and an agent perspective (R=50, h=90%, per-model real cache-read prices)
  • Strongest-model-per-vendor table (HTML + CSV): each vendor's best AA-measured model cross-checked against an OpenAI-compatible gateway listing, plus official thinking controls

Data: Artificial Analysis Data API (free key) + OpenRouter public API (no key). Python stdlib only, zero pip dependencies.

Install

dsh plugin add dsh-aa-killline

First-time setup (credentials never ship with the package): copy config.example.env to config/key.env and fill in AA_API_KEY=... (Artificial Analysis free key). Optionally config/aihub.env with AIHUB_KEY=... for the gateway column; without it that column shows —.

Run: bash scripts/update.sh (full refresh, once a day is enough) or bash scripts/update.sh --offline (local recompute, spends no API quota).

If a local customized copy exists in ~/.dsh/skills/aa-killline/, the local one (rank 400) wins over this plugin (rank 600) — by design.

中文

模型斩杀线

「斩杀线」= 性能-价格帕累托前沿:前沿右下方的模型被「更便宜且更聪明」的模型支配,视为被斩杀。本插件一键产出:

  • 全球/国产斩杀线图(自包含 HTML):AAII 智能指数 vs 有效价散点 + 帕累托前沿,支持「官方 3:1 混合价 / Agent 口径(R=50、h=90%、逐模型真实缓存读价)」切换
  • 厂商最强对照表(HTML + CSV):每家厂商 AA 实测最强模型 × OpenAI 兼容网关上架状态 × 官方思考机制

数据源:Artificial Analysis Data API(免费 key)+ OpenRouter 公开 API(无需 key)。Python 脚本仅标准库,零 pip 依赖。

安装

dsh plugin add dsh-aa-killline          # npm
# 或
dsh plugin add github:xishaochen/dsh-aa-killline

首次配置(一次性,凭证不随包分发)

cd <插件安装目录>   # npm 装的通常在 profile 的 node_modules/dsh-aa-killline
cp config.example.env config/key.env   # 然后填入你的 AA_API_KEY
chmod 600 config/key.env

可选(对照表的网关上架列;不配则显示 —):

echo "AIHUB_KEY=<你的 OpenAI 兼容网关 key>" > config/aihub.env && chmod 600 config/aihub.env

使用

对 agent 说「刷新斩杀线」,或直接跑:

bash scripts/update.sh                 # 全量刷新(建议一天一次)
bash scripts/update.sh --offline       # 纯本地重算,不耗 API 额度

产物在 output/,浏览器直接打开。

与本地版本的关系

若同时在 ~/.dsh/skills/aa-killline/ 有本地特化版,本地版(rank 400)优先于本插件(rank 600)——刻意的,插件不覆盖用户自己的版本。

口径

  • 斩杀线 = 帕累托前沿(价格升序,AAII 严格递增)
  • 双价格口径:官方 3:1 混合价 / Agent 口径 [R×(c×h+1−h)×输入 + 输出]/(R+1),默认 R=50、h=90%、c=OpenRouter 真实缓存读价
  • 厂商最强 = 非退役、AA 实测中 AAII 最高,同分取更便宜者
  • 图与表同批更新(同一快照、同一口径)

License

MIT

Comments

Loading…

Similar plugins

dsh-token-steward

by JiamingShi-JsPhys

DSH 模型矩阵调度中枢:本地 OpenAI 兼容网关 + 四种调度模式(含白嫖)+ 自动容灾 + SQLite 精确缓存

Development & InfrastructureModels & ProvidersManifest valid

★ 2

MIT

TypeScript

Nov 6, 2026

dsh plugin --profile web add dsh-token-steward

by Jannchie

Cost tracking priced from an online catalogue (models.dev + OpenRouter, 8000+ models, each call priced at its own instant): a per-turn cost line, a Cost tab attributing spend to tool output / model ou

Tools & CapabilitiesDevelopment & InfrastructureModels & ProvidersManifest valid

★ 10

↓ 951/wk

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add dsh-bill

by JohnXu22786

Auto-discovers model listings, pricing and capabilities from OpenAI-compatible API hosts, normalizes them, and emits ready-to-use model configs for dsh.

Tools & CapabilitiesManifest valid

★ 1

↓ 5/wk

MIT

TypeScript

Sep 29, 2026

dsh plugin --profile web add model-catalog

by igormel81

Live token cost for every chat in the DSH Web UI: the chat, its subagents and the whole session tree, priced from a bundled models.dev snapshot of seven providers and 139 priced models, with cache rea

Tools & CapabilitiesManifest valid

★ 1

MIT

JavaScript

Oct 21, 2026

dsh plugin --profile web add dsh-chat-cost

by dougen

Shows a card in the sidebar footer with the DeepSeek account balance (read from the official /user/balance endpoint with the API key DSH already stores) and the unit prices of the active model — input

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 10

↓ 2.1k/wk

NOASSERTION

JavaScript

Nov 18, 2026

dsh plugin --profile web add @dougen/dsh-deepseek-usage

by Leafyezi233

Exposes the models already configured in DeepSeek Harness through an OpenAI-compatible gateway, so other local projects can call them with any standard OpenAI client. Multiple provider candidates shar

Models & ProvidersManifest valid

★ 4

↓ 400/wk

JavaScript

Nov 4, 2026

dsh plugin --profile web add @leaf233/dsh-model-gateway