Skip to content

Kaeso vs Bifrost

Rust MIT gateway (6,338 req/s, 7.8 ms chunk gap) vs Maxim AI's Go gateway (2,806 req/s, 20.5 ms chunk gap).

Back to all comparisons
6,338
requests a second for Kaeso 0.7.0 on two cores
2,806
requests a second for Bifrost on the same two cores
7.8ms
p99 gap between streamed chunks for Kaeso
20.5ms
p99 gap between streamed chunks for Bifrost

In short.

Both Kaeso (Rust, MIT) and Bifrost (Go, Apache 2.0 by Maxim AI) replace Python proxies with fast compiled binaries. On BerriAI's ai-gateway-bench on two cores, Kaeso 0.7.0 served 6,338 req/s with 7.8 ms p99 streaming chunk gaps versus Bifrost 2.6.0 at 2,806 req/s and 20.5 ms chunk gaps, while shipping OIDC SSO, SCIM 2.0, custom RBAC and audit logs in the free MIT repository.

How a request travels.

Where API keys live, where budgets and translation happen, and where prompts and logs are stored.

Kaeso 0.7.0

  1. 01Your app sends a request with its own OpenAI, Anthropic, Gemini or ElevenLabs SDK.
  2. 02Kaeso checks the key, the model and the budget on your server, in Valkey.
  3. 03It calls one of 50 providers, or your Ollama or vLLM server, with your own key.
  4. 04Usage goes to PostgreSQL and the request log to your ClickHouse.

Bifrost

  1. 01Your app sends a request with the OpenAI, Anthropic or GenAI SDK.
  2. 02The Bifrost Go binary checks the virtual key and routes it, with an optional semantic cache.
  3. 03A Go adapter calls the cloud provider or a custom local endpoint.
  4. 04Logs go to Prometheus and OpenTelemetry. Governance is in the enterprise tier.

Feature by feature.

Verified on 23 November 2026 against each project's repository, documentation and our published benchmark run.

View comparison sources on GitHub
CriterionKaeso 0.7.0Bifrost
Self-hosted on your own serversKaeso 0.7.0Self-hosted onlyBifrostSelf-hosted (single Go binary / Docker)
Gateway runtimeKaeso 0.7.0Rust (single binary + Postgres, Valkey, optional ClickHouse)BifrostGo
Open-source licenceKaeso 0.7.0MIT (everything in one repo)BifrostApache 2.0 (enterprise features commercial)
OIDC SSO & SCIM in free codeKaeso 0.7.0Yes: OIDC SSO, SCIM 2.0, 2FA, audit logs, no user capBifrostEnterprise tier
Spend & token limitsKaeso 0.7.0Hard & soft budgets reserved in Valkey (exact USD + display currency)BifrostHierarchical budgets & rate limits
Fallbacks & routingKaeso 0.7.0Alias routes (fallbacks, conditions, splits) + weighted sticky key poolsBifrostFailover chains, retries & semantic cache
Request logs & privacyKaeso 0.7.0Own ClickHouse, content logging off per org/project, CSV/JSONL exportBifrostBuilt-in logs, Prometheus & OpenTelemetry
Local models (Ollama, vLLM, LM Studio)Kaeso 0.7.0Custom providers with auto-detect (Ollama, vLLM, LM Studio, llama.cpp)BifrostYes, via custom OpenAI-compatible endpoints
Inbound API formatsKaeso 0.7.0OpenAI Chat & Responses, Anthropic Messages, Gemini API, ElevenLabsBifrostOpenAI, Anthropic, GenAI
MCP tool gateway & guardrailsKaeso 0.7.0Per-project OAuth MCP portal + built-in secrets/PII & HTTP guardrailsBifrostMCP gateway + governance plugins
Measured throughput (2 cores, 64 clients)Kaeso 0.7.06,338 req/sBifrost2,806 req/s (2 cores, 64 clients)

Five verified benchmark dimensions.

Every bar reads directly from our published ai-gateway-bench results on two dedicated cores. Switch metric to compare throughput, tail latency, streaming smoothness, coding-agent sessions and CPU efficiency.

Inspect every table, image digest and raw file
Higher is better
  1. 01Kaeso0.7.06,338 req/s6,086–6,355
  2. 02Kaeso0.7.0, request logs on5,324 req/s5,085–5,388
  3. 03LiteLLM Rustmain at d4e8f96, unreleased3,211 req/s3,146–3,265
  4. 04Bifrost2.6.02,806 req/s2,777–2,819
  5. 05Portkey1.15.2779 req/s776–793
  6. 06LiteLLM Python1.110.274 req/s74–75

Benchmarked on BerriAI's ai-gateway-bench (two dedicated cores, 64 clients, median of three rounds). Full scripts and raw archives at /benchmarks.

Choose Kaeso when

  1. 01You want higher measured concurrency (6,338 vs 2,806 req/s) and tighter streaming jitter (7.8 vs 20.5 ms p99 chunk gap) on the same cores.
  2. 02You need OIDC SSO, SCIM 2.0, custom roles, organizations, projects and audit logs without buying an Enterprise licence.
  3. 03You want strict KPP translation across five native formats including ElevenLabs media APIs and weighted sticky provider key pools.
  4. 04You want hard worst-case spend reservations in Valkey plus a per-project OAuth MCP portal with tool-change approvals.

Choose Bifrost when

  1. 01You prefer a single Go binary with minimal external database dependencies for simple deployments.
  2. 02You want built-in semantic caching or native OpenTelemetry trace export alongside Maxim AI's evaluation ecosystem.
  3. 03Your infrastructure team standardizes on Go services and already runs Maxim tooling.

Common questions.

01How do Kaeso and Bifrost compare on real benchmarks?
On BerriAI's ai-gateway-bench (two dedicated cores, 64 clients, median of three rounds), Kaeso 0.7.0 achieved 6,338 req/s (5,324 with ClickHouse logs on) and 7.8 ms p99 streaming chunk gaps versus Bifrost 2.6.0 at 2,806 req/s and 20.5 ms chunk gaps. Kaeso also used less peak gateway memory (164 MB vs 405 MB, excluding Kaeso's 271 MB Postgres/Valkey).
02Does Bifrost include SSO and SCIM in its free open-source version?
Bifrost keeps enterprise SSO and governance features in commercial tiers, whereas Kaeso includes OIDC SSO, SCIM 2.0, custom RBAC and audit logs under MIT with no paid edition.
03Which gateway has semantic caching?
Bifrost includes semantic caching. Kaeso provides an exact post-translation response cache in Valkey (no semantic cache) so identical requests across OpenAI and Anthropic SDKs share hits deterministically.

Measure it on your own stack.

Install Kaeso with one command, point one SDK at it, or rerun our published benchmark harness on your own hardware.