comparison architecture bifrost

VoidLLM vs Bifrost: Two Go LLM Gateways Compared

· 8 min read

Bifrost is the gateway most similar to VoidLLM. Both are written in Go, both are OpenAI-compatible, both have virtual keys, budgets, failover, and an MCP gateway with a Code Mode. If you are shortlisting Go gateways, you will probably end up comparing these two, so here is how I see it. I build VoidLLM, so read this with that in mind. I have tried to check every Bifrost statement against its own documentation, linked below.

ℹShort version

Bifrost is the broader project: more providers, more features, Apache-2.0, a commercial company behind it. VoidLLM is narrower on purpose: it cannot store your prompts, it has a full org and team hierarchy in the free tier, and its pricing is public and flat. If you need semantic caching, a prompt repository, or many providers, Bifrost is the better fit.

Where Bifrost is stronger

More features in the open source version. From Bifrost’s overview and pricing page: semantic caching, a prompt repository, OpenTelemetry, Prometheus, a built-in request log UI, a CLI, custom plugins, and MCP tool filtering per virtual key. VoidLLM deliberately has no response caching and no prompt management.

More providers. Bifrost’s docs say it unifies 20+ providers and publish a support matrix that includes image, speech, batch, and video endpoints. VoidLLM has nine provider types (OpenAI, Anthropic, Azure OpenAI, AWS Bedrock, Google Gemini, Vertex AI, Ollama, vLLM, and a generic OpenAI-compatible adapter (custom)) and proxies a defined set of OpenAI-style endpoints.

License. Bifrost is Apache-2.0. VoidLLM is BSL 1.1: source available, free to self-host for your own use, converting to Apache 2.0 four years after each release, and it does not allow offering a competing hosted service. If your policy requires an OSI-approved license, Bifrost fits that requirement and VoidLLM does not.

Adoption and backing. The repository shows about 9.9k stars and 1.6k forks. It is built by Maxim AI, a company with a commercial product around it. VoidLLM is a small independent project from VoidMind.

Enterprise breadth. Bifrost’s enterprise tier lists guardrails, cluster mode, adaptive load balancing, SAML and OIDC, vault integrations, log exports, audit logs, and VPC deployment, plus a 14-day trial.

Dollar-denominated budgets. Bifrost budgets are set as dollar amounts with reset durations, checked along with team and customer budgets. VoidLLM enforces token budgets (daily and monthly) and request rate limits. Cost is tracked and reported in VoidLLM, but a hard dollar cap is not something we enforce today.

Where VoidLLM differs

Privacy stance

This is the main reason VoidLLM exists. VoidLLM never stores prompt or response content, and there is no switch for it, because the code path does not exist. Read Zero-Knowledge by Architecture for how that works, and what it costs you in debuggability.

Bifrost takes the other, more common route: its built-in observability captures and stores request and response content so you can inspect it, and it lets you turn that off. The content logging docs describe a disable_content_logging setting at gateway level and per virtual key, and note that content is stripped separately at each destination, so a log store setting does not automatically cover your exporters. That is a reasonable design with real flexibility. It is also a configuration you have to get right and keep right, whereas in VoidLLM there is nothing to configure.

Neither approach makes the upstream provider forget your prompt. The provider still sees what you send it.

Access control hierarchy

VoidLLM models an organization the way many companies run one: org, team, user, key, with four roles (system_admin, org_admin, team_admin, member) in the free Community tier. Rate limits and token budgets can be set at each level and the most restrictive one wins. Model allowlists work the same way across org, team, and key. See Budget Caps Per Team and the RBAC docs. One limit to know: Community is capped at 1 organization and 3 teams, Pro removes that cap.

Bifrost’s open source governance is centered on the virtual key. Its hierarchy is customer, team, virtual key, and per-provider config, each with its own budget, and a key belongs to either one team or one customer. The richer model, with business units, users, and identity provider sync, is in the Enterprise tier, as is role-based access control with custom roles. The setup docs describe dashboard protection as a single admin username and password.

If your main question is “who in my company can do what, and who is charged for it”, that is where I think VoidLLM is a better starting point. If your main question is “how do I give each client application a key with a dollar budget and a set of allowed providers”, Bifrost’s virtual keys fit that very well.

Licensing and pricing

VoidLLMBifrost
LicenseBSL 1.1, Apache 2.0 after four yearsApache-2.0
Free tierCommunity: everything on the proxy side, 1 org, 3 teamsOpen source
PaidPro 99 EUR/mo, Enterprise 399 EUR/mo (SSO, audit logs, OpenTelemetry, multi-instance), Enterprise Plus from about 1,000 EUR/mo billed annuallyEnterprise, custom pricing
Trial30 days, no payment details14 days, request access

VoidLLM sources: pricing docs, LICENSE. Bifrost sources: pricing page, LICENSE.

I think a public flat price is easier to plan around, and I would say the same if I were the buyer. It is a preference, not a technical advantage.

Multiple instances

Both projects keep hot state in memory, and both put multi-node operation behind the paid tier. Bifrost’s budget docs state that running multiple open source nodes with a Postgres backend is not supported, and that Enterprise synchronizes state across nodes. VoidLLM’s multi-instance support (Redis for shared rate limits and cache invalidation) is in the Enterprise tier. For a single instance, both are fine for many teams.

Footprint and self-hosting

Both start in a minute. Bifrost runs through npx or Docker and keeps its configuration and request logs in SQLite files in an app directory by default. VoidLLM ships as one Go binary or image with the admin UI embedded, using SQLite by default and PostgreSQL optionally, see Getting Started: Docker to First Request. I have not measured memory or image size for Bifrost, so I will not compare those.

MCP gateway and Code Mode

Both have one. Bifrost documents MCP tool filtering per virtual key and lists Code Mode as an open source feature on its pricing page. VoidLLM scopes MCP servers at global, org, and team level, closes global servers by default at the org level, and runs Code Mode scripts in a WASM sandbox. See MCP Gateway: Single Front Door. I have not compared the two Code Mode implementations in depth.

Performance

I am not going to put numbers here. Bifrost’s own pages quote different figures in different places (the GitHub description says under 200 microseconds at 5k RPS, the docs overview says 11 microseconds at 5k RPS). Our own figure, under 500 microseconds at 2000 RPS, is in Proxy Overhead Benchmarks, with the method. In both cases the gateway overhead is far smaller than the time a model takes to answer. Bifrost publishes a benchmarking repository with a mock provider and a load generator. Use that, or a similar setup, against both gateways on your hardware.

At a glance

VoidLLMBifrost
LanguageGoGo
LicenseBSL 1.1Apache-2.0
Providers9 provider types20+
Prompt and response storageNever, by designOn by default in built-in logs, can be disabled per gateway or per key
Access hierarchy (free tier)Org, team, user, key, four rolesCustomer, team, virtual key
BudgetsToken budgets and rate limits at every levelDollar budgets and rate limits per key, team, customer
Failover and load balancing4 strategies, circuit breakers, freeFallbacks and weighted load balancing, free
Semantic cachingNoYes
Prompt repositoryNoYes
GuardrailsNo (opt-in PII pseudonymization is in beta)Enterprise
MCP gateway and Code ModeYesYes
SSO, audit logsEnterpriseEnterprise
Multi-instanceEnterprise (Redis)Enterprise (clustering)

How to choose

Choose Bifrost if you want the broadest feature set under Apache-2.0, need semantic caching or a prompt repository, want dollar budgets per application key, or need many providers.

Choose VoidLLM if your main constraint is that a gateway must not be able to retain prompts, if you want org and team roles without paying for them, or if you prefer a smaller surface and a public flat price.

If you are coming from LiteLLM, see VoidLLM vs LiteLLM and the migration guide. If you are coming from Portkey or Helicone, see Migrating from Portkey or Helicone. Both gateways are OpenAI-compatible, so running them side by side for a week costs you very little.

Frequently asked questions

How is VoidLLM different from Bifrost?

Both are Go gateways with virtual keys, budgets, failover, and an MCP gateway with Code Mode. VoidLLM never stores prompt or response content and has an org, team, user, key hierarchy with four roles in the free tier. Bifrost is Apache-2.0, supports more providers, and adds features like semantic caching, a prompt repository, and (in Enterprise) guardrails.

Does Bifrost store prompts and responses?

By default its built-in observability stores request and response content. It has a disable_content_logging setting that can be applied globally or per virtual key, and its docs note that content is stripped separately for each destination. VoidLLM has no content logging code path at all.

Which one is faster?

I do not know for your workload, and I will not quote numbers from either project's marketing. Bifrost publishes an open source benchmarking tool, and VoidLLM documents its own method. Run both against a mock upstream on your hardware.

Related posts