If you use ChatGPT, Claude or Cursor from mainland China, you've probably seen it: the VPN says "connected", Google loads fine, and the AI tool still fails. A login page that never loads. A reply that stops halfway. "Unable to load site." An error saying your region isn't supported.

I work on DopeVpn, a VPN service for people inside mainland China, and most of our users connect mainly to use AI tools. Over the last few months we've spent a lot of time on one question: when an AI tool breaks but the "VPN works", what is actually broken? Here's what we found. None of it is specific to our service. It applies to whatever you use.

1. The exit country matters more than you'd think

The Great Firewall is only the first gate. The second gate is the AI company itself. OpenAI and Anthropic only serve a list of supported countries and regions, and mainland China and Hong Kong are not on either list.

That catches a lot of people, because Hong Kong is the most common "fast" server for users in China. We tested this ourselves: requests leaving through a Hong Kong IP are refused by OpenAI, the same as requests from the mainland. A Hong Kong server is fine for Google or GitHub. It's the wrong choice for ChatGPT or Claude.

What to do: pick an exit in a supported country. Japan, Singapore and the US are the usual choices from China, because the routes are short. If your VPN app has an "auto" or "fastest" mode, check where it actually put you. Fastest often means Hong Kong.

2. Datacenter IPs get treated as suspicious

Even in a supported country, the IP itself is scored. ChatGPT, Claude and some other AI sites sit behind bot protection that is much stricter with datacenter IP ranges than with home connections. A cheap VPS IP that works perfectly for Netflix can get endless "verify you are human" loops, 403 errors, or a login that silently fails.

In our own fleet, the generic exit servers were fine for most of the internet but were the weak spot for exactly three services: ChatGPT, Claude and Grok. That's why we ended up sending AI traffic through separate exits instead of the general ones.

What to do: if you get challenge pages or 403s on one AI site but everything else works, switch exit servers before you blame your account. If every server in one location fails the same way, the whole IP range is probably flagged.

3. The weak link is usually in the middle, not at the exit

This one surprised us. When users told us "Claude is slow" or "ChatGPT stops mid-answer", our first instinct was to check the exit server. The exit was almost always healthy.

What actually failed was the leg from inside China to the first server abroad. During one bad week, a relay in front of one of our Japan exits went from a round-trip time of about 100 ms to 1 or 2 seconds during the evening peak, with 15 to 21 percent of packets being resent. Monitoring from Europe saw nothing wrong, because Europe doesn't cross that leg.

This matters because AI tools are unusually sensitive to it:

  • Streaming replies. ChatGPT and Claude stream the answer over one long connection. A short stall that a web page would survive can kill the stream, and you get half an answer or "network error".
  • Long sessions. Coding tools like Cursor or Claude Code hold connections open for minutes. Anything that drops idle or slow connections shows up as random failures.
  • Many small requests. Agent-style tools fire lots of requests in a row. One slow round trip each time adds up quickly.

What to do: if replies break off halfway at the same time every evening, it's very likely the route, not the AI service and not your account. Try a different entry server or protocol before anything else.

4. There is no single best protocol

People love to ask which protocol is "the best for China". Our client measurements say the honest answer is "it depends on your ISP and the hour".

For some users, a UDP-based protocol was several times faster than a TCP-based one on the same exit server during a lossy period. For other users, whose ISP throttles UDP in the evening, the same UDP protocol mostly timed out, while TCP kept working. Same server, same day, opposite results.

What to do: if your client lets you, keep both a UDP-based and a TCP-based option, and switch when one gets bad. If it doesn't let you, at least know that "it was fast yesterday and terrible tonight" is normal behaviour, not a sign you've been banned.

5. Some failures are DNS, not the network

A quieter failure: the connection works, but each new domain takes several seconds to start loading. Pages eventually appear, so it looks like "slow internet". AI tools, which pull in several domains for login, assets and the API, feel especially sluggish.

We hit this ourselves on new servers whose default DNS resolver didn't answer, so every lookup waited about 5 seconds for a timeout before falling back. The fix was one line of configuration. Finding it took much longer.

What to do: if the first load of every site is slow but reloads are fast, suspect DNS. On a self-hosted server, check /etc/resolv.conf and time a lookup with getent hosts example.com.

A quick checklist

When an AI tool breaks in China and "the VPN is connected":

  1. Region error or instant refusal? Your exit is in an unsupported region. Check for Hong Kong.
  2. Challenge loops or 403 on one AI site only? The exit IP is flagged. Switch servers.
  3. Replies cut off, worse in the evening? It's the route into China. Switch the entry server or protocol.
  4. Fine one day, awful the next on the same server? Protocol versus ISP. Try the other transport.
  5. Every first page load slow, reloads fast? DNS.
  6. Still broken? Then it might really be the AI service. Check its status page.

A note on accounts: AI companies can also flag accounts that sign up or pay from unsupported regions. Using a consistent exit country helps avoid tripping that.

Using a VPN in China sits in a legal grey area. This post isn't legal advice.

Disclosure: I work on DopeVpn, a VPN service for users in mainland China that routes AI tools through dedicated exits in Japan. Everything above comes from our own monitoring and user reports, and the checklist applies whatever service you use. New accounts get a 3-day free trial if you want to compare.