Cannot disable Zen provider #4250

Closed
opened 2026-02-16 17:43:10 -05:00 by yindo · 4 comments
Owner

Originally created by @spiffytech on GitHub (Jan 5, 2026).

Originally assigned to: @fwang on GitHub.

Description

My employer has strict rules about which providers we're allowed to use. I want to be sure I don't accidentally use a Zen model that collects data during its training period.

I added the following to my opencode.json:

 "disabled_providers": ["zen"],

But the Zen provider & models are still listed in the model picker.

Plugins

No response

OpenCode version

1.1.2

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Fedora Linux'

Terminal

WSL2 Windows terminal

Originally created by @spiffytech on GitHub (Jan 5, 2026). Originally assigned to: @fwang on GitHub. ### Description My employer has strict rules about which providers we're allowed to use. I want to be sure I don't accidentally use a Zen model that collects data during its training period. I added the following to my `opencode.json`: ```json "disabled_providers": ["zen"], ``` But the Zen provider & models are still listed in the model picker. ### Plugins _No response_ ### OpenCode version 1.1.2 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System Fedora Linux' ### Terminal WSL2 Windows terminal
yindo added the bugzen labels 2026-02-16 17:43:10 -05:00
yindo closed this issue 2026-02-16 17:43:10 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 5, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #3417: when a provider is defined and added to disabled - it is still used
  • #4407: disabled_providers config for Bedrock ignored when AWS credentials available via environment variables
  • #4476: /models shows all available models rather than those restricted in opencode.json.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 5, 2026): This issue might be a duplicate of existing issues. Please check: - #3417: when a provider is defined and added to disabled - it is still used - #4407: disabled_providers config for Bedrock ignored when AWS credentials available via environment variables - #4476: /models shows all available models rather than those restricted in opencode.json. Feel free to ignore if none of these address your specific case.
Author
Owner

@justfortheloveof commented on GitHub (Jan 5, 2026):

Perhaps the provider for it is not zen but opencode?

If you run opencode models you can see the provider name listed:

$ opencode models
opencode/big-pickle
opencode/glm-4.7-free
opencode/gpt-5-nano
opencode/grok-code
opencode/minimax-m2.1-free
[...]
@justfortheloveof commented on GitHub (Jan 5, 2026): Perhaps the provider for it is not `zen` but `opencode`? If you run `opencode models` you can see the provider name listed: ``` $ opencode models opencode/big-pickle opencode/glm-4.7-free opencode/gpt-5-nano opencode/grok-code opencode/minimax-m2.1-free [...] ```
Author
Owner

@rekram1-node commented on GitHub (Jan 5, 2026):

@spiffytech just do:

"disabled_providers": ["opencode"],

@rekram1-node commented on GitHub (Jan 5, 2026): @spiffytech just do: "disabled_providers": ["opencode"],
Author
Owner

@spiffytech commented on GitHub (Jan 5, 2026):

Works great, thanks!

@spiffytech commented on GitHub (Jan 5, 2026): Works great, thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4250