dsh-model-gateway

Exposes the models already configured in DeepSeek Harness through an OpenAI-compatible gateway, so other local projects can call them with any standard OpenAI client. Multiple provider candidates share one named group with ordered, balanced or random dispatch; upstream failures before any output switch to the next candidate transparently, and rate-limited requests are retried after the provider's backoff. Per-candidate call statistics (attempts, answers, failures, token/TTFT totals) appear as badges in the settings page, and daily aggregates persist to a local file with a 30-day heatmap and trend view. Until you create a key in the UI, the endpoint accepts calls from anyone who can reach it; keys (stored as SHA-256 hashes) then turn authentication on, and the endpoint stays locked even after the last key is revoked. Exposing the optional LAN listener without a key leaves the port open to the whole network. Runs on DSH 0.1.2-rc.1 through 0.1.7-alpha.1 and later.

Models & CostsNOASSERTION☆ 4

Overview

Exposes the models already configured in DeepSeek Harness through an OpenAI-compatible gateway, so other local projects can call them with any standard OpenAI client. Multiple provider candidates share one named group with ordered, balanced or random dispatch; upstream failures before any output switch to the next candidate transparently, and rate-limited requests are retried after the provider's backoff. Per-candidate call statistics (attempts, answers, failures, token/TTFT totals) appear as badges in the settings page, and daily aggregates persist to a local file with a 30-day heatmap and trend view. Until you create a key in the UI, the endpoint accepts calls from anyone who can reach it; keys (stored as SHA-256 hashes) then turn authentication on, and the endpoint stays locked even after the last key is revoked. Exposing the optional LAN listener without a key leaves the port open to the whole network. Runs on DSH 0.1.2-rc.1 through 0.1.7-alpha.1 and later.

Installation

Install from npm

dsh plugin --profile web add @leaf233/dsh-model-gateway

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:Leafyezi233/dsh-model-gateway

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

Compatibility is unconfirmed. Check the project documentation for supported versions.