LiyinAlpaca/dsh-multi-model-router ↗★ 0
dsh-multi-model-router
多模型路由 — DSH multi-model routing plugin. Scene-aware model + provider selection, cost-first / speed-first auto-routing, two-level 套餐·档位 menu, failover across providers. Compatible with dsh-our-free-model routes. 适合使用多模型及多渠道的用户,支持故障自动转移、测速及价格表管理。
설치
검증된 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
| 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 |