Is there a way to use models from open router by the api key?
I mean, I have credits in open router to use different kind of models, and I would like to use them in cursor chat or agent (or both) like we do in open code
Is this possible? Thanks!
Is there a way to use models from open router by the api key?
I mean, I have credits in open router to use different kind of models, and I would like to use them in cursor chat or agent (or both) like we do in open code
Is this possible? Thanks!
Hey, OpenRouter isn’t officially supported as a BYOK provider yet. The only ones in the list are OpenAI, Anthropic, Google AI, Azure OpenAI, and AWS Bedrock.
There’s a workaround using Override OpenAI Base URL, and it works partially:
https://openrouter.ai/api/v1Details and discussion in the canonical thread: How to add open router api key and use its models
Caveats to keep in mind:
If you want native support, there’s an open feature request you can upvote: It would be great we can connect OpenRouter by API Key