When making requests to OpenAI, replace https://api.openai.com/v1 in the URL you’re currently using with https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/openai.
Examples
If you’re using a library like openai-node, set the baseURL to your OpenAI endpoint like this: