Default WorkspaceGuides
429 fallback, coding agents & gateway comparisons

OpenRouter vs an LLM Gateway: Which Layer Do You Actually Need?

Updated · · Facts and limits are dated; check the linked sources.

OpenRouter is not only a gateway, and an LLM gateway is not a smaller OpenRouter. They solve two different problems that happen to share an HTTP shape. OpenRouter is a marketplace: you buy credits, it picks a provider, and the provider bills OpenRouter. A BYOK LLM gateway is a proxy: you keep your provider contracts, the gateway routes each request across the keys you already hold, and the provider bills you.

Teams that compare them as if they were two versions of the same product usually end up paying for the wrong layer. This page separates the two, prices the difference, and says when running both is the correct answer.

Written by the SentioGate team. We run a BYOK gateway, so we have a commercial interest in BYOK winning. The OpenRouter figures below are quoted from OpenRouter's own pricing page and FAQ, linked in Sources.

The structural difference

OpenRouterBYOK LLM gateway (e.g. SentioGate, LiteLLM, Portkey)
Who holds the provider keyOpenRouterYou
Who bills you for tokensOpenRouter (credits)The provider, directly
What you pay the middle layerA fee on credit purchases (5.5% by card, 5% crypto on Standard; 8% on Business)The gateway's plan price, or nothing if self-hosted
Model catalogueIts own list of models and provider endpointsWhatever your keys can reach
Contract with the model providerNone; OpenRouter's terms governYours, on your terms
Failure mode you inheritOpenRouter's routing, availability and account standingYour own key limits and quota

The last row is the one teams underestimate. With a marketplace, a model disappearing from the catalogue or an account being rate-limited is an incident you cannot fix. With BYOK, a provider 429 is something your gateway can route around, because the other keys are yours too.

The cost maths

Take a workload that spends $2,000 a month at list prices on a mix of frontier and mid-tier models.

On OpenRouter Standard: you buy $2,000 of credits, and the card fee is 5.5% of the purchase. That is $110 a month of platform cost, on top of the $2,000 of inference. Buy by crypto and it is $100. On the Business plan the purchase fee is 8%, or $160.

On BYOK with a managed gateway: inference stays at $2,000 on your provider invoices. The gateway costs its plan price. On a self-hosted gateway the licence is $0 and the cost is infrastructure — roughly $150–$400 a month for a small proxy fleet with Postgres and Redis, plus the engineering time to run it (see Self-hosted LLM gateway).

So the marketplace fee and a self-hosted gateway land in a similar place at this volume, which is why "OpenRouter is expensive" is the wrong conclusion. The real difference is what the money buys: a catalogue you did not have to build, versus operational control you have to maintain.

At $20,000 a month, the 5.5% purchase fee is $1,100 a month, and the comparison changes shape: self-hosting a proxy now costs a fraction of the fee, and a managed BYOK gateway is priced well under it. This is the crossover most teams hit somewhere between $5k and $20k of monthly inference spend.

The BYOK detail people miss

OpenRouter does support BYOK: you can attach your own provider keys, and usage at list price up to $25,000 a month carries no fee. Above that, OpenRouter deducts 5% of what the same model and provider would normally cost on OpenRouter, from your OpenRouter credits.

That makes OpenRouter a reasonable BYOK front door at low and mid volume. What it does not change is the contract structure: the request still passes through OpenRouter, the usage records live in OpenRouter, and the data-handling policy is OpenRouter's unless you are on a plan that offers in-region routing.

When each one is right

Pick OpenRouter when:

  • You are prototyping or building a product that must reach models you do not have contracts for, especially open-weight models hosted by several providers.
  • Your spend is under the BYOK allowance and the 5.5% purchase fee is smaller than the engineering time a proxy would cost you.
  • You want a single account for model access across a small team and no procurement per provider.

Pick a BYOK gateway when:

  • You already hold provider contracts and need the invoice, the rate card and the data-processing terms to stay with those providers.
  • You need fallback across providers you own, with the retry policy visible in your own logs.
  • You have a compliance requirement about where prompts are processed or who can read them, and need to be able to answer that question with your own architecture rather than a vendor's policy page.
  • Your monthly inference spend has crossed the point where a percentage fee costs more than a plan.

Run both when:

  • The marketplace is your escape hatch for models you cannot contract directly, while your production traffic runs on your own keys through a gateway. Point the gateway's fallback chain at the providers you hold, and use the marketplace only for evaluation traffic.

What this is not

This is not an argument that a marketplace is a bad product. OpenRouter's catalogue and zero-setup model access are useful, and its EU in-region routing answers a question many BYOK setups do not. The argument is narrower: a marketplace fee and a gateway plan are different line items for different jobs, and choosing between them by comparing "which is cheaper per million tokens" misses that one of them is selling you tokens and the other is selling you routing.

For the layer definitions, see What is an LLM gateway and OpenRouter vs LiteLLM. For a wider field, see AI gateway comparison.

FAQ

Is OpenRouter an LLM gateway?

Functionally yes — it exposes an OpenAI-compatible endpoint and routes across providers. Commercially it is a marketplace: the fee is on credit purchases, and the provider relationship is OpenRouter's, not yours.

Can I use my own OpenAI key with OpenRouter?

Yes. OpenRouter supports BYOK, with no fee on list-price usage up to $25,000 a month and a 5% fee above that, deducted from your OpenRouter credits.

What is the cheapest way to use many models?

If you need many models at low volume, a marketplace. If you need many providers on your own contracts, a self-hosted proxy. If you need both without operating anything, a managed BYOK gateway plus a marketplace for the long tail.

Does a gateway replace OpenRouter?

No. A gateway routes over keys you own. If you do not hold a key for a model, a BYOK gateway cannot reach it; you still need a provider or a marketplace for that model.

Sources

Accessed 25 Nov – 1 Dec 2026.