LLM gateway comparison: LiteLLM, Portkey, Kong AI Gateway, Cloudflare AI Gateway and AISIA
In short
An LLM gateway puts one API in front of several models and applies keys, quotas, logs and fallbacks. LiteLLM and Portkey publish an open-source gateway, Kong extends an API gateway, and Cloudflare offers a managed service. AISIA stands apart with local-first routing and three deployment locations, but its code is proprietary.
This comparison ranks nobody. It repeats what each vendor writes on its official page, checked on 2026-11-29. A cell marked "not documented on the page checked" signals missing information there, not a missing feature: check the vendor documentation before you decide.
Compare on your use caseMethod
Sources: the LiteLLM home page, the Portkey home page and its official GitHub repository, the Kong AI Gateway product page and documentation, and the Cloudflare AI Gateway documentation. Comparisons published by competing vendors were not used as evidence.
For AISIA, only capabilities described in the product specification and present in the code are listed. AISIA runs on lab infrastructure, claims no customers, and its product scope is still open.
Comparison table
Wording in quotes or attributed to a vendor comes from its official page. Vendor counts of providers or models are left out: they vary from page to page and are not comparable.
| Criterion | LiteLLM | Portkey (Prisma AIRS AI Gateway) | Kong AI Gateway | Cloudflare AI Gateway | AISIA |
|---|---|---|---|---|---|
| Licence | Open-source gateway under the MIT licence | Open-source gateway under the MIT licence (Portkey-AI/gateway repository) | Not stated for the AI Gateway; Kong Gateway is listed under open source | Managed Cloudflare service | Proprietary software; SDKs and Terraform provider released under their own licence |
| Where it runs | Self-hosted, including air-gapped environments | Portkey Cloud, Docker or Node.js; private deployments on AWS, Azure, GCP, OpenShift and Kubernetes | Konnect or self-hosted | Cloudflare network; self-hosting not documented on the page checked | SaaS, BaaS (dedicated instance in your cloud) or PaaS in your data centre, optionally with no outbound network under contract |
| API | One OpenAI-compatible API | Unified API, examples with the OpenAI SDKs | Unified API; OpenAI compatibility not mentioned on the pages checked | OpenAI-compatible /chat/completions endpoint, marked deprecated in favour of the REST API | OpenAI-compatible /v1/chat/completions, plus /v1/invoke |
| Budgets and quotas | Budgets per key, team, org and model; rate limits | Budget limits, cost tracking | Per-user, per-model and time-bound token quotas | Rate limiting; tracking of requests, tokens and cost | Token quotas, usage and cost tracking per organisation |
| Guardrails | PII masking, prompt-injection protection | Guardrails and redaction of sensitive data | PII sanitisation, semantic prompt guards | Blocking of harmful prompts and prompt injection | Guardrails, refusal of practices banned by the AI Act (biometrics), egress control |
| MCP | Agents and MCP servers through the same gateway | MCP Gateway: authentication, access and observability of MCP servers | LLM, MCP and agent-to-agent (A2A) traffic | Not documented on the page checked | MCP server exposing AISIA's own tools; not a gateway for third-party MCP servers |
| Local models | Not documented on the page checked | Not documented on the page checked | Not documented on the page checked | Workers AI (models run by Cloudflare) | Ollama on three tiers, tried before the cloud |
| Cache | Not documented on the page checked | Intelligent caching | Semantic caching | Response caching | Semantic cache (Qdrant) |
| Compare or debate models | Not documented on the page checked | Not documented on the page checked | Not documented on the page checked | Not documented on the page checked | /v1/compare and /v1/debate, 2 to 12 participants, each answer attributed |
| Identity and governance | JWT, SSO, audit logs; RBAC and SCIM cited in the FAQ | RBAC, SSO, audit logs | Access control | Request and error logs | OIDC with Google, Microsoft and Okta, per-organisation roles, audit log; SCIM as candidate code, not deployed |
What each solution does better than AISIA
- LiteLLM: an MIT-licensed open-source core, self-hostable down to air-gapped setups, with fine-grained budgets per key, team and model.
- Portkey: an open-source gateway and an MCP Gateway that governs access to third-party MCP servers, which AISIA does not do.
- Kong AI Gateway: an extension of a widely used API gateway, handling LLM, MCP and A2A traffic in one control plane.
- Cloudflare AI Gateway: nothing to operate, a global network, and caching, rate limiting and logging available on all plans according to its documentation.
- All of them are older and more widely adopted than AISIA.
What sets AISIA apart
- Local first: a confidence threshold (0.75 by default) decides whether a local model's answer is good enough before any cloud call.
- No silent substitution: a requested model is never replaced without the response saying so.
- An aisia mode that combines several models and synthesises, and an auto mode that chooses on cost, latency and quality.
- Built-in model comparison and debate, with every engine named, failures included.
- Three places to run one API contract, and a Terraform provider to manage resources.
When not to choose AISIA
- You want open-source code you can modify: LiteLLM or the Portkey gateway.
- You need to govern third-party MCP servers: an MCP gateway such as Portkey's, or Kong AI Gateway.
- You already run Kong or Cloudflare in front of your APIs: their AI gateway adds to what you have.
- You require a security certification: AISIA holds none (no HDS, SecNumCloud, ISO 27001 or SOC 2).
- You want an established service with references: AISIA claims no customers.
Questions to ask before choosing
- Where must requests run: at a vendor, in your cloud, in your data centre?
- Do you have local models to put behind the same API?
- Do you need budgets per team, per key or per organisation?
- Must a fallback to another model be visible to the user and in the logs?
- Who operates the gateway, and with what rollback plan?
Frequently asked questions
What is the difference between LiteLLM and Portkey?
According to their pages checked on 2026-11-29, both publish an MIT-licensed open-source gateway. LiteLLM highlights self-hosting down to air-gapped setups and fine-grained budgets; Portkey highlights its platform, guardrails and MCP Gateway.
Has Portkey changed its name?
On 2026-11-29 the Portkey home page read "Portkey is now PRISMA AIRS AI Gateway". Check with the vendor for details of the offer.
Is AISIA open source?
No. The AISIA core is proprietary software of AISIA SARL. The SDKs and the Terraform provider are released separately under their own licence.
Which LLM gateway should I choose for local models?
It depends on how you operate. AISIA is designed to try local Ollama models before the cloud. For the other solutions, check support for your local engine in their documentation: the pages checked do not detail it.
Is this comparison up to date?
It reflects the official pages checked on 2026-11-29. A vendor page can change at any time: every source is listed at the bottom of the page so it can be checked again.
Sources
Public facts checked on the dates shown. A vendor page can change: check it before you decide.
- LiteLLM, home page, checked on
- Portkey, home page, checked on
- Portkey, official gateway GitHub repository, checked on
- Kong AI Gateway, product page, checked on
- Kong AI Gateway, documentation, checked on
- Cloudflare AI Gateway, documentation, checked on
- Cloudflare AI Gateway, OpenAI-compatible chat endpoint, checked on
- Cloudflare AI Gateway, Guardrails, checked on
Related pages
- OpenRouter alternative
- AI gateway explained
- OpenAI-compatible LLM proxy
- What is an AI gateway?
- AISIA MCP server