OpenAI's "bring your own key" policy

I’m interested in potentially building an application where users can enter their own OpenAI API key into my application and use the service that way. This key may be stored in a database by my application. I’m wondering what is the OpenAI policy on letting users bring their own key? Is there any commercialization challenges and restrictions in doing so? Maybe guidelines on best practices which could be helpful I could check out?

Thank you!

1 Like

Thanks for checking. For security purposes, users are not permitted to share their API keys with others, including via bring-your-own-key applications.

We will work to make this clearer in our documentation; we are also considering technical solutions that may allow users to authenticate with a service without sharing their actual API key.

8 Likes