xiaozhe7772222/dsh-opencode-zen

插件Plugin 原生Native ⭐ 8 MIT 其他Other

Six free LLMs for DeepSeek Harness, zero config, zero cost. Brings the OpenCode Zen free tier into your DSH model picker — no signup, no API key, no billing.

catalog 简介 / catalog descriptioncatalog description:0 元接入 6 个免费大模型:OpenCode Zen 免费档模型零配置接入 DeepSeek Harness,免注册免充值,内置 6 个免费模型,多 Key 轮换与限流退避。

项目介绍Project Overview

DSH 插件 dsh-opencode-zen 将 OpenCode Zen 免费层接入 DSH 模型选择器,提供六款免配置、零费用的 LLM,包括 DeepSeek V4 Flash、Xiaomi MiMo、Tencent Hunyuan、两款 NVIDIA Nemotron 与 Laguna S 2.1,支持流式输出、推理内容透传与工具调用。适用于希望零成本使用多模型、又不愿注册账号或管理 API Key 的用户。可与 dsh-api-key-pool 搭配轮询配额。注意:免费层存在每 IP 速率限制,遇 429 需等待或启用多账号轮换,且服务可用性与配额取决于 OpenCode Zen 政策。

dsh-opencode-zen is a DSH plugin that adds the OpenCode Zen free tier to the model picker, exposing six free LLMs: DeepSeek V4 Flash, Xiaomi MiMo, Tencent Hunyuan, two NVIDIA Nemotrons, and Laguna S 2.1. It supports streaming, reasoning-content passthrough, and tool calls with zero configuration or signup. Use it for cost-free multi-model access, optionally paired with dsh-api-key-pool for round-robin quota rotation. Caveat: the public free tier enforces per-IP rate limits and returns 429 when exceeded, so heavy usage requires multiple accounts or waiting for quota reset.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

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

xiaozhe7772222/dsh-opencode-zen 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-opencode-zen

Six free LLMs for DeepSeek Harness, zero config, zero cost. Brings the OpenCode Zen free tier into your DSH model picker — no signup, no API key, no billing.

中文说明


Why?

The conversation you're reading right now is powered by this plugin: DeepSeek V4 Flash on the free tier, for free.

  • 💰 Actually free — the official free tier authenticates with the literal key public; no account, no signup, no API key.
  • 🧮 Six free models — DeepSeek V4 Flash, Xiaomi MiMo, Tencent Hunyuan, two NVIDIA Nemotrons, and Laguna S 2.1.
  • Install & go — restart dsh web and the opencode route appears in the model selector; no configuration needed.
  • 🔑 Stack quotas — pairs with dsh-api-key-pool for round-robin rotation across multiple free accounts, automatically.
  • 🛡️ Quota-aware — built-in 429/5xx backoff and request throttling so you never blow through the free quota.
  • 🧠 Full parity — streaming, reasoning-content passthrough, and tool calls, same experience as paid models.

Models (6 free models)

Model Context window Notes
deepseek-v4-flash-free 200k DeepSeek V4 Flash · reasoning + tool calls, daily driver
mimo-v2.5-free 200k Xiaomi MiMo 2.5
hy3-free 200k Tencent Hunyuan
nemotron-3-ultra-free 131,072 NVIDIA Nemotron 3 Ultra
nemotron-3.5-lightning-free 131,072 NVIDIA Nemotron 3.5 Lightning
laguna-s-2.1-free 200k Laguna S 2.1

Reasoning effort: off / low / high (default) / max.

Installation

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

Restart dsh webSettings → Models → pick provider opencode → choose a free model (start with deepseek-v4-flash-free).

Configuration (optional — zero config by default)

Stack multiple accounts

  1. Install dsh-api-key-pool.
  2. Add your keys under the opencode pool.
  3. The plugin picks them up automatically and rotates round-robin.

Environment variables

Set OPENCODE_ZEN_API_KEY or OPENCODE_GO_API_KEY before starting dsh web.

Nothing configured? It falls back to the official public tier (public).

Troubleshooting

Q: Model returns 429 Too Many Requests? A: The free tier has per-IP rate limits. Wait 30–60 seconds, or install dsh-api-key-pool to rotate across multiple keys automatically.

Q: opencode provider doesn't appear in model selector? A: Restart dsh web fully (not just refresh). Verify installation with dsh plugin --profile web list.

Q: Which DSH versions are supported? A: DSH 0.8.0+ with the ctx.llm.registerAdapter API. Older versions may need manual route registration.

Q: Are these models really free forever? A: They use OpenCode Zen's official public free tier. Service availability and quota limits are subject to OpenCode Zen's policies — this plugin is just a client adapter.

How it works

Registers an opencode LLM provider route via ctx.llm.registerAdapter(['opencode'], adapter), exposing the OpenCode Zen free models to session models and sub-agents alike.

License

MIT

上一个 Prev dsh-backup 下一个 Next dsh-feishu