Blog

Bring your own keys: multi-model AI under one org policy

Most companies end up with more than one model provider. The hard part is not calling them. It is deciding who may use which model, on whose key, within what budget, and what happens when one of them fails.

Enterprise AI4 min read
The short answer

Run every provider behind one org policy. Let each org bring its own keys (in Bello Bot: Google Gemini, OpenAI, Anthropic, xAI, or any OpenAI-compatible URL), set an allow-list of models, pick models in a fixed order (chat, bot, org default, app default), cap spend with a monthly budget, and fail over only on the platform's keys so your own traffic stays where you sent it. Z.ai and DeepSeek run on Bello Bot's keys only.

Why one provider is rarely enough

Teams pick models for different jobs: a fast, cheap model for triage, a strong one for hard reasoning, one that reads images, one with web search. Procurement adds its own constraints: an existing contract with one vendor, data terms with another. The result is several providers whether you planned it or not.

Without a policy layer, each team wires its own keys into its own tools. Spend is invisible, nobody can say which model touched which data, and an outage at one provider stops work that could have moved elsewhere.

Which providers, on whose key

Each org can bring its own keys for Google Gemini, OpenAI, Anthropic and xAI, or point a bot at any OpenAI-compatible URL. Without a key of its own, a provider runs on Bello Bot's key.

Z.ai (GLM) and DeepSeek run only on Bello Bot's own keys. Customers do not pick them directly; the platform routes replies to them.

// src/billing.rs
pub(crate) const PROVIDERS: [&str; 5] = ["google", "openai", "xai", "anthropic", "custom"];
pub(crate) const HOSTED: [&str; 2] = ["zai", "deepseek"];
ProviderYour own key (BYOK)Bello Bot's key
Google GeminiYesYes
OpenAIYesYes
AnthropicYesYes
xAIYesYes
Custom OpenAI-compatible URLYesNo
Z.ai (GLM)NoYes, routed by the platform
DeepSeekNoYes, routed by the platform

Picking the model for each reply

The model for a reply is picked in this order: the chat's override, then the bot's model, then the org default, then the app default (a Gemini model). Admins can set an allow-list of models. A pick outside it falls back to the org default, and the chat says so.

The order matters because it makes model choice predictable. A person can override a model for one chat, an admin can set a bot's model for its job, and the org default covers everything else. Nothing silently escapes the allow-list.

If the picked model cannot read images and a message has one, the reply moves to a model that can, and the route records it. On Bello Bot's keys, a route can send quick messages to a fast model and hard work to a strong one.

Custom endpoints without opening your network

A custom OpenAI-compatible base URL must start with http(s) and goes through the same network guard as connectors, so it cannot reach private addresses.

This is the piece most multi-model setups skip. A custom base URL is a URL the customer controls, which makes it an SSRF vector like any MCP server. In Bello Bot it must be public https, and it is checked on every request and redirect.

Fallbacks that respect your keys

Every call on Bello Bot's keys feeds a provider health check. A failing provider is rested, and a reply that fails before it starts moves to the route's fallback model on another provider.

Fallback applies to Bello Bot's keys. A reply on your own key is not moved to another provider, so your traffic stays where you sent it.

This split is deliberate. If you bring your own key, you chose that provider for a reason: a contract, a data agreement, a region. Moving your traffic to another provider behind your back would break that choice. On Bello Bot's keys, keeping the reply alive is the better default.

Budgets and metering

Admins can set a monthly budget. At 80 percent the org gets a warning. At 100 percent background runs stop, chats on Bello Bot's keys stop, and with a hard stop every chat stops.

Usage is metered per call and counts toward your budget: at the provider's cost on your own key, and at cost plus a margin on Bello Bot's keys.

Gmail and model choice

A chat that has used Gmail stays on Gemini, and Gmail tools are offered only on Gemini. Gmail is invite-only right now.

Rollout plan

  1. Add the org's keys for the providers you already pay for.
  2. Set an allow-list of models and an org default.
  3. Give bots with special jobs their own model.
  4. Set a monthly budget, and decide whether a hard stop should stop every chat.
  5. Review usage per provider after the first month.

From the blog

Questions

Which providers support bring-your-own-key in Bello Bot?

Google Gemini, OpenAI, Anthropic and xAI, plus any OpenAI-compatible base URL.

Can I use my own DeepSeek or Z.ai key?

No. Z.ai (GLM) and DeepSeek run only on Bello Bot's own keys, and the platform routes replies to them.

What happens when a provider fails?

On Bello Bot's keys, a failing provider is rested and a reply that fails before it starts moves to the route's fallback model. A reply on your own key is not moved to another provider.

Can admins restrict which models are used?

Yes. An allow-list of models; a pick outside it falls back to the org default, and the chat says so.

Is there a spend limit?

Admins can set a monthly budget with a warning at 80 percent and stops at 100 percent.

Keep reading

Try Bello Bot with your team

Public beta. Bring your own model keys, invite your team, and approve what your bots do.