Choose your model

BYOK — Bring your own provider keys

Use your existing provider keys with Ollima — including providers' free tiers. Provider charges (if any) go to your provider account; Ollima is the routing + observability layer. Available on all plans, including Free.

When to use BYOK

Supported providers

Direct-proxy mode works with any OpenAI-compatible provider: register your key on the Providers page and Ollima proxies your requests straight to that provider's OpenAI-shape endpoint, with zero intermediary — your key stays on the wire to the provider. Providers that use a different API shape are on the roadmap; track them on GitHub.

Free models via your own key

Several supported providers offer a free tier — bring that key and Ollima routes through it for free, giving you one interface, one usage dashboard, and per-key spend caps. The quota is yours (tied to your provider account), so it scales per developer instead of sharing a single pool.

Free tiers rate-limit aggressively and some train on your prompts — check each provider's data policy before sending proprietary code. Running locally with Ollama in the VS Code extension keeps everything on your machine.

Add a provider key

  1. Open app.ollima.comProviders. (Only visible on paid plans.)
  2. Pick a provider, paste your key. The dashboard hits POST /orgs/<slug>/providers over your authenticated session — the plaintext key never goes to our backend except to be encrypted with ChaCha20-Poly1305 using a per-deployment master key.
  3. You'll see a green dot next to that provider once a probe call succeeds.
Even our DB admins can't read your provider key — it's encrypted at rest with a master key only the live gateway process has in memory, never on disk. Stored alongside other credentials in ollima_provider_credentials with row-level encryption.

Direct your traffic to BYOK

Once a provider key is registered, the shim auto-proxies any request whose resolved provider matches. You don't change your client code. Behavior summary:

Rotate / revoke

From the Providers page: click Rotate, paste the new key, the old one is overwritten atomically. Click Revoke to delete the encrypted row — future requests fall back to Ollima-hosted billing on that provider.

How billing changes

BYOK requests:

Key storage & security