Published features, pricing transparency, ease of use and support. We say so when something is not published.
Last verified
Details are re-checked on a schedule. Plans change, so confirm on the vendor site.
Independent
Some links may earn a commission. It never changes the order. Editorial policy.
Short answerThe best AI gateway software for most teams is LiteLLM if you want a free self-hosted proxy, Portkey if you want a managed gateway with observability included, and Kong AI Gateway if you already run Kong for APIs. Cloudflare AI Gateway is the cheapest edge option, starting free, while OpenRouter suits teams that want one API for many models without running a server.
Key takeaways
Free to start: LiteLLM, Bifrost, Gravitee and Tyk gateways are open source and free to self-host, and Portkey, Cloudflare and Helicone all offer free tiers.
Cheapest managed gateway: Portkey Production costs $49 a month for 100,000 recorded logs, while Kong Konnect Plus starts at $25 a month plus usage.
Best for observability: Helicone and Portkey log every request with cost and latency, while LiteLLM adds spend tracking per key, user and team.
Watch Helicone's status: Helicone was acquired by Mintlify in March 2026 and now runs in maintenance mode, with security updates and new model support but no active feature development.
Prices checked December 2026. Figures below are list prices from each vendor's own pricing page. Confirm on the vendor site before you buy.
LiteLLM is the best AI gateway for most teams right now because it is free, open source, supports more than 100 providers through one OpenAI-compatible API, and includes virtual keys, budgets and spend tracking. Portkey is the best managed alternative when you do not want to run infrastructure, and Kong AI Gateway is best if your team already governs APIs through Kong.
Which AI gateway is best for small teams?
Portkey is the best AI gateway for small teams because the free Developer plan covers 10,000 recorded logs a month, and the $49 Production plan adds alerts, guardrails and semantic caching without any infrastructure to run. Cloudflare AI Gateway is a strong second, with core features free on the Workers free tier and caching at the edge.
1
LiteLLM
Best for Teams that want full control inside their own network
Best free self-hosted AI gateway
LiteLLM is an open-source proxy that presents more than 100 LLM providers behind one OpenAI-compatible API. Your app sends one request format, and LiteLLM routes it to OpenAI, Anthropic, Bedrock, Vertex, Azure or any other supported provider, with fallbacks, retries, load balancing and caching. It adds virtual keys, users and teams, budgets and rate limits, spend tracking and an admin UI in the free build.
The catch is operational. You run LiteLLM yourself, typically on Docker or Kubernetes with Postgres, and Redis once you run more than one proxy instance. Enterprise features such as SSO beyond five users, SCIM and audit logs need a paid licence priced by deployment size. Note that LiteLLM's release pipeline was hijacked twice in 2026, so pin an explicit version and verify every build.
Plan
Price
What's included
Open Source
Free
Proxy, keys, budgets, fallbacks, admin UI
Enterprise
Pricing not published (quote-based)
SSO, SCIM, audit logs, tag-based spend tracking
Is LiteLLM or Portkey better? LiteLLM is better if you want full control inside your own network and zero licence cost, since the proxy is MIT-licensed and free to self-host. LiteLLM's Enterprise licence is priced on request, while Portkey's hosted Production plan is $49 a month.
What is the difference between an AI gateway and LLM observability? An AI gateway sits in the request path and controls traffic: routing, retries, fallbacks, caching, rate limits and budgets.
Which AI gateway supports the most models? LiteLLM supports the most models, with more than 100 providers behind one OpenAI-compatible interface.
Key features
One OpenAI-compatible API for 100+ providers
Virtual keys, users, teams and budgets
Fallbacks, retries and load balancing
Spend tracking and cost dashboards
Guardrail framework and prompt management
Admin UI and MCP gateway in the open build
Pricing
Free open source (MIT); Enterprise priced on request, 30-day trial licence available
Free option
Yes, the full open-source gateway is free
What we like
Free with the widest provider coverage
No vendor lock-in, runs in your VPC
Budgets per key, user and team included free
Watch out for
You carry the ops burden and uptime risk
SSO and audit logs need a paid licence
Supply-chain incidents in 2026 demand version pinning
Skip it if You do not want to run and maintain gateway infrastructure
2
Portkey
Best for Teams that want gateway, logs and governance run for them
Best managed AI gateway
Portkey is a managed AI gateway and control plane, now sold by Palo Alto Networks as Prisma AIRS AI Gateway. It offers a universal API with fallbacks, load balancing and retries, plus observability, prompt management with templates, virtual keys with budgets, caching and guardrails. The gateway core is open source and MIT-licensed, so you can self-host it and use the hosted control plane when you want.
Pricing is by recorded logs, not tokens. The Developer plan is free forever with 10,000 recorded logs a month. Production costs $49 a month for 100,000 recorded logs, plus $9 per additional 100,000 up to 3 million. Enterprise is custom, with 10 million-plus logs, SSO, VPC hosting and SOC 2, GDPR and HIPAA compliance.
Plan
Price
What's included
Open Source
Free
Self-hosted gateway, no request limit
Developer
Free
10k recorded logs/mo, 3-day log retention
Production
$49/mo
100k recorded logs/mo, alerts, RBAC, semantic caching
Enterprise
Custom
10M+ logs/mo, SSO, VPC, compliance
Key features
Universal API with fallbacks and retries
Observability with logs, traces and alerts
Virtual keys with budgets and rate limits
Simple and semantic caching
Guardrails and prompt templates
Open-source gateway, hosted control plane
Pricing
Developer free; Production $49/mo; Enterprise custom
Free option
Yes, Developer plan free forever
What we like
Free tier is genuinely useful for prototypes
Clear per-log pricing with no token markup
Strong guardrails and caching included
Watch out for
Production overage caps at 3 million requests
Enterprise now goes through Palo Alto sales
Developer logs are kept only 3 days
Skip it if You need more than 3 million logs a month on a self-serve plan
3
Kong AI Gateway
Best for API platform teams extending Kong to AI traffic
Best for teams already running Kong
Kong AI Gateway runs on Kong Gateway and is managed through Kong Konnect, so it fits teams that already govern APIs with Kong. It adds LLM-specific plugins for routing, rate limiting, prompt guardrails, semantic caching and cost control, plus agent-to-agent traffic management and MCP tool filtering added in 2026. You govern AI traffic with the same control plane as the rest of your APIs.
Konnect Plus starts at $25 a month per serverless control plane plus usage: 1 million AI requests a month are included, each additional million costs $200 up to a 10 million cap, and up to 5 distinct LLMs are included at $100 a month per extra model. Hybrid control planes cost $200 a month and Dedicated Cloud Gateways $500 a month, with fully self-hosted Enterprise custom-priced.
Plan
Price
What's included
Konnect Plus
From $25/mo + usage
1M AI requests/mo, 5 LLMs, serverless control plane
Hybrid control plane
$200/mo
Self-hosted data plane, Konnect control
Dedicated Cloud Gateway
$500/mo
Dedicated gateway in Kong cloud
Enterprise
Custom
Advanced AI plugins, SSO, audit logging
Key features
AI plugins on the Kong Gateway platform
Semantic caching and prompt guardrails
AI rate limiting and cost controls
MCP gateway and agent-to-agent controls
Konnect control plane with EU geo
Analytics across API and AI traffic
Pricing
Konnect Plus from $25/mo plus usage; 1M requests included, $200 per extra million
Free option
30-day trial, no credit card
What we like
One control plane for APIs and AI
Clear usage pricing with a 1M request allowance
Strong enterprise governance options
Watch out for
SSO and audit logs are Enterprise-only
Per-model charges add up with many LLMs
Overkill if you have no Kong footprint
Skip it if You do not already use Kong for APIs
4
Cloudflare AI Gateway
Best for Apps already running on Cloudflare
Best cheap edge gateway
Cloudflare AI Gateway puts caching, rate limits and logging at the edge, in front of any LLM provider. Core features are free on the Workers Free tier, which makes it the cheapest way to add a gateway to an app that already runs on Cloudflare. Workers Paid starts at $5 a month minimum, and Unified Billing adds a 5% fee on credits.
The gateway logs requests, caches responses to cut repeat costs, and enforces rate limits per key or user. It is a lighter control plane than LiteLLM or Portkey, with no built-in prompt management or virtual-key budgets, but for caching and basic governance at the edge it is hard to beat on price. Note that AI Gateway is not supported for Cloudflare Regional Services.
Plan
Price
What's included
Workers Free
Free
Core AI Gateway features
Workers Paid
From $5/mo
Higher limits, paid usage
Enterprise
Custom
Higher limits, support, SLAs
Key features
Edge caching to cut repeat model costs
Rate limiting per key, user or IP
Request logging and analytics
Works with any LLM provider
Unified Billing with a 5% fee on credits
Runs on Cloudflare's global network
Pricing
Core features free; Workers Paid from $5/mo minimum
Free option
Yes, core gateway features free on Workers Free
What we like
Free core features with no request cap published
Caching directly reduces model spend
No servers to run or maintain
Watch out for
No prompt management or virtual-key budgets
Not supported for Regional Services
Lighter governance than full control planes
Skip it if You need prompt management or per-team budgets
5
Helicone
Best for Teams that want request logging and a gateway in one quick setup
Best for fast LLM observability
Helicone is an open-source LLM observability platform with an AI gateway built in. Route calls through its OpenAI-compatible proxy to access more than 100 models with routing, caching and automatic fallbacks, or log asynchronously with an SDK. It records requests, costs, latency and errors, and lets you query them with its own query language, HQL. The cloud AI gateway passes model spend through at a 0% markup.
Pricing has four tiers: Hobby is free with 10,000 requests a month, 1 GB storage, one seat and 7-day retention. Pro costs $79 a month with unlimited seats, alerts, reports and one-month retention, plus usage beyond 10,000 requests. Team costs $799 a month with 10 million free requests, SOC 2 and HIPAA compliance and 3-month retention. Enterprise is custom with SSO and on-premises deployment.
Hobby free; Pro $79/mo; Team $799/mo; Enterprise custom
Free option
Yes, Hobby free with 10,000 requests a month
What we like
Five-minute setup through a proxy
Generous free tier for prototypes
Gateway billing at 0% markup
Watch out for
In maintenance mode since the Mintlify acquisition
Free tier caps at 10 logs a minute
Overage rates beyond the free allotment are not published
Skip it if You need active feature development rather than maintenance updates
6
OpenRouter
Best for Startups that want many models behind one key
Best one-API access to many models
OpenRouter is a hosted API that gives you one key for many models, with no servers to run. You buy credits, call any listed model through one OpenAI-compatible endpoint, and OpenRouter takes a 5.5% fee on credit purchases. Free models allow 50 requests a day. It is a router rather than a full gateway: routing, fallbacks and provider choice are built in, but budgets, guardrails and prompt management are lighter than on LiteLLM or Portkey.
OpenRouter suits startups and side projects that want access to many models quickly, and teams that want to switch models without changing code. It does not replace a control plane for enterprises that need SSO, audit logs and per-team budgets.
Plan
Price
What's included
Free
Free
50 requests a day on free models
Standard
Pay-as-you-go
All models, 5.5% fee on credit purchases
Key features
One API key for a large model catalogue
Automatic routing and fallbacks
Pay-as-you-go credits, no subscription
Free models for testing
Usage analytics and activity logs
OpenAI-compatible endpoint
Pricing
Pay-as-you-go; 5.5% fee on credit purchases; model tokens billed by providers
Free option
Yes, free models with 50 requests a day
What we like
Fastest way to try many models
No infrastructure or subscription
Clear 5.5% fee on credits
Watch out for
Light governance compared with full gateways
No built-in guardrails or prompt management
Model availability depends on providers
Skip it if You need SSO, audit logs or per-team budgets
7
TrueFoundry
Best for Teams that want a managed gateway priced per seat
Best managed control plane with seat pricing
TrueFoundry is a managed AI control plane that combines a gateway with model deployment and observability. The Pro plan costs $25 per user a month and includes 20,000 requests per user, with $20 per extra 100,000 requests. It suits teams that want seat-based pricing and a vendor-run gateway with a SaaS location in Mumbai as well as other regions.
TrueFoundry is closed source, so you cannot self-host the gateway core the way you can with LiteLLM or Portkey. The trade is a managed experience: routing, guardrails, cost tracking and deployment in one platform, with enterprise tiers for compliance and private deployment.
Plan
Price
What's included
Pro
$25/user/mo
20k requests per user, gateway, observability
Enterprise
Custom
Private deployment, compliance, support
Key features
Managed gateway with routing and guardrails
Seat-based pricing per user
Cost tracking and observability
Model deployment alongside the gateway
SaaS gateway locations including Mumbai
Enterprise tier with private deployment
Pricing
Pro $25/user/mo; 20,000 requests per user; $20 per extra 100,000
Free option
Trial available; no permanent free tier published
What we like
Predictable per-seat pricing
Gateway and deployment in one platform
No infrastructure to run
Watch out for
Closed source, no self-host option
No permanent free tier published
Smaller ecosystem than LiteLLM or Kong
Skip it if You need an open-source gateway you can self-host
8
Gravitee
Best for API teams adding LLM traffic to existing governance
Best API platform with AI gateway features
Gravitee is an API management platform with AI gateway plugins, so it fits teams that already govern APIs and want to add LLM traffic to the same platform. The open-source gateway is free and covers routing, rate limiting, security policies and analytics, while enterprise tiers add advanced AI plugins, support and SLAs. Pricing for enterprise tiers is not published and is quoted per deployment.
Gravitee's strength is breadth: full API lifecycle management, event streaming and AI gateway features in one product. It is heavier than a dedicated LLM gateway, so it suits platform teams rather than a single app that just needs model routing.
Plan
Price
What's included
Open Source
Free
Gateway, policies, analytics
Enterprise
Pricing not published (quote-based)
Advanced AI plugins, support, SLAs
Key features
Full API management plus AI gateway plugins
Routing, rate limiting and security policies
Analytics across APIs and AI traffic
Event-driven architecture support
Self-hosted or cloud deployment
Open-source core with enterprise add-ons
Pricing
Open source free; Enterprise pricing not published (quote-based)
Free option
Yes, open-source gateway free
What we like
One platform for APIs and AI traffic
Free open-source core
Deep policy and security controls
Watch out for
Enterprise pricing is not published
Heavier than a dedicated LLM gateway
AI features are add-ons, not the core
Skip it if You only need LLM routing and nothing else
9
Tyk
Best for Teams that want a small gateway they can extend
Best lightweight open-source gateway
Tyk is a lightweight open-source API gateway with AI gateway capabilities through its plugin model. The open-source gateway is free, and Tyk Cloud adds a managed control plane with paid plans quoted per deployment. It suits teams that want a small, fast gateway they can extend with custom plugins, including LLM routing, rate limiting and key management.
Tyk's AI features are less developed than those of Portkey or LiteLLM, and its cloud pricing is not published, so get a quote before budgeting. The open-source core is a solid choice for teams that already run Tyk for APIs and want to route a few model calls through the same gateway.
Plan
Price
What's included
Open Source
Free
Gateway, plugins, analytics
Tyk Cloud
Pricing not published (quote-based)
Managed control plane, support
Key features
Lightweight open-source gateway
Plugin model for custom logic
Rate limiting and key management
API analytics and developer portal
Cloud or self-hosted deployment
GraphQL and REST support
Pricing
Open source free; Tyk Cloud pricing not published (quote-based)
Free option
Yes, open-source gateway free
What we like
Free and lightweight to run
Flexible plugin system
Good for teams already on Tyk
Watch out for
Cloud pricing is not published
AI features are thinner than rivals
Smaller community than Kong or LiteLLM
Skip it if You need built-in LLM observability or prompt management
10
Bifrost
Best for Small services that need provider fallbacks with minimal setup
Best simple free gateway
Bifrost is an open-source AI gateway from Maxim AI, built for simple self-hosted routing across providers. It offers provider fallbacks, retries and a single API surface, with a minimal setup that suits small teams and side projects. There is no paid tier published: the project is free software, and you pay only for your own infrastructure and the model tokens you use.
Bifrost is the simplest gateway on this list, which is both its appeal and its limit. It lacks the observability, prompt management, budgets and guardrails of LiteLLM and Portkey, so treat it as a routing layer rather than a control plane. For a prototype or a small service that needs fallbacks across two providers, it is enough.
Plan
Price
What's included
Open Source
Free
Gateway, fallbacks, retries
Key features
Open-source gateway with provider fallbacks
Single API surface for many models
Retries and basic routing
Minimal setup and configuration
Runs anywhere with Docker
No licence cost or vendor lock-in
Pricing
Free open source; no paid tier published
Free option
Yes, the whole project is free
What we like
Free with almost no setup
Simple and easy to reason about
No vendor relationship to manage
Watch out for
No observability or prompt management
No budgets or per-team controls
Smaller project with fewer features
Skip it if You need budgets, guardrails or observability
Which one should you pick?
The right pick depends on your main need. Match it to the tool built for it:
LiteLLMTeams that want full control inside their own network
PortkeyTeams that want gateway, logs and governance run for them
Kong AI GatewayAPI platform teams extending Kong to AI traffic
HeliconeTeams that want request logging and a gateway in one quick setup
OpenRouterStartups that want many models behind one key
TrueFoundryTeams that want a managed gateway priced per seat
GraviteeAPI teams adding LLM traffic to existing governance
TykTeams that want a small gateway they can extend
BifrostSmall services that need provider fallbacks with minimal setup
How much does AI gateway software cost in 2026?
Self-hosted open-source gateways cost $0 in licence fees, plus your infrastructure, which teams typically estimate at $1,000 to $2,500 a month for a production setup. Managed gateways start at $25 a month for Kong Konnect Plus, $49 a month for Portkey Production, $79 a month for Helicone Pro and $25 per user a month for TrueFoundry Pro. Cloudflare's core gateway is free, and OpenRouter charges 5.5% on credit purchases with no subscription.
Tool
Entry plan
Mid plan
Top listed plan
Billing notes
LiteLLM
Free
n/a
Enterprise quote-based
Licence free; you pay for infra
Portkey
Developer free
Production $49/mo
Enterprise custom
Per recorded log; tokens separate
Kong AI Gateway
Konnect Plus $25/mo
Hybrid $200/mo
Dedicated $500/mo
+$200 per extra 1M requests
Cloudflare AI Gateway
Free
Workers Paid $5/mo
Enterprise custom
5% fee on Unified Billing credits
Helicone
Hobby free
Pro $79/mo
Team $799/mo
Usage beyond 10k requests on paid plans
OpenRouter
Free models
Pay-as-you-go
Pay-as-you-go
5.5% fee on credit purchases
TrueFoundry
Trial
Pro $25/user/mo
Enterprise custom
$20 per extra 100k requests
Gravitee
Free
n/a
Enterprise quote-based
Licence free; enterprise quoted
Tyk
Free
n/a
Cloud quote-based
Licence free; cloud quoted
Bifrost
Free
n/a
n/a
No paid tier published
What is the cheapest AI gateway? The cheapest AI gateway is a free open-source one: LiteLLM, Bifrost, Gravitee and Tyk all cost $0 in licence fees, and you pay only for your own servers. Among managed gateways, Cloudflare AI Gateway is cheapest, with core features free, and Kong Konnect Plus starts at $25 a month plus usage. Portkey's free Developer tier covers 10,000 logs a month.
How much does an AI gateway cost per month? A self-hosted open-source gateway costs $0 in licence fees plus your infrastructure, which teams typically estimate at $1,000 to $2,500 a month for a production setup. Managed gateways start at $25 a month for Kong Konnect Plus, $49 a month for Portkey Production, $79 a month for Helicone Pro and $25 per user a month for TrueFoundry Pro.
How to choose the right AI gateway software
Start with who runs it. If your platform team can run infrastructure, a free open-source gateway saves the most money. If you want no ops burden, pick a managed gateway and compare the pricing model, not just the headline price.
Count your requests. Portkey charges per recorded log, Kong per million requests, Helicone per request tier. Model your monthly volume first.
Decide where it runs. VPC-only rules point to LiteLLM, Kong or Portkey Enterprise; edge caching points to Cloudflare.
List the governance you need. SSO, audit logs and per-team budgets are Enterprise features at LiteLLM, Portkey and Kong.
Check observability needs. Helicone and Portkey log everything out of the box; LiteLLM needs its dashboard set up.
Test the free tier on real traffic. Run one app through the gateway for a week and compare the bill with direct provider calls.
Pin versions on open-source gateways. LiteLLM's 2026 supply-chain incidents show why explicit version pins and verified builds matter.
Do I need an AI gateway or just the model API? You need an AI gateway when more than one app or team calls models, because it gives you one place for routing, fallbacks, rate limits, budgets and logs.
How we chose
We ranked gateways on provider coverage, routing and fallback quality, guardrails and budgets, observability, and real published pricing. Every price above comes from the vendor's own pricing or documentation page, checked December 2026, and where a vendor publishes no price we say so instead of guessing. No vendor paid for placement, and badges reflect fit for a specific team, not a score. For teams that also need to reach customers by email, our guide to the best AI tools for email marketing covers the marketing side of the stack.
Frequently asked questions
What is the best free AI gateway?
LiteLLM is the best free AI gateway because the full open-source proxy is free, supports more than 100 providers, and includes virtual keys, budgets and spend tracking. Cloudflare AI Gateway is the best free managed option, with core features free on the Workers Free tier.
Is Portkey now Prisma AIRS AI Gateway?
Yes, Portkey is now sold by Palo Alto Networks as Prisma AIRS AI Gateway after the acquisition closed in May 2026. The gateway core remains open source, the docs still use the Portkey name, and the hosted Production plan is $49 a month for 100,000 recorded logs.
How much does LiteLLM Enterprise cost?
LiteLLM does not publish Enterprise pricing. It is priced on request by usage and deployment size, with a free 30-day trial licence. The open-source gateway is free, so the real cost is your infrastructure plus engineering time.
Is Helicone still being developed?
Helicone was acquired by Mintlify on 3 March 2026 and now runs in maintenance mode. Security updates, new model support and bug fixes continue, but active feature development has ended. That matters if you need new features, though the service remains live and the free Hobby tier still works.
Do AI gateways charge for model tokens?
No, gateways do not sell model tokens. You pay the model provider for tokens, and the gateway charges separately: per recorded log at Portkey, per million requests at Kong, per seat at TrueFoundry, or a fee on credits at OpenRouter. Helicone's gateway passes model spend through at a 0% markup.
Which AI gateway is best for startups?
Portkey's free Developer plan or Cloudflare's free core gateway are the best starting points for startups, since both cost nothing at low volume. LiteLLM is best if the startup has someone to run infrastructure, and OpenRouter is best if you want many models behind one key with no server at all.
About the authorSaima Akther · SEO and AEO Enthusiast
Saima Akther is an SEO and AEO enthusiast who writes Serplark’s best-of lists and guides on SEO tools, answer engine optimization and AI search. Published . Spot an error or a missing tool? Tell us and we will check it.