opencode-disable-zenOpenCode plugin to disable Zen provider for safe use at work
7
96
25 in 7 days
27.4
Multi-signal model
7 months ago
2026-01-08
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-disable-zen@1.0.6"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-disable-zen@1.0.6"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-disable-zenopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
OpenCode plugin to disable Zen provider for safe use at work.
Why?
OpenCode Zen's free models may collect data for model training during their free period:
| Model | Data Collection |
|---|---|
grok-code |
May be used to improve Grok Code |
glm-4.7-free |
May be used to improve the model |
minimax-m2.1-free |
May be used to improve the model |
big-pickle |
May be used to improve the model |
Source: OpenCode Zen Privacy Policy
Installation
Quick Install (Recommended)
npx opencode-disable-zen install --global
Manual Install
Add to your ~/.config/opencode/opencode.json:
{
"plugin": ["opencode-disable-zen"]
}
What it does
Adds "opencode" to disabled_providers list, preventing Zen models from being used.
CLI Commands
npx opencode-disable-zen install --global # Add to global config
npx opencode-disable-zen uninstall --global # Remove from global config
npx opencode-disable-zen --help # Show help
For oh-my-opencode users
If you're using oh-my-opencode, also update your agent models:
{
"agents": {
"explore": { "model": "anthropic/claude-haiku-4-5" },
"librarian": { "model": "anthropic/claude-sonnet-4-5" }
}
}
Alternative: Config-only approach
If you prefer not to use a plugin:
{
"disabled_providers": ["opencode"]
}
License
MIT