Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bring your own API keys

Use your organization's own model provider accounts with Zerve.

Organizations can connect their own accounts with model providers, so Zerve's agents use your API keys instead of Zerve's. Many organizations do this to keep model usage under their own provider contracts, pricing, data agreements and rate limits.

Supported providers

Provider
What you need

Anthropic

An API key

OpenAI

An API key

Google Gemini

An API key

OpenRouter

An API key

Amazon Bedrock

No key. Bedrock uses the AWS credentials of your organization's compute, so it's available when your organization runs Zerve in your own AWS account. See Deployment options.

Adding a key

You need to be an organization admin.

1

Open Model settings

Go to Organization Settings → Model Settings, and find AI API keys.

2

Add the key

Choose the provider and paste your API key.

3

Check the provider is approved

Make sure the provider is approved for your organization and the models you want are enabled. See Model settings.

Your key is stored in your organization's secure vault and is never shown again. To replace it, enter a new one.

How your key is used

Once you've added a key, all agent requests to that provider use your key instead of Zerve's. Your key always takes priority for its provider.

How billing works

Cost
Who you pay

Model usage

Your model provider, directly, under your own account

Orchestration

Zerve charges credits for running the agents, such as planning, coordination and context management, at a reduced rate

Compute

Zerve charges credits for compute as normal, since it isn't covered by your provider's bill

Routing everything through your own gateway

Organizations that need all model traffic to go through their own infrastructure, such as for an air-gapped install, can use an LLM gateway instead of individual keys. With a gateway, every agent request goes to your gateway's endpoint, and your gateway holds the provider credentials. This is set up as part of a self-managed install.

Last updated

Was this helpful?