Best LLM gateways
First listed among LLM gateways on LLM Reference: LiteLLM (Self-hosted, Open source); Portkey (Hosted SaaS, Open source); Helicone (Hosted SaaS, Open source).
Last checked 2026-10-29
LLM gateways sit between your app and one or more model providers. Use this list when you want a unified endpoint, provider failover, observability, or governance without changing the model decision itself.
An LLM gateway sits between your application and one or more model providers. It gives your code a unified endpoint to call, while the choice of which model to use stays with you. Every entry on this page is typed as a Gateway on LLM Reference, with cross-provider routing scope, a routing decision made before generation, and a proxy that runs in the request path. The page lists four gateways: LiteLLM, Portkey, Helicone and Kong AI Gateway. Featured entries are listed first and the rest follow in alphabetical order, so position on the page is not a ranking or a judgment of quality.
Start with hosting and openness. LiteLLM and Kong AI Gateway are labeled Self-hosted, while Portkey and Helicone are labeled Hosted SaaS. All four offer a self-host option, so a hosted entry can still run on your own infrastructure if your deployment requires it. Three of the four are open source: LiteLLM is MIT-licensed except its enterprise directory, Portkey has an MIT-licensed open-source core, and Helicone's main repository is Apache-2.0 while its separate ai-gateway repository is GPL-3.0. Kong AI Gateway is commercial. Its summary says it is built on Kong Gateway 3.x and added as plugins over the Kong API management platform, which is relevant if your team already runs Kong.
Pricing model and API compatibility come next. LiteLLM is listed as Free OSS, while Portkey, Helicone and Kong AI Gateway are listed on a Subscription model. All four list OpenAI API compatibility. Helicone also lists Anthropic API compatibility, and Kong AI Gateway lists Native API compatibility alongside OpenAI. If your application already sends requests in one of these formats, confirm that the gateway you pick lists that format before you plan any migration work, and check that its pricing model fits how your team pays for software.
Then check which providers each gateway reaches. Every entry lists the provider APIs it targets; LiteLLM's include OpenAI, Anthropic, Google AI Studio, Vertex AI, Azure OpenAI, Cohere, Mistral and DeepSeek. Confirm that the specific providers your application needs appear in an entry before you commit to it.
Finally, check data retention and stated fit. LiteLLM is labeled Zero retention, Portkey and Helicone are labeled Opt-in logging, and the retention label for Kong AI Gateway is Unknown, so ask Kong Inc. directly if retention matters for your compliance needs. Helicone is described on LLM Reference as an "Observability-first AI gateway". Listed use cases include developer tooling and self-hosting for LiteLLM, production reliability and enterprise for Portkey, cost tracking for Helicone, and enterprise API management and multi-LLM routing for Kong AI Gateway. Match these labels against your own requirements.
Filtered router list
BerriAI
~100 models · Free OSS
Open-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
Palo Alto Networks
~1.6K models · Subscription
Production AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
Helicone
Subscription
Observability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
Kong Inc.
Subscription
Multi-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
Comparison table
| Router | Type | Hosting | Openness | Self-host available | Pricing model | Models | API compatibility | Last checked |
|---|---|---|---|---|---|---|---|---|
| LiteLLM | Gateway | Self-hosted | Open source | Yes | Free OSS | 100 models | OpenAI | 2026-10-29 |
| Portkey | Gateway | Hosted SaaS | Open source | Yes | Subscription | 1.6K models | OpenAI | 2026-10-29 |
| Helicone | Gateway | Hosted SaaS | Open source | Yes | Subscription | - | OpenAI, Anthropic | 2026-10-29 |
| Kong AI Gateway | Gateway | Self-hosted | Commercial | Yes | Subscription | - | OpenAI, Native | 2026-10-29 |
When to pick which
- LiteLLM Best for open source, self-hosting, OpenAI-compatible proxy, developer tooling, cost tracking. Open-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
- Portkey Best for production reliability, governance, observability, self-hosting, enterprise. Production AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
- Helicone Best for observability, LLM tracing, cost tracking, self-hosting. Observability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
- Kong AI Gateway Best for enterprise API management, multi-LLM routing, Kong users, self-hosting. Multi-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
Related decision paths
Related pages for routers, the providers they target, and model choices.
Compare every verified gateway, router, and hybrid.
Use the directory controls to add openness, hosting, API, and routing-scope filters.
Inspect the provider that one or more listed routers can target.
Inspect the provider that one or more listed routers can target.
Inspect the provider that one or more listed routers can target.
Inspect the provider that one or more listed routers can target.
Compare the provider APIs that gateways route into.
Pair a gateway with models that hold tool contracts well.
Browse adjacent builder tools for serving and routing.
Frequently asked questions
Which LLM gateways are open source?
LiteLLM, Portkey, Helicone (open source).
Which LLM gateways can be self-hosted?
LiteLLM, Portkey, Helicone, Kong AI Gateway (self-host available).
How recent is the data on these LLM gateways?
Last checked 2026-10-29.
Machine-readable source
This page is generated from data/seed/router.json. Agents can consume the same catalog through /api/routers.