Self-host Kong
3.9.4 helm install my-kong kong/ingress -n kong --create-namespace- Stars
- 44 383
- CPU
- 2 vCPU
- RAM
- 4GB
- Storage
- 10GB
- Port
- 8000 (proxy), 8001 (admin), 8002 (manager)
- Requires
- PostgreSQL
kong/kongWhat is Kong?
Kong Gateway is a cloud-native, platform-agnostic, and scalable API and AI Gateway. It is designed for high performance and extensibility via plugins, making it a central layer for orchestrating microservices, conventional API traffic, and AI workloads. Kong supports advanced routing, load balancing, health checking, authentication, and more. It also provides AI traffic capabilities, including multi-LLM support, semantic security, MCP traffic governance, and analytics.
Kong Gateway can be deployed in various environments, including Kubernetes, Docker, and traditional infrastructure. It supports hybrid and multi-cloud deployments, making it suitable for modern, distributed architectures. Kong Gateway is highly extensible, with a rich ecosystem of plugins for authentication, rate limiting, logging, monitoring, and more.
Kong Gateway is widely used for securing, managing, and scaling APIs and AI workloads, making it a popular choice for enterprises and developers alike.
Kong alternatives
OpenGateLLMSelf-hosted open-source API gateway unifying generative AI models with OpenAI-compatible endpoints, access control, rate limiting, and usage tracking.CompareOpenGateLLM with Kong
heliconeHelicone is a self-hosted, open-source LLM observability platform and AI gateway for 100+ models with cost tracking, agent tracing, prompt management, and a playground.Comparehelicone with Kong
GoModelThis open-source, self-hosted AI gateway in Go unifies 34 LLM providers behind OpenAI-style and Anthropic-style APIs, adding budgets, caching, routing and audit logs.CompareGoModel with Kong
nexus-gatewaySelf-hosted open-source AI gateway intercepting LLM traffic at SDK, network, and OS layers with compliance, routing across 20+ providers, caching, quotas, and audit.Comparenexus-gateway with Kong
AISIX OSSSelf-hosted, open-source AI gateway with one OpenAI-compatible API for 100+ LLM providers, routing, guardrails, caching, rate limits, and observability — built in Rust.CompareAISIX OSS with Kong
orbitSelf-hosted AI gateway connecting private data to local or hosted LLMs via one OpenAI-compatible API with built-in auth, quotas, audit logs, and admin UI.Compareorbit with Kong
lmgateSelf-hosted gateway adding enterprise auth, rate limits, and model ACLs to Ollama, llama.cpp, and LM Studio via Docker Compose.Comparelmgate with Kong
ai-apiSelf-hosted AI gateway unifying Azure OpenAI, OpenAI, Anthropic, and Gemini behind one OpenAI-compatible API with revocable credentials and cost tracking.Compareai-api with Kong
All self-hosted alternatives to Apigee → All self-hosted alternatives to AWS API Gateway → All self-hosted alternatives to MuleSoft →
Should you self-host Kong?
Kong scores 81/100 on selfhost.directory (how scoring works) and ranks #1 of 18 in API Management. It has 44 383 GitHub stars, +124 in the last 30 days.
It shipped 3 stable releases in the past year. The latest, 3.9.4, came out on 12 October 2026. New versions land roughly every 2 months.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Lua.
Its closest alternative on selfhost.directory is Traefik (86/100, 65 562 stars). It scores higher overall, so compare the two before you pick. See Kong vs Traefik side by side.
Features
- AI Gateway
- API Gateway
- Authentication
- Hybrid Mode
- Kubernetes Ingress Controller
- Load Balancing
- Observability
- Plugins
- Rate Limiting
Kong README
Kong or Kong Gateway is a cloud-native, platform-agnostic, scalable API 𖧹 LLM 𖧹 MCP Gateway distinguished for its high performance and extensibility via plugins. It also provides advanced AI traffic capabilities with multi-LLM support, semantic security, MCP traffic security and analytics, and more.
FAQ
Can Kong Gateway be used for AI workloads?
Yes, Kong Gateway provides advanced AI traffic capabilities, including multi-LLM support, semantic security, and MCP traffic governance.
What authentication methods are supported?
Kong Gateway supports a variety of authentication methods, including JWT, OAuth, LDAP, and more. These can be configured via plugins.
What databases does Kong Gateway support?
Kong Gateway supports PostgreSQL and Cassandra as its primary databases. PostgreSQL is the most commonly used and recommended for production environments.
How do I install Kong Gateway?
You can install Kong Gateway using Docker, Docker Compose, Kubernetes, or traditional package managers. For Docker Compose, use the provided `docker-compose.yml` and run `docker-compose up -d`. For Kubernetes, use the Helm chart.
What is Kong Gateway?
Kong Gateway is a cloud-native, high-performance API and AI Gateway. It provides advanced routing, load balancing, authentication, and AI traffic capabilities, including multi-LLM support, semantic security, and MCP traffic governance.
More in API Management
Kong GatewayKong is a self-hosted, open-source API and AI Gateway for proxying, routing, load balancing, auth, and LLM/MCP traffic with 60+ AI features.
krakendSelf-hosted, open-source API gateway: a single stateless binary that aggregates, secures and transforms microservice APIs, with Docker, deb/rpm and brew installs.
kuzzleKuzzle is a self-hosted, open-source backend platform with real-time APIs, data storage, advanced search, user authentication, and pub/sub for web, mobile, and IoT apps.
litellmSelf-hosted gateway unifying 100+ LLM providers under one OpenAI-compatible API with usage tracking, safety controls, and admin console.
LlanaSelf-hosted, open-source API wrapper exposing REST APIs for databases in minutes. Supports MySQL, PostgreSQL, MSSQL, MongoDB with auth, roles, caching, webhooks.
LuraUltra performant API Gateway with middlewares. A project hosted at The Linux Foundation
MetorialOpen-source MCP gateway and access layer linking AI agents to 1200+ integrations with OAuth, RBAC, SAML SSO and audit logs; self-hosted via the Platform repo.
mosoomosoo is an open-source Agent runtime for running Codex, Claude, OpenCode, and Pi agents via a unified API with isolated sandboxes and durable sessions.
nodifyNodify is a self-hosted headless CMS with REST/GraphQL APIs, native multilingual support, plugins, and SDKs for Java, Python, Node.js, PHP.
octeliumOpen-source self-hosted zero trust access platform replacing VPNs, tunnels and gateways, with WireGuard/QUIC clients, clientless access and policy-as-code.
Oh My CPAOh My CPA is a self-hosted, open-source web console for managing CLIProxyAPI, an AI gateway. Single Go binary with embedded React UI, SQLite, and CPA management key auth.
open-managed-agentsSelf-hosted open-source agent platform managing sessions, execution, recovery. Supports any model, harness, sandbox via Docker, Node.js, Fly.io, Cloudflare.

0 comments