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
OpenRouter.ai provider: Not listing google/gemma-3-27b-it:free variant #10748
When I connect OpenCode to my OpenRouter.ai account, it does not show the google/gemma-3-27b-it:free variant:
It shows (free) variants of other Gemma models, but not Gemma 3 27b IT specifically.
I tried selecting the non-free version, and it just throws this error:
"Provider returned error"
Which is not super helpful.
When I increase my budget on my OpenCode API key (I had it set to $0 to prevent it from using the non-free version) and now I see it hitting other models rather than the one I selected:
And it still throws the "Provider returned error" message.
Plugins
None
OpenCode version
1.1.36
Steps to reproduce
Connect to OpenRouter.ai and try to select google/gemma-3-27b-it:free variant
These issues all relate to OpenRouter model discovery, free variant availability, and provider fallback logic. Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Jan 26, 2026
This issue might be a duplicate of existing issues. Please check:
These issues all relate to OpenRouter model discovery, free variant availability, and provider fallback logic. Feel free to ignore if none of these address your specific case.
cravenceiling commentedon Jan 27, 2026
I think it's because the model isn't in the models.dev database. That's where opencode gets its model information, so it needs to be added there (https://github.com/anomalyco/models.dev).
Also, be careful because you are trying to use the openrouter provider with the zen provider, they're not the same.
jeremyakers commentedon Jan 27, 2026
"trying to use the openrouter provider with the zen provider, they're not the same"
I know they are not the same. I am only using OpenRouter here, not Zen.
wang1212 commentedon Feb 8, 2026
This is a long-standing and unresolved problem, resulting in a very poor user experience for developers.
cravenceiling commentedon Feb 8, 2026
I already see that model...
Try again after running
opencode models --refresh. Also, you need to setup the openrouter provider to see its models.github-actions commentedon Apr 10, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.