OpenAI IP ranges
- IPv4 ranges
- 419
- IPv6 ranges
- 0
- Provider date
- 04.12.2026
- Last change
- 06.12.2026
- Last check
- 06.12.2026
One range per line, IPv4 first, then IPv6.
Add the lines to a server or location block. The last line blocks every other address.
Add the lines to an .htaccess file or a Directory block. Access is allowed only from the addresses in the list.
The rules allow TCP connections to ports 80 and 443 from the addresses in the list, with iptables and ip6tables.
The rules allow TCP connections to ports 80 and 443 from the addresses in the list. IPv6 ranges work when IPV6=yes is set in /etc/default/ufw.
The commands create a separate zone named openai, allow TCP connections to ports 80 and 443 in it from the addresses in the list, and reload the configuration.
Add the lines to /etc/csf/csf.allow and restart the firewall with csf -r. The lines allow TCP connections to ports 80 and 443, and IPv6 ranges work when the IPV6 option is enabled in csf.conf.
The rules allow TCP connections to ports 80 and 443 from the addresses in the list. The inet filter table and the input chain must already exist.
4.151.71.176/28
4.151.119.48/28
4.184.61.192/28
4.189.118.208/28
4.189.119.48/28
4.193.45.192/28
4.197.22.112/28
4.197.64.0/28
4.197.64.16/28
4.197.64.48/28
4.197.64.64/28
4.197.115.112/28
4.201.52.48/28
4.201.58.144/28
4.201.67.32/28
4.201.67.144/28
4.201.102.32/28
4.201.102.48/28
4.201.102.96/28
4.201.232.64/28
4.205.27.128/28
4.205.128.176/28
4.218.24.64/28
4.226.200.16/28
4.226.226.32/28
4.227.36.0/25
4.228.101.112/28
4.232.94.208/28
9.129.0.0/16
9.160.34.144/28
9.160.36.16/28
9.160.96.16/28
9.160.107.48/28
9.160.107.112/28
9.160.128.16/28
9.160.128.64/28
9.160.163.128/28
9.163.101.48/28
9.205.8.48/28
9.205.8.64/28
9.205.25.128/28
9.205.30.128/28
9.205.30.144/28
9.205.30.176/28
9.205.93.224/28
9.205.93.240/28
9.205.94.0/28
9.205.94.144/28
9.205.128.32/28
9.205.128.48/28
9.223.181.208/28
9.234.96.192/28
9.234.97.96/28
13.65.138.112/28
13.66.216.176/28
13.67.72.16/28
13.71.2.208/28
13.76.32.208/28
13.76.116.80/28
13.78.76.112/28
13.83.167.128/28
13.83.237.176/28
20.14.99.96/28
20.15.237.208/28
20.17.108.192/28
20.24.18.144/28
20.24.189.176/28
20.25.151.224/28
20.41.226.160/28
20.42.10.176/28
20.45.178.144/28
20.52.118.0/28
20.55.229.144/28
20.56.38.160/28
20.57.199.192/28
20.59.229.32/28
20.63.180.96/28
20.63.221.64/28
20.65.156.80/28
20.65.170.144/28
20.68.151.224/28
20.70.48.32/28
20.78.100.240/28
20.78.130.48/28
20.78.132.48/28
20.78.197.96/28
20.80.77.144/28
20.83.39.160/28
20.83.243.176/28
20.89.220.64/28
20.98.18.80/28
20.102.212.144/28
20.113.211.112/28
20.113.225.112/28
20.118.254.192/28
20.118.254.208/28
20.118.254.224/28
20.118.254.240/28
20.125.66.80/28
20.125.112.224/28
20.125.144.144/28
20.161.75.208/28
20.165.109.32/28
20.168.7.192/28
20.168.18.32/28
20.168.90.128/25
20.169.6.224/28
20.169.7.48/28
20.169.73.32/28
20.169.73.64/28
20.169.77.0/25
20.169.78.48/28
20.169.78.64/28
20.169.78.128/28
20.169.78.160/28
20.169.78.192/28
20.169.86.224/28
20.169.86.240/28
20.169.118.16/28
20.170.184.16/28
20.170.184.32/28
20.170.184.48/28
20.170.184.64/28
20.170.184.80/28
20.171.53.224/28
20.171.123.64/28
20.171.206.0/24
20.171.207.0/24
20.172.29.32/28
20.189.206.112/28
20.192.5.176/28
20.194.1.0/28
20.195.206.224/28
20.195.206.240/28
20.196.92.176/28
20.196.213.160/28
20.197.251.144/28
20.199.211.160/28
20.199.242.0/28
20.199.243.192/28
20.200.212.240/28
20.203.190.208/28
20.204.112.64/28
20.206.101.192/28
20.206.103.80/28
20.208.196.80/28
20.210.211.192/28
20.212.62.208/28
20.215.187.208/28
20.215.219.128/28
20.215.219.160/28
20.215.219.208/28
20.218.30.240/28
20.218.31.128/28
20.218.47.192/28
20.218.47.208/28
20.218.47.224/28
20.218.47.240/28
20.219.29.208/28
20.219.30.112/28
20.219.71.192/28
20.219.161.192/28
20.219.184.96/28
20.221.78.80/28
20.222.28.96/28
20.222.36.192/28
20.222.59.224/28
20.226.108.176/28
20.227.140.32/28
20.228.106.176/28
20.235.87.224/28
20.235.167.48/28
20.249.63.208/28
20.250.6.128/28
20.250.136.64/28
20.254.201.208/28
23.98.142.176/28
23.98.186.64/28
23.98.186.96/28
23.98.186.176/28
23.98.186.192/28
23.101.217.176/28
23.102.140.144/28
23.102.141.32/28
23.102.145.48/28
40.67.164.144/28
40.67.175.0/25
40.74.200.208/28
40.74.202.80/28
40.81.67.96/28
40.81.234.144/28
40.84.221.208/28
40.84.221.224/28
40.90.214.16/28
40.116.73.208/28
40.119.36.240/28
40.124.155.160/28
40.124.161.0/28
40.124.164.32/28
40.124.218.208/28
40.124.218.224/28
40.124.227.208/28
40.124.234.176/28
40.124.249.160/28
40.124.249.176/28
48.210.238.0/28
48.215.128.176/28
48.215.128.192/28
48.221.40.176/28
48.221.184.80/28
48.221.184.96/28
51.8.102.0/24
51.8.155.48/28
51.8.155.112/28
51.57.0.96/28
51.57.158.96/28
51.57.158.112/28
51.57.158.128/28
51.57.158.144/28
51.57.163.16/28
51.57.163.32/28
51.59.24.64/28
51.59.24.80/28
51.59.48.80/28
51.107.73.176/28
51.116.2.80/28
51.116.221.96/28
51.142.84.16/28
52.141.1.0/28
52.141.1.208/28
52.141.20.16/28
52.147.52.144/28
52.148.4.16/28
52.148.129.32/28
52.156.77.144/28
52.159.227.32/28
52.159.249.96/28
52.161.49.96/28
52.165.212.48/28
52.172.129.160/28
52.173.219.96/28
52.173.219.112/28
52.173.221.16/28
52.173.221.176/28
52.173.221.208/28
52.173.234.16/28
52.173.234.80/28
52.173.235.0/28
52.176.139.64/28
52.183.217.240/28
52.190.137.16/28
52.190.137.144/28
52.190.139.48/28
52.190.142.64/28
52.190.190.16/28
52.190.251.112/28
52.225.75.208/28
52.230.152.0/24
52.231.30.48/28
52.231.34.176/28
52.231.39.144/28
52.231.50.64/28
52.236.94.144/28
52.241.146.208/28
52.242.132.224/28
52.242.132.240/28
52.248.46.224/28
52.253.140.64/28
52.255.109.80/28
52.255.109.96/28
52.255.109.144/28
52.255.111.0/28
52.255.111.80/28
57.153.213.64/28
57.154.174.112/28
57.154.175.0/28
57.154.187.32/28
68.154.28.96/28
68.220.57.64/28
68.221.77.176/28
68.221.180.96/28
70.153.32.16/28
70.153.32.32/28
70.153.87.224/28
70.153.189.192/28
70.156.152.96/28
74.7.35.48/28
74.7.35.112/28
74.7.36.64/28
74.7.36.80/28
74.7.36.96/28
74.7.36.128/28
74.7.36.144/28
74.7.36.224/28
74.7.104.240/28
74.7.108.96/28
74.7.175.128/25
74.7.227.0/25
74.7.227.128/25
74.7.228.0/25
74.7.228.128/25
74.7.229.0/25
74.7.229.128/25
74.7.230.0/25
74.7.241.0/25
74.7.241.128/25
74.7.242.0/25
74.7.242.128/25
74.7.243.0/25
74.7.243.128/25
74.7.244.0/25
74.152.51.224/28
74.152.65.144/28
74.152.67.176/28
74.159.8.16/28
74.159.51.96/28
74.159.127.128/28
74.161.200.96/28
74.224.217.64/28
74.226.253.160/28
74.248.37.160/28
85.211.128.16/28
85.211.128.32/28
104.44.128.240/28
104.208.184.192/28
104.210.139.192/28
104.210.139.224/28
104.210.140.16/28
104.210.140.128/28
128.85.198.32/28
130.131.229.128/25
132.196.82.48/28
132.196.86.0/24
134.33.102.192/28
134.138.52.16/28
134.138.52.64/28
134.138.52.96/28
134.138.52.128/28
134.138.57.64/28
134.138.57.80/28
134.138.57.176/28
134.138.58.32/28
134.149.233.80/28
135.13.64.240/28
135.116.84.112/28
135.116.136.160/28
135.119.98.112/28
135.220.73.208/28
135.220.73.240/28
135.233.181.16/28
135.234.64.0/24
135.237.131.208/28
135.237.133.48/28
137.135.191.176/28
138.91.46.96/28
145.132.136.96/28
158.158.5.32/28
158.158.7.32/28
158.158.103.32/28
168.63.252.240/28
172.132.67.96/28
172.134.248.0/28
172.134.248.16/28
172.162.248.64/28
172.170.1.80/28
172.170.225.0/28
172.170.241.80/28
172.172.206.48/28
172.175.152.224/28
172.178.140.144/28
172.178.141.112/28
172.178.141.128/28
172.182.193.80/28
172.182.193.224/28
172.182.194.32/28
172.182.194.144/28
172.182.195.48/28
172.182.202.0/25
172.182.207.0/25
172.182.209.208/28
172.182.211.192/28
172.182.213.192/28
172.182.224.0/28
172.183.143.224/28
172.183.222.128/28
172.192.112.208/28
172.197.160.192/28
172.197.163.32/28
172.197.202.176/28
172.197.203.16/28
172.198.52.224/28
172.198.52.240/28
172.198.58.176/28
172.198.78.192/28
172.198.79.112/28
172.198.161.128/28
172.199.137.80/28
172.202.52.96/28
172.203.190.80/28
172.203.190.112/28
172.203.190.128/28
172.204.18.48/28
172.204.28.224/28
172.204.29.176/28
172.204.29.192/28
172.204.96.80/28
172.205.189.192/28
172.206.38.240/28
172.207.1.32/28
172.212.172.160/28
172.212.231.96/28
172.212.231.112/28
172.215.215.32/28
191.232.238.96/28
191.233.197.0/28
191.233.199.160/28
191.234.167.144/28
191.235.99.160/28
191.237.249.64/28Breakdown by part (4 parts)
The number of ranges in each part of the list, as tagged in the official file.
| Part | IPv4 | IPv6 |
|---|---|---|
| ChatGPT-User | 366 | 0 |
| OAI-SearchBot | 39 | 0 |
| GPTBot | 18 | 0 |
| OAI-AdsBot | 2 | 0 |
A separate decision for each OpenAI bot
The OpenAI bots serve different purposes, so you can block training and still appear in ChatGPT search. Blocking GPTBot in robots.txt tells OpenAI not to use your site's content for training, and does not affect OAI-SearchBot, which decides whether your site appears and gets links in search answers. According to OpenAI, a change to the file reaches OAI-SearchBot within about 24 hours. ChatGPT-User acts at a user's request, so robots.txt rules may not apply to it.
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /Verifying the OpenAI bots by address
OpenAI publishes a separate address file for each bot, and we combine them all here, with each range tagged with the bot name. OAI-AdsBot, the fourth on the list, checks only landing pages submitted as ads in ChatGPT. When you allow a bot in a web application firewall (WAF), we recommend checking both the User-Agent and that the address is in that bot's part, because a User-Agent string alone is easy to fake. You can decode a string from your log with the User-Agent parser.
- This list is published by OpenAI in an official file, and we check it every week. The service is not affiliated with ErezNet.
- On a Linux VPS, you get full root access and configure the firewall and the web server yourself with these lists.
OpenAI IP ranges FAQ
How do I control whether OpenAI can access my site?
The simple way is a rule in your robots.txt file by crawler name. For full control, add a rule to your firewall or web server by the addresses in the list, with the ready-made formats on this page.
Why let the OpenAI crawlers access my site?
When the crawlers of AI services can read your site, its content can appear in the answers these services show their users, which brings new visitors to your site.
How often is the OpenAI IP list updated?
We check the official OpenAI file once a week and update the page when something changes. The date of the last check is at the top of the page.