#Is there an API to check if an API Key has access to GPT4?
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
I want to give my users the option to use GPT4 but I only want them to see the option to use GPT4 if their API key has access to it. What is the best way to do this?
Can you just query the models endpoint with the api key, to see if gpt4 is an available model for the calling key?
Yup! I can do that. That's exactly what I needed. Thanks!