Skip to content

Kaeso vs agentgateway

Complete Rust AI gateway + web console + budgets + SSO vs Kubernetes-native data plane proxy.

Back to all comparisons

In short.

agentgateway (and Envoy AI Gateway) brings AI and MCP traffic directly into Kubernetes Gateway API and Envoy infrastructure for platform engineers managing cluster-level data planes. Kaeso is a standalone MIT Rust AI gateway with a complete web console, KPMR model pricing, nested Valkey hard budgets, OIDC SSO, SCIM 2.0, ClickHouse request logs and a per-project OAuth MCP portal. It runs just as well on a single Docker host as on Kubernetes with Helm.

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.

agentgateway

  1. 01Your app or MCP client reaches a Kubernetes Gateway API ingress.
  2. 02The agentgateway data plane applies CRD policies, token limits and MCP routing.
  3. 03It calls a cloud provider or a vLLM service inside the cluster.
  4. 04Telemetry goes to your OpenTelemetry and Prometheus stack. There is no billing console.

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.0agentgateway
Self-hosted on your own serversKaeso 0.7.0Self-hosted onlyagentgatewaySelf-hosted (Kubernetes / container binary)
Gateway runtimeKaeso 0.7.0Rust (single binary + Postgres, Valkey, optional ClickHouse)agentgatewayRust / Envoy data plane
Open-source licenceKaeso 0.7.0MIT (everything in one repo)agentgatewayApache 2.0
OIDC SSO & SCIM in free codeKaeso 0.7.0Yes: OIDC SSO, SCIM 2.0, 2FA, audit logs, no user capagentgatewayExternal OIDC / Envoy auth integration
Spend & token limitsKaeso 0.7.0Hard & soft budgets reserved in Valkey (exact USD + display currency)agentgatewayToken rate limits via cluster policy
Fallbacks & routingKaeso 0.7.0Alias routes (fallbacks, conditions, splits) + weighted sticky key poolsagentgatewayKubernetes Gateway API routing & failovers
Request logs & privacyKaeso 0.7.0Own ClickHouse, content logging off per org/project, CSV/JSONL exportagentgatewayOpenTelemetry / Envoy access logs (bring your own UI)
Local models (Ollama, vLLM, LM Studio)Kaeso 0.7.0Custom providers with auto-detect (Ollama, vLLM, LM Studio, llama.cpp)agentgatewayYes, via Kubernetes backend services (vLLM, Ollama)
Inbound API formatsKaeso 0.7.0OpenAI Chat & Responses, Anthropic Messages, Gemini API, ElevenLabsagentgatewayOpenAI, Anthropic, Gemini & MCP proxy
MCP tool gateway & guardrailsKaeso 0.7.0Per-project OAuth MCP portal + built-in secrets/PII & HTTP guardrailsagentgatewayNative MCP & A2A data-plane routing
Measured throughput (2 cores, 64 clients)Kaeso 0.7.06,338 req/sagentgatewayNot in BerriAI's local lane (Kaeso: 6,338 req/s)

Five verified benchmark dimensions.

agentgateway 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 a ready-to-use web console for organizations, projects, API keys, Playground testing, request logs and cost analytics on day one.
  2. 02You need hard decimal spend budgets backed by KPMR model pricing, not just raw token rate limits.
  3. 03You want built-in OIDC SSO, SCIM 2.0, custom RBAC roles, audit logs and per-project MCP tool approval workflows.
  4. 04You want one-command Docker Compose on a single VM as well as a published Kubernetes Helm chart.

Choose agentgateway when

  1. 01Your platform team manages everything declaratively via Kubernetes Gateway API CRDs and Envoy service mesh.
  2. 02You need deep Envoy-level L7/A2A mesh policies and already operate your own Prometheus, Grafana and log UIs.

Common questions.

01Does Kaeso run on Kubernetes like agentgateway?
Yes. Every Kaeso release publishes a Helm chart alongside Docker Compose and cloud templates, while scaling stateless gateway replicas horizontally behind your Kubernetes ingress.
02How do Kaeso and agentgateway handle MCP servers differently?
agentgateway acts as an infrastructure MCP/A2A proxy configured via CRDs. Kaeso gives every project an OAuth MCP portal (/mcp/{project-id}) for claude.ai, ChatGPT and Cursor with per-tool approval when tool schemas change, tool call rate limits and full tool-call logs.
03Does agentgateway include a billing console and spend budgets?
agentgateway focuses on the proxy data plane and delegates dashboards and billing to external tools. Kaeso ships a full React 19 console with KPMR pricing, nested hard spend budgets and organization currency conversion.

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.