|
Hello, is it possible to select a specific provider in openrouter for a given model (Groq, NovitaAI, etc.)? Thanks for your help! |
Answered by
crmne
Mar 2, 2026
Replies: 2 comments
|
Yes, the openrouter model names are prefixed by provider. |
0 replies
Answer selected by
crmne
|
A correction to my earlier answer: a model's namespace does not select the upstream provider serving it. With RubyLLM 2.0, pass OpenRouter's routing options through chat.with_provider_options(provider: { order: ["groq"], allow_fallbacks: false })Use a provider that serves your selected model. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, the openrouter model names are prefixed by provider.