Using Cursor in China
Cursor itself generally runs in China, but its best models do not: Cursor decides which models you can use from the IP address your requests come from, and the companies behind Claude and GPT do not serve mainland China or Hong Kong. The fix is an exit in a supported country, for the editor and not only for your browser.

What the error means
The message is "This model provider doesn't serve your region", shown when you choose a Claude or GPT model. Cursor passes on the regional rules of the companies that run those models, and it judges your region by the IP address your requests arrive from.
From a mainland address those models are refused. The same happens through a VPN that exits in Hong Kong, which catches a lot of people, because Hong Kong is the closest and most common choice for a VPN used from China. The rest of the editor keeps working, so it looks like a Cursor bug rather than a location problem.
What fixes it
An exit in a country the model providers support, such as Japan, Taiwan or the United States, used consistently.
ChatGPT, Claude, Gemini, Cursor and other AI traffic is routed automatically through dedicated AI exits in Japan (Tokyo / Osaka) and Taiwan (Taipei), and each account keeps the same exit — nothing to set up, including on the free trial.
Since November 2026 that routing includes Cursor's sign-in and API domains (cursor.com and cursor.sh), so the server you pick for everything else no longer decides whether Claude and GPT models are offered. Cursor's extension marketplace and update downloads are large and are not region-checked, so they stay on your normal line.
Make sure the editor is really using the VPN
A desktop VPN app normally works by setting the system proxy. Browsers follow it. Editors, their background processes and anything you start from the integrated terminal may not. If cursor.com opens in the browser and the editor still shows the region error, this is the likely reason.
- —Turn on Enhanced mode under Connection mode in the DopeVpn desktop app. It routes every program through the VPN. It needs administrator rights on Windows and your password once on a Mac (Mac app 0.5.33 or later)
- —For the integrated terminal alone (git, package managers, AI command-line tools), connect and use Copy terminal proxy command, then paste it into the terminal
- —Restart Cursor after changing either, so that connections opened before the change are dropped
Other developer tools from China
These are general observations, not something we test continuously, and they vary by carrier and from week to week:
- —GitHub is usually reachable without a VPN but often slow, and at times interrupted. Clones and pushes are steadier through one
- —Docker Hub and Hugging Face are commonly unreachable on a mainland connection
- —Google-hosted services are blocked along with the rest of Google. That includes Go's default module proxy, Android and Chrome downloads, and Gemini
- —npm and PyPI generally work, slowly. Many developers in China point their tools at domestic mirrors instead
- —AI command-line tools need both things at once: an exit in a supported country and a terminal that is going through the VPN
Claude, ChatGPT and longer stays
The Claude side of this, including Claude Code in a terminal, is in using Claude and Claude Code in China, and ChatGPT's verification loops are in using ChatGPT in China. If you are moving rather than visiting, read a VPN for living in China. Enhanced mode is explained in the Windows setup guide. AI routing is part of every plan; see the pricing page.
Quick answers
Does Cursor work in China? The editor runs, but Claude and GPT models are refused from mainland China and Hong Kong IP addresses with the message "This model provider doesn't serve your region". They work when Cursor's traffic leaves through a country the model providers support.
Why does Cursor show a region error even with a VPN? Either the VPN exits somewhere unsupported, such as Hong Kong, or the editor is not using the VPN at all because it ignores the system proxy. Use an exit in a supported country and a mode that routes every program, such as DopeVpn's Enhanced mode.
Does DopeVpn route Cursor automatically? Yes. Since November 2026 Cursor's sign-in and API domains go through the same dedicated AI exits as ChatGPT and Claude traffic, including on the free trial.
AI routing is on by default
Including on the 3-day free trial. Nothing to configure.
Create a free accountWant the numbers first? See plans and prices