AI Tool Compare

Software advice

Best LLM Gateway Software in 2026

LLM gateway software is a proxy layer that sits between an application and one or more model providers, giving developers a single API plus routing, fallbacks, budgets, key management, caching and request logs. It isn't a model provider. It isn't a prompt-testing suite or a pure tracing tool either, even though several products below blend those jobs.

Quick answer

LiteLLM ranks first because its MIT-licensed proxy is free to self-host and covers 140+ providers. Portkey fits teams that want a hosted gateway with guardrails. OpenRouter suits developers who want one bill across many models and nothing to run.

Calling one model provider directly is easy. Then a second provider arrives, then a team budget, then an outage at 2 a.m., and suddenly the glue code has become somebody's full-time job, which is exactly the moment a gateway starts to look like a bargain. The real choice is run-it-yourself versus rent-it. This ranking sorts eleven products on control, on how plainly the fees are printed and on what the vendor says happens to your prompts. Pricing pages, docs and privacy policies were read in November 2026. Nobody load-tested a gateway for this, so every latency figure is the vendor's own claim. Hosted and self-hosted options share one list on purpose.

The 11 best LLM gateway software in 2026, ranked

There is no score. Vendors can pay for more visibility on this website, for example a higher place in a ranking or more room on a page. Commercial relationships can also affect which products we feature and how prominently. How we rank.

#ToolBest forFree planEntry price
1LiteLLMPlatform teams that will run their own proxy and want per-team keys, budgets and many providers. Yes$0 self-hosted (MIT license)
2PortkeyTeams wanting a hosted gateway with guardrails, role-based access and prompt management in one place. Yes$49 per month (Production)
3OpenRouterDevelopers who want one key, one invoice and quick access to many models with nothing to deploy. YesQuoted
4Vercel AI GatewayTeams on any cloud that want a hosted gateway with zero token markup and per-request routing logs. YesPay as you go at provider list price, no token markup
5Cloudflare AI GatewayTeams already on Cloudflare that want caching, rate limits and logs without adding another vendor. Yes$0 for core features
6Kong AI GatewayAPI platform teams already running Kong that want LLM traffic governed next to ordinary API traffic. TrialFrom $25 per month plus usage (Konnect Plus)
7BifrostGo-comfortable teams that want a fast self-hosted gateway with budgets, an MCP gateway and a web UI. Yes$0 (open source, Apache 2.0)
8Eden AITeams that want one hosted API across LLMs and other AI services, with an EU endpoint on offer. NoProvider prices plus a 5.5% fee on credit purchases
9TrueFoundryEnterprises wanting an LLM, MCP and agent gateway they can run in a VPC or air-gapped. Yes$25 per user per month (Pro)
10RequestyEuropean teams wanting a hosted router with EU data residency on every plan and a 30-day log limit. Yes5% markup on provider token prices
11HeliconeTeams that live in request logs and want a gateway with fallbacks in the same product. Yes$79 per month (Pro)
  1. 1
    BerriAI API

    LiteLLM takes first place because the free tier isn't a teaser. The MIT-licensed proxy ships virtual keys, budgets, load balancing and guardrails, and the site lists 140+ providers. The catch is operations: Postgres for keys, a master key, your own scaling. A team with a platform engineer gets more control per dollar here than anywhere else in this list. A team without one will spend the savings on babysitting.

    Strong on

    • Virtual keys with per-key, team and user budgets and rate limits, all in the open-source proxy
    • Self-hosting sends no telemetry to the vendor, according to its own site
    • The Router retries, falls back and balances load across deployments

    Weak on

    • Virtual keys require a PostgreSQL database that you provision and maintain
    • The docs mark key rotation as an Enterprise feature
    • No hosted plan was described on the pages read

    Skip it if: Small teams with nobody to patch and monitor a proxy, or buyers who want vendor-hosted SaaS with a printed price. Open-source proxy is free to run. Enterprise adds SSO, audit logs and SLAs, with no price printed.

  2. 2
    Portkey, Inc. API

    Portkey lands second because it's the most complete hosted gateway in this group. Production at $49 a month adds guardrails, RBAC and service-account keys, and the open-source route stays open for self-hosting. Ownership is the catch. The pricing page said Portkey is now part of Palo Alto Networks' Prisma AIRS AI Gateway, so read the roadmap and contract terms before you sign for years.

    Strong on

    • Production bundles guardrails, role-based access and service-account API keys at a printed price
    • One API covers the gateway, prompt library and logs, so routing and wording live together
    • Enterprise lists private cloud and VPC hosting, with SOC 2, ISO 27001, GDPR and HIPAA

    Weak on

    • The free Developer plan keeps logs three days and is described as not for production
    • Its pricing page now points to Palo Alto Networks, which adds roadmap uncertainty

    Skip it if: Developers who want a no-account open-source proxy, or teams that need data residency guarantees without an Enterprise contract. Developer is free with 10K recorded logs. Production includes 100K logs, then $9 per extra 100K.

  3. 3
    OpenRouter, Inc. API

    OpenRouter comes third because it solves a narrower problem than the two above it. You get one API, a credit balance and an Auto Router that picks a model per request. Virtual keys and team budgets barely exist on Standard. For trying twenty models in an afternoon it's hard to beat. Once finance asks for per-team limits, it gets weaker fast.

    Strong on

    • The 5.5% fee hits credit purchases only, while inference stays at provider list price
    • BYOK runs free of platform fees up to $25,000 of list-price inference a month
    • Prompts aren't stored unless you opt in, per the vendor's privacy documentation

    Weak on

    • Business raises the credit fee to 8% in exchange for EU and US in-region routing
    • Free models cap at 50 requests a day until you buy $10 of credits

    Skip it if: Teams that need team-level budgets, audit trails or a self-hosted deployment on their own network. Inference is billed at provider list price. Standard charges 5.5% when you buy credits.

  4. 4
    Vercel API

    Vercel AI Gateway sits fourth because its pricing is the cleanest of the hosted options and the docs are unusually specific. Tokens carry no markup, even with your own keys, and every routing attempt gets logged. You don't need a Vercel deployment, just an account. Add-on fees are where the bill grows. Read that section twice.

    Strong on

    • Zero markup on tokens, bring-your-own-key traffic included, according to the pricing page
    • Zero data retention is the default, with per-request enforcement available
    • Budgets can cap a team, project, API key or member

    Weak on

    • Budgets exclude BYOK spend, so you still need provider-side limits
    • Regional hosting is in beta and adds 5% of inference cost on Pro and Enterprise

    Skip it if: Teams that must self-host, or that need a gateway running entirely inside their own VPC. Free tier covers a subset of models. Add-ons such as regional hosting and trace drains are billed separately.

  5. 5
    Cloudflare API

    Cloudflare AI Gateway ranks fifth. Core analytics, caching and rate limiting cost nothing, which is hard to beat if your traffic already flows through Cloudflare, and guardrails use Llama Guard 3 and Prompt Guard 2. Governance is what holds it back. The pages read describe no virtual keys or per-team budgets, so it controls requests better than it controls people.

    Strong on

    • Core features, caching and rate limiting included, are free on all plans
    • Guardrails run Llama Guard 3 and Prompt Guard 2, set to flag, block or ignore per category
    • Per-request headers can skip log creation or payload storage

    Weak on

    • Logs capture prompts and responses by default until you change the setting
    • Unified Billing takes credit cards only and adds a 5% fee

    Skip it if: Organizations wanting per-team budgets and key management in the gateway, or anyone avoiding Cloudflare as a vendor. Core features are free. Unified Billing adds 5% on credit purchases, and guardrails bill as Workers AI usage.

  6. 6
    Kong Inc. API

    Kong AI Gateway is sixth. The feature list is real: it governs LLM, MCP and agent traffic with semantic caching, PII sanitization and prompt guards. But the Plus tier caps unique LLMs at five and keeps SSO and audit logging for Enterprise. It makes most sense where Kong is already in place. Standalone, the setup is heavier than anything ranked above it.

    Strong on

    • The product page lists semantic caching, PII sanitization and semantic prompt guards
    • Quotas can be bound by user, model and time window
    • It extends to MCP and agent-to-agent traffic, with audit trails per call

    Weak on

    • Plus allows five unique LLMs, and SSO and audit logging stay with Enterprise
    • No permanent free tier, only a 30-day trial without a credit card

    Skip it if: Small teams without an API platform function, or buyers who want a lightweight proxy running in ten minutes. Plus includes 1 million AI requests a month. Extra millions cost $200 a month each, capped at 10 million.

  7. 7
    Maxim AI API

    Bifrost gets seventh place on youth. It's Apache 2.0, starts with a single npx or Docker command, and the repo claims 11 microseconds of overhead at 5,000 requests per second on one instance type. Governance covers virtual keys, budgets and rate limits. Fewer providers than LiteLLM, a shorter track record and no printed enterprise price keep it below the leaders. Watch it, though.

    Strong on

    • Apache 2.0 license, a built-in web UI and OpenTelemetry support
    • Virtual keys carry budgets and rate limits at key, team and customer levels
    • The enterprise option deploys in your VPC, so data doesn't pass through the vendor

    Weak on

    • Lists 20+ providers, well below LiteLLM's 140+ claim
    • Maker location and certifications weren't stated on the pages read

    Skip it if: Buyers who need compliance certificates in hand today, or a hosted service with someone to call. Open source is free. Enterprise pricing is not listed, and a 14-day trial is mentioned.

  8. 8
    Eden AI SAS API

    Eden AI lands eighth. The pitch is breadth: roughly 1,000 models from 80+ providers behind one OpenAI-compatible API, with fallbacks, caching and per-key budgets. It's French, it publishes an EU endpoint, and the privacy policy says it doesn't train on your data. We'd still put it under the self-hosted leaders. No free tier is printed, and team-level controls like SSO and audit logs wait for a custom plan.

    Strong on

    • Routes by cost, speed or latency, with declared fallback models and optional caching
    • An EU endpoint refuses models not cleared for European processing before any provider is called
    • Per-key budgets reset daily, weekly or monthly, and every response carries its cost in USD

    Weak on

    • No free credits or free plan appeared on the pricing page
    • SSO, SCIM and audit logs belong to the custom Advanced plan

    Skip it if: Buyers who need to self-host the gateway, or developers who want to test it for free before paying. No subscription, seat fee or minimum. The 5.5% is added when you buy credits. No free credits were listed.

  9. 9
    Ensemble Labs, Inc. (TrueFoundry) API

    TrueFoundry ranks ninth because the gateway is one piece of a broader platform, and anything serious starts with a sales call. Tiers are priced clearly: Developer at $0, Pro at $25 per user per month. VPC, on-prem and air-gapped deployment sit on Enterprise. Per-seat pricing can punish large developer teams. And the privacy policy says nothing about model training.

    Strong on

    • Pricing is printed per user, with 5 model accounts and 5 MCP servers on the free plan
    • The Trust Center lists SOC 2 Type II, HIPAA and GDPR
    • Tokens carry no markup, and provider charges are billed separately

    Weak on

    • The free plan keeps logs for seven days, and Pro for 30 days
    • VPC, on-prem, air-gapped and data residency are Enterprise only

    Skip it if: Solo developers wanting a free hosted router, or large teams that dislike per-seat charges. Developer is $0 for up to three users. Pro pools 20K requests and tool calls per user.

  10. 10
    Requesty Ltd API

    Requesty takes tenth, and geography is why it's worth a look. EU data residency applies to every plan, and the privacy policy spells out retention down to the day, which is rare among routers. The 5% markup applies even with your own keys. That makes it the costliest option for teams with negotiated provider contracts, and the smallest ecosystem keeps it this low.

    Strong on

    • EU data residency is available on every plan, with primary infrastructure in Frankfurt
    • A per-key logging switch, plus zero data retention on written request
    • Pay-as-you-go covers 600+ models and 30+ providers with spend limits

    Weak on

    • The 5% markup applies to bring-your-own-key traffic too
    • SSO, RBAC and audit logs come with Enterprise only

    Skip it if: Teams with deeply discounted provider contracts, or those wanting to self-host the gateway. Free plan covers free models at 200 requests a day. The 5% markup also applies to your own keys.

  11. 11
    Helicone, Inc. API

    Helicone comes last, and the reason is the unknowns. It's an open-source observability tool first, and the gateway reads like an add-on: 100+ providers, automatic fallbacks, caching, custom rate limits. The site now says Helicone is part of Experiential Labs, with details to come. The privacy policy is from February 2023 and is silent on training. Fine for logging. Risky as a multi-year bet.

    Strong on

    • Gateway features include fallbacks, caching and custom rate limits on top of logging
    • Pro and Team list unlimited seats, and Team adds SOC-2 and HIPAA
    • The gateway takes bring-your-own keys and lists 0% markup on credits

    Weak on

    • Hobby keeps logs 7 days and allows 1 seat
    • Usage charges on Pro and Team have no printed rates, so the bill is hard to forecast

    Skip it if: Buyers who want a settled ownership story, or anyone who needs a documented policy on training. Hobby is free with 10,000 requests and 1 GB. Pro and Team add usage charges with no rates printed.

How these LLM gateway software were judged

How good is the routing and failover?

Routing is the product. A gateway earns its place when a provider returns a 429 or goes down and your users never notice, and the documented features differ more than the marketing pages suggest. LiteLLM describes a Router with retries, fallbacks, load balancing and cost-based routing. OpenRouter has an Auto Router that picks a model per request from the pool your settings allow, and Vercel logs every routing attempt, which makes failures easy to audit. Bifrost claims 11 microseconds of added overhead at 5,000 requests per second on one instance type, a vendor benchmark and nothing more. Test with your own prompts. The ranking follows documented features, not measured speed.

What does an LLM gateway really cost?

Four pricing shapes exist. Open-source tools like LiteLLM and Bifrost cost nothing to license, but you host them. OpenRouter charges 5.5% on credit purchases on Standard and 8% on Business, Eden AI takes 5.5% at checkout when you buy credits, Requesty adds a flat 5% to token prices, Helicone starts at $79 a month on Pro with usage charges on top, and Vercel advertises zero markup on tokens before billing add-ons such as $0.20 per 1,000 BYOK requests when fallback is switched off. Kong prices by request volume, from $25 a month plus usage on Plus. Run the math. A 5% fee on $20,000 of monthly tokens is $1,000, so the fee model matters more than the headline plan. Prices are as of November 2026.

Do gateways store or train on my prompts?

Defaults differ more than most buyers expect. OpenRouter says it stores token counts and latency but not prompts unless you opt in. Cloudflare logs prompts and responses by default, with a header to skip payload storage. Vercel states it uses zero data retention by default, while Requesty stores prompts encrypted in the EU for up to 30 days on self-serve plans unless logging is off. A self-hosted proxy keeps data on your side, though your own database now holds the logs. Eden AI says synchronous calls aren't stored by default and that it doesn't train on your data, while Helicone's privacy policy, last updated in 2023, doesn't address training at all. Kong's and Bifrost's policies weren't checked for AI payloads. Ask first.

How hard is it to leave a gateway?

Leaving is easier than with most software, because nearly every product here speaks the OpenAI request format. Swapping the base URL and key is often a day of work. The sticky parts sit elsewhere: virtual keys and budgets you configured, prompt templates stored in a vendor library, cached responses, and years of request logs that nobody exported. Self-hosted tools carry a different kind of lock-in, namely the database and the habits your team builds around it. Vercel's docs even publish a migration guide from Cloudflare. That says plenty about how portable the traffic layer is. Export your logs before cancelling, because retention on lower plans is short.

Which gateway fits a small team versus an enterprise?

A two-person startup rarely needs governance. It needs one key, a fallback and a spend cap, and OpenRouter or Vercel gives that in an afternoon. A platform team of ten serving several products usually wants virtual keys per team and budgets, which points to LiteLLM or Bifrost if someone can operate them, while companies already running Kong or Cloudflare should look at that extension first because procurement is done. European teams that want an EU endpoint without running anything should check Eden AI or Requesty first. Regulated buyers who need private cloud, VPC hosting or audit logs belong with TrueFoundry, Portkey or the enterprise tiers of the others. Don't buy governance before you have a second app.

How to choose a LLM gateway in three steps

  1. Decide run-it-yourself or rent it. Start with one question: does your team want another service to patch and scale? If yes, LiteLLM or Bifrost keep traffic on your own infrastructure and cost only hosting. If no, a hosted gateway removes that burden but adds a fee and a vendor in the data path. Price both honestly. A hosted fee of 5% on modest spend can be cheaper than half an engineer's week each month. Once monthly token spend climbs well into five figures, the math flips.
  2. Read the fee line for BYOK. Many teams already hold provider contracts with negotiated discounts, so bring-your-own-key terms decide the real cost. OpenRouter waives its fee on BYOK up to $25,000 of list-price inference a month. Requesty's 5% markup still applies to your own keys. Vercel charges nothing on BYOK tokens but bills $0.20 per 1,000 requests when fallback is off. Write down your expected monthly requests and tokens, then compute each vendor's total instead of comparing plan names. A four-row spreadsheet takes twenty minutes. It often reverses the ranking you had in your head.
  3. Test failover and logging with real prompts. Run a one-week pilot with your actual traffic shape. Kill a provider key on purpose and watch whether the fallback fires and how long it takes. Then open the logs, since some gateways store full prompts by default and others keep metadata only. Get the retention period in writing and hold it up against your privacy policy. If a gateway can't show per-request routing attempts, debugging a real outage will cost you far more time than the whole pilot did, and you'll have learned that at the worst possible moment.

Frequently asked questions

What is the best LLM gateway software in 2026?

LiteLLM ranks first here because it's MIT-licensed, free to self-host and lists 140+ providers with virtual keys and budgets. Portkey is the pick for a hosted gateway with guardrails, and OpenRouter for developers who want one account and invoice across many models. Your answer depends mostly on one thing: can you run a proxy yourself?

What is the difference between an LLM gateway and an LLM provider?

A provider such as OpenAI or Anthropic trains and serves models. A gateway serves none of its own. It forwards your request to a provider and wraps routing, fallbacks, budgets, logging and key management around it. Some products, like OpenRouter, also resell provider capacity, so the line blurs a bit, but the gateway job stays the same.

Is LiteLLM really free?

Yes, the open-source proxy is MIT-licensed and costs $0 to license, according to the vendor's site. You pay for hosting, and virtual keys need a PostgreSQL database. Enterprise adds SSO, audit logs and support SLAs at a price the vendor doesn't list, and the enterprise page mentions a 30-day trial key.

Does OpenRouter charge a markup on models?

Not on inference, which is billed at provider list price. OpenRouter charges a fee when you buy credits: 5.5% on Standard and 8% on Business as of November 2026. Bring-your-own-key traffic carries no such fee up to $25,000 of list-price inference per month, then 5%. Enterprise discounts go through sales.

Can a gateway keep my prompts out of its logs?

Often yes, but defaults vary. OpenRouter says it doesn't store prompt content unless you opt in. Cloudflare logs payloads by default and lets you skip them per request with a header. Requesty has a logging-disabled mode and offers zero data retention on request. Self-hosted gateways keep logs in a database you control.

Do I need an LLM gateway if I only use one provider?

Usually not on day one. A gateway pays off once you add a second provider, need per-team budgets or want automatic failover. Spend control is the exception: even a single-provider team may want virtual keys with caps, so a runaway script can't burn through a month's budget overnight.

What does Kong AI Gateway cost?

Kong lists Konnect Plus from $25 a month plus usage, with 1 million AI requests included and $200 a month for each additional million, up to 10 million. Enterprise pricing is custom. There's no permanent free tier, only a 30-day trial, as of November 2026.

How is a gateway different from LLM observability software?

Observability tools record and analyze what happened: traces, evaluations, latency. A gateway sits in the request path and can change the outcome by rerouting, blocking, caching or capping spend. Several vendors do both, Portkey and Helicone among them, so decide if you need the control or just the visibility.

Keep going in this category