anomalyco / anomalyco/opencode
[FEATURE]: Filter OpenRouter models by user provider preferences, privacy settings, and guardrails
@kitlangton is already working on this.
Since Sep 5, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Previous closed issue: https://github.com/anomalyco/opencode/issues/35506
The bot said:
If the issue is still relevant please open a new one.
So I am opening a new one here
That issue still matters. I think OpenCode may consider a re-design of the models list mechanism.
When a user connects an OpenRouter API key to OpenCode, the model list currently comes from the static
models.devsnapshot (provider.ts→models.dev). It is not filtered by the user's OpenRouter account settings (provider preferences, privacy settings, guardrails, etc.). This causes OpenCode to display models that users explicitly disabled in their OpenRouter accounts.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.