Skip to content

Commit 41374c1

Browse files
hongyi-chenoz-agent
andcommitted
Rewrite BYOK page, add Custom inference endpoint page, and update sidebar
Open BYOK to Free + all eligible paid plans (previously gated to paid plans starting with Build). Reframe BYOK alongside two adjacent options: - Add a 'How BYOK differs from Custom inference endpoint and BYOLLM' comparison section with a three-row matrix (Name / Meaning / Plans) on the BYOK page. - Refresh BYOK model examples to current frontier (Claude Opus 4.7, Claude Sonnet 4.6, GPT-5.5, Gemini 3.1 Pro) for parity with the Model Choice page. - Clarify that centrally configured, admin-managed BYOK is not yet available; keep the user-level configuration story. - Add a Related resources section linking to the new CIE page, BYOLLM, Model Choice, and Credits. Add a new Custom inference endpoint page under plans-and-billing/ using the feature-doc structure. Covers what CIE is, the OpenAI-compatible Chat Completions API requirement, example endpoints (OpenRouter, LiteLLM, z.ai, internal gateways), enablement steps, billing behavior (no Warp credits consumed; Auto still uses credits), ZDR caveats (depend on endpoint provider), Free + eligible paid plan availability, the same three-row comparison matrix, and Related resources. Per the May 2026 editorial rule, neither page hard-codes per-plan monthly credit counts; both link to warp.dev/pricing. Insert the CIE page slug into the Plans and billing sidebar section immediately after BYOK. Part of the May 2026 pricing docs overhaul on hyc/plan-updates. Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 4ecda11 commit 41374c1

3 files changed

Lines changed: 148 additions & 18 deletions

File tree

src/content/docs/support-and-community/plans-and-billing/bring-your-own-api-key.mdx

Lines changed: 36 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,36 @@
11
---
2-
title: Bring Your Own API Key
2+
title: Bring your own API key
33
description: >-
4-
Warp's paid plans include the ability to bring your own API keys (BYOK) for
5-
OpenAI, Anthropic, and Google AI models.
4+
Use your own OpenAI, Anthropic, or Google API keys with Warp's agents.
5+
BYOK is available on the Free plan and all eligible paid plans, and never
6+
consumes Warp credits.
67
---
78

8-
Warp supports **Bring Your Own Key (BYOK)** for users who want to connect Warp’s agent to their own Anthropic, OpenAI, or Google API accounts.
9+
Warp supports **Bring your own API key (BYOK)** for users who want to connect Warp's agents to their own Anthropic, OpenAI, or Google API accounts.
910

10-
This lets you use your own API keys to access models directly, giving you full control over model selection, billing, and data routing. See [Model Choice](/agent-platform/capabilities/model-choice/) for a list of supported models.
11-
12-
BYOK provides greater flexibility in model access and ensures Warp **never consumes your** [credits](/support-and-community/plans-and-billing/credits/) for requests routed through your own keys.
11+
BYOK gives you full control over model selection, billing, and data routing. See [Model Choice](/agent-platform/capabilities/model-choice/) for the full list of supported models. When you route a request through your own key, Warp **never consumes your** [credits](/support-and-community/plans-and-billing/credits/) for that request.
1312

1413
:::note
15-
BYOK is currently only available on Warp's paid plans, starting with Build. Learn more about plans and pricing [warp.dev/pricing](https://www.warp.dev/pricing).
14+
BYOK is available on the Free plan and on all eligible paid plans. See [warp.dev/pricing](https://www.warp.dev/pricing) for the current list of eligible plans.
1615
:::
1716

18-
## How does BYOK work?
17+
## How BYOK differs from Custom inference endpoint and BYOLLM
18+
19+
Warp offers three ways to bring your own AI infrastructure. Use this table to pick the right one, and follow the links for full details.
20+
21+
| Name | Meaning | Plans |
22+
| --- | --- | --- |
23+
| **Bring your own API key** (BYOK) | Use your own API key for OpenAI, Anthropic, or Google models. Keys are stored locally on your device. | Free and all eligible paid plans |
24+
| **[Custom inference endpoint](/support-and-community/plans-and-billing/custom-inference-endpoint/)** (CIE) | Connect Warp to an OpenAI-compatible endpoint such as OpenRouter, LiteLLM, z.ai, or an internal gateway. | Free and all eligible paid plans |
25+
| **[Bring your own LLM](/enterprise/enterprise-features/bring-your-own-llm/)** (BYOLLM) | Enterprise-managed inference through your cloud provider (AWS Bedrock, Azure Foundry, Google Vertex) or approved internal infrastructure, with Warp handling routing, orchestration, governance, and observability. | Enterprise only |
26+
27+
See [warp.dev/pricing](https://www.warp.dev/pricing) for current plan availability.
28+
29+
## How BYOK works
1930

2031
When you add your own model API keys in Warp, those keys are stored **locally on your device** and are **never synced to the cloud**.
2132

22-
Warp uses these API keys to directly route your agent requests to the model provider you've configured.
33+
Warp uses these API keys to route your agent requests directly to the model provider you've configured.
2334

2435
:::caution
2536
BYOK does not apply to [Oz Cloud Agents](/agent-platform/cloud-agents/overview/). Because your API keys are stored locally on your device, they are not available to cloud-hosted agent runs. Cloud agent runs always consume [Warp credits](/support-and-community/plans-and-billing/credits/).
@@ -53,9 +64,9 @@ When you explicitly select a model with a key icon, Warp routes requests through
5364

5465
### Auto Model
5566

56-
Warp's **Auto** models dynamically route requests across different models based on context and performance. Because this routing logic depends on Warps infrastructure, **Auto always consumes Warp's credits**, even if youve configured your own API keys.
67+
Warp's **Auto** models dynamically route requests across different models based on context and performance. Because this routing logic depends on Warp's infrastructure, **Auto always consumes Warp's credits**, even if you've configured your own API keys.
5768

58-
To use your own key, select a specific provider model (for example, Claude Sonnet 4.5, GPT-5, or Gemini 2.5 Pro) directly from the model picker with a key icon.
69+
To use your own key, select a specific provider model (for example, Claude Opus 4.7, Claude Sonnet 4.6, GPT-5.5, or Gemini 3.1 Pro) directly from the model picker with a key icon.
5970

6071
### Credit usage
6172

@@ -93,7 +104,7 @@ If your key:
93104

94105
**Failover and fallback:**
95106

96-
By default, Warp does not fall back to your credits when a BYOK (Bring Your Own Key) request fails.
107+
By default, Warp does not fall back to your credits when a BYOK request fails.
97108

98109
You can choose to enable **Warp credit fallback**. When enabled, if an agent request fails with your BYOK model (for example, due to an API error or quota limit), Warp will automatically route the request to one of Warp’s provided models. Warp always prioritizes your API keys first and only uses Warp credits when necessary.
99110

@@ -113,10 +124,17 @@ Warp itself never stores your LLM API keys.
113124

114125
### BYOK on Enterprise and Business plans
115126

116-
Currently, BYOK is configured at the **user level**, not the team or admin level:
127+
Today, BYOK is configured at the **user level** on every plan, including Enterprise and Business:
128+
129+
* Each team member can add and manage their own API keys locally on their device.
130+
* Centrally configured, admin-managed BYOK is not yet available — admins cannot enforce or share API keys across team members from a single place.
131+
* There is no organization-level Admin Panel for BYOK management today.
132+
133+
If your organization needs centrally managed model routing now, see [Bring your own LLM](/enterprise/enterprise-features/bring-your-own-llm/) for the Enterprise-managed option. To discuss a fit, contact us at [warp.dev/contact-sales](https://warp.dev/contact-sales).
117134

118-
* Each team member can add and manage their own API keys locally.
119-
* Team admins cannot yet enforce or share API keys across members.
120-
* There is currently no organization-level Admin Panel for BYOK management.
135+
## Related resources
121136

122-
If your organization has specific needs for managed keys or enterprise-level control, please contact us at [warp.dev/contact-sales](https://warp.dev/contact-sales).
137+
* [Custom inference endpoint](/support-and-community/plans-and-billing/custom-inference-endpoint/) — Route Warp through any OpenAI-compatible endpoint, such as OpenRouter, LiteLLM, z.ai, or an internal gateway.
138+
* [Bring your own LLM](/enterprise/enterprise-features/bring-your-own-llm/) — Enterprise-managed inference through your cloud provider or approved infrastructure.
139+
* [Model Choice](/agent-platform/capabilities/model-choice/) — Full list of supported models and `model_id` values.
140+
* [Credits](/support-and-community/plans-and-billing/credits/) — How Warp credits work and when they're consumed.
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
---
2+
title: Custom inference endpoint
3+
description: >-
4+
Connect Warp to any OpenAI-compatible custom inference endpoint, such as
5+
OpenRouter, LiteLLM, z.ai, or an internal gateway. Available on the Free
6+
plan and all eligible paid plans.
7+
---
8+
9+
A **Custom inference endpoint (CIE)** lets you connect Warp's agents to any OpenAI-compatible inference endpoint, so you can route AI requests through your preferred model router, hosted gateway, or internal infrastructure.
10+
11+
CIE is the right fit when you want to choose your provider, consolidate billing through a third-party router, or run inference behind your own gateway — without giving up the agent experience inside Warp. When a CIE is configured and selected, Warp **never consumes your** [credits](/support-and-community/plans-and-billing/credits/) for the request.
12+
13+
:::note
14+
CIE is available on the Free plan and on all eligible paid plans. See [warp.dev/pricing](https://www.warp.dev/pricing) for the current list of eligible plans.
15+
:::
16+
17+
## Key features
18+
19+
* **OpenAI-compatible** - Works with any endpoint that implements the OpenAI Chat Completions API.
20+
* **Provider flexibility** - Use a model router (OpenRouter, LiteLLM), a model provider with an OpenAI-compatible surface (z.ai), or your own internal gateway.
21+
* **No Warp credits consumed** - Inference is billed directly by your endpoint provider; Warp's metered features remain unaffected.
22+
* **Local configuration** - Endpoint URLs and credentials are stored locally on your device and never synced to the cloud.
23+
24+
## How it works
25+
26+
CIE expects your endpoint to implement the **OpenAI Chat Completions API** (`POST /v1/chat/completions`). Any service that exposes a compatible surface can be used as a CIE target:
27+
28+
* **OpenRouter** - Aggregates many model providers behind a single OpenAI-compatible API and consolidated billing.
29+
* **LiteLLM** - A self-hosted proxy that exposes a unified, OpenAI-compatible API across providers.
30+
* **z.ai** - A model provider with an OpenAI-compatible API surface for its models.
31+
* **Internal gateways** - Any in-house service that fronts model providers behind an OpenAI-compatible endpoint (for example, a corporate AI gateway with logging, redaction, or access control).
32+
33+
When you configure a CIE, Warp stores the endpoint URL, model identifiers, and credentials **locally on your device**. They are never synced to Warp's servers.
34+
35+
:::caution
36+
CIE does not apply to [Oz Cloud Agents](/agent-platform/cloud-agents/overview/). Because CIE configuration is stored locally, it is not available to cloud-hosted agent runs. Cloud agent runs always consume [Warp credits](/support-and-community/plans-and-billing/credits/).
37+
:::
38+
39+
When a CIE-routed model is selected:
40+
41+
* Warp **does not consume** any of your [credits](/support-and-community/plans-and-billing/credits/).
42+
* Costs are billed directly by your endpoint provider.
43+
* Warp does not retain or store your endpoint credentials on any of its servers.
44+
45+
## Enabling a custom inference endpoint
46+
47+
To enable and configure a custom inference endpoint:
48+
49+
1. In Warp, open **Settings** and search for `custom inference endpoint` to jump to the configuration.
50+
2. Add your endpoint URL (the base URL that exposes `/v1/chat/completions`) and any required credentials (typically an API key).
51+
3. Specify the model identifier(s) you want to route through this endpoint.
52+
4. Save the configuration. Once added, you'll see your custom models appear in the model picker.
53+
54+
When you explicitly select a CIE-routed model from the model picker, Warp routes the request through your endpoint instead of consuming Warp's credits.
55+
56+
The CIE configuration flow mirrors the [Bring your own API key](/support-and-community/plans-and-billing/bring-your-own-api-key/) setup, so the steps will feel familiar if you've already configured BYOK.
57+
58+
## Billing behavior
59+
60+
### Warp credits
61+
62+
When you select a CIE-routed model from the model picker:
63+
64+
* No Warp credits are consumed for that request.
65+
* Inference is billed directly by your endpoint provider, according to their pricing.
66+
* The credit transparency footer will show "0 credits used" for CIE-routed requests.
67+
68+
### Auto routing still uses Warp credits
69+
70+
Warp's **Auto** models dynamically route across providers using Warp's infrastructure. Because Auto routing depends on Warp, **Auto always consumes Warp's credits**, even if you've configured a custom inference endpoint.
71+
72+
To use your endpoint, select the specific CIE-backed model from the model picker rather than an Auto option.
73+
74+
### Other AI features in Warp
75+
76+
Some AI-powered features rely on Warp's infrastructure and are unaffected by CIE configuration. These continue to consume credits according to your plan; see [Credits](/support-and-community/plans-and-billing/credits/) for details.
77+
78+
## Zero Data Retention (ZDR)
79+
80+
Warp is **SOC 2 compliant** and has **Zero Data Retention (ZDR)** agreements with all of its contracted LLM providers.
81+
82+
When you use a custom inference endpoint:
83+
84+
* Data retention is determined by **your endpoint provider** and any upstream model providers they route to.
85+
* Warp **cannot enforce ZDR** for requests sent through a custom inference endpoint.
86+
* If your endpoint provider does not have ZDR with the underlying model provider, your requests may be retained according to their terms.
87+
88+
Review your endpoint provider's data handling and retention policies before routing sensitive prompts through a CIE.
89+
90+
## Plan availability
91+
92+
CIE is available on the Free plan and on all eligible paid plans. See [warp.dev/pricing](https://www.warp.dev/pricing) for the current list of eligible plans and any plan-specific limits.
93+
94+
Centrally configured, admin-managed CIE for teams is not yet available. Each user configures their own endpoint locally. Enterprise teams that need centrally managed model routing today should see [Bring your own LLM](/enterprise/enterprise-features/bring-your-own-llm/).
95+
96+
## How CIE differs from BYOK and BYOLLM
97+
98+
Warp offers three ways to bring your own AI infrastructure. Use this table to pick the right one, and follow the links for full details.
99+
100+
| Name | Meaning | Plans |
101+
| --- | --- | --- |
102+
| **[Bring your own API key](/support-and-community/plans-and-billing/bring-your-own-api-key/)** (BYOK) | Use your own API key for OpenAI, Anthropic, or Google models. Keys are stored locally on your device. | Free and all eligible paid plans |
103+
| **Custom inference endpoint** (CIE) | Connect Warp to an OpenAI-compatible endpoint such as OpenRouter, LiteLLM, z.ai, or an internal gateway. | Free and all eligible paid plans |
104+
| **[Bring your own LLM](/enterprise/enterprise-features/bring-your-own-llm/)** (BYOLLM) | Enterprise-managed inference through your cloud provider (AWS Bedrock, Azure Foundry, Google Vertex) or approved internal infrastructure, with Warp handling routing, orchestration, governance, and observability. | Enterprise only |
105+
106+
## Related resources
107+
108+
* [Bring your own API key](/support-and-community/plans-and-billing/bring-your-own-api-key/) — Use your own OpenAI, Anthropic, or Google API keys.
109+
* [Bring your own LLM](/enterprise/enterprise-features/bring-your-own-llm/) — Enterprise-managed inference through your cloud provider or approved infrastructure.
110+
* [Model Choice](/agent-platform/capabilities/model-choice/) — Full list of supported models and `model_id` values.
111+
* [Credits](/support-and-community/plans-and-billing/credits/) — How Warp credits work and when they're consumed.

src/sidebar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ export const sidebarTopics: StarlightSidebarTopicsUserConfig = [
502502
'support-and-community/plans-and-billing/credits',
503503
'support-and-community/plans-and-billing/add-on-credits',
504504
'support-and-community/plans-and-billing/bring-your-own-api-key',
505+
'support-and-community/plans-and-billing/custom-inference-endpoint',
505506
'support-and-community/plans-and-billing/overages-legacy',
506507
'support-and-community/plans-and-billing/pricing-faqs',
507508
],

0 commit comments

Comments
 (0)