Best list · Dec 2026
Open source AI gateways
46 open source AI gateways are listed here; the top 25 are ranked below by evidence score, led by Portkey, Kong AI Gateway and LiteLLM. Of those 25, 25 can be self-hosted, 23 accept OpenAI-shaped requests and 15 Anthropic-shaped ones. Data month Dec 2026; every fact on a profile links to the page it came from.
How they run
Licence
API shape
Count of 25 entries. Source: each vendor's docs and the licence GitHub reports.
One by one
What each one is and why it made the list
- No.1
Portkey
Gateway · 13,475 GitHub stars · 4.6 on G2
Now PRISMA AIRS AI Gateway, per its homepage; pricing goes to Palo Alto Networks sales.
Rank scoreDemocratize and productionize Gen AI across your entire org with Portkey
- Runs
- Self-hosted or managed
- Licence
- MIT
- API shape
- OpenAI
- Providers
- 15 named
- Price
- Not published
- No.2
Deliver AI connectivity with centralized security, routing, observability, and cost control for LLMs and MCP resources. Explore Kong AI Gateway!
- Runs
- Self-hosted
- Licence
- Apache-2.0
- API shape
- Not stated
- Providers
- 8 named
- Price
- From $25/mo
- No.3
LiteLLM is the open-source AI gateway that puts your full AI stack behind one OpenAI-compatible key. Track and cap LLM spend, route to the right model, and self-host anywhere — even air-gapped. 140+ providers, 1,892 models.
- Runs
- Self-hosted
- Licence
- MIT
- API shape
- Anthropic, OpenAI
- Providers
- 31 named
- Price
- No fee on tokens
- No.4
Routing and monitoring for reliable AI apps - the LLMOps platform behind the fastest-growing AI companies.
- Runs
- Self-hosted
- Licence
- Apache-2.0
- API shape
- OpenAI
- Providers
- 18 named
- Price
- $79/mo
- No.5
Route across 395 providers through one endpoint, with automatic fallback. ~11.4B free tokens a month adding up every catalog row, ended offers included; ~90M a month counting each shared quota once.
- Runs
- Self-hosted or managed
- Licence
- MIT
- API shape
- Anthropic, OpenAI
- Providers
- 25 named
- Price
- Not published
- No.6
Apache APISIX is a dynamic, high-performance, open-source API gateway and AI gateway. Features include load balancing, authentication, rate limiting, AI proxying, LLM load balancing, and 100+ plugins.
- Runs
- Self-hosted
- Licence
- Apache-2.0
- API shape
- OpenAI
- Providers
- 6 named
- Price
- Not published
- No.7
Respan is an open-source AI gateway with built-in observability and evals. The gateway is open source (MIT or Apache-2.0); observability and evals run on Respan's cloud.
- Runs
- Self-hosted
- Licence
- Apache-2.0
- API shape
- OpenAI
- Providers
- 21 named
- Price
- From $199/mo
- No.8
Self-host New API to connect cloud and local models through one open-source AI gateway. Manage API keys, control model access, and track usage.
- Runs
- Self-hosted
- Licence
- AGPL-3.0
- API shape
- Anthropic, OpenAI
- Providers
- 9 named
- Price
- Not published
- No.9
One AI gateway and control plane to route and govern every AI request across 10,000+ models, MCP tools and agents, with control over cost, policy and compliance.
- Runs
- Self-hosted or managed
- Licence
- Apache-2.0
- API shape
- OpenAI
- Providers
- 21 named
- Price
- Open core
- No.10
Open-source LLM API gateway: route requests to 250+ models from 40+ providers, including OpenAI, Anthropic and Google, through one OpenAI-compatible API.
- Runs
- Self-hosted
- Licence
- AGPL-3.0
- API shape
- OpenAI
- Providers
- 18 named
- Price
- 5% fee
- No.11
Open source AI gateway built on MCP and A2A. Drop-in security, observability, and governance for agent-to-LLM, agent-to-tool, and agent-to-agent traffic.
- Runs
- Self-hosted
- Licence
- Apache-2.0
- API shape
- OpenAI
- Providers
- 9 named
- Price
- Not published
- No.12
Self-hosted AI gateway for enterprise AI governance: scoped keys and policy, metadata-only audit, budgets and chargeback, smart routing and failover for apps, coding agents and MCP tools.
- Runs
- Self-hosted
- Licence
- MIT
- API shape
- Anthropic, OpenAI
- Providers
- 28 named
- Price
- Open source, free
- No.13
KeiRouter is an open-source AI gateway that runs on your machine. Point Claude Code, Codex, Cursor or any OpenAI or Anthropic client at one local URL, and it fails over between providers, caches repeat questions and caps what each key can spend.
- Runs
- Self-hosted
- Licence
- MIT
- API shape
- Anthropic, OpenAI
- Providers
- 32 named
- Price
- Pay as you go
- No.14
Free, open-source, self-hosted LLM gateway. Translate between OpenAI, Anthropic and Gemini protocols, fail over across providers, rotate upstream keys — with an admin console embedded in one binary. Install with one command.
- Runs
- Self-hosted
- Licence
- Apache-2.0
- API shape
- Anthropic, OpenAI
- Providers
- 5 named
- Price
- Pay as you go
- No.15
Gravitee is the AI Agent Management platform, securing, observing, and governing every AI agent, API, and event interaction at enterprise scale.
- Runs
- Self-hosted
- Licence
- Apache-2.0
- API shape
- Not stated
- Providers
- 6 named
- Price
- Open core
- No.16
Evaluate chat, voice, and workflow AI agents by applying selected compatible checks from a library of 112 published scorers. Book a demo.
- Runs
- Self-hosted or managed
- Licence
- Apache-2.0
- API shape
- Anthropic, OpenAI
- Providers
- 13 named
- Price
- From $69/mo
- No.17
Routerly — One gateway. Any AI model. Total control. Self-hosted LLM router with intelligent routing, cost tracking, and budget enforcement.
- Runs
- Self-hosted or managed
- Licence
- AGPL-3.0
- API shape
- Anthropic, OpenAI
- Providers
- 10 named
- Price
- Pay as you go
- No.18
One OpenAI- and Anthropic-compatible API for every model and tool your agents use, with access control, guardrails and usage tracking. Hosted or self-hosted.
- Runs
- Self-hosted
- Licence
- Apache-2.0
- API shape
- Anthropic, OpenAI
- Providers
- 7 named
- Price
- Pay as you go
- No.19
TokenHub is an Apache 2.0 open-source private AI gateway for enterprise control over shadow AI connections, model routing, project keys, token cost, request logs, and audit trails.
- Runs
- Self-hosted
- Licence
- Apache-2.0
- API shape
- Anthropic, OpenAI
- Providers
- 6 named
- Price
- Not published
- No.20
Self-hosted Rust LLM gateway with OpenAI-compatible APIs, load balancing, failover, and a reusable Rust kernel.
- Runs
- Self-hosted
- Licence
- MIT
- API shape
- Anthropic, OpenAI
- Providers
- 31 named
- Price
- Open source, free
- No.21
Unified LLM gateway with weighted load balancing, observability & cost tracking. 统一的 LLM 网关,提供权重负载均衡、可观测性与费用追踪。
- Runs
- Self-hosted
- Licence
- MIT
- API shape
- Anthropic, OpenAI
- Providers
- 5 named
- Price
- Open source, free
- No.22
Open-source AI gateway written in Go. One OpenAI- and Anthropic-compatible endpoint for 39 providers - aliases, scoped workflows, caching, failover, budgets, audit logs, and usage tracking.
- Runs
- Self-hosted
- Licence
- MIT
- API shape
- Anthropic, OpenAI
- Providers
- 19 named
- Price
- Not published
- No.23
- No.24
The open source control plane for agentic traffic, powered by Envoy. Formerly Envoy AI Gateway.
- Runs
- Self-hosted or managed
- Licence
- Apache-2.0
- API shape
- Anthropic, OpenAI
- Providers
- 15 named
- Price
- Not published
- No.25
Your AI Control Plane. Busbar is a single self-hosted Rust binary between your applications and every AI provider: routing, lossless cross-protocol translation, and in-flight failover, all in your own infrastructure. Nothing phones home.
- Runs
- Self-hosted
- Licence
- Apache-2.0
- API shape
- Anthropic, OpenAI
- Providers
- 5 named
- Price
- Not published
Rank score is a percentile within the category; the evidence score behind it is out of 100. How we score. Category: AI gateways.
Questions engineers ask
How many open source AI gateways are on this list?
46 open source AI gateways in the directory are open source, as of Dec 2026. The page shows the top 25, ordered by evidence score.
Which open source AI gateways rank highest?
Portkey (rank score 100 out of 100), Kong AI Gateway (rank score 97.1 out of 100) and LiteLLM (rank score 95.7 out of 100) lead the list. The rank score shows the share of the category each one is ahead of; it is built from sourced facts, public adoption (stars, downloads, ratings), maintenance and search visibility, with the working shown on the profile.
Related