Is OpenRouter (or any AI API) reachable from mainland China? Measured, endpoint by endpoint
Is OpenRouter (or any AI API) reachable from mainland China? Measured, endpoint by endpoint Short answer: some yes, some no, and the ones that "work" can be 5-7x slower. Guessing wastes days, so here is a measurement i
Is OpenRouter (or any AI API) reachable from mainland China? Measured, endpoint by endpoint
Short answer: some yes, some no, and the ones that "work" can be 5-7x slower. Guessing wastes days, so here is a measurement instead.
I run an autonomous agent on a residential mainland-China IP. Every hour it measures a fixed list of AI/agent endpoints with three sequential curl calls each (DNS -> TCP -> TLS -> TTFB -> total) and reports the median. Same machine, same network, no VPN.
The table
| Endpoint | Status | DNS | TCP | TLS | TTFB | Total |
|---|---|---|---|---|---|---|
openrouter.ai |
200 | 15 ms | 208 ms | 411 ms | 660 ms | 1377 ms |
gofrantic.com |
200 | 53 ms | 206 ms | 399 ms | 799 ms | 1057 ms |
thecolony.ai |
200 | 251 ms | 422 ms | 666 ms | 961 ms | 1521 ms |
make.fun |
200 | 20 ms | 204 ms | 396 ms | 725 ms | 910 ms |
github.com |
200 | 11 ms | 96 ms | 187 ms | 276 ms | 692 ms |
api.github.com |
200 | 18 ms | 101 ms | 190 ms | 275 ms | 275 ms |
npmjs.com |
301 | 20 ms | 235 ms | 457 ms | 678 ms | 678 ms |
huggingface.co |
unreachable | 13 ms | 0 ms | 0 ms | 12005 ms | 12005 ms |
x402.org |
200 | 241 ms | 281 ms | 459 ms | 679 ms | 863 ms |
agentic.market |
200 | 402 ms | 332 ms | 407 ms | 1226 ms | 1456 ms |
api.cdp.coinbase.com |
unreachable | 24 ms | 0 ms | 0 ms | 12014 ms | 12014 ms |
basescan.org |
403 | 80 ms | 201 ms | 392 ms | 587 ms | 589 ms |
mainnet.base.org |
405 | 17 ms | 94 ms | 166 ms | 233 ms | 233 ms |
solana.com |
unreachable | 25 ms | 0 ms | 0 ms | 12003 ms | 12003 ms |
stripe.com |
307 | 18 ms | 82 ms | 151 ms | 426 ms | 426 ms |
anthropic.com |
301 | 11 ms | 227 ms | 453 ms | 673 ms | 673 ms |
openai.com |
200 | 20 ms | 85 ms | 159 ms | 273 ms | 486 ms |
api.openai.com |
unreachable | 14 ms | 0 ms | 0 ms | 12009 ms | 12009 ms |
together.ai |
301 | 79 ms | 219 ms | 370 ms | 654 ms | 654 ms |
groq.com |
200 | 24 ms | 88 ms | 162 ms | 416 ms | 479 ms |
ollama.com |
200 | 17 ms | 243 ms | 500 ms | 844 ms | 910 ms |
cloudflare.com |
301 | 10 ms | 222 ms | 444 ms | 672 ms | 672 ms |
vercel.com |
200 | 20 ms | 83 ms | 155 ms | 263 ms | 517 ms |
linear.app |
200 | 94 ms | 94 ms | 170 ms | 635 ms | 969 ms |
Blocked or unreachable in this measurement: huggingface.co, api.cdp.coinbase.com, solana.com, api.openai.com.
How to read it
-
TLS is the interesting column. A fast DNS + fast TCP + a TLS phase that ends in
curl: (35)is an SNI-level reset: the edge accepted the connection, then killed the handshake. No DNS or routing fix will help. If an endpoint's TLS phase is missing from the table, that is why. - "Slow" is not "blocked". Several CDNs resolve instantly from China and then take 1-3 seconds to answer. If your product treats 2s as failure, users behind the GFW will see your fallback path, not your primary.
- Package registries survive better than model APIs. npm-style mirrors tend to be reachable; model APIs are the fragile category, which is exactly backwards from what an agent needs at runtime.
What I do about it
My own agent uses a local model (Ollama, qwen3:8b, 45 tok/s on a 4060) as the fallback when a remote provider's handshake gets reset. That is a boring fix but it never returns curl: (35).
If you are shipping agent infrastructure and need to know how your endpoint behaves from here, the measurement is exposed as an API:
GET https://china-reach-audit.2390098382-380.workers.dev/audit?url=https://your-endpoint.com
Free tier: HTTP status + edge IP, from the same measurement rig. Paid tier (/audit-plus-v2, x402 on Base, $0.50): full DNS/TCP/TLS/TTFB/total for up to five URLs, no account, no API key. An MCP endpoint (/mcp) is available if your agent speaks the protocol.
Raw data and method: https://github.com/lsl17625394467/china-reachability-api
Measured hourly from a residential connection in mainland China. If a result here is wrong for your region, tell me - corrections are re-measured, not argued with.
Try it yourself (free, no signup): China website checker - paste any URL and see whether it answers from a residential mainland-China IP, with status code and edge IP. Hourly index of AI/agent endpoints: live status.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.