-
Notifications
You must be signed in to change notification settings - Fork 14.6k
No endpoints found error from Openrouter -> Should be able to re-fetch/update model list #10594
Description
Description
Using opencode with openrouter as my provider.
I notice that when I use /models I am not able to find some of the currently popular models in Openrouter by searching for them and thus can't select (e.g. Can't search for MiMo-V2-Flash, even though currently its the 2nd most popular model on Openrouter)
Furthermore, many of the models which it does enable me to search/select then don't work when I submit a chat to them (i.e Devmistral (free) and R1 (free)). I get the error:
no endpoints found for {ai-company}/{ai-model}:free
Looking into openrouter error messages this indicates that the requested model must have changed names (i.e. it may no longer be free).
Is it possible for you to give users an option to update the model list and fetch again or something? Is there perhaps a naming conflict where openrouter names the same model slightly differently than another provider and the search is only finding
Plugins
using TUI
OpenCode version
1.1.36
Steps to reproduce
- Add Openrouter API key (using free account)
- Select one of the Openrouter free models (issue isn't for all of them but some e.g.
deepseek/deepseek-r1:freeormistralai/devstral-small-2505:free. - Get error like:
No endpoints found for mistralai/devstral-small-2505:free.
Screenshot and/or share link
Operating System
macOS
Terminal
iTerm