SuperAPI AI Directory

kaeso

Kaeso is an open-source, self-hosted AI gateway written in Rust and licensed under MIT. It provides unified OpenAI-, Anthropic-, Gemini-, and ElevenLabs-compatible APIs that connect to multiple cloud providers and local model servers, supporting capabilities such as chat, embeddings, reranking, images, video, speech, transcription, and music. It includes built-in single sign-on, SCIM, roles, budgets, guardrails, alias routing, key pools, request logs, a playground, and an MCP portal. It is deployed via Docker Compose or Helm, with no paid version.

Open website

About this tool

Kaeso is an open-source, self-hosted AI gateway written in Rust and licensed under MIT (except for the enterprise directory). It runs on your own server and provides unified OpenAI-, Anthropic-, Gemini-, and ElevenLabs-compatible APIs for all model providers and your own model servers, covering request types such as chat, embeddings, reranking, decisions, images, video, speech, transcription, and music.

Key capabilities include: single sign-on (SSO), SCIM, role management, hard budgets and limits, guardrails, alias routing (including fallback, retries, header- and token-based conditions, and weighted splits), key pools, request logs, an analytics dashboard, a playground, and an MCP portal. It has built-in support for a large number of providers, such as Amazon Bedrock, Anthropic, Azure, Cohere, DeepSeek, ElevenLabs, Google AI Studio, Groq, Mistral, OpenAI, OpenRouter, Together AI, xAI, and more, and can also connect your own servers such as vLLM, Ollama, LM Studio, and llama.cpp as custom providers.

Usage: Install Docker and Compose 2.24 or later on a Linux server or your local machine, then run the installation command to install Kaeso together with PostgreSQL, ClickHouse, and Valkey into the ./kaeso directory, and at https://localhost start it, while printing a link to create the first user. You can specify your own domain with -s -- --domain kaeso.example.com. Kubernetes Helm charts and platform templates for Render, Railway, DigitalOcean, Fly.io, AWS, Azure, Google Cloud, Coolify, Dokploy, CapRover, and others are also supported for deployment. Updates can be done via the Updates page in the console or with the installer's --update.

To make calls, point the OpenAI SDK's base URL to Kaeso to call any model (including Claude); the same applies to the Anthropic, Google Gen AI, ElevenLabs, and Cohere SDKs, and Kaeso converts between request and response formats.

Use cases: teams or organizations that need to centrally manage multiple AI providers, enforce budgets and access control, record request logs, and perform model routing and fallback. Limitations: Kaeso runs as containers and requires at least 2 vCPUs and 4 GB of memory, and depends on PostgreSQL, ClickHouse, and Valkey; there is no hosted version and no paid support. If you need a hosted service, a broader range of endpoint types (such as realtime, OCR, vector stores), or an enterprise contract, consider alternatives such as OpenRouter, Cloudflare AI Gateway, LiteLLM, and Helicone.