Editor's note

xiaozhe7772222/dsh-opencode-zen

OpenCode Zen free-tier models for DeepSeek Harness: zero-config public-key provider with quota-aware pacing.

This is a DeepSeek Harness (DSH) plugin. Review its GitHub README, installation information, maintenance status, and public security signals here.

dsh-opencode-zen

0 元接入 6 个免费大模型 —— 把 OpenCode Zen 免费档模型装进 DeepSeek Harness,零配置、免注册、免充值,装完即用。

English


为什么用这个插件?

你正在看的这段对话,就是由它驱动的:DeepSeek V4 Flash,免费额度,一分钱没花。

  • 💰 真免费 —— 官方免费档用字面量 key public 认证,不需要注册、不需要充值、不需要 API Key
  • 🧮 6 个免费模型 —— DeepSeek V4 Flash、小米 MiMo、腾讯混元、NVIDIA Nemotron 双雄、Laguna S 2.1,随便挑
  • 即装即用 —— 装完重启 dsh web,模型选择器里直接多出 opencode 路由,无需任何配置
  • 🔑 额度叠加 —— 配合 dsh-api-key-pool 多 Key 轮换,多个免费账号额度自动叠加、自动切换
  • 🛡️ 额度友好 —— 内置 429/5xx 退避重试与请求节流,不会一把打爆免费额度
  • 🧠 能力齐全 —— 流式输出、推理内容(reasoning)透传、工具调用,和付费模型体验一致

模型列表(6 个免费模型)

模型上下文窗口备注
deepseek-v4-flash-free200kDeepSeek V4 Flash · 推理 + 工具调用,日常主力
mimo-v2.5-free200k小米 MiMo 2.5
hy3-free200k腾讯混元
nemotron-3-ultra-free131,072NVIDIA Nemotron 3 Ultra
nemotron-3.5-lightning-free131,072NVIDIA Nemotron 3.5 Lightning
laguna-s-2.1-free200kLaguna S 2.1

推理强度:off / low / high(默认)/ max,想要多快或多深随你调。

安装

dsh plugin --profile web add github:xiaozhe7772222/dsh-opencode-zen

重启 dsh web设置 → 模型 → 选择提供器 opencode → 挑一个免费模型(推荐 deepseek-v4-flash-free),开聊。

配置(可选,默认零配置)

多账号额度叠加(推荐)

  1. 安装 dsh-api-key-pool
  2. 在它的 pool 配置里为 opencode 添加你的多个 key
  3. 插件自动读取并轮换使用,多账号免费额度叠加

环境变量

启动 dsh web 前设置 OPENCODE_ZEN_API_KEYOPENCODE_GO_API_KEY 即可。

什么都不配也行——插件最终兜底到官方公开档 public

原理

通过 ctx.llm.registerAdapter(['opencode'], adapter) 注册 LLM 提供器路由,把 OpenCode Zen 免费模型挂进 DSH 模型体系,会话模型、子代理都能用。

许可

MIT

REPOSITORY SIGNALS

Security & install evidence

This score is based solely on public repository metadata and the install evidence registered here — it is not a code security audit.

Traceable source

From a public plugin catalog, linked to a public GitHub repository.

License

The repository declares the MIT license.

Maintenance activity

Code updates within the last 180 days.

Install evidence

No verifiable install metadata registered yet — please review the repository instructions manually.

Install lifecycle scripts

The inspected package metadata declares no install lifecycle scripts.