AI Gateways & LLM ProxiesResearched · November 2026

Best AI Gateways & LLM Proxies in 2026

LiteLLM, Portkey, Helicone and Cloudflare AI Gateway are AI gateways for developers whose apps call more than one model provider and need keys, fallbacks, caching and spend limits handled in one place.

LiteLLM is a free open-source proxy you run yourself. Cloudflare AI Gateway’s analytics, caching and rate limiting are free on every Cloudflare plan. Helicone’s hosted plans start free and Pro is $79 a month, and Portkey is now sold to enterprises by Palo Alto Networks.

State of the market

2026 changed who owns these tools. Palo Alto Networks closed its purchase of Portkey on May 29 2026 and sells it as Prisma AIRS AI Gateway. Mintlify acquired Helicone in March, and Helicone’s site now says it is part of Experiential Labs, with details to come. LiteLLM stayed independent but had two PyPI supply-chain compromises, in March and October. If you are weighing LiteLLM alternatives, check ownership and release security as closely as features.

Our Picks

Best self-hosted gateway

LiteLLM

Free and open source; virtual keys, budgets and fallbacks across 140+ providers.

Best free hosted gateway

Cloudflare AI Gateway

Analytics, caching and rate limiting free on every plan, nothing to run.

Best for request logging

Helicone

Cost and latency on every call; free for 10,000 requests, Pro $79 a month.

Best for security-led enterprises

Portkey

Now Palo Alto’s Prisma AIRS AI Gateway; MIT gateway still on GitHub.

AI Gateways & LLM Proxies Tools Compared

ToolPricingFree tier
LiteLLMFree · paid plans by quote
HeliconeFree · paid from $79/mo
PortkeyFree · paid plans by quote
Cloudflare AI GatewayFree · paid from $5/mo

The Best AI Gateways & LLM Proxies Tools, Ranked

LiteLLM

1. LiteLLM

Free tier· Free · paid plans by quote

Open-source LLM proxy and Python SDK: one OpenAI-style API for 140+ providers, with virtual keys, budgets and fallbacks you host yourself.

  • Free and open source (MIT)
  • No third party in your request path
  • Per-team keys and budgets
Helicone

2. Helicone

Free tier· Free · paid from $79/mo

Open-source AI gateway and LLM observability: route requests across providers with caching and fallbacks, and log every call.

  • Open source and self-hostable
  • Cost and latency logging on every request
  • Generous free tier
Portkey

3. Portkey

Free tier· Free · paid plans by quote

AI gateway for teams calling several model providers, with routing, fallbacks, caching and guardrails. Palo Alto Networks now sells it to enterprises; the open-source gateway stays MIT.

  • Open-source gateway you can self-host (MIT)
  • Guardrails and caching at the gateway
  • Backed by Palo Alto Networks for enterprise security
Cloudflare AI Gateway

4. Cloudflare AI Gateway

Free tier· Free · paid from $5/mo

Free AI gateway on Cloudflare's network: analytics, caching, rate limiting and fallbacks in front of any model provider.

  • Core features are free
  • Runs on Cloudflare's global edge
  • Nothing to host

The AI Gateways & LLM Proxies Market in 2026

01LiteLLM: the self-hosted proxy

LiteLLM is an SDK and proxy server that puts 140+ providers and 1,800+ models behind one OpenAI-compatible API. Requests go from your servers straight to the providers you hold keys for, so no third party sits in the request path. The proxy adds virtual keys with budgets and rate limits per key, user or team, plus fallbacks, load balancing and spend tracking backed by Postgres. The open-source edition is free; SSO, audit logs and support come with LiteLLM Enterprise at custom pricing.

Running it means owning its security. On March 24 2026, versions 1.82.7 and 1.82.8 on PyPI were malicious (CVE-2026-33634), and on October 21 a compromised 1.107.0 reached both PyPI and the Docker images. Pin exact versions, check releases before upgrading, and rotate keys if a bad build ever ran.

LiteLLM fits teams that want per-team keys and budgets at no licence cost, and can run and patch a proxy.

02Portkey and Helicone: gateways with logging, under new owners

Portkey’s gateway handles routing, retries, fallbacks, caching and guardrails, with logs and traces of every request. Since Palo Alto Networks bought it, portkey.ai/pricing redirects to Prisma AIRS AI Gateway, sold to enterprises through Palo Alto, and the old self-serve plans aren’t listed. The open-source gateway is still on GitHub under the MIT licence, with about 13,400 stars and its last tagged release in January 2026.

Helicone logs every request with cost, latency and the full prompt, and its open-source gateway adds caching, rate limits and fallbacks. Hobby is free for 10,000 requests, 1 GB of storage and 7-day retention. Pro is $79 a month with unlimited seats, alerts, the HQL query language and a month of retention. Team is $799 with SOC 2, HIPAA and three months of retention, and both paid plans add usage charges. It is Apache-2.0 licensed and can be self-hosted.

Self-host either open-source gateway if you like the code; for a hosted contract, ask each owner about the roadmap first.

03Cloudflare AI Gateway: free features on Cloudflare’s network

Cloudflare AI Gateway sits on Cloudflare’s edge between your app and the model providers. Dashboard analytics, caching and rate limiting are free on all plans, and you keep your own provider keys. DLP scanning is free too, with two predefined profiles unless you also have a Zero Trust subscription. Guardrails run Llama Guard on Workers AI and are billed as Workers AI usage.

Logs depend on when your account made its first gateway. Accounts that started on or after September 24 2026 store logs in Workers Logs at its pricing; older accounts keep 100,000 logs in total on Workers Free or 10M per gateway on Workers Paid. Unified Billing lets you pay providers through Cloudflare with a 5% fee on credits, so $100 of credit costs $105, and no markup on inference.

Cloudflare AI Gateway fits apps that want caching and analytics with nothing to host, though it has no per-team budgets like LiteLLM.

How to choose a ai gateways & llm proxies tool

Decide who may sit in the request path

With self-hosted LiteLLM or an open-source gateway, prompts go from your servers to the provider. Cloudflare and Helicone’s cloud see your traffic, which some security reviews won’t allow.

Check ownership before signing

Portkey and Helicone both changed hands in 2026. Ask about the roadmap and contract terms, or self-host the open-source code so a change of owner doesn’t strand you.

Treat the gateway as part of your supply chain

A gateway holds every provider key you have. Pin versions, verify releases and keep keys in a secret manager, especially after LiteLLM’s two compromised releases this year.

Compare the gateway fee, not the token price

Model tokens cost the same through every option here. Cloudflare’s 5% applies only if you buy credits through Unified Billing; with your own keys, the core features are free.

In-depth guideOpenRouter vs LiteLLM (2026): Hosted AI Gateway vs Open-Source LLM ProxyOpenRouter is a hosted service: one key, 500+ models, a 5.5% fee on credits. LiteLLM is MIT-licensed software you run yourself, with virtual keys and budgets per team. How each works, what the gateway costs at three spend levels, and why this site runs on OpenRouter.

Frequently Asked Questions

What are the main LiteLLM alternatives?⌄

Cloudflare AI Gateway for free caching and analytics with nothing to host, Helicone for request logging with a free tier, and Portkey’s open-source gateway if you want another self-hosted option. Cloudflare doesn’t offer the per-team virtual keys and budgets that come with LiteLLM’s free edition.

Is LiteLLM safe to use after the supply-chain attacks?⌄

The malicious PyPI releases (1.82.7 and 1.82.8 in March, 1.107.0 in October) were removed. Pin exact versions, check the project’s security notices before upgrading, and rotate every key on any host that installed a bad build.

What happened to Portkey?⌄

Palo Alto Networks announced its purchase of Portkey on April 30 2026 and closed it on May 29. Portkey now powers Prisma AIRS AI Gateway for enterprises, and its open-source gateway remains on GitHub under MIT.

Is Cloudflare AI Gateway free?⌄

The core features are: analytics, caching, rate limiting and DLP scanning cost nothing on any plan. Log storage, Logpush, guardrails and the 5% Unified Billing fee are the parts that can cost money.

What are the best ai gateways & llm proxies tools for startups in 2026?⌄

The best ai gateways & llm proxies tools for startups in 2026 include LiteLLM, Helicone, Portkey, Cloudflare AI Gateway. Compare them by pricing, free tiers, and features in the list above.

What is the best free ai gateways & llm proxies tool?⌄

Free ai gateways & llm proxies options include LiteLLM, Helicone, Portkey, Cloudflare AI Gateway. All offer a free tier suitable for bootstrapped startups and MVPs.

How do I choose a ai gateways & llm proxies tool?⌄

Start with your budget and team size, prefer tools with a free tier to validate, and make sure your pick integrates with the rest of your stack. App Stack Builder can recommend a complete, budget-aware stack in about 60 seconds.

Research & sources · last verified November 2026

Need the whole stack, not just ai gateways & llm proxies?

Get a free, AI-powered tech stack matched to your budget, app type, and team size in 60 seconds.

Build my stack free