Claude Code from mainland China: what actually blocks you
Not whether it installs, but login, network stability, and how fast it burns your quota.
Installing is the easy part. Everything awkward happens afterwards. In the order it actually bites.
1. The login step
It is a terminal tool, but authentication goes through a browser. The CLI only receives credentials once the browser flow completes. If that flow fails, the CLI keeps reporting "not signed in" — reinstalling will not help, because the problem is not the binary.
Common symptom: the browser says signed in, the CLI still returns 401. Usually the credential landed in a different user directory, or the two logins used different browser sessions.
2. Network stability
This is not request-response. It is a long continuous session: read files, run commands, read output, repeat. A flaky connection shows up as "the task stopped for no reason" or "the command hung halfway".
The real cost: when the connection drops, you pay for context twice. The same task on a bad link can burn two or three times the quota of the same task on a stable one.
Test it: run a ten-minute continuous task and watch whether it survives. If it does not, fix the network before worrying about quota.
3. Quota burn rate
The most common misjudgement is estimating agent usage from chat usage. One agent run that reads twenty files and executes five commands is not the same order of magnitude as a conversation.
In practice, most first-time users exhaust a Pro plan within the first week and conclude the tool is unusable. The real cause is scope: pointing it at one directory with one verifiable goal costs an order of magnitude less than letting it wander a repository.
The order that works
- Complete the browser login and confirm the account is healthy
- Run a ten-minute continuous task to confirm the link holds
- Start with a narrow, verifiable task: "make this failing test pass"
- Watch your real consumption for two or three days before upgrading
How the limits work is covered in the rate-limit guide; which tier fits is in the 5x vs 20x comparison.
Guides
All guides →Claude Max 5x vs 20x: which tier you actually need
The difference is not quality — it is how many times you can hit the wall before lunch. A practical way to size your plan.
How to pay for Claude from mainland China (2026)
Four routes, ranked by how often they actually work — and the two that quietly cost you the account.