Skip to content

Architecture and migrationComparison

OpenRouter alternatives in 2026: how AI gateway models differ

The useful comparison between AI gateways is not model count. It is who holds the provider accounts, what happens when your own key fails, whether budgets see that spend, what any fee is charged on, and who operates the thing in your request path.

By INFRO Editorial

Published

Updated

8 min read

Several abstract AI gateway architectures arranged for a careful technical comparison

In short

Choose between AI gateways by their commercial and operational model before their features. OpenRouter serves traffic through its own accounts or yours, and by default falls back to its shared capacity when your key fails; Stripe agreed to acquire it on 2026-08-19. LiteLLM and Portkey's gateway are open-source software you run. Cloudflare and Vercel run hosted gateways whose budgets treat your own keys differently. Direct APIs need no gateway. INFRO is a hosted gateway over your own provider accounts only, billed as a subscription with no fee on model spend.

Key takeaways

  • Compare gateways first by credential model: whose provider accounts serve your requests and who invoices you for model usage.
  • Ask what happens when your own key fails. OpenRouter falls back to its shared capacity by default; Vercel retries on its own credentials. Both can be the right default, and both put some traffic on a contract that is not yours.
  • Budgets do not treat your own keys alike: Cloudflare's spend limits count BYOK traffic on models with known pricing, Vercel's budgets do not count BYOK spend.
  • LiteLLM and Portkey's gateway are open-source software; the cost is operating a service in your request path.
  • Ownership moved in 2026: Palo Alto Networks closed its acquisition of Portkey, and Stripe agreed to acquire OpenRouter. Check whose terms you will be on next year.
  • Every fee and allowance changes. Check each vendor's own page on the day you decide.

Comparisons of AI gateways often start with a feature grid and a model count. Both are the wrong starting point. Any gateway worth shortlisting can route a chat completion to several providers; what differs — and what you live with for years — is who holds the provider accounts, what happens to a request when your own key fails, whether your budgets can see that spend, what any fee is charged on, and who has to keep the service running.

A disclosure first: INFRO builds a gateway and competes with some of these products. Everything below about another product comes from that product's own documentation, repository or announcement on the access date shown, and nothing here compares performance, which we have not measured. Fee levels are left out on purpose: they change often, and the basis a fee is charged on tells you more about how it will scale than this month's percentage. The dated figures are in AI gateway pricing models compared.

What changed in 2026

The category consolidated this year, and some of the products below now belong to larger companies:

  • OpenRouter. Stripe announced on 2026-08-19 that it "has agreed to acquire" OpenRouter1. As of 2026-10-13 neither company had published a completion notice.
  • Portkey. Palo Alto Networks announced on 2026-05-29 that it had closed its acquisition of Portkey, which becomes the core AI gateway of its Prisma AIRS security platform2. Portkey's own pricing page now reads "Portkey is now PRISMA AIRS AI Gateway"3.
  • Helicone. Helicone joined Mintlify on 2026-03-03; its post says the services remain live "in maintenance mode", with security updates, new models and fixes still shipping4.

None of these is a reason to avoid a product on its own. Each is a reason to read the terms you will be on next year rather than the ones you signed. Who owns your AI gateway covers the timeline and a portability checklist.

The options

OpenRouter

OpenRouter provides one API across many providers' models. Its FAQ says it charges a fee when you purchase credits and passes through the pricing of the underlying providers without markup5.

It also supports bring-your-own-key. Its BYOK documentation describes a monthly allowance that depends on your plan and is measured in list-price inference cost rather than request count; usage above it carries a fee calculated on what the same model and provider would cost on OpenRouter, deducted from your OpenRouter credits6. Two consequences follow. The fee basis is the list price, not the rate your own contract carries. And the same page documents what happens when your keys fail: if every key you configured hits a rate limit or fails, "OpenRouter will fall back to using shared OpenRouter endpoints", which is the default; you can set each prioritized key to never use shared capacity for its models, or for its whole provider6. If your reason for BYOK is to keep traffic on your own contract, change that setting deliberately.

LiteLLM

LiteLLM is an open-source AI gateway you run yourself. Its documentation describes one OpenAI-compatible endpoint for many providers, with spend recorded per key, team, user and tag, and budgets and rate limits per virtual key7. The repository describes routing with retry and fallback logic across deployments, and is MIT-licensed except for an enterprise directory under a separate license8. There is no vendor in the request path — and no vendor to page.

Portkey's open-source gateway

Portkey publishes an open-source, MIT-licensed gateway whose README describes falling back to another provider or model on failed requests and automatically retrying failed requests up to five times9. Observability and logging are part of Portkey's hosted platform rather than the open-source gateway — the hosted platform that is now Prisma AIRS AI Gateway3. The repository showed no change of license on 2026-10-139.

Cloudflare AI Gateway

Cloudflare runs a hosted gateway in front of your providers. Its pricing page says the core features are free, that inference bought through its Unified Billing is passed through without markup, and that a fee applies to credits purchased through Unified Billing10. Its spend limits are the relevant detail for a BYOK buyer: they "apply to both Unified Billing requests and BYOK requests for models with known pricing", answer 429 when exceeded, and are "eventually consistent", so a burst of concurrent requests can briefly pass the limit11.

Vercel AI Gateway

Vercel's gateway charges "no markup and no platform fee on tokens", including with your own keys, and bills some capabilities as paid add-ons12. Its BYOK documentation sets two conditions a BYOK buyer should read closely: BYOK needs purchased AI Gateway credits, and "when a request with your credentials fails, AI Gateway keeps it running by falling back to system credentials", billed against that balance13. Its budgets page adds that "BYOK spend isn't counted in budgets" and that a budget "is a soft cap, not a hard limit": the request that crosses the limit still completes14. LLM spend limits compared sets these budget behaviours side by side.

Direct provider APIs

No gateway at all. You get each provider's newest features the day they ship and no additional party in your data path. You also get one integration, one error model and one set of rate limits per provider — limits that are defined per organization and project15 — and you build failover, budgets and cross-provider cost attribution yourself.

INFRO

INFRO is a hosted gateway over provider accounts you connect, and only those. Your providers invoice you directly at your own rates; INFRO charges a software subscription and takes no fee on model spend. Because INFRO holds no provider accounts, there is nothing for it to fall back to: a failed attempt moves to the next of your own connections or keys, and when all of them fail the request fails.

Side by side

OpenRouterLiteLLM (self-hosted)Portkey gateway (open source)Cloudflare AI GatewayVercel AI GatewayINFRO
Whose provider accounts serve requestsOpenRouter's, or yours with BYOKYoursYoursCloudflare's through Unified Billing, or yoursVercel's, or yours with BYOKYours only
When your own key failsFalls back to OpenRouter's shared capacity unless you turn it off per keyYour configured retries and fallbacksYour configured fallbacks and retriesNot covered by the sources readRetried on Vercel's credentialsNext of your own connections or keys; otherwise an error
Budgets count spend on your own keysNot covered by the sources readYes, per key, team or userNot in the open-source READMEYes, for models with known pricingNoYes, as an estimate of provider cost
What any fee is charged onCredit purchases; BYOK usage above an allowanceNothing (open source); an enterprise license is sold separatelyNothing (open source)Unified Billing purchases; some features billed separatelyNo fee on tokens; paid add-onsA subscription; no fee on model spend
Who operates the gatewayOpenRouterYouYouCloudflareVercelINFRO
As documented by each vendor on 2026-10-13. Fees, allowances and defaults change; check the vendor's page before deciding.

Which fits which situation

  • Choose OpenRouter when you want immediate access to many providers' models without holding an account with each, and a fee on credit purchases is acceptable at your spend. If you bring your own keys, decide whether shared-capacity fallback should stay on.
  • Choose a self-hosted open-source gateway such as LiteLLM or Portkey's when no third party may sit in your request path and you have engineers who will operate, upgrade and page for a service handling production traffic.
  • Choose Cloudflare or Vercel when your application already runs on that platform and its gateway's defaults match yours — in particular, how its budgets treat traffic on your own keys.
  • Stay on direct APIs when you use one provider, depend on provider-specific features on day one, and do not yet need cross-provider failover, attribution or policy.
  • Choose INFRO when you already hold — or want to hold — your own provider contracts, want every request to run on them, need routing, failover, per-request cost attribution and budgets across them, and prefer a subscription to a fee on model spend. Confirm the specific capabilities you need against its documentation first.

INFRO: your accounts, your keys, your failure policy

A request that names a model is served by every enabled connection whose provider serves it, providers in the order you connected them, and spread across each provider's active keys; a key marked standby is used only after every active key of that provider failed, and a key that answered 429 waits at the back of the line for the provider's Retry-After. A named route fixes the order instead, and can carry if-rules that pick targets from request metadata and failure rules that decide, per failure kind, whether to retry, move to the next target or stop — see routing rules and failure rules and the routes docs.

Budgets are hard caps per organization, project, member and key, with alerts at thresholds you set, and they count INFRO's estimate of what your provider will bill for traffic on your own connections; a model with no known rate is recorded as unpriced, never as free. On the Business plan, that estimate is also compared daily with the cost OpenAI's and Anthropic's own cost APIs report. Plans start at $35 a month, with a 14-day trial; see pricing.

Questions to ask any gateway vendor

  • Whose provider accounts serve my requests on the plan I would buy, and can that change without my consent?
  • When my own provider key fails or is rate-limited, does the request move to another of my accounts, fail, or run on yours — and who chooses?
  • Do budgets count the spend on my own keys, and do they block or only warn?
  • What is the fee charged on — purchases, usage, requests, add-ons or seats — and what happens at an allowance?
  • Is the provider and account that served each request recorded where I can query it?
  • Which data is retained, for how long, and is prompt capture off by default?
  • Who owns the vendor today, and what does my contract say on a change of control?
  • How do I leave: is the API standard enough that switching is a base-URL change?

The last question matters most. A gateway adopted to reduce dependence on one provider should not create a harder dependence of its own. See what an LLM gateway is for the credential models in more depth, and build versus buy for the self-hosted trade-off.

From the team that builds it

Where this shows up in INFRO

INFRO is a control plane in front of the provider accounts you already hold. The capabilities below are the parts of it this article touches, each with the documentation that defines its behaviour.

  • Provider connections

    Private early access

    Connect provider accounts you already hold. Each credential is encrypted when saved, scoped to your organization and never shown again; applications use INFRO gateway keys instead.

    Read the documentation for Provider connections
  • Health-aware routing

    Private early access

    Named routes use priority or weighted targets over your own connections, with health checks, retries and failover.

    Read the documentation for Health-aware routing
  • Automatic failover

    Private early access

    A route that times out or 5xxs before the response starts is retried elsewhere without your client seeing it.

    Read the documentation for Automatic failover
  • Usage and cost per request

    Private early access

    Every request records its model, latency, token or unit counts, and estimated provider cost, queryable by project and key.

    Read the documentation for Usage and cost per request
  • Budgets and spend ceilings

    Private early access

    A hard cap per organization, project, member, and key, with alerts at your own thresholds.

    Read the documentation for Budgets and spend ceilings
  • Provider cost reconciliation

    Private early access

    Daily comparison of estimated spend against the cost reported by OpenAI's and Anthropic's own cost APIs, using a separate admin credential, with the likely cause of a persistent gap and a suggested rate you can apply. Included on the Business plan.

    Read the documentation for Provider cost reconciliation
  • Routing rules

    Private early access

    If-rules on a route send matching requests to their own targets, by metadata, feature, end user, key, project, prompt size, streaming, images, tools or time of day. Failure rules decide per failure kind whether to retry, move on or stop.

    Read the documentation for Routing rules
  • Alternate hosts and key spreading

    Private early access

    A connection can list more API hosts for the same key, tried when the first cannot be reached. Requests that name a model directly are spread across a provider's keys, with standby keys used only on failure.

    Read the documentation for Alternate hosts and key spreading

INFRO is in private early access. Provider usage is billed to you by your providers; INFRO charges a software subscription and takes 0% of model spend. See plans.

Sources

Numbered in order of first citation. Each was opened and checked against the claim on the date shown.

  1. 1.Stripe agrees to acquire OpenRouter to help businesses optimize token routing and usage (opens in a new tab) — Stripe. Accessed Oct 13, 2026.Dated 2026-08-19. No completion notice from Stripe or OpenRouter was found on 2026-10-13.
  2. 2.Palo Alto Networks Completes Acquisition of Portkey to Secure AI Agents (opens in a new tab) — Palo Alto Networks. Accessed Oct 13, 2026.
  3. 3.Pricing (opens in a new tab) — Portkey. Accessed Oct 13, 2026.
  4. 4.Helicone is joining Mintlify (opens in a new tab) — Helicone. Accessed Oct 13, 2026.
  5. 5.OpenRouter FAQ (opens in a new tab) — OpenRouter. Accessed Oct 13, 2026.
  6. 6.BYOK (opens in a new tab) — OpenRouter. Accessed Oct 13, 2026.
  7. 7.LiteLLM AI Gateway (LLM Proxy) (opens in a new tab) — BerriAI. Accessed Oct 13, 2026.
  8. 8.BerriAI/litellm (opens in a new tab) — GitHub. Accessed Oct 13, 2026.
  9. 9.Portkey-AI/gateway (opens in a new tab) — GitHub. Accessed Oct 13, 2026.
  10. 10.Pricing — AI Gateway (opens in a new tab) — Cloudflare. Accessed Oct 13, 2026.
  11. 11.Spend limits (opens in a new tab) — Cloudflare. Accessed Oct 13, 2026.
  12. 12.AI Gateway Pricing (opens in a new tab) — Vercel. Accessed Oct 13, 2026.Page dated 2026-09-08.
  13. 13.Bring Your Own Key (BYOK) to AI Gateway (opens in a new tab) — Vercel. Accessed Oct 13, 2026.Page dated 2026-09-22.
  14. 14.AI Gateway Budgets and Spend Limits (opens in a new tab) — Vercel. Accessed Oct 13, 2026.Page dated 2026-09-10.
  15. 15.Rate limits (opens in a new tab) — OpenAI. Accessed Oct 13, 2026.

About this article

Written by the team building INFRO, which competes with some of the products compared. Every statement about another product is taken from that product's own documentation, pricing page, repository or announcement, each re-opened on 2026-10-13, and is limited to what that source says. Fee levels are deliberately left out; this article compares what each fee is charged on. INFRO's behaviour comes from its docs and gateway source, read the same day. No performance comparison is made.

Last checked against its sources on . The next review is due by . No separate named reviewer is recorded for this article.

How articles are written, sourced and corrected is set out in the editorial standards.

Revision history

  1. Reviewed against every source. Added what each gateway does when your own key fails (OpenRouter's shared-capacity fallback, Vercel's retry on its own credentials), whether budgets count spend on your own keys, Cloudflare and Vercel AI Gateway, Stripe's agreement to acquire OpenRouter, Palo Alto Networks' completed acquisition of Portkey (now Prisma AIRS AI Gateway) and Helicone's maintenance mode. Fee percentages were replaced by what each fee is charged on. INFRO's section now covers key spreading, standby keys, routing and failure rules, and budgets.
  2. Rewritten and retitled around each product's own documentation. Removed an unverified competitor, unsourced claims about competitors' certifications and dashboards, unsourced model prices, and claims from INFRO's retired pricing model. Every remaining statement about another product is cited.