-
Notifications
You must be signed in to change notification settings - Fork 19
docs: Add Gemini Enterprise (Vertex AI) BYOLLM documentation #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hongyi-chen
wants to merge
3
commits into
main
Choose a base branch
from
docs/gemini-enterprise-byollm
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,21 @@ | ||
| --- | ||
| title: Bring Your Own LLM | ||
| description: >- | ||
| Route Warp's agents through your AWS Bedrock models for billing control and | ||
| infrastructure flexibility. | ||
| Route Warp's agents through your own AWS Bedrock or Google Cloud (Gemini | ||
| Enterprise) models for billing control and infrastructure flexibility. | ||
| --- | ||
|
|
||
| Warp supports **Bring Your Own LLM (BYOLLM)** for enterprise teams that need to run inference on their own cloud infrastructure. With BYOLLM, your team can use Warp's agents while routing inference through models hosted in your AWS Bedrock environment. | ||
| Warp supports **Bring Your Own LLM (BYOLLM)** for enterprise teams that need to run inference on their own cloud infrastructure. With BYOLLM, your team can use Warp's agents while routing inference through models hosted in your AWS Bedrock environment or your Google Cloud project. | ||
|
|
||
| This gives you control over cloud spend and model hosting, without changing how your team works in Warp. | ||
|
|
||
| ## Supported providers | ||
|
|
||
| * **AWS Bedrock** - Route inference through models hosted in your AWS account. Interactive requests use each member's AWS CLI session credentials, and cloud agent runs assume an IAM role via OIDC. Setup is covered on this page. | ||
| * **Gemini Enterprise (Vertex AI)** - Route inference through your Google Cloud project using short-lived Workload Identity Federation credentials. See [BYOLLM: Gemini Enterprise](/enterprise/enterprise-features/byollm-gemini-enterprise/) for setup. | ||
|
|
||
| :::caution | ||
| BYOLLM currently supports **AWS Bedrock** only. Coming soon: Azure Foundry and Google Vertex support. | ||
| Azure Foundry support is coming soon. The rest of this page covers the AWS Bedrock configuration. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i think its a little confusing that the bring your own llm page explains the aws bedrock config - but its a separate page for just BYOLLM: Gemini Enterprise? Maybe they can both be their own pages? |
||
| ::: | ||
|
|
||
| :::note | ||
|
|
@@ -58,7 +63,7 @@ This approach ensures access management stays with your cloud provider, giving a | |
|
|
||
| ### Model availability | ||
|
|
||
| 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. | ||
| BYOLLM supports the intersection of models that Warp supports and models available on your provider. On AWS Bedrock, only **Claude models** (Anthropic) are available; OpenAI and Google models are not available on Bedrock. To route Gemini models (or Claude partner models on Vertex AI) through your Google Cloud project, use [Gemini Enterprise BYOLLM](/enterprise/enterprise-features/byollm-gemini-enterprise/) instead. | ||
|
|
||
| To determine which models you can use with BYOLLM: | ||
|
|
||
|
|
@@ -338,7 +343,7 @@ However, when using BYOLLM: | |
|
|
||
| **BYOK (Bring Your Own API Key)** lets individual users add their own API keys for direct model provider access (e.g., Anthropic, OpenAI, Google). Warp stores keys locally on the user's device. | ||
|
|
||
| **BYOLLM (Bring Your Own LLM)** routes inference through your organization's cloud infrastructure (AWS Bedrock) using cloud-native IAM. Admins configure it at the admin level and it applies to the entire team. | ||
| **BYOLLM (Bring Your Own LLM)** routes inference through your organization's cloud infrastructure (AWS Bedrock or Google Cloud via Gemini Enterprise) using cloud-native IAM. Admins configure it at the admin level and it applies to the entire team. | ||
|
|
||
| Enterprise admins can also centrally manage BYOK itself: [team-managed API keys and endpoints](/enterprise/enterprise-features/team-managed-keys-and-endpoints/) let an admin configure shared provider keys and OpenAI-compatible endpoints that are stored server-side and work for both interactive requests and cloud agents. The table below compares BYOLLM with the self-serve, user-level form of BYOK. For a side-by-side comparison that also includes team-managed keys and endpoints, see [How team-managed providers differ from self-serve BYOK and BYOLLM](/enterprise/enterprise-features/team-managed-keys-and-endpoints/#how-team-managed-providers-differ-from-self-serve-byok-and-byollm). | ||
|
|
||
|
|
@@ -372,6 +377,7 @@ Yes. Admins can configure routing policies to require specific models to use BYO | |
|
|
||
| ## Related resources | ||
|
|
||
| * [BYOLLM: Gemini Enterprise (Vertex AI)](/enterprise/enterprise-features/byollm-gemini-enterprise/) — Route inference through your Google Cloud project | ||
| * [Bring Your Own API Key](/agent-platform/inference/bring-your-own-api-key/) | ||
| * [Team-managed API keys and endpoints](/enterprise/enterprise-features/team-managed-keys-and-endpoints/) — Enterprise admins configure shared provider keys and custom endpoints for the team | ||
| * [Model Choice](/agent-platform/inference/model-choice/) — Full list of supported models | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this can be "and Gemini Enterprise Agent Platform". i dont think "on vertex" makes sense (though i think its fine if we add vertex in brackets like in
custom-inference-endpoint.mdxsince ppl prob still think of it as vertex).