
Your AI gateway, self‑hosted.
Kaeso is open source and runs on your servers: single sign‑on for every team, a Rust gateway in the request path, and one API for every app.

The Kaeso console with sample data. On a wider screen you can click through it here, and demo.kaeso.app has the live demo.
What's new.
The latest releases of the gateway, the console and the docs, and the articles that explain them.
- Kaeso 0.6.0LatestThis release makes Kaeso one gateway for every kind of model, not only chat: images, video, speech, transcripts, music and sound effects, Gemini-format apps, thirteen new built-in providers, alias routes with fallbacks and splits, and an MCP portal per project.
- Kaeso 0.5.6Cerebras is a built-in provider: add its key and call its models from any app format.
- Kaeso 0.5.5Kaeso 0.5.5 fixes the verification code input so its cells line up with the Verify button and the fields around them on every screen that asks for a code.
5 min read
Kaeso 0.6: one gateway for chat and media, with alias routes and an MCP portalKaeso 0.6.0 is out. Apps make images, speech and video through the same gateway as chat, Gemini apps connect under /v1beta, aliases become routes with fallbacks and splits, and every project gets an MCP portal. Here is what changed and how to update.4 min read
Introducing the MCP portalEvery Kaeso project now has an MCP portal. Connect your organization's MCP servers once, choose which tools each project offers, and let claude.ai, ChatGPT, Cursor and your own agents call them with Kaeso's sign-in, rights, limits and logs.3 min read
Images, speech and video through the same gateway as chatWith Kaeso 0.6.0, apps make images, speech, transcripts, video, music and sound effects through the OpenAI and ElevenLabs SDKs they already use, with Kaeso's keys, limits, logs and costs. What works, on which providers, and how it looks in code.

Keys, routes, limits, logs.
Everything between your apps and your providers, in one place you control, and nothing new for your apps to learn.
- 27 Built-in providersOpenAI, Anthropic, Google AI Studio, DeepSeek, Mistral and 22 more, with keys your organization holds.
- 5 API formatsResponses, Chat Completions, Messages, Gemini API and ElevenLabs. Your apps call in any of them, and Kaeso calls each provider in its own.
- 1 Rust binary in the request pathOne stateless binary that keeps nothing of its own, so you scale by adding instances behind your load balancer.
- 0 Enterprise editions to buySingle sign-on, two-factor authentication and the audit log are in the MIT-licensed code.
01Routes
Fallbacks, conditions and splits
An alias holds a route. Fall back to another model when one fails, send long prompts somewhere else, and split callers between models, while your app keeps sending the same model name.
Arrow keys move between steps, Enter selects one, plus and minus zoom, and 0 fits the view.
- support to 100,000 input tokens or more
- 100,000 input tokens or more to Claude Sonnet 5.5, Then
- Claude Sonnet 5.5 to GPT-6 Sol, Fallback
- 100,000 input tokens or more to By caller, Else
- By caller to Claude Haiku 5.5, 80%
- By caller to GPT-5.4 mini, 20%
02Limits
Limits and budgets you set
Spend and token budgets per day, per month or in total, and request, token and tool call rates per minute, on a project, a member or a key. Hard budgets are never skipped.
03Sign-in
Single sign-on for every organization
Connect your OpenID Connect identity provider to an organization, verify your email domains, and require single sign-on or two-factor authentication. It's in the MIT-licensed code, with no enterprise edition to buy.
04API
One API for every app
Keep the official OpenAI, Anthropic, Google Gen AI and ElevenLabs SDKs, Claude Code and Codex. Change the base URL, use a Kaeso key, and every request goes through your gateway.
05Formats
Every SDK reaches every model
Kaeso translates each request through KPP, its canonical format, so an OpenAI SDK can call Claude and an Anthropic or Gemini SDK can call GPT‑6 Sol. OpenAI's Images, Audio and Videos APIs reach every provider that makes images, speech or video. A field the target can't honor is refused with an error that names it, and the few settings Kaeso leaves out are named in the kaeso-left-out header.
- Your app sends
- OpenAI Chat Completions
- Kaeso sends
- Anthropic Messages
- Model
- Claude Sonnet 5.5
06MCP
An MCP portal in every project
One MCP address per project offers your MCP servers' tools to clients such as claude.ai, ChatGPT and Cursor, which sign in with OAuth. Kaeso signs in to each server, by default holds changed tools until someone approves them, and checks, limits and logs every call.
- Sign-inAn API key with the Tools ability, or OAuth as the person who allowed the client, under the organization's two-factor and single sign-on rules
- Tool accessThe tool is on in the project, its definition is approved, and the caller's tool access includes it
- RateA tool call rate per minute for the project, the member or the key
- MCP serverKaeso signs in with the shared connection or the caller's own
- LogEvery call in the request logs, with its arguments and answer when the project keeps content
07Request path
Rust in the request path
One compiled binary sits between your apps and your providers, with no interpreter on the hot path. Keys come from memory, every limit is checked at once, and usage and logs are written after the reply has gone.
- KeyAnswered from memory, kept for 30 seconds
- LimitsEvery rate and budget checked at once in Valkey
- Provider keyDecrypted once and kept in memory for 30 seconds
- TranslationIn process, through KPP's Rust codecs
- Provider callPooled connections, shared over HTTP/2 where the provider offers it
- StreamPassed on to the app event by event
- Usage and logWritten after the reply has gone
Measure it on your own install: kaeso_, kaeso_ and kaeso_ in the metrics on port 9100.
08Logs
Every request, logged and costed
Status, tokens, cost and timing for every request, and its content when your organization allows it. Images, audio and files are left out unless you turn on Keep media. Filter, inspect and export requests and tool calls as CSV or JSON Lines.
- 200OKclaude-sonnet-5-5$0.002904 · 700 tokens
- 200OKgpt-5.4-mini$0.000591 · 308 tokens
- 200OKgpt-image-2$0.008210 · 282 tokens
- 200OKtts-1$0.000390 · 26 characters
- 200OKclaude-haiku-5-5$0.000047 · 212 tokens
- 429Rate limitedgpt-6-sol$0 · 0 tokens
- 200OKclaude-sonnet-5-5$0.007800 · 2,252 tokens
- 200OKgpt-6-sol$0.003160 · 620 tokens
09Keys
Provider keys stay with you
Provider keys belong to the organization, are encrypted with AES‑256‑GCM under a master key ring you hold, and never reach application code. Apps only ever see their own Kaeso key.
- OpenAIProduction · 8 min ago
- AnthropicProduction · 8 min ago
Every provider, one API.
OpenAI, Anthropic, Google AI Studio, DeepSeek, Mistral and 22 more today, with keys your organization holds. Apps in any format reach every chat model, and local servers such as vLLM, Ollama and LM Studio join as custom providers.
- OpenAIResponses and Chat Completions
- AnthropicMessages
- Google AI StudioGemini API
- DeepSeekChat Completions
- MistralChat Completions
- 22 more, from Baseten to Z.ai

Run it on your servers
Install with one command
One command installs Caddy, the gateway, the console, PostgreSQL, Valkey and ClickHouse with Docker Compose, with TLS on your own domain and the updater on. ClickHouse keeps the request logs: use your own, or turn logs off. Templates run the same release on Render, Railway, DigitalOcean, Fly.io, AWS, Azure and Google Cloud, or on Coolify, Dokploy and CapRover on your own server.
- Needs
- 2 vCPUs, 4 GB RAM, 20 GB disk
- Runs on
- Docker Compose 2.24 or later, or a managed platform
- Images
- linux/amd64 and linux/arm64
- Scales
- Stateless gateway instances
Kaeso or LiteLLM?
LiteLLM is a Python proxy that reaches far more providers than Kaeso's 27. Kaeso is for teams that want the whole company signing in to one gateway.
Single sign-on included
OpenID Connect for every organization, with required single sign-on and two-factor authentication, in the open-source code.
A console, not a config file
Organizations, projects, members, roles, budgets and request logs in one web console, with an audit log of every change.
Refuse, never drop
When a request crosses formats, a field the target can't honor gets an error that names it instead of quietly disappearing.
A Rust gateway
One stateless binary that keeps nothing of its own, so you scale by adding instances behind your load balancer.
Budgets that hold
Hard budgets reserve a worst case for every request in flight, so a burst of expensive calls can't overrun them.
One repository, MIT
The gateway, the console, KPP and the UI library ship together under one version and the MIT license.
Built in the open.
MIT licensed. The gateway, the console, KPP and the UI library live in one repository under one version.

You run the software.
Install Kaeso on your own servers, point your apps at it, and keep every key and every log.



