Skip to content

Kaeso vs TensorZero

Actively maintained MIT Rust AI gateway (v0.7.0) vs archived TensorZero Rust stack (June 2026).

Back to all comparisons

In short.

TensorZero built a well-regarded Apache 2.0 Rust LLM gateway combined with ClickHouse observability, prompt evaluations and fine-tuning optimization, but wound down commercial operations and archived its repository in June 2026. Kaeso is an actively maintained MIT-licensed Rust AI gateway with 50 built-in providers, signed KPMR model updates, hard Valkey spend budgets, OIDC SSO, SCIM 2.0, ClickHouse request logs and a web console.

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.

TensorZero

  1. 01Your app calls a TensorZero function or its OpenAI-compatible layer.
  2. 02The Rust gateway reads a static TOML config. Its repository was archived in June 2026.
  3. 03It calls the model provider or a local vLLM server.
  4. 04Inferences and optimization data land in ClickHouse tables.

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.0TensorZero
Self-hosted on your own serversKaeso 0.7.0Self-hosted onlyTensorZeroSelf-hosted (archived repository, no new releases)
Gateway runtimeKaeso 0.7.0Rust (single binary + Postgres, Valkey, optional ClickHouse)TensorZeroRust (archived June 2026)
Open-source licenceKaeso 0.7.0MIT (everything in one repo)TensorZeroApache 2.0 (archived)
OIDC SSO & SCIM in free codeKaeso 0.7.0Yes: OIDC SSO, SCIM 2.0, 2FA, audit logs, no user capTensorZeroNone built in
Spend & token limitsKaeso 0.7.0Hard & soft budgets reserved in Valkey (exact USD + display currency)TensorZeroNo built-in nested org/key spend budgets
Fallbacks & routingKaeso 0.7.0Alias routes (fallbacks, conditions, splits) + weighted sticky key poolsTensorZeroConfig-driven model variants & fallbacks
Request logs & privacyKaeso 0.7.0Own ClickHouse, content logging off per org/project, CSV/JSONL exportTensorZeroClickHouse inference, feedback & evaluation logs
Local models (Ollama, vLLM, LM Studio)Kaeso 0.7.0Custom providers with auto-detect (Ollama, vLLM, LM Studio, llama.cpp)TensorZeroYes, via OpenAI-compatible / vLLM endpoints
Inbound API formatsKaeso 0.7.0OpenAI Chat & Responses, Anthropic Messages, Gemini API, ElevenLabsTensorZeroTensorZero inference API + OpenAI compatibility
MCP tool gateway & guardrailsKaeso 0.7.0Per-project OAuth MCP portal + built-in secrets/PII & HTTP guardrailsTensorZeroNone
Measured throughput (2 cores, 64 clients)Kaeso 0.7.06,338 req/sTensorZeroNot in BerriAI's local lane (Kaeso: 6,338 req/s)

Five verified benchmark dimensions.

TensorZero was not part of BerriAI's local ai-gateway-bench lane. Kaeso 0.7.0 measured 6,338 req/s (5,324 req/s with ClickHouse request logs on) on two dedicated cores with +0.54 ms median added latency at 16 clients.

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 an actively maintained Rust AI gateway receiving regular releases, security updates and signed KPMR model catalogue updates.
  2. 02You need standard OpenAI, Anthropic, Gemini and ElevenLabs SDKs without refactoring apps to custom function definitions.
  3. 03You need company-wide multi-tenancy: organizations, projects, OIDC SSO, SCIM 2.0, custom RBAC, hard Valkey budgets and an MCP portal.
  4. 04You want verified two-core benchmarks (6,338 req/s; 5,324 with ClickHouse logs on) and one-click cloud or Kubernetes Helm deployment.

Choose TensorZero when

  1. 01You specifically rely on TensorZero's historical prompt-optimization and fine-tuning feedback loop and are prepared to maintain an internal fork pinned at or after 2026.6.0.

Common questions.

01Why are teams migrating from TensorZero to Kaeso?
TensorZero archived its repository in June 2026, stopping new provider adapters, model updates and security patches. Kaeso gives Rust-first teams an actively maintained MIT gateway with ClickHouse logs, 50 built-in providers and signed KPMR model updates.
02Does Kaeso require changing how apps call LLMs like TensorZero's function API?
No. Apps keep the official OpenAI, Anthropic, Google Gen AI or ElevenLabs SDK and change only base_url and the API key. Routing, fallbacks and A/B splits live on Kaeso alias routes.
03Does Kaeso support ClickHouse like TensorZero?
Yes. Kaeso writes structured request logs (and optional request/reply content) asynchronously to ClickHouse with configurable retention and CSV/JSONL exports.

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.