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. 适合使用多模型及多渠道的用户,支持故障自动转移、测速及价格表管理。

패키지
dsh-multi-model-router
호환성
미검증
Harness peer 범위
^0.1.2-rc.1 || ^0.1.7-rc.2 || ^0.2.0-rc.1
Cordis peer 범위
^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