- Home
- Plugins
- Models & Providers
- dsh-openkodo-provider
dsh-openkodo-provider
skylloolo/dsh-openkodo-provider
Connects DSH to OpenKodo chat models available to the current API key, with supported thinking levels, shared subscription usage bars and a model visibility checklist in Settings.
Install
dsh plugin --profile web add github:skylloolo/dsh-openkodo-providerREADME
OpenKodo provider for DeepSeek Harness
Use OpenKodo chat models and their supported thinking levels in DeepSeek Harness. The model picker shows chat models verified for your key. Settings → OpenKodo manages the key, shared subscription usage and model visibility. This is an independent integration, not an official OpenKodo plugin.
在 DeepSeek Harness 中使用 OpenKodo 对话模型。「设置 → OpenKodo」可保存密钥、查看月度和滚动额度、选择要显示的模型;可用的思考档位由 OpenKodo 按当前账号返回。本项目与 OpenKodo 官方无隶属关系。
Install and configure / 安装与配置
- Download
dsh-openkodo-provider-0.4.7.tgzfrom the v0.4.7 GitHub Release, then choose Plugins → Add plugin in DSH and select the local.tgz. For CLI users, rundsh plugin --profile <profile> add ./dsh-openkodo-provider-0.4.7.tgz. This registers theopenkodoprovider; no plug-in build or npm account is required. - Create an API key in the OpenKodo console. Open Settings → OpenKodo and save it. The default credential reference is
OPENKODO_API_KEY. - Pick an OpenKodo model in the composer. If OpenKodo reports supported reasoning levels for that exact model and key, select an effort in the native model menu. Provider default leaves the setting to OpenKodo; Off is shown only when the gateway reports a supported way to disable thinking.
中文快速安装:从上面的 GitHub Release 下载 .tgz → 在 DSH「插件 → 添加插件」选择本地文件 → 在「设置 → OpenKodo」保存密钥 → 在对话输入框选择 OpenKodo 模型。该包在 DSH 0.2.2-rc.5 上验证;CLI 需要 Node.js 24.9.0 或更新版本。
Install from Discover: enable DSH's optional Custom Plugin Index bundle, then add this maintainer-provided index URL via Plugins → Discover → Add index source. Search for OpenKodo provider. This index pins an exact release commit and does not require npm or approval by a community directory.
**从「发现」安装:**启用「自定义插件索引」,在「插件 → 发现 → 添加索引源」粘贴上面的索引地址,再搜索「OpenKodo 模型接入」。这是作者维护的索引,不等同于第三方市场审核通过。
Avoid conflicts: this bundle is dsh-openkodo-provider; its provider ID stays openkodo so saved model selections keep working. It is a separate project from the community dsh-openkodo package, which also registers an openkodo route. Do not install both in one profile. If you installed this plugin earlier under the name dsh-openkodo, remove that bundle first and re-save the profile row under the new name. When replacing an earlier local build or a different OpenKodo provider, remove the old bundle before installing this one, and confirm that the expected provider and key are selected before sending a request.
A key saved in the DSH credential store takes priority over one in the launch environment. Clearing a stored key can reveal the environment fallback. Disabling the plugin does not delete its key.
What the page shows
The dashboard puts shared subscription usage first: the 5-hour, 7-day and monthly cards show percent used and the amount used against the limit. Narrow settings panels stack the cards. The header links to the official usage page and jumps to the key editor at the bottom.
| Where | Data and units |
|---|---|
| Monthly pool | Subscription allowance used and included, shown in $, with the renewal time when available. |
| 5-hour and 7-day windows | Shared rolling usage and limits, shown in $. The 7-day card shows the next reported release time when valid. |
| Model checklist | A searchable checklist with account access notes and two columns when space permits. No rates are shown. |
OpenKodo's billing guide distinguishes subscription credits from wallet dollars. Its plugin usage API reports shared account totals, not per-model money spent, per-model monetary balance, or wallet balance. The plugin does not estimate those fields from prices or request counts. period_end is the monthly renewal time. The 7-day card shows the reported expiry of the oldest usage only when it is future-dated and plausible for the window. This is when some usage starts to roll off, not a full weekly reset. For account-wide cost trends and actual costs by model, use the official usage dashboard.
The model checklist does not change model preferences until saved. Automatic follows chat models available to the current key, including future additions; Explicit selection shows the intersection of saved IDs and available models. Saved preferences are retained when a model is absent or unavailable, so it can reappear on recovery without another save. Hiding a model leaves existing sessions free to use it if it is still routable.
Refresh models checks both the public pricing catalogue and the authenticated model list, bypassing their caches. A public listing is not evidence that a model is available to every key. If OpenKodo's authenticated list omits it, it can still appear as unavailable in Settings, but not as a new choice in the composer. A temporary outage can retain the last verified list for the same key, marked stale; an empty verified list, a rejected key, or replacing the key does not retain older account results. If the public catalogue has never loaded, account verification still runs and confirmed chat models can still appear.
Advanced profile configuration
The schema retains these settings, but the UI intentionally has no endpoint cards.
| Key | Default | Meaning |
|---|---|---|
apiKeyEnv | OPENKODO_API_KEY | Credential reference. |
baseURL | https://api.openkodo.dev/v1 | Inference endpoint root; its HTTPS /models route supplies account availability and thinking levels. A custom base URL must be trusted with the key. |
catalogURL | https://api.openkodo.dev/api/public/models | Unauthenticated public catalogue. |
usageURL | https://api.openkodo.dev/api/plugin/usage | HTTPS authenticated endpoint, called only by the Host. A custom endpoint must be trusted with the key. |
displayName | OpenKodo | Provider display name. |
models | [] | Empty means automatic, otherwise a picker allowlist. |
catalogMaxAgeMs | 600000 | Cache lifetime for the public catalogue and authenticated capabilities. |
catalogTimeoutMs | 8000 | Deadline for each catalogue or capability request. |
usageCacheMs | 30000 | Authenticated snapshot cache lifetime. |
usageTimeoutMs | 10000 | Usage deadline. |
The Host fetches the public price list without a key and uses the key only for authenticated OpenKodo requests, including its account model list. The settings RPCs return normalized fields, not the API key, account email, or raw vendor responses. Video models are excluded from the chat picker. The same model refresh updates the supported thinking levels in the native model chooser; if OpenKodo reports no levels for an exact model ID, the plugin does not invent them.
Development checks
From the source checkout with DSH's Host dependencies resolvable:
npm test
The offline tests cover Host contracts, static client checks and reasoning-effort serialization through the Pi adapter. They do not need an account key and are not a desktop UI test. Test scripts are not part of the install bundle. The GitHub Release asset is the prepackaged install artifact; the repository contains the JavaScript source.
Related plugins
dsh-our-free-model
ebony-vinyl/dsh-our-free-model
dsh-routing-suite
yjh051108/dsh-routing-suite
dsh-connect-workbuddy
dingminhua/dsh-connect-workbuddy
dsh-workbuddy-connect
corrinehu/dsh-workbuddy-connect