#Can I attach only one model to API Key ????

2 messages · Page 1 of 1 (latest)

spark trail
#

I have multiple API Key which I am using for different purpose. I want to make sure Single selected model only use for the API Key. Like for Key1 = Google GeminiPro for Key 2 = Claude Sonnet 4. I want to feeze model to key. How can I do it.

proud orchidBOT
#
FAQ Bot Response

You cannot directly attach or freeze a single model to an API key in OpenRouter. Instead, you specify the model you want to use in each API request by setting the model parameter. For example, when using Key1, include "model": "google/gemini-pro" in the request, and for Key2, use "model": "anthropic/claude-sonnet-4". This way, each API key can be used with different models as you control the model selection in your requests.

Would you like guidance on how to structure these API requests for different models?