Adds Token Market as an OpenAI-compatible model provider with DeepSeek V4 Pro, Kimi K3, and GLM-5.3.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-plugin-tokenmarket
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:FitBBC/dsh-plugin-tokenmarket
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
An installable DeepSeek Harness Profile Bundle that adds Token Market as an OpenAI-compatible model provider.
Features
- One Token Market API key for multiple model families.
- Streaming responses and tool calling through the Harness pi-ai adapter.
- Reasoning output through the DeepSeek-compatible thinking format.
- Live model discovery through
GET /v1/models. - Credentials stay outside the repository and configuration file.
The starter catalog includes DeepSeek V4 Pro, Kimi K3, and GLM-5.3. The catalog is intentionally small so every bundled model can be tested and kept current. These models were confirmed available through Token Market on September 10, 2026.
Requirements
- DeepSeek Harness developer preview compatible with
0.1.5-rc.1. - Node.js
^22.19.0or>=24.0.0. - A Token Market API key from the Token Market Console.
Install
Install the bundle into a Harness profile:
dsh plugin --profile web add github:FitBBC/dsh-plugin-tokenmarket
Verify that the bundle is present in the composed profile:
dsh --profile web --dump-config
Set the credential in your environment or a Harness-supported .env file:
TOKENMARKET_API_KEY=your_api_key
Restart the profile after adding the bundle:
dsh --profile web
Token Market will appear as the tokenmarket provider.
Verify the live catalog
TOKENMARKET_API_KEY=your_api_key npm run check:models
This command calls the authenticated Token Market model endpoint and fails if one of the bundled starter models is no longer available.
How it works
This package is a configuration-only Harness Profile Bundle. Its
cordis.patch.yml mounts the official @deepseek-ai/dsh-llm-pi-ai adapter and
registers a tokenmarket route with:
- API base URL:
https://api.tokensmarket.ai/v1 - Protocol:
openai-completions - Credential reference:
TOKENMARKET_API_KEY
See the Token Market documentation for API details and the model catalog for current availability and pricing.
Development
npm test
npm pack --dry-run
License
MIT
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 47046
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★ 721
Connects locally signed-in WorkBuddy models to DSH, supports per-model image input opt-in, account switching, and a read-only credits overview with daily check-in.
V1ki/dsh-plugin-subscriptions★ 521
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.
Mars-Sea/dsh-commandcode-provider★ 441
Unofficial Command Code LLM provider: registers a `commandcode` route with a live model catalog and reasoning-effort support.
Alice-Marx/dsh-model-router★ 405
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
FishBottle7/opencode2dsh★ 365
Exposes OpenCode Zen free models to DeepSeek Harness, with no API key.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.