DSH Usage and Cost Panel
tianji-qingtian/dsh-model-router · skills
Model Router & Cost Optimizer for DeepSeek Harness ().
★ 8GitHub stars
0Forks
2026-08-15Last updated
JavaScriptLanguage
MITLicense
Key features
- Cheap-model judge routing — clearly heavy work (strong keywords / long payloads) goes straight to the main model with zero added latency.
- Counting semanticsharness TokenUsage fields are disjoint — inputTokens already excludes cache reads (DeepSeek reports prompt_tokens = hit + miss
- Everything else is decided by a zero-prefix flash judge call (SIMPLE / AGENTIC, one word, 64-token cap, thinking off).
- Choosing the main model (or dismissing the question) takes the normal flow
- subagent sessions fall back automatically.
Requirements
- The dsh CLI must be on your PATH.
- If you only ever ran the harness through npx, dsh is not installed and you will get zsh: command not found: dsh — install it globally first
Install command
dsh plugin --profile web add github:tianji-qingtian/dsh-model-router