LiyinAlpaca/dsh-multi-model-router ↗★ 0
dsh-multi-model-router
提供场景感知、成本/速度优先的多模型自动路由。 适合使用多模型及多渠道的用户,支持故障自动转移、测速及价格表管理。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 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
| Scene | ID | Primary | Candidates |
|---|---|---|---|
| 编程 | coding | deepseek/deepseek-chat | deepseek/deepseek-chat, our-free-model/deepseek-v4.1-flash |
| 翻译 | translation | deepseek/deepseek-chat | deepseek/deepseek-chat, gpt-4o-mini |
| 搜索 | search | gpt-4o-mini | gpt-4o-mini, deepseek/deepseek-chat |
| 通用 | general | deepseek/deepseek-chat | deepseek/deepseek-chat, gpt-4o, claude-3-5-sonnet |