Fills missing model parameters from models.dev, imports models from configured providers, and writes per-field overrides for built-in models, with prices in USD or native CNY set as manual rates or a reference price times a multiplier.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-model-kit
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:PerseusNana7mi/dsh-model-kit
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Model metadata assistant for DeepSeek Harness: review model capabilities and reference prices before saving them to DSH.
Designed for DSH Desktop 0.2.x. The development and integration-test baseline is 0.2.2-rc.1. See the compatibility policy.
Features
| Feature | Description |
|---|---|
| Model metadata | Look up display names, context windows, output limits, input modalities, and recognized reasoning efforts from Models.dev. |
| Preview and compare | Fill a draft, review conflicting sources field by field, and undo the latest fill. |
| Pricing | Edit input, output, cache-read, and cache-write rates in native USD or CNY; use a reference rate and multiplier when appropriate. |
| Remember reference sources | Save an explicitly confirmed price reference per target model, catalog and currency, including exact aliases. Replace or clear it, or explicitly fetch a fresh quotation next time. |
| Model import | Discover models through a provider already configured in DSH, preview them, and append selected models. |
| Built-in overrides | Override individual fields of inherited models or restore inheritance. |
| Batch review and save | Review up to 100 configured models with shared fresh catalogs, select parameter and direct-price fields, and confirm fill or update writes. Multiplier references update as whole snapshots; parameter and price results are reported separately. |
Reference prices come from Models.dev (USD) or basellm (native USD/CNY). Missing prices remain unknown, explicit zero remains zero, and the plugin does not convert currencies. See recommendation rules and pricing sources.
Install
The package is available as dsh-model-kit on npm. Install it with the DSH CLI paired with Desktop:
dsh plugin --profile desktop add dsh-model-kit
For a separate Web profile, change desktop to web. Fully quit Desktop from the tray and reopen it. The assistant appears under Settings → Model Kit (shown as 模型信息助手 in Chinese). Running npm install dsh-model-kit alone does not mount the plugin in a DSH profile.
For an offline install, select a prebuilt .tgz in Desktop's plugin manager. To build a local package from source, use Node.js 22.19 or newer:
npm ci
npm pack
npm pack builds and creates a local archive; it does not publish to npm. Do not install unbuilt source as a plugin.
Use
- Configure a provider, protocol, API endpoint, and credentials in DSH's native model settings.
- Open Settings → Model Kit and select a provider and model.
- Choose Fill model information, review the draft, and compare sources when they disagree.
- Optionally edit reference prices and their currency, source, or multiplier.
- Save the reviewed changes. Model import and built-in overrides are available in the additional model actions.
Writes use DSH's Settings API and its revision check. If another operation changes the configuration first, reload and review the draft again. See the editor guide for details; the plugin UI and the detailed guide are currently in Chinese.
Important limits
- Saving an explicit
maxTokensalso sets the default output limit for requests, not just a displayed capacity. - Reasoning effort levels are only filled when recognized from an official model catalog. Merely knowing that a model can reason does not establish supported effort levels. Manually enabling reasoning defaults to
medium, which is a plugin default rather than verified provider support. - Saved prices are unit rates, not a bill. Session cost calculation and integration with DSH's native usage statistics are not implemented.
- Switching currency replaces that model's previously saved rates in the other currency. Complex or tiered prices are not converted into a fixed rate.
The plugin does not fetch catalogs or edit models automatically at startup. Catalog requests run through the host when needed; provider discovery uses DSH's configured credentials. API keys are not returned to the plugin's browser UI or sent to reference catalogs. Model fields and plugin prices are saved through Settings to the active profile's cordis.patch.yml.
Documentation and license
- Editor and troubleshooting
- Pricing and currency behavior
- Development and compatibility
- Source references and third-party notices
MIT licensed. See LICENSE and THIRD_PARTY_NOTICES.md. When reporting a problem, include the host and plugin versions, reproduction steps, and redacted errors, never API keys or a full profile configuration.
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 90775
Adds free model lanes to DeepSeek Harness — DeepSeek V4.1 Flash, Kimi K3 and others — with no login, sign-up or API key, plus a local OpenAI-compatible gateway, fallback routing and a usage dashboard.
dingminhua/dsh-connect-workbuddy★ 2129
Connects locally signed-in WorkBuddy models, CN and international alike, to DSH, reading each model's credit multiplier from the upstream catalog on every refresh, with per-model image input toggles, account switching backed by an auto-failing-over pool, manual daily check-in, and read-only credit overviews shown as compact pills on the card and in the composer.
Alice-Marx/dsh-model-router★ 1026
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
V1ki/dsh-plugin-subscriptions★ 646
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
XDTrees/dsh-workbuddy-xdpool★ 638
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool (multi-account rotation, live credits, and a model catalog showing per-model credit multipliers and free/night-discount tags).
XDTrees/dsh-xdpool★ 638
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool: multi-account rotation, 429 cooldowns, live credits, a model catalog with per-model credit multipliers and free/night-discount tags, QR-code login for 13 vendors, and aggregate free-tier channels. Accounts persist across restarts.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.