LiyinAlpaca/dsh-multi-model-router ↗★ 0

dsh-multi-model-router

提供场景感知、成本/速度优先的多模型自动路由。 适合使用多模型及多渠道的用户,支持故障自动转移、测速及价格表管理。

套件
dsh-multi-model-router
相容性
待驗證
Harness 依賴範圍
^0.1.2-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1
Cordis 依賴範圍
^4.0.2
版本
0.1.0
授權
MIT
最近更新
2026年10月19日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

Open Settings → 模型路由 to:

  • Scenes tab — Add/edit/delete scenes. Each scene has a primary model + ordered candidate chain + strategy (fallback / round-robin).
  • Favorites tab ★ — Toggle favorites + drag-reorder. Favorited models pin to the top of the level-1 menu.
  • Health tab — View per-candidate health scores, consecutive failures, and cooldown state.
  • Pricing tab — View the cost table (USD per million tokens).
  • Speed tab — View speed probe results (tok/s, TTFT, sample count).
  • Candidates tab — View all real models from all registered providers.
  • Settings tab — maxSwitchesPerStep, healthRanking toggle, customPricing overrides.

Default scenes

SceneIDPrimaryCandidates
编程codingdeepseek/deepseek-chatdeepseek/deepseek-chat, our-free-model/deepseek-v4.1-flash
翻译translationdeepseek/deepseek-chatdeepseek/deepseek-chat, gpt-4o-mini
搜索searchgpt-4o-minigpt-4o-mini, deepseek/deepseek-chat
通用generaldeepseek/deepseek-chatdeepseek/deepseek-chat, gpt-4o, claude-3-5-sonnet