OpenWork MCP Gateway
Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
DIdifferent-ai/openwork25k51 new stars in the last 7 days
Manage a self-hosted Kaeso AI gateway: projects, API keys, models, routes, limits and usage.
One OpenAI-, Anthropic-, Gemini- and ElevenLabs-compatible API in front of every provider and your own model servers, for chat, embeddings, reranking, decisions, images, video, speech, transcription and music. Single sign-on, SCIM, roles, budgets, guardrails, alias routes, key pools, request logs, a playground and an MCP portal come with it, under the MIT license, with no paid edition.
Website · Documentation (Deutsch, 简体中文) · Live demo · Benchmarks · Articles · Changelog
On a Linux server or your computer with Docker and Compose 2.24 or newer:
curl -fsSL https://kaeso.app/install.sh | sh
It installs Kaeso with PostgreSQL, ClickHouse and Valkey into ./kaeso, starts it at https://localhost and prints the link that creates the first user. Add -s -- --domain kaeso.example.com to serve your own domain. The quick start continues from there, and install by hand sets up the same Compose package step by step.
On Kubernetes, each release publishes a Helm chart next to its images (Kubernetes):
helm install kaeso oci://ghcr.io/logicplanes/charts/kaeso \
--namespace kaeso --create-namespace --values values.yaml --wait
On a cloud or a hosting platform, the platform templates run the same release:
Render · Railway · DigitalOcean · Fly.io · AWS · Azure · Google Cloud · Coolify · Dokploy · CapRover · Kubernetes
Where to run Kaeso compares the deployment paths, with step-by-step guides for a Linux server, Kubernetes, Hetzner Cloud, OVHcloud, Scaleway, Oracle Cloud, Proxmox VE and a Raspberry Pi. (The DigitalOcean button carries a referral code that credits Kaeso's account, and the Railway button uses a template that pays a referral share to the template author; each platform guide also shows the non-referral CLI or repo path.)
Updates install from the console's Updates page or with the installer's --update, and check the install's settings before they switch anything (upgrades, how Kaeso updates itself).
Point the OpenAI SDK at Kaeso and call any model in your project, Claude included:
from openai import OpenAI
client = OpenAI(base_url="https://kaeso.example.com/v1", api_key="sk-kso-…")
print(client.responses.create(model="claude-haiku-5-5", input="Hello").output_text)
The Anthropic, Google Gen AI, ElevenLabs and Cohere SDKs work the same way with their base URL pointed at Kaeso. Kaeso translates the request and the reply between the formats (calling models).
Built in are Amazon Bedrock, Anthropic, AssemblyAI, Azure, Baidu Qianfan, Baseten, Cartesia, Cerebras, Cloudflare AI Gateway, Cohere, Deepgram, DeepInfra, DeepSeek, ElevenLabs, fal, Fireworks AI, Gemini Enterprise Agent Platform, Google AI Studio, Groq, Hugging Face, IONOS AI Model Hub, Jina AI, MiniMax, Mistral, Moonshot, Nebius Token Factory, Novita AI, NVIDIA, Ollama Cloud, OpenAI, OpenRouter, OVHcloud AI Endpoints, Perplexity, QwenCloud, Replicate, SambaNova, Scaleway, SiliconFlow, SpaceX (xAI), Standard Compute, StepFun, Tencent TokenHub, Together AI, TypeSafe, Upstage, Venice, Vercel, Volcengine Ark, Voyage AI and Z.ai (supported providers). A server of your own, such as vLLM, Ollama, LM Studio or llama.cpp, joins as a custom provider.
| One format in, any provider out Apps speak OpenAI Chat Completions or Responses, Anthropic Messages, Gemini or ElevenLabs; Kaeso encodes each request for the provider and translates the reply and the stream back (format translation, Gemini apps). |
More than chat Embeddings, reranking in Cohere's format, decision models that answer typed questions with probabilities, images, video, speech, transcription, sound effects, music and OpenAI-format batches, with the same keys, limits and logs (API reference, media guide). |
| Routes that hold up Alias routes with conditions, weighted splits and fallbacks, retries after dropped connections and 5xx answers, key pools that spread a project over several keys of one provider, and a response cache (alias routes, retries and fallbacks). |
Model lifecycle Replies from retiring models carry Deprecation and Sunset headers, projects see who still calls them, aliases move to the replacement, and model lines such as claude-opus-latest follow the newest model (model lifecycle, KPMR and retirements). |
| People and access Single sign-on per organization over OpenID Connect for any number of people, roles and projects from your identity provider's groups, SCIM 2.0, organization and project roles with single rights, and audit logs (members and roles, SSO, SCIM and roles). |
Spend under control Hard or soft budgets and rate limits per project, member, service account or key, checked before the provider is called; prices from KPMR, shown in your currency; alerts by email or signed webhook (limits and budgets, hard budgets and currencies). |
| Guardrails Built-in rules find keys, tokens, email addresses, IBANs and card numbers and mask or block them, and your own HTTP services can allow, block or rewrite a request before the model sees it (guardrails, guardrails guide). |
Logs you decide on Every request with its model, status, tokens, cost, timing and caller; content only where the organization, the project or the request allows it; OpenTelemetry traces and Prometheus metrics for your own tools (request logs, logs and privacy). |
| An MCP portal per project Connect your MCP servers once, review their tools, and let claude.ai, ChatGPT, Cursor or any MCP client call them through one signed-in portal (MCP portal, MCP portal guide). |
Verifiable releases Every image, chart and release file carries signed build provenance that gh attestation verify checks, and the updater installs nothing whose signatures don't match (upgrades, updater and config check). |
Decision models, reranking, guardrails, webhooks, SCIM, key pools, batches and the Helm chart arrived in 0.7, with new providers from Amazon Bedrock and Azure to Deepgram and fal. The release article walks through them, and the changelog lists every change.
|
|
|
|
|
|
The pages below show the console with sample data. The live demo is a read-only install to try it yourself.
Analytics |
Request logs |
Models |
Alias routes |
Limits and budgets |
Logging |
flowchart LR
accTitle: How Kaeso sits between apps and providers
accDescr: Apps, SDKs and coding tools call the gateway in the OpenAI, Anthropic, Gemini or ElevenLabs format, and MCP clients call its MCP portal. The gateway resolves the model, checks rights, limits and guardrails, calls the provider in its own format, and writes usage and logs to PostgreSQL, ClickHouse and Valkey, which the console reads.
apps[Apps, SDKs and coding tools]:::outside
mcp[MCP clients]:::outside
subgraph install [Your Kaeso install]
direction LR
gateway[Gateway]:::accent
console[Console]
data[(PostgreSQL, ClickHouse, Valkey)]
gateway --- data
console --- gateway
end
guardrails[Your guardrail services]:::outside
providers[Model providers]:::outside
servers[Your MCP servers]:::outside
apps -- OpenAI, Anthropic, Gemini or ElevenLabs format --> gateway
mcp -- MCP --> gateway
gateway -- signed HTTP --> guardrails
gateway -- the provider's format --> providers
gateway -- MCP --> servers
The gateway is one Rust process with no garbage collector between your app and the provider. Run several behind Caddy or a load balancer and they share everything a request depends on (multiple gateways). See performance and kaeso.app/benchmarks for how Kaeso compares with LiteLLM, Bifrost and Portkey on BerriAI's ai-gateway-bench, and the gateway benchmark in this repository to measure Kaeso on your own hardware.
These tables compare Kaeso with the gateways people most often weigh it against, as their own documentation, pricing pages and licenses describe them. They were read on 23 November 2026 and every entry is sourced below; kaeso.app/compare has a page for each product. Products change: open an issue when an entry is out of date, and we'll correct it.
Yes means the free or open-source version has it. Paid means a paid plan or enterprise license has it. Partial is explained in a note. – means we didn't find it in their documentation.
| On your servers | License | Written in | Web console | Docker Compose | Helm chart | |
|---|---|---|---|---|---|---|
| Kaeso | Yes | MIT | Rust | Yes | Yes | Yes |
| LiteLLM | Yes | MIT, except enterprise/1 | Python2 | Yes | Yes | Yes |
| Bifrost | Yes3 | Apache 2.0 | Go | Yes | Yes | Yes |
| Portkey | Yes | MIT | TypeScript | Logs only | Yes | Paid4 |
| Helicone | Partial5 | Apache 2.0 | TypeScript | Yes | Yes | Yes |
| Kong AI Gateway | Yes | Apache 2.0, AI plugins paid6 | Lua | Yes | Yes | Yes |
| Agent Router (was Envoy AI Gateway) | Yes | Apache 2.0 | Go | – | Yes | Yes |
| OpenRouter | Hosted only | – | – | Hosted | – | – |
| Cloudflare AI Gateway | Hosted only | – | – | Hosted | – | – |
| Single sign-on | SCIM | Roles | Audit log | Budgets | PII and secret rules | Your own guardrail service | |
|---|---|---|---|---|---|---|---|
| Kaeso | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| LiteLLM | Up to 5 users | Paid | Partial7 | Paid | Yes | Partial8 | Yes |
| Bifrost | Paid | Paid | Paid | Paid | Yes | Paid | Partial9 |
| Portkey | Paid | Paid | Paid | Paid | Paid | Paid | Yes |
| Helicone | Paid | – | – | – | Partial10 | – | – |
| Kong AI Gateway | Paid | Paid | Paid | Paid | Paid | Paid | Paid |
| Agent Router | – | – | – | – | Partial11 | – | Partial12 |
| OpenRouter | Paid | Paid | Partial13 | Paid | Yes14 | Yes | – |
| Cloudflare AI Gateway | Yes | Paid | Partial15 | Yes | Yes | Partial16 | – |
| OpenAI Chat Completions and Responses | Anthropic Messages | Gemini | ElevenLabs | Rerank | OpenAI batches | |
|---|---|---|---|---|---|---|
| Kaeso | Yes | Yes | Yes | Yes | Yes | Partial17 |
| LiteLLM | Yes | Yes | Yes | – | Yes | Yes |
| Bifrost | Yes | Yes | Yes | Yes | Yes | Yes |
| Portkey | Yes | Yes | Partial18 | Partial19 | Yes | Paid |
| Helicone | Yes | Partial20 | Partial20 | – | – | – |
| Kong AI Gateway | Partial21 | Paid21 | Yes | – | Paid21 | Paid21 |
| Agent Router | Yes | Yes | – | – | Yes | – |
| OpenRouter | Yes | Yes | – | – | Yes | Yes |
| Cloudflare AI Gateway | Yes | Yes | Yes22 | Yes22 | Partial23 | – |
| Images | Video | Speech | Transcription | Music | |
|---|---|---|---|---|---|
| Kaeso | Yes | Yes | Yes | Yes | Yes |
| LiteLLM | Yes | Yes | Yes | Yes | Yes |
| Bifrost | Yes | Yes | Yes | Yes | – |
| Portkey | Yes | Yes | Yes | Yes | – |
| Helicone | Partial24 | – | – | – | – |
| Kong AI Gateway | Paid21 | Paid21 | Paid21 | Paid21 | – |
| Agent Router | Yes | – | – | Yes | – |
| OpenRouter | Yes | Yes | Yes | Yes | – |
| Cloudflare AI Gateway | Yes | Yes | Yes | Yes | – |
| Several keys per provider | Fallbacks | Retries | Model retirements | MCP gateway | Logs without content | |
|---|---|---|---|---|---|---|
| Kaeso | Yes, weighted | Yes | Yes | Yes25 | Yes | Yes |
| LiteLLM | Yes | Yes | Yes | Partial26 | Yes | Yes |
| Bifrost | Yes, weighted | Yes | Yes | Partial27 | Yes | Yes |
| Portkey | Yes, weighted | Yes | Yes | – | Partial28 | Paid |
| Helicone | – | Yes | Yes | – | – | Yes |
| Kong AI Gateway | – | Paid | Paid | – | Paid | Yes |
| Agent Router | Partial29 | Yes | Yes | – | Yes | Yes |
| OpenRouter | Partial30 | Yes | Yes | Partial31 | – | Yes |
| Cloudflare AI Gateway | Partial32 | Yes | Yes | – | –33 | Yes |
| Product | Paid plans |
|---|---|
| Kaeso | None. Everything above is in the MIT-licensed release; there is no paid edition or support contract. |
| LiteLLM | Enterprise license, priced on request. |
| Bifrost | Enterprise, custom pricing. |
| Portkey | Pro at $49 a month and Enterprise at custom pricing; Portkey is now offered by Palo Alto Networks as Prisma AIRS AI Gateway. |
| Helicone | Pro at $79 and Team at $799 a month, Enterprise on request. |
| Kong AI Gateway | Konnect Plus from $25 a month plus usage, with AI model proxies at $100 a month each; Enterprise at custom pricing. |
| Agent Router | None; an Apache 2.0 project. |
| OpenRouter | A 5.5% fee on credits on Standard and 8% on Business, Enterprise on request. |
| Cloudflare AI Gateway | Core features free; a 5% fee on Unified Billing credits; logs billed as Workers Logs. |
We ran BerriAI/ai-gateway-bench (44365ca) with Kaeso 0.7 beside the four gateways that benchmark compares, each pinned to two dedicated cores on the same 4-vCPU machine (median of three randomized rounds; full method, image digests, scripts and raw JSON on kaeso.app/benchmarks, performance docs and Kaeso on LiteLLM's own benchmark):
| Gateway | Requests/s (64 clients) | Added p50 / p99 (16 clients) | CPU per request | Peak memory | Checked and kept per request |
|---|---|---|---|---|---|
| Kaeso 0.7 | 6,338 | +0.54 / +1.47 ms | 314 µs | 164 + 271 MB (PostgreSQL + Valkey) | Project API key, model allow-list, usage in PostgreSQL |
| Kaeso 0.7, request logs on | 5,324 | +0.62 / +1.45 ms | 373 µs | 450 + 1,163 MB (+ ClickHouse) | Same, plus every request logged to ClickHouse |
LiteLLM Rust (main at d4e8f96) | 3,211 | +0.69 / +2.26 ms | 573 µs | 86 MB | One static master key; no database |
| Bifrost 2.6.0 | 2,806 | +0.71 / +4.08 ms | 708 µs | 405 MB | No key; logging and stores off |
| Portkey 1.15.2 | 779 | +3.13 / +20.40 ms | 1,449 µs | 293 MB | No key; logging off |
| LiteLLM Python 1.110.2 | 74 | +188 / +216 ms | 13,563 µs | 743 MB | One static master key; no database |
Where LiteLLM Rust is ahead: it used at most 86 MB of memory and needs no database (Kaeso reached 164 MB plus 271 MB for PostgreSQL and Valkey), and with a single client at a time its p99 was +0.98 ms against Kaeso's +1.66 ms. Added time to first token (+0.87 vs +0.96 ms) and the replayed Claude Code session (+41.5 vs +41.0 ms) were within each other's range. Kaeso's author ran this single-host benchmark; how to benchmark an AI gateway without fooling yourself documents the methodology and how to rerun it on your own machine.
Kaeso runs as containers next to PostgreSQL, ClickHouse and Valkey, on at least 2 vCPUs and 4 GB of memory (requirements), and it has no hosted version and no paid support. If you want a hosted service with nothing to run, OpenRouter or Cloudflare AI Gateway fit better, and OpenRouter bills hundreds of models through one account. If your platform team already runs Kong or Envoy Gateway, Kong AI Gateway or Agent Router put model traffic under the same policies and Kubernetes resources. LiteLLM serves more kinds of endpoints, such as realtime, OCR and vector stores, and comes as a Python SDK as well as a proxy. Helicone goes further into observability, with sessions, evaluations, datasets and prompt management. If you need a vendor contract, LiteLLM, Bifrost, Portkey, Helicone and Kong sell enterprise plans.
TensorZero is not in the tables: its website says it is no longer maintained.
enterprise/ folders, whose code needs a BerriAI Enterprise license in production./v1/audio endpoints; other ElevenLabs APIs through a custom host.Deprecation, Sunset and Link headers, 410 after the shutdown, and aliases that move to the replacement.Kaeso: license, installation, Kubernetes, single sign-on and SCIM, roles, audit log, budgets, guardrails, model API, ElevenLabs API, rerank, batches, images, videos, audio, key pools, fallbacks and retries, KPMR, model lifecycle, MCP portal, keeping content out of the log, performance, benchmarks, requirements.
LiteLLM: license, enterprise license, repository, pricing, enterprise features, Docker, Helm, SSO, SCIM, roles, audit logs, budgets, PII masking, generic guardrail API, supported endpoints, Responses, Anthropic format, generateContent, pass-through, rerank, batches, images, speech, transcription, music, load balancing, fallbacks and retries, deprecation alerts, MCP gateway, logging.
Bifrost: license, repository, pricing, setup, multiple nodes, Helm, SSO and SCIM, RBAC, audit logs, budgets, guardrails, plugins, OpenAI, Anthropic, Google GenAI, ElevenLabs, Cohere, batches, media, video, keys, retries and fallbacks, MCP, content logging.
Portkey: license, repository, deployment, Helm chart, plans and features, SSO, audit logs, budgets, PII redaction, webhook guardrails, Responses, Messages, Vertex AI, ElevenLabs, rerank, batches, images, video, speech, transcription, load balancing, fallbacks, retries, MCP gateway, request logging, Prisma AIRS AI Gateway, where portkey.ai/pricing leads.
Helicone: license, repository, pricing, self-hosting with Docker, Kubernetes, custom rate limits, gateway, Responses, Anthropic proxy, Gemini proxy, gateway OpenAPI, batches, images, provider routing, retries, MCP, headers.
Kong AI Gateway: license, repository, Helm charts, pricing, AI Proxy, AI Proxy Advanced, open-source AI Proxy formats, AI Rate Limiting Advanced, AI Sanitizer, AI Custom Guardrail, load balancing, AI MCP Proxy, payload logging.
Agent Router: license, repository, installation, CLI, security, quota policy, supported endpoints, API, provider fallback, MCP, tracing. The former address, aigateway.envoyproxy.io, redirects there.
OpenRouter: pricing, FAQ, SSO, SCIM and audit log, workspaces, spend controls, sensitive information, guardrails, compatibility, Anthropic Messages, rerank, your own keys, fallbacks, provider selection, models API, MCP server, data collection.
Cloudflare AI Gateway: pricing, dashboard SSO, SCIM, roles, audit logs, spend limits, guardrails, REST API, Google AI Studio, ElevenLabs, Cohere, your own keys, fallbacks, request handling, MCP server portals, logging.
TensorZero: website, repository, archived on GitHub.
| Tool | How |
|---|---|
| Claude Code and Codex | Kaeso is their model provider, so every session is logged and budgeted |
| The Kaeso plugins for Claude Code and Cursor | Manage Kaeso through its MCP server, from keys to limits; the Claude Code plugin's skill connects the server for you |
| claude.ai, ChatGPT and any MCP client | Call your MCP servers' tools through a project's MCP portal |
| The OpenAI, Anthropic, Google Gen AI and ElevenLabs SDKs, in any language, and anything with a base URL setting | Point the base URL at Kaeso; supported providers lists what each provider can do through each API |
| OpenTelemetry collectors and Prometheus | Receive a trace per request and the gateway's metrics (monitoring) |
| Part | What it is |
|---|---|
crates/ | The gateway, the updater and KPP, the protocol every request is decoded to; kaeso-kpp and kaeso-codecs are on crates.io |
apps/console | The web console |
packages/ui and packages/tokens | The UI library and design tokens behind it, on npm, with a showcase |
apps/docs | The documentation at docs.kaeso.app, in English, German and Chinese |
deploy/, render.yaml, .railway/ and .do/ | The Compose package, the Helm chart, the container images and the templates for Render, Railway, DigitalOcean, Fly.io, AWS, Azure, Google Cloud, Coolify, Dokploy and CapRover |
plugins/ | The Claude Code and Cursor plugins for Kaeso's MCP server |
Architecture explains how the parts fit, and contributing how to work in them.
MIT. The Kaeso name and logo are not covered by the license. All trademarks belong to their owners; Kaeso is not affiliated with any provider, client or product it names, including those in the comparison. Third-party notices, trademarks included, are in NOTICE.md.
Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
DIdifferent-ai/openwork25k51 new stars in the last 7 days
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
TAtadata-org/fastapi_mcp12k
USDC-gated Base JSON-RPC: free 10 req/min, $0.50 per 10k. Failover, cache, /mcp, ledger.
COConway-Research/automaton8k56 new stars in the last 7 days
Next Generation Agentic Proxy for AI Agents and MCP servers
AGagentgateway/agentgateway6.5k160 new stars in the last 7 days
Federate MCP, A2A and REST APIs behind one endpoint with central governance.
IBIBM/mcp-context-forge4.9k41 new stars in the last 7 days
Control FreeCAD: create and edit 3D models, run Python scripts, and perform FEM analysis.
NEneka-nat/freecad-mcp3.5k88 new stars in the last 7 days