Skip to content

No endpoints found error from Openrouter -> Should be able to re-fetch/update model list #10594

@Sina-Haz

Description

@Sina-Haz

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

  1. Add Openrouter API key (using free account)
  2. Select one of the Openrouter free models (issue isn't for all of them but some e.g. deepseek/deepseek-r1:free or mistralai/devstral-small-2505:free.
  3. Get error like: No endpoints found for mistralai/devstral-small-2505:free.

Screenshot and/or share link

Image

Operating System

macOS

Terminal

iTerm

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions