Skip to content

Enterprise > Enterprise features

Bring your own LLM

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Route Warp's agents through your organization's managed inference infrastructure for governance, billing control, and model flexibility.

Warp supports Bring your own LLM (BYOLLM) for Enterprise teams that want to run inference on their own managed infrastructure. BYOLLM covers two patterns: cloud-provider Model-as-a-Service (AWS Bedrock, Google Vertex AI, Azure AI Foundry) and approved internal inference gateways.

With BYOLLM, your team uses Warp’s agents while Warp manages routing, orchestration, governance, and observability across the providers you’ve approved. Inference runs in your environment; admins control which models are available to whom.

How BYOLLM differs from BYOK and Custom inference endpoint

Section titled “How BYOLLM differs from BYOK and Custom inference endpoint”

Warp offers three ways to bring your own inference into the product. BYOLLM is one of them, and it serves a different use case than the others.

NameMeaningPlans
Bring your own API key (BYOK)User-level API keys for OpenAI, Anthropic, or Google. Each user configures their own key locally; Warp uses it to call the provider directly.Free, Build, Max (orgs with 10 or fewer employees); Business or Enterprise required for larger orgs
Custom inference endpoint (CIE)User-level OpenAI-compatible endpoint such as OpenRouter, LiteLLM, z.ai, or an internal gateway. Each user configures the endpoint locally.Free, Build, Max (orgs with 10 or fewer employees); Business or Enterprise required for larger orgs
Bring your own LLM (BYOLLM)Enterprise-only managed inference infrastructure: cloud-provider Model-as-a-Service (Bedrock, Vertex, Foundry) or approved internal gateways. Warp manages routing, orchestration, governance, and observability for the whole team.Enterprise

Use Bring your own API key or Custom inference endpoint when an individual developer wants to authenticate to a provider with their own key or endpoint. Use BYOLLM when an organization wants Warp to manage inference routing across approved providers for the whole team.

  • Cloud-native credentials - Authenticate using each user’s cloud-native identity (AWS IAM today; Google Cloud and Azure identities on the roadmap). Warp does not store API keys.
  • Admin-enforced routing - Team admins configure which models are available to users in AWS Bedrock, with the ability to disable non-Bedrock model access entirely.
  • Consolidated billing - Inference costs are billed directly to your AWS account, leveraging existing cloud commitments.

When BYOLLM is enabled, Warp redirects inference calls to your AWS Bedrock environment instead of using model providers’ direct APIs.

Here’s the high-level flow:

  1. Admin configures routing - Your team admin sets routing policies in Warp’s admin settings (e.g., “Route Claude Sonnet 4.5 through AWS Bedrock; disable direct Anthropic API”).
  2. Team members authenticate - Each team member authenticates to AWS locally using the AWS CLI (aws login).
  3. Warp routes requests - When a team member uses an interactive agent in the terminal, Warp uses their short-lived session credentials to authenticate requests to your configured AWS Bedrock API endpoint.
  4. Inference executes in your cloud - The model runs in your AWS account. Responses return to the Warp client.

BYOLLM uses cloud-native IAM authentication, not long-lived API keys:

  • Automatic refresh - Session tokens refresh automatically every ~15 minutes. Users can enable auto-refresh by opening Settings and searching for AWS Bedrock, or when prompted during first credential expiration. With auto-refresh enabled, sessions can run uninterrupted for up to 12 hours (depending on your AWS admin configuration).
  • Per-user credentials - Credentials are not shared across the organization. Your cloud provider’s default credential provider chain (e.g., AWS CLI) provisions and refreshes them locally.
  • No storage or logging - Warp never stores or logs your cloud session tokens on its servers.

This approach ensures access management stays with your cloud provider, giving admins member-by-member control.

BYOLLM supports the intersection of models that Warp supports and models available on AWS Bedrock. Currently, only Claude models (Anthropic) are available through AWS Bedrock. OpenAI and Google models are not available on Bedrock.

To determine which models you can use with BYOLLM:

A model must appear on both lists to be available through BYOLLM.

Before configuring BYOLLM, confirm the following:

  • Your organization has the desired models enabled in AWS Bedrock.
  • You have admin access to both Warp’s Admin Panel and your AWS IAM settings.
  • Team members have the AWS CLI installed locally.

Step 1: Configure routing policies (admin)

Section titled “Step 1: Configure routing policies (admin)”

In the Admin Panel, configure which models should route through AWS Bedrock:

  1. From the Admin Panel, navigate to the BYOLLM or model routing settings.
  2. Select which models should use your cloud provider (e.g., “Claude Sonnet 4.5 via AWS Bedrock”).
  3. Optionally, disable direct API access to enforce provider-only routing.

Grant your team members the necessary permissions in AWS. Use least-privilege IAM policies.

Example: AWS Bedrock minimum IAM policy

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "BedrockModelAccess",
"Effect": "Allow",
"Action": [
"bedrock:InvokeModel",
"bedrock:InvokeModelWithResponseStream"
],
"Resource": [
"arn:aws:bedrock:*::foundation-model/*",
"arn:aws:bedrock:*:*:inference-profile/*",
"arn:aws:bedrock:*:*:application-inference-profile/*"
]
}
]
}

Step 3: Authenticate locally (team member)

Section titled “Step 3: Authenticate locally (team member)”

Each team member authenticates to AWS using the AWS CLI:

Terminal window
aws login

Confirm your AWS environment and region are correctly configured before using Warp.

Run a test prompt in Warp using a model configured for BYOLLM routing. Verify:

  • The request completes successfully.
  • Logs appear in AWS CloudWatch.

When a request routes through BYOLLM:

  • Warp does not consume credits for that request.
  • Your cloud provider account receives the inference costs directly.

Warp’s agents automatically select the best model for your task while respecting your admin’s routing policies. If you configure a model for BYOLLM, requests for that model route to AWS Bedrock.

If a BYOLLM request fails (e.g., due to expired credentials, insufficient permissions, or provider quota limits), Warp attempts to fall back to the next available model your admin has enabled.

For example, if Claude Sonnet 4.5 on Bedrock fails but your admin also enabled it via direct API, Warp falls back to the direct API to avoid disruption. If a fallback uses a direct API model, that request consumes Warp credits.

If no fallback is available (e.g., the admin disabled all non-Bedrock models), Warp displays a clear error message.

  • No long-lived API keys — BYOLLM uses cloud-native IAM with short-lived session tokens.
  • Per-user authentication — Each team member authenticates individually; credentials are not shared.
  • No storage or logging — Warp never stores or logs your cloud session tokens on its servers.

Warp maintains SOC 2 compliance and has Zero Data Retention (ZDR) agreements with its contracted LLM providers.

However, when using BYOLLM:

  • Your cloud account settings determine data retention policies.
  • Warp cannot enforce ZDR for requests routed through your infrastructure.
  • If your cloud account does not have ZDR enabled, your provider may retain data according to their terms.
  • Warp keeps all runs fully steerable and logged within Warp.
  • Your cloud account retains provider-side logs (usage, latency, errors).
  • Missing or expired credentials — Re-authenticate using aws login. To avoid interruptions, enable auto-refresh by opening Settings and searching for AWS Bedrock, or when prompted during credential expiration.
  • Insufficient permissions — Verify your IAM policy includes the required actions and resources.
  • Region or model mismatch — Confirm the model is enabled in your AWS region and that your environment is configured for the correct region.
  • Provider quota limits — Check your AWS Bedrock quota and request increases if needed.
  1. Verify local authentication: run aws sts get-caller-identity.
  2. Check your effective IAM policy for the required permissions.
  3. Confirm the model ID and region match your Warp configuration.
  4. Inspect AWS CloudWatch logs for request details and errors.

How is BYOLLM different from BYOK and Custom inference endpoint?

Section titled “How is BYOLLM different from BYOK and Custom inference endpoint?”

See How BYOLLM differs from BYOK and Custom inference endpoint at the top of this page for a comparison and plan-availability details. In short: BYOK and CIE are user-level configurations available to individual users and orgs with 10 or fewer employees on Free, Build, and Max, and to all users on Business and Enterprise. BYOLLM is Enterprise-only managed inference infrastructure where Warp routes the whole team’s traffic through providers your admins have approved.

Auto model selection is disabled as soon as your admin disables any Direct API model, regardless of your AWS Bedrock configuration.

If all Direct API models remain enabled and BYOLLM is configured, Auto will try to use your enabled AWS Bedrock models first, falling back to Direct API only if that fails (e.g., invalid/missing AWS credentials, Bedrock outage).

Inference runs in your AWS account. You pay AWS directly for compute usage. Warp does not consume credits for BYOLLM-routed requests.

What data does Warp store? Do you store our cloud credentials?

Section titled “What data does Warp store? Do you store our cloud credentials?”

Warp does not store or log your cloud session tokens. Credentials are used transiently to sign requests and are never persisted on Warp servers.

Warp stores standard run metadata (timestamps, model used, etc.) but does not retain the content of your prompts or responses when using BYOLLM.

Can admins enforce provider-only routing and disable Warp-managed models?

Section titled “Can admins enforce provider-only routing and disable Warp-managed models?”

Yes. Admins can configure routing policies to require specific models to use BYOLLM and disable direct API access to Warp-managed model endpoints.