yishengdaxiaonengjihui/dsh-poor-router1

dsh-poor-router

适用于 DeepSeek Harness 的低成本大模型池路由器:包含使用账本、健康追踪、基于汤普森采样的免费模型自适应容灾、质量阶梯、执行器池、付费防护、Web 面板及重路由徽章。

AI 分析

核心用途是聚合和智能路由多个免费/低成本大模型。适合希望降低 API 消耗成本、利用多模型容灾备份并自动选择最优可用模型的用户。配置保存在 pool.json 中。

包名
dsh-poor-router
版本
1.0.0
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yishengdaxiaonengjihui/dsh-poor-router

Configuration

Everything lives next to your models in pool.json. Plugin-level paths default to /poor-router/; override in your profile's cordis.patch.yml:

- id: poor-router
  name: dsh-poor-router
  config:
    dataDir: 'D:/my-data/poor-router'   # base dir for all three files
    # or individually:
    # poolPath: '...'
    # statePath: '...'
    # importPath: '...'
    layerRules:                          # optional default layers by id prefix
      - { match: 'deepseek-official/', layer: 'backbone' }
      - { match: 'tokenrouter/', layer: 'matchstick' }

Entry fields that matter:

fieldmeaning
idprovider/model — must match what the harness proposes
expiresAtISO date; urgency sort + panel countdown
grantRemaining / grantUnitexecutor-pool budgeting
tierS/A/B/C quality ladder (panel-editable)
role"executor" joins the aux-request pool
layerbackbone (never burned) / burn / matchstick
paid + priceIn/OutYuanPerM + dailyCapYuanreal-money guardrail
escapeHatchallow this paid model as last-resort