dsh-model-router

模型路由与成本优化器:简单问题 flash 直答、故障自动降级、会话 token/缓存/成本实时面板 | Model router & cost optimizer for DeepSeek Harness: flash quick-answers for simple questions, failure fallback, live token/cache/cost panel

Overview

模型路由与成本优化器:简单问题 flash 直答、故障自动降级、会话 token/缓存/成本实时面板 | Model router & cost optimizer for DeepSeek Harness: flash quick-answers for simple questions, failure fallback, live token/cache/cost panel

Installation

Install from npm

dsh plugin --profile web add dsh-model-router

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:tianji-qingtian/dsh-model-router

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Independent install test

Install result
Incompatible in the tested version
Tested Harness version
0.2.2-rc.1
Tested plugin version
Not reported
Test date

Fallback version

Candidate plugin version
0.1.1
Fallback test result
Installed and registered
View dependency version ranges
@deepseek-ai/dsh-settings
^0.1.0-rc.8
@deepseek-ai/dsh-plan-mode
^0.1.0-rc.8
Harness versionPlugin versionStatus
0.2.2-rc.10.1.1● CompatibleFallback version tested