anomalyco / anomalyco/opencode

[FEATURE]: Filter OpenRouter models by user provider preferences, privacy settings, and guardrails

Open
#47,435 0 comments 1 reaction 1 assignee View on GitHub

@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.dev snapshot (provider.tsmodels.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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.