The open-source AI gateway you run yourself.
One OpenAI- and Anthropic-compatible API in front of your providers, with keys, limits and logs under your control.
Website · Documentation · Quick start · Contributing · Changelog
mkdir -m 700 kaeso && cd kaeso
curl -fsSLO https://github.com/logicplanes/kaeso/releases/latest/download/compose.yaml
cat > .env <<EOF
KAESO_DOMAIN=localhost
KAESO_MAIL_TRANSPORT=log
POSTGRES_PASSWORD=$(openssl rand -hex 24)
POSTGRES_SUPERUSER_PASSWORD=$(openssl rand -hex 24)
CLICKHOUSE_PASSWORD=$(openssl rand -hex 24)
VALKEY_PASSWORD=$(openssl rand -hex 24)
EOF
docker run --rm ghcr.io/logicplanes/kaeso-gateway:latest master-key generate > master-keys
chmod 644 master-keys
docker compose up -d --wait
docker compose exec gateway kaeso setup-linkOpen the link it prints to create the first user, then follow the quick start to run Kaeso on your own domain, connect a provider and send the first request.
MIT. The Kaeso name and logo are not covered by the license. Third-party notices are in NOTICE.md.

