services / openai-api

OpenAI API (api.openai.com) IP ranges

Not published. This vendor states that IP allowlisting is not the supported way to secure this integration.

what the vendor says

api.openai.com resolves into Cloudflare's published ranges (verified 2026-07-30: 172.66.0.243 within 172.64.0.0/13, 162.159.140.245 within 162.158.0.0/15), so pinning it would allowlist the whole CDN rather than OpenAI.

Source: https://www.cloudflare.com/ips/. That page is where this entry comes from, so you can check it rather than take our word for it.

what this vendor does publish

The same company publishes the addresses OpenAI connects to you from for OpenAI egress, which is in the catalog and can be pinned. The gap above applies to this product, not to everything they run.

what to do instead

Pick the control the vendor actually supports, and keep it scoped to the one workload that needs it:

the rest of your stack

One unpinnable dependency does not stop you pinning the others. The catalog covers the vendors that do publish official ranges, and the vendor report scores how well each one publishes.