Skip to main content
AI Gateway · BYOK

Bring your own key

Keep your provider accounts, your rates and your contracts. Inferbase routes, inspects and records the requests, and your provider bills you for the tokens.

Definition

What a BYOK gateway does

Bring your own key (BYOK) means the gateway calls model providers with your API keys rather than its own. Your provider bills you directly at your own rates, and the gateway adds what a single provider account cannot: one API across providers, routing between them, limits per application, guardrails and a record of every request.

In Inferbase, provider keys are connected per project and stored encrypted. Each key is checked model by model, on your key, so the models shown are the ones your account can actually serve, and a model that stops serving is noticed before your users notice it.

Providers

Fourteen providers, one API

Providers

OpenAI, Anthropic, Google Gemini, Together AI, DeepInfra, Mistral AI, xAI, DeepSeek, Cohere, Groq, Fireworks AI, Cerebras, Novita AI and OpenRouter.

Beyond chat

Embeddings, rerank, images, speech, transcription and video where the provider serves them, through the same OpenAI-shaped endpoints.

Model checks

Each model a key lists is asked, on your key, whether it serves; the result is shown per model and rechecked daily for the models you use.

Per project

A key belongs to one project and serves only that project’s API keys.

Billing

Your provider bills the tokens

Nothing added to tokens

Requests on your key are billed by your provider; Inferbase adds nothing to them. The request counts toward your plan’s monthly requests.

Mix with managed models

A routing policy can draw from your keys, your cloud accounts and the managed catalog, and decide which the request runs on.

Stand-in for an outage

A policy can let your own key serve a request when the managed route for the same model fails.

FAQ

FAQ: Bring your own key

Put intelligence in the middle.

Start on the free plan with 5,000 requests a month, no card required.