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

Open
opened 2026-02-16 18:07:37 -05:00 by yindo · 3 comments
Owner

Originally created by @Sina-Haz on GitHub (Jan 25, 2026).

Originally assigned to: @rekram1-node on GitHub.

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

Originally created by @Sina-Haz on GitHub (Jan 25, 2026). Originally assigned to: @rekram1-node on GitHub. ### 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 <img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/19b1fa2b-8d31-4798-a9e6-c75804b850a7" /> ### Operating System macOS ### Terminal iTerm
yindo added the bug label 2026-02-16 18:07:37 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 25, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #4734: [FEATURE]: Refresh models manually - Directly addresses the core request to manually refresh the model list
  • #6231: Auto-discover models from OpenAI-compatible provider endpoints - Addresses broader model discovery issues
  • #6743: Google models list outdated in TUI - missing Gemini 3 models - Same root cause of stale model lists
  • #7714: The cache of the Provider's Models cannot be updatable - Directly addresses inability to update cached model lists
  • #10557: pinning OpenRouter provider doesn't work - OpenRouter-specific configuration issue
  • #7417: Crashes on connecting OpenRouter Provider - OpenRouter connection issues

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 25, 2026): This issue might be a duplicate of existing issues. Please check: - #4734: [FEATURE]: Refresh models manually - Directly addresses the core request to manually refresh the model list - #6231: Auto-discover models from OpenAI-compatible provider endpoints - Addresses broader model discovery issues - #6743: Google models list outdated in TUI - missing Gemini 3 models - Same root cause of stale model lists - #7714: The cache of the Provider's Models cannot be updatable - Directly addresses inability to update cached model lists - #10557: pinning OpenRouter provider doesn't work - OpenRouter-specific configuration issue - #7417: Crashes on connecting OpenRouter Provider - OpenRouter connection issues Feel free to ignore if none of these address your specific case.
Author
Owner

@ariane-emory commented on GitHub (Jan 25, 2026):

For reference, models are fetched from https://models.dev, not directly from OpenRower.

@ariane-emory commented on GitHub (Jan 25, 2026): For reference, models are fetched from https://models.dev, not directly from OpenRower.
Author
Owner

@APonce911 commented on GitHub (Feb 15, 2026):

I had the same problem for tngtech/deepseek-r1t2-chimera:free and noticed that even getting this error was being charged on open router for other model usage.

Image Image
@APonce911 commented on GitHub (Feb 15, 2026): I had the same problem for tngtech/deepseek-r1t2-chimera:free and noticed that even getting this error was being charged on open router for other model usage. <img width="1330" height="805" alt="Image" src="https://github.com/user-attachments/assets/9c6014a2-3135-4654-bfbc-0cb8d92d1fa3" /> <img width="1456" height="819" alt="Image" src="https://github.com/user-attachments/assets/36077cf9-7323-44c7-b510-0221fa60e90b" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7572