You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Filter OpenRouter models by user provider preferences, privacy settings, and guardrails #35506
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Summary
When a user connects an OpenRouter API key to OpenCode, the model list currently comes from the static models.dev snapshot (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.
OpenRouter provides a dedicated endpoint for this:
GET https://openrouter.ai/api/v1/models/user
Activity
github-actions commentedon Sep 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
ChihweiLHBird commentedon Sep 5, 2026
This still matters. Can we re-open it?