Skip to content

Kaeso vs Kong AI Gateway

Dedicated MIT Rust AI gateway with console & free SSO vs enterprise API gateway with paid AI plugins.

Back to all comparisons

In short.

Kong AI Gateway extends Kong's NGINX/Lua microservice gateway with AI plugins for routing, rate limiting and governance, with advanced AI policies and enterprise SSO tied to commercial Kong Enterprise or Konnect licences. Kaeso is purpose-built for AI workloads: one MIT Rust gateway with a dedicated console, 50 providers, KPMR model pricing, hard Valkey budgets, OIDC SSO, SCIM and an MCP portal included free.

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.

Kong AI Gateway

  1. 01Your app or an internal service reaches a Kong ingress route.
  2. 02Kong's NGINX and Lua plugins handle auth, the AI proxy, rate limits and guardrails.
  3. 03It calls the configured cloud model or an internal model server.
  4. 04Logs and metrics go to Datadog, Splunk, Prometheus or Konnect.

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.0Kong AI Gateway
Self-hosted on your own serversKaeso 0.7.0Self-hosted onlyKong AI GatewaySelf-hosted OSS core + Enterprise / Konnect hybrid
Gateway runtimeKaeso 0.7.0Rust (single binary + Postgres, Valkey, optional ClickHouse)Kong AI GatewayNGINX / OpenResty (Lua)
Open-source licenceKaeso 0.7.0MIT (everything in one repo)Kong AI GatewayApache 2.0 core (advanced AI & governance Enterprise)
OIDC SSO & SCIM in free codeKaeso 0.7.0Yes: OIDC SSO, SCIM 2.0, 2FA, audit logs, no user capKong AI GatewayKong Enterprise / Konnect
Spend & token limitsKaeso 0.7.0Hard & soft budgets reserved in Valkey (exact USD + display currency)Kong AI GatewayToken rate limits & AI governance (Enterprise plugins)
Fallbacks & routingKaeso 0.7.0Alias routes (fallbacks, conditions, splits) + weighted sticky key poolsKong AI GatewayAI Proxy & multi-LLM fallback plugins
Request logs & privacyKaeso 0.7.0Own ClickHouse, content logging off per org/project, CSV/JSONL exportKong AI GatewayAPI gateway log plugins (ELK, Datadog, Splunk, OTEL)
Local models (Ollama, vLLM, LM Studio)Kaeso 0.7.0Custom providers with auto-detect (Ollama, vLLM, LM Studio, llama.cpp)Kong AI GatewayYes, via upstream service targets
Inbound API formatsKaeso 0.7.0OpenAI Chat & Responses, Anthropic Messages, Gemini API, ElevenLabsKong AI GatewayOpenAI-compatible AI Proxy + provider plugins
MCP tool gateway & guardrailsKaeso 0.7.0Per-project OAuth MCP portal + built-in secrets/PII & HTTP guardrailsKong AI GatewayMCP / AI Gateway Enterprise plugins
Measured throughput (2 cores, 64 clients)Kaeso 0.7.06,338 req/sKong AI GatewayNot in BerriAI's local lane (Kaeso: 6,338 req/s)

Five verified benchmark dimensions.

Kong AI Gateway 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 purpose-built AI gateway with live model pricing from KPMR, exact decimal spend budgets, an interactive Playground and AI request logs.
  2. 02You need OIDC SSO, SCIM 2.0, guardrails, fallbacks and an MCP portal completely free under MIT without Kong Enterprise licensing.
  3. 03You want native support for coding tools (Claude Code, Codex), Gemini /v1beta, OpenAI Responses and ElevenLabs media APIs out of the box.
  4. 04You want teams to manage projects, API keys and alias routes in a dedicated AI console rather than configuring NGINX plugin YAML.

Choose Kong AI Gateway when

  1. 01Your platform team already operates Kong Gateway Enterprise across all internal microservices and wants to keep every API behind one ingress mesh.
  2. 02You need unified non-AI microservice routing, gRPC/REST transformations and existing Kong enterprise compliance contracts.

Common questions.

01Can Kaeso run behind an existing Kong Gateway?
Yes. Many teams keep Kong for general REST and microservice traffic and route AI workloads to Kaeso so engineering teams get KPMR model pricing, hard spend budgets, alias routes and request inspection.
02What is the main licensing difference between Kaeso and Kong AI Gateway?
Kong's open-source core is Apache 2.0, while advanced AI governance, inline guardrails, RBAC and SSO require commercial Kong Enterprise or Konnect plans. Every Kaeso feature ships under MIT.
03Does Kaeso track exact model token pricing automatically?
Yes. Kaeso syncs Ed25519-signed model prices, context limits and capabilities from KPMR automatically so spend budgets and analytics stay accurate without hand-maintained plugin tables.

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.