OpenRouter 推出 Private Endpoints,自有微调模型与预留算力可接入统一 API
Private Endpoints: Bring Your Fine-Tuned Models and Capacity to OpenRouter
- 1OpenRouter 推出 Private Endpoints,微调模型、独占部署和预留算力可接入现有统一 API。
- 2私有端点仅对本组织可见,不会出现在公开模型列表、排行、搜索、图表或基准测试中。
- 3功能为 Enterprise 计划附加项,部署须经 BYOK 密钥和一次真实请求测试,默认每组织上限 10 个。
- 4注册时需声明定价与是否保留提示词,标记私有不等于零数据保留,可用 API 或 Terraform 管理。
OpenRouter 把企业自有部署纳入统一路由层,私有算力与公共模型从两套集成收拢为一个 API。
- 影响:已有微调或独占部署的团队可省掉第二套集成,统一走一个 API 并保留现有模型别名;溢出流量能按偏好回退公共服务商;功能限 Enterprise 计划附加项,数据保留政策仍由原服务商决定,接入前需重估数据边界。
- 参考:可考虑盘点组织内的微调模型与预留算力清单,评估是否并入统一网关;值得先确认是否在 Enterprise 计划内,并核对部署服务商是否在 BYOK 支持名单。
- 依据:以上为 OpenRouter 官方公告口径,暂无独立验证;测试请求、BYOK 依赖和每组织 10 个端点上限均出自官方描述。
Today we’re launching Private Endpoints. OpenRouter already puts the public models your team uses behind one API. Now it can serve the deployments only your team has too. If you run a fine-tuned model, a dedicated deployment of a public model, or capacity you’ve reserved with a provider, you can route it through OpenRouter alongside everything else in the catalog. Your team keeps the API, model slug, and routing preferences they use today. Private endpoints are only visible within your organization.
Private Endpoints is an add-on to the Enterprise plan. Ask your account representative to enable it for your organization, or talk to the team.
What you can do with it
Fine-tuned models and reserved capacity used to mean a second integration next to OpenRouter. Now you register the deployment as a private endpoint and call it through the API you already use, with public providers as an optional backup if it goes down or hits its rate limit. Only the organizations you approve can see it, and it never shows up in public model lists, rankings, search, charts or benchmarks.
If your organization has a dedicated Azure deployment of DeepSeek V4 Pro for example, you can register it as a private endpoint for deepseek/deepseek-v4-pro and your apps keep calling that slug. For your organization it moves to the front of the provider list by default, and Model Fallbacks, Provider Selection and the rest of routing work as they do for any provider. OpenRouter reaches it with your Azure key through BYOK, so Azure bills you directly.
Reserved capacity gets this treatment too. Point a private endpoint at it and your organization’s traffic goes there first by default. When it’s rate-limited or unavailable, OpenRouter can send the overflow to public providers, within the provider preferences and BYOK fallback settings you’ve set.
Setting up an endpoint
Once Private Endpoints is enabled, an organization admin registers the deployment from the Private Endpoints page in your account. The deployment has to be hosted by a provider we support for BYOK, since OpenRouter reaches it with your own key. It also has to serve a model that’s already in the OpenRouter catalog, since it inherits that model’s slug and capabilities. You can attach your own pricing so the endpoint shows up accurately in cost reporting, and you declare whether the deployment retains prompts.

Before anything routes to the new endpoint, OpenRouter sends one real request through the provider key saved in one of your workspaces. That request proves the key is accepted, the deployment speaks the OpenAI-compatible format, streaming works, usage comes back for billing, and the model ID matches what you registered. Once it passes, you activate the endpoint and workspaces in your organization can call it by the model slug. Until then it stays hidden and can’t be called.
Managing endpoints from code
If you run more than a handful of endpoints, or you keep your infrastructure in code, you can skip the settings page. The Private Endpoints API covers the whole lifecycle, from registering a draft and running the test checks through activation, pricing updates, pausing, and deletion. It’s authenticated with an organization Management API key, and one create call registers, tests, and activates an endpoint.
curl https://openrouter.ai/api/v1/private-endpoints \
-H "Authorization: Bearer $OPENROUTER_MANAGEMENT_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: gpt-4o-prod" \
-d '{
"model_permaslug": "openai/gpt-4o-2024-08-06",
"provider_slug": "openai",
"base_url": "https://api.openai.com/v1",
"upstream_model_id": "gpt-4o-2024-08-06",
"pricing": { "prompt": "0.0000025", "completion": "0.00001" },
"activate": { "workspace_id": "<workspace-id>" }
}'If the test checks fail, the draft is kept and comes back with the failed checks, so you can patch it and try again. The Idempotency-Key header makes retries safe (a repeated key returns the endpoint the first request created). The OpenRouter Terraform provider wraps all of this in an openrouter_private_endpoint resource, so terraform apply registers, tests, and activates the endpoint and terraform destroy removes it.
Good to know
- Marking an endpoint private doesn’t make it a Zero Data Retention endpoint. Your provider handles prompts exactly as it did before, and OpenRouter records the data policy you declare when you register the deployment.
- A private endpoint can use In-Region Routing if OpenRouter can work out a region from its address, or if you declare one during setup. Requests to
us.openrouter.aioreu.openrouter.aithen route to your deployment inside that region. The In-Region Routing guide lists the supported providers. - Your provider key has to be saved under BYOK in each workspace that calls the endpoint, and the test request during setup needs it there too.
- Each organization can have up to 10 private endpoints by default, and endpoints that are still being set up count toward that limit.

Get started
Private Endpoints is an add-on to the Enterprise plan. Ask your account representative to enable it for your organization, or talk to the team.
Once it’s enabled, an organization admin can add your first endpoint from the Private Endpoints page in your account or with a Management API key through the Private Endpoints API.
来源:OpenRouter:Blog(Announcements) · openrouter.ai