Brings platform.qianwenai.com into DSH: Token Plan and pay-as-you-go providers, a model catalog with pricing, credits and quota readout, and thinking-mode controls. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-qianwen
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:moqiaoduo/dsh-qianwen
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
This plugin publishes its README in Chinese only.
把 platform.qianwenai.com 的 Token Plan 与按量付费两条通道接进 DeepSeek Harness:注册两条 OpenAI 兼容 provider 路由、提供模型目录与按通道定价、查询剩余额度,并控制思考模式档位。
功能
- 双通道 provider:
qianwen-token-plan与qianwen由插件自行注册,不写进llm-pi-ai的配置文档;两条路由各有自己的 Key,分别存入 DSH 凭据服务。 - 模型目录与定价:从官方 CLI 读取全量目录,只保留文本进/文本出的模型;Token Plan 侧显示 Credits/1M,按量付费侧显示 ¥/1M。
- 按通道管理模型:两条通道各有停用黑名单,页面分 tab 展示,支持标签筛选与批量勾选;停用的模型不进模型选择器。
- 额度与登录:设置页与侧边栏额度条显示套餐档位、用量、余额与免费额度;插件内通过 CLI device flow 登录,无需终端。
- 思考档位:可设置默认思考强度(关/低/中/高);档位按通道记忆,重启后保留,不兼容的模型自动降级而非报错。
完整说明(配置字段、实现细节、已知限制)见 docs/DETAIL.md。
安装
发布到 npm 后:
dsh plugin --profile web add dsh-qianwen
未发布时可在 Web GUI 的 Plugins → Add plugin 选择本目录安装。要求 DSH >=0.2.2-rc.5。
前置条件
- 官方 CLI:
npm i -g @qianwenai/qianwen-cli(也可在设置页点「安装 CLI」,装到插件数据目录,不动全局 npm)。 - 一次千问账号登录:在设置页点「登录千问账号」,在浏览器确认授权链接即可。
已知限制
- 登录令牌有效期固定 48 小时且无 refresh token,过期后需在设置页重新登录。
- 目录只含文本进/文本出的对话模型,不含图片/视频生成模型。
- 默认思考强度按通道记忆,不按单个模型记忆。
索引
仓库根的 market-index.json 是一份 DSH format 1 索引样例;自建索引源时在「插件 → 发现 → 索引源」添加其托管 URL 即可。
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 89228
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★ 2083
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★ 1023
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
V1ki/dsh-plugin-subscriptions★ 644
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★ 631
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★ 631
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.