在美国或欧盟服务器上运行DeepSeek、Kimi和GLM
Run DeepSeek, Kimi and GLM on US or EU Servers
导读
OpenRouter在2026年12月3日发布说明,介绍企业如何在美国或欧盟服务器上运行DeepSeek、Moonshot AI(Kimi)、Z.ai(GLM)、MiniMax等中国实验室的开源权重模型,以避免提示词被发送到中国的服务器。OpenRouter建议在请求的provider.only中列出获批提供商,同时设置zdr: true与data_collection: "deny",并在账户隐私设置中选择ZDR only,此外还可将请求发往us.openrouter.ai或eu.openrouter.ai启用区域内路由(限Business和Enterprise套餐)。
正在把原文翻译成中文,长文需要一两分钟;先显示原文。
OpenRouter ·12/3/2026


Teams at US and EU companies want to use models from DeepSeek, Moonshot AI (Kimi), Z.ai (GLM), MiniMax, and Alibaba (Qwen), but their security teams won’t allow prompts to go to servers in China. You can run DeepSeek on US servers today, and most of the other models too. The labs publish their model weights, and providers outside China download those weights and run the models on their own hardware. The one exception is Alibaba’s newest Qwen3.8 models. Qwen3.8 Flash has public weights, but no provider other than Alibaba serves it yet, and Qwen3.8 Max Prime has no public weights in our catalog.
“DeepSeek” can mean two things. It can mean DeepSeek’s own API, which runs in China, or the open weights, which any provider can serve. So where your prompt goes depends on which provider handles the request, not on which lab trained the model. By default, a request can go to any of a model’s endpoints, and we fall back to another one if the first fails. To control where your prompts go, you choose which providers a request may use, and for a whole team you add In-Region Routing and guardrails.
Tl;dr
- On November 8, 2026, DeepSeek V4.1 Flash had 39 endpoints on OpenRouter. Three were run by China-based providers. Of the other 36, 33 had a strict zero data retention (ZDR) policy (no prompt storage after processing), and 1 was a Safety Retention endpoint (which may retain prompts for abuse detection, though not for training).
- Each DeepSeek, Kimi, GLM, and MiniMax model had 10 to 44 ZDR endpoints outside China. The two Qwen3.8 models, Flash and Max Prime, were served only by Alibaba.
- To keep a single request off China-based providers with strict no-storage ZDR, list your approved providers in
provider.only, addzdr: trueanddata_collection: "deny", and select ZDR only in your account privacy settings (or setallow_safety_retention_other: falsein a guardrail), becausezdr: truealone can still route to Safety Retention endpoints on self-serve accounts. - To keep prompts in the US or Europe, send requests to
https://us.openrouter.aiorhttps://eu.openrouter.ai(In-Region Routing, on our Business and Enterprise plans). - To apply these rules to every key and member on your team, set them in a guardrail.
Is DeepSeek hosted in the US?
Yes. Of the 39 endpoints for DeepSeek V4.1 Flash on OpenRouter, 36 are run by providers with no declared China headquarters or datacenter, and the model is on our list of models available for US In-Region Routing. DeepSeek’s own API is a separate endpoint. Our providers data lists it with a China headquarters, and it serves the newer DeepSeek V4.1 Flash 1017.
This works because the weights are public. Our catalog lists a Hugging Face repository for every DeepSeek, Kimi, GLM, and MiniMax model in the table below.
Which Chinese open-weight models can run outside China?
All seven DeepSeek, Kimi, GLM, and MiniMax models we checked had at least 10 ZDR endpoints run by providers outside China. Qwen3.8 Flash and Qwen3.8 Max Prime had none, because only Alibaba serves them.
To build the table, we combined three lists from our API. The first is every endpoint for each model, from GET /api/v1/models/{id}/endpoints. The second is our providers list, GET /api/v1/providers, where each provider declares the countries of its headquarters and datacenters. The third is GET /api/v1/endpoints/zdr, which lists the endpoints that qualify for zero data retention. We count a provider as China-based if it declares a headquarters or a datacenter in China. Prices are in US dollars per million input and output tokens.
| Model | Endpoints | China-based | No declared China endpoint | Of those, ZDR | Cheapest ZDR, no declared China endpoint |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash | 39 | 3 | 36 | 34 | $0.006 / $0.50 (Relace, fp4) |
| DeepSeek V4.1 Flash 1017 | 51 | 4 | 47 | 44 | $0.006 / $0.50 (Relace, fp4) |
| GLM 5.3 Flash | 41 | 1 | 40 | 36 | $0.034 / $0.083 (Relace, fp4) |
| GLM 5.3 | 47 | 3 | 44 | 41 | $0.07 / $1.40 (Wafer, fp4) |
| Kimi K3 | 29 | 1 | 28 | 27 | $0.15 / $9.34 (Relace, fp4) |
| Kimi K3.1 Pro | 24 | 1 | 23 | 23 | $0.30 / $10.00 (Wafer, mxfp4) |
| MiniMax M3.1 Flash | 13 | 1 | 12 | 10 | $0.15 / $0.60 (Fireworks) |
| Qwen3.8 Flash | 2 | 2 | 0 | 0 | None |
| Qwen3.8 Max Prime | 1 | 1 | 0 | 0 | None |
Data pulled from our API on November 8, 2026.
For DeepSeek V4.1 Flash, the China-based endpoints are run by Baidu and StreamLake, which declare China headquarters, and Alibaba, which declares a Singapore headquarters with datacenters in Singapore and China. None of these three is on the ZDR list.
Moonshot AI and Z.ai declare Singapore for their headquarters and datacenters, and MiniMax declares a Singapore headquarters and a US datacenter, so the table counts the labs’ own endpoints under “No declared China endpoint.” Moonshot AI’s own endpoints are part of the ZDR counts for both Kimi models. If you leave them out, Kimi K3 still has 26 ZDR endpoints outside China and Kimi K3.1 Pro has 21. The other models’ counts don’t change. If your policy covers the labs themselves, block their provider IDs too, as the next section shows.
Keep in mind that providers report their own locations, and 37 of our 121 providers don’t report a headquarters at all. If you need a guarantee about where your prompt is processed, use In-Region Routing. It only uses endpoints that we have onboarded for your region.
If you need strict ZDR, note that the ZDR list also includes Safety Retention endpoints. On these, OpenRouter or a provider may keep prompts and responses from any request, flagged or not, to detect and prevent abuse, and the data isn’t used for training. One of the 34 ZDR endpoints for DeepSeek V4.1 Flash is this type (Google Vertex, global). On self-serve accounts, zdr: true allows them unless you choose ZDR only in your privacy settings or a guardrail.
How do you keep requests off China-based providers?
Add a provider object to the request. Inside it, only lists the providers you approve, zdr: true limits the request to ZDR endpoints, and data_collection: "deny" excludes providers that collect user data. On self-serve accounts, zdr: true can still allow Safety Retention endpoints unless you also choose ZDR only in your privacy settings (or exclude them in a guardrail).
We ran this request with four US-headquartered providers that serve these models with ZDR.
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4.1-flash",
"messages": [{"role": "user", "content": "Reply with the word ok."}],
"provider": {
"zdr": true,
"data_collection": "deny",
"only": ["deepinfra", "fireworks", "together", "baseten"]
}
}'
Fireworks served DeepSeek V4.1 Flash, and Together served Kimi K3 with the same provider object. Qwen3.8 Flash failed with HTTP 404 because no approved provider serves it.
{
"error": {
"message": "No allowed providers are available for the selected model. Providers serving qwen/qwen3.8-flash-20260826: alibaba, but your request's provider.only preference permits only: deepinfra, fireworks, together, baseten.",
"code": 404,
"metadata": {
"available_providers": ["alibaba"],
"failed_routing_step": "Filter by Allowed Providers"
}
}
}
The request fails instead of falling back to a provider you did not approve.
You can also block providers with ignore. For example, "ignore": ["alibaba", "baidu", "streamlake", "deepseek"] removes the four providers the table counts as China-based, and adding "moonshotai", "z-ai", and "minimax" removes the labs’ own endpoints. When we sent that full list with zdr: true and data_collection: "deny", Wafer served DeepSeek V4.1 Flash and Modal served Kimi K3. A block list won’t catch a China-based provider that we add later, but an only list will, because it allows nothing you haven’t approved.
To try it, create an API key and send the request above with the model your team wants to approve.
How do you keep prompts in the US or EU?
Send your requests to https://us.openrouter.ai or https://eu.openrouter.ai. This is In-Region Routing, available on our Business and Enterprise plans.
On a regional domain, the request “is decrypted within that region and routed only to shared provider endpoints in that region.” Europe means the EU/EEA, the UK, and Switzerland. For shared endpoints, if no in-region endpoint serves the model, the request returns an error instead of leaving the region. This fail-closed guarantee applies to OpenRouter’s shared endpoints; if you use Bring Your Own Key (BYOK), verify your provider deployment’s region configuration (for example, a Vertex BYOK deployment with no configured region can use the global endpoint for DeepSeek, so a successful request to a regional hostname is not proof of residency for BYOK). Account data, billing records, and security logs may be stored in the US.
GET /api/v1/models?region=us or region=eu returns each regional list. This table shows which of the models above were on each list.
| Model | US In-Region Routing | EU In-Region Routing |
|---|---|---|
| DeepSeek V4.1 Flash and V4.1 Flash 1017 | Yes | No |
| GLM 5.3 and GLM 5.3 Flash | Yes | Yes |
| Kimi K3 and Kimi K3.1 Pro | Yes | No |
| MiniMax M3.1 Flash | Yes | No |
| Qwen3.8 Flash | Yes, but no ZDR endpoint | No |
| Qwen3.8 Max Prime | No | No |
Qwen3.8 Flash is on the US list because Alibaba serves it from an endpoint onboarded in the US. Neither of its endpoints is ZDR, though, so a ZDR request for it fails. ZDR and data_collection work normally on regional domains. For live EU prices, see EU In-Region Routing on Business, and for residency rules in general, see AI data residency.
How do you enforce this for a whole team?
To set the rules once for everyone, use a guardrail. An organization admin can assign a guardrail to an API key, a member, or the whole workspace. These settings cover the setup in this article.
allowed_data_regionssets which domains requests must arrive through (global,europe, orus). We reject any other request with HTTP 403 “before any inference or endpoint selection happens.” It applies to every API surface and needs a Business or Enterprise plan.allowed_providersis the guardrail version ofprovider.only, andignored_providersis the guardrail version ofignore.enforce_zdr_otherturns on ZDR for DeepSeek, Kimi, GLM, MiniMax, and Qwen, which our ZDR docs group under “all other models.” Setallow_safety_retention_othertofalseto exclude Safety Retention endpoints too.
For example, this guardrail keeps a key on the US domain, limits it to four approved providers, and allows only strict ZDR endpoints.
{
"name": "US open-weight models",
"allowed_data_regions": ["us"],
"allowed_providers": ["deepinfra", "fireworks", "together", "baseten"],
"enforce_zdr_other": true,
"allow_safety_retention_other": false
}
You can create it with the Guardrails API and a management key, or in your dashboard under Workspaces > Default > Guardrails. A named guardrail does nothing until you assign it; to cover every existing and future key across the whole workspace, set these rules on the workspace’s default guardrail (or assign the guardrail to the workspace). Once it’s assigned, we reject any request that breaks its region or provider rules with HTTP 403. If more than one guardrail applies, a request must satisfy all of them, and ZDR is enforced if any of them turns it on.
What changes when another provider serves the model?
Moving from the lab’s own API to another provider changes three things.
Providers differ in price and in the precision they serve, so check both on the model page before you approve a provider. For more on choosing between DeepSeek providers, see why OpenRouter for DeepSeek.
Many cheap providers serve quantized weights. Quantization stores a model’s weights at lower precision, such as 8 or 4 bits, so it needs less hardware, but quality can drop at 4 bits. Every cheapest endpoint in the table that lists a quantization is 4-bit. You can filter providers by precision with provider.quantizations..
Some models have no host outside the lab. Qwen3.8 Flash has a public Hugging Face repository, but only Alibaba serves it on OpenRouter today. Qwen3.8 Max Prime has no public weights listed in our catalog.
Two ZDR caveats apply to every provider. We screen all requests for CSAM, including ZDR traffic, and may retain flagged content for review. ZDR enforcement also covers provider routing only, so plugins such as web search follow their own data policies.
Frequently asked questions
Is DeepSeek US hosted?
Yes. On OpenRouter, 36 of the 39 endpoints for DeepSeek V4.1 Flash are run by providers outside China, most of them headquartered in the US. The model is also available through US In-Region Routing on https://us.openrouter.ai.
Can I run DeepSeek on AWS?
Amazon Bedrock serves Kimi K3 and GLM 5.3 on OpenRouter, but we list no Bedrock endpoint for the DeepSeek models. You can check each model’s providers on its model page. Our providers’ data records where each provider is based, not which cloud it runs on, so we can’t say whether other DeepSeek hosts use AWS.
Can DeepSeek be hosted locally?
Yes. DeepSeek publishes the weights on Hugging Face, so you can run the model on your own GPUs. If you don’t want to manage hardware, OpenRouter can route your DeepSeek requests to US In-Region Routing (or US-based ZDR providers via provider.only); shared EU In-Region Routing does not currently cover the listed DeepSeek variants.
Does using DeepSeek’s weights send data to China?
It depends on which provider serves the request. DeepSeek’s own API is based in China, and an unfiltered request on OpenRouter can fall back to any of the model’s endpoints. With https://us.openrouter.ai, https://eu.openrouter.ai, or provider.only, your prompt goes only to a shared provider endpoint in that region or to one of the providers you listed. If you use Bring Your Own Key (BYOK), also verify your provider deployment’s region setting, because an unpinned BYOK deployment (such as Vertex global) is not constrained by the regional hostname.
Next steps
- Read the In-Region Routing docs to see what stays inside each region and which features work there.
- Read the provider routing docs for the fields you can set in the
providerobject. - Read the ZDR and provider logging docs to learn how we track each endpoint’s data policy.
- Read the guardrails docs to set a policy for your whole workspace.
出处
- S 官方OpenRouter Announcements · RSS阅读原文 ↗
Run DeepSeek, Kimi and GLM on US or EU Servers
生成时使用了正文节选。