-
Create multiple personal API keys to protect your OpenAI key from being leaked.
-
Only APIs related to GPT Chat are allowed to pass, in order to prevent hackers from accessing account privacy information using undisclosed API interfaces.
-
Auditing third-party software access to the OpenAI API through Cloudflare logs.
-
Support for Organization ID is provided, which allows customized KEYs to be converted to OpenAI_API_Key + OpenAI_Org_ID for compatibility with the vast majority of OpenAI API programs.
-
Compatible with ChatGPT Next Web, chatbot-ui, chatgpt-web, OpenCat, and other projects.
-
Supports OpenAI's streaming output for a better user experience.
-
Register and log in to your Cloudflare account.
-
Navigate to the "Workers" section and create a new Worker by clicking the "Create a service" button.
-
Click "Quick edit" and paste the contents of "worker.js" into the Cloudflare Worker code editor. Modify the "subKey" variable in the code editor and click "Save and deploy" when finished.
-
Add a custom domain by going to the Worker details page and selecting "Triggers" -> "Custom Domains" -> "Add Custom Domain". Provide a custom domain name relevant to this service.
-
Follow the instructions provided by the OpenAI software to fill in the custom domain name.