---
title: "OpenRouter alternatives in 2026: self-hosted and hosted gateways"
type: "deep dive"
url: "https://aifordevs.org/articles/openrouter-alternatives"
markdown: "https://aifordevs.org/articles/openrouter-alternatives.md"
publisher: "AI for Devs"
license: "https://aifordevs.org/reuse"
attribution: "Credit AI for Devs and link to https://aifordevs.org/articles/openrouter-alternatives"
description: "Six OpenRouter alternatives ranked, from gateways on your own provider keys to hosted APIs, with fees, data paths, and a LiteLLM vs OpenRouter table."
author: "AI for Devs"
published: "2026-11-18"
level: "Intermediate"
topics: ["apis", "models"]
---

# OpenRouter alternatives in 2026: self-hosted and hosted gateways

Six OpenRouter alternatives ranked, from gateways on your own provider keys to hosted APIs, with fees, data paths, and a LiteLLM vs OpenRouter table.

> **TL;DR**
>
> - OpenRouter charges no markup on tokens, but as of November 16, 2026 it adds a 5.5% fee to credit purchases (8% on its Business plan) and 5% on bring-your-own-key usage above $25,000 a month. Every request also passes through its service.
> - OpenRouter alternatives come in two kinds: gateways you run on your own provider keys, such as Bifrost, LiteLLM, and Kong, and hosted services, such as Cloudflare AI Gateway, Vercel AI Gateway, and Requesty.
> - [Bifrost](https://www.getmaxim.ai), an [open-source Go gateway](https://github.com/maximhq/bifrost), is the top pick here: Apache 2.0, provider fallbacks, virtual-key budgets, and 11 microseconds of overhead at 5,000 requests per second in the Bifrost team's own benchmark.
> - LiteLLM vs OpenRouter comes down to who runs the proxy. LiteLLM is MIT-licensed and needs your own PostgreSQL for virtual keys and budgets, while OpenRouter asks you to run nothing and charges on credits.
> - At $50,000 a month of list-price inference, the fee is $2,750 a month on OpenRouter Standard and $0 on a self-hosted gateway, which costs whatever its machines cost instead.

OpenRouter is a hosted API that sells access to 600+ models from 80+ providers through one OpenAI-compatible endpoint and one prepaid credit balance. Teams start comparing OpenRouter alternatives when the credit fee, the extra company in the request path, or Enterprise-only single sign-on starts to outweigh that convenience. This list ranks six of them, from gateways you run on your own provider keys to hosted services that work much as OpenRouter does. Every price and limit was read from the vendor's own pages on November 16, 2026, and the [platform directory](https://aifordevs.org/platforms) lists more tools in each group.

## OpenRouter's fees, data path, and limits

Teams leave OpenRouter for three reasons: a fee that grows with spend, a third party between their code and the model provider, and plan limits on regional routing and identity. None of these matters much for a prototype. They matter once a team spends thousands of dollars a month or has to pass a security review.

| OpenRouter plan | Free | Standard | Business | Enterprise |
| --- | --- | --- | --- | --- |
| Platform fee | None, free models only | 5.5% on credit purchases, $0.80 minimum | 8% on credit purchases | Discounts by contract |
| Models | 25+ free models | 600+ | 600+ | 600+ |
| Your own provider keys | Not available | $25,000 a month with no fee, then 5% | Same as Standard | Custom allowance |
| Rate limits | 20 a minute and 50 a day on free models | The provider's own | The provider's own | Higher allowances |
| EU or US in-region routing | No | No | Yes | Yes |
| SSO and SCIM | No | No | No | Yes |

The fee is the only price difference. On November 16, 2026, OpenRouter's models API listed Claude Sonnet 5.5 at $2 per million input tokens and $10 per million output tokens, the same as Anthropic's own rate in the [LLM pricing dataset](https://aifordevs.org/data/llm-pricing) and in the [Claude API pricing guide](https://aifordevs.org/articles/claude-api-pricing). The fee comes on top when you buy credits, and the [OpenRouter FAQ](https://openrouter.ai/docs/faq) adds that refunds are possible only within 24 hours, platform fees are never refunded, and unused credits can expire after a year.

Bringing your own provider keys removes the credit fee for the first $25,000 of list-price inference each month. Above that, the [BYOK guide](https://openrouter.ai/docs/guides/overview/auth/byok) charges 5% of what the request would cost on OpenRouter, deducted from your credits. By default, a BYOK request that hits a rate limit falls back to OpenRouter's shared capacity, which spends credits too.

Every request passes through OpenRouter's edge, which its [latency guide](https://openrouter.ai/docs/guides/best-practices/latency-and-performance) says runs on Cloudflare Workers. OpenRouter logs metadata such as timestamps, model, and token counts, but not prompts or completions unless you opt in. Zero data retention routing is available on every plan, and EU processing through `eu.openrouter.ai` needs Business or Enterprise.

In OpenRouter's favor, an attempt that errors is not billed, fallback across providers needs no setup, and one bill covers every lab. The alternatives below either keep that convenience at a lower fee or remove the hosted hop entirely.

## OpenRouter alternatives compared

The six OpenRouter alternatives here split by where the [AI gateway](https://aifordevs.org/glossary#ai-gateway) runs. A self-hosted gateway sits in your network and calls providers with your keys, so no third party sees the traffic and no percentage fee applies. A hosted gateway or router does the operations work for you and stays in the request path.

**Figure 1.** OpenRouter and Requesty sit in the path and charge on spend; Cloudflare and Vercel sit in the path but charge no token fee with your own keys; a self-hosted gateway keeps the hop inside your network.

| Rank | Tool | Where it runs | Provider keys | Fee on inference | License |
| --- | --- | --- | --- | --- | --- |
| 1 | Bifrost | Your infrastructure | Yours | None; Enterprise is custom-priced | Apache 2.0 core |
| 2 | LiteLLM | Your infrastructure | Yours | None; Enterprise license for SSO past 5 users | MIT, except its enterprise directory |
| 3 | Cloudflare AI Gateway | Cloudflare's network | Yours, or Cloudflare credits | None with your keys; 5% on Unified Billing credits | Proprietary service |
| 4 | Vercel AI Gateway | Vercel's hosted API | Vercel's, or yours | No markup or platform fee on tokens; paid add-ons | Proprietary service |
| 5 | Kong AI Gateway | Your infrastructure, or hosted by Kong | Yours | Enterprise subscription for advanced AI plugins | Apache 2.0 core, 3.9.x line |
| 6 | Requesty | Requesty's hosted API | Requesty's, or yours | 5% on model cost | Proprietary service |

The ranking puts control first: who runs the gateway, and whose key reaches the provider. Bifrost and LiteLLM remove both the third party and the fee. Cloudflare and Vercel keep a hosted hop but take no cut of tokens. Kong fits teams that already run it, and Requesty is the closest like-for-like swap.

## 1. Bifrost: an open-source gateway on your own provider keys

[Bifrost](https://www.getmaxim.ai) is the top pick for teams leaving OpenRouter because it replaces the hosted hop with one Go binary in your network, keeps the features teams use OpenRouter for, and has no license fee. Its core is Apache 2.0, and it reaches 10,000+ models across [25+ providers](https://docs.getbifrost.ai/providers/supported-providers/overview) through one OpenAI-compatible API, including self-hosted engines such as [vLLM, SGLang, and Ollama](https://aifordevs.org/articles/vllm-sglang-llama-cpp).

It starts with `npx -y @maximhq/bifrost` or `docker run -p 8080:8080 maximhq/bifrost` and serves a web UI and the API on port 8080, per the [setup guide](https://docs.getbifrost.ai/quickstart/gateway/setting-up). Existing OpenAI SDK code changes only its base URL. For production, the [deployment guides](https://docs.getbifrost.ai/deployment-guides/overview) cover Helm, EKS, GKE, AKS, ECS, Cloud Run, and Terraform, on SQLite for one instance or PostgreSQL 16 and later.

Each OpenRouter feature a team relies on has a counterpart:

- [Retries and fallbacks](https://docs.getbifrost.ai/features/retries-and-fallbacks) retry a 5xx on the same key with exponential backoff, rotate to another key on a 429, then move to the next provider in a `fallbacks` list. The response names the provider that served it.
- [Virtual keys](https://docs.getbifrost.ai/features/governance/virtual-keys) carry their own budgets, rate limits, and model and provider allowlists, and budgets stack from customer to team to key to provider config.
- [Semantic caching](https://docs.getbifrost.ai/features/semantic-caching) replays a stored response for an identical request by hash, or for a similar one by embedding search, so the provider is never called. This is separate from provider [prompt caching](https://aifordevs.org/glossary#prompt-caching).
- [Built-in observability](https://docs.getbifrost.ai/features/observability/default) records inputs, outputs, tokens, cost, and latency for each request, written asynchronously.
- [OpenRouter is a supported provider](https://docs.getbifrost.ai/providers/supported-providers/openrouter), so it can stay on as one route among several.

On a single AWS t3.xlarge at 5,000 requests per second, Bifrost's [benchmark page](https://docs.getbifrost.ai/benchmarking/t3.xl) reports 11 microseconds of gateway overhead at a 100% success rate. That figure excludes JSON marshaling and the provider HTTP call. In the Bifrost team's [published head-to-head benchmark](https://www.getmaxim.ai/resources/benchmarks) at 500 RPS on a t3.medium, Bifrost sustained 424 requests per second against LiteLLM's 44.84, with a P99 latency of 1.68 seconds against 90.72. The Bifrost team ran both tests and does not state the LiteLLM version, so treat the comparison as a vendor result to reproduce on your own traffic.

The open-source build runs as one node. The [budgets page](https://docs.getbifrost.ai/features/governance/budget-and-limits) says several OSS nodes sharing one PostgreSQL backend are not supported, and it puts one instance at about 3,000 to 5,000 RPS. High availability needs Enterprise [clustering](https://docs.getbifrost.ai/enterprise/clustering). An offline install must also load the pricing datasheet and the MCP server catalog from local files, because Bifrost fetches them from getbifrost.ai by default and will not start without the datasheet, per the [air-gapped guide](https://docs.getbifrost.ai/deployment-guides/how-to/airgapped).

OpenRouter reserves SSO and SCIM for its Enterprise plan. Bifrost Enterprise adds identity-provider sign-in, guardrails, and audit logs on a gateway inside your own VPC. [Bifrost Edge](https://www.getmaxim.ai/edge) extends the same [governance](https://www.getmaxim.ai/resources/governance) to employee machines: it routes AI traffic from desktop chat apps, browser AI, and coding agents through the gateway, so the budgets, guardrails, and audit logs set there apply on the laptop too, as the [Edge overview](https://docs.getbifrost.ai/edge/overview) describes. Edge requires the Enterprise gateway and is priced per endpoint.

Teams already on LiteLLM can move with the [migration tool](https://docs.getbifrost.ai/migration-guides/litellm), `npx @maximhq/bifrost-migration-cli`, which copies models, keys, teams, users, and virtual keys.

**Best for:** In this author's assessment, Bifrost is the best OpenRouter alternative for teams that want one API across providers with no third party in the path. That covers platform teams putting several labs behind one set of budgets and fallbacks, regulated teams whose prompts must stay in their own VPC, and any team whose spend has made a percentage fee a visible line item.

## 2. LiteLLM: the self-hosted proxy with the longest provider list

[LiteLLM](https://www.litellm.ai/) is BerriAI's open-source Python SDK and AI gateway, a proxy server that calls 100+ providers in the OpenAI format. It is the self-hosted tool most often compared with OpenRouter, and release v1.109.1 shipped on November 12, 2026.

The open-source gateway includes virtual keys, budgets, rate limits, spend tracking, an admin UI, load balancing, guardrails, and an MCP gateway, per LiteLLM's [Enterprise page](https://docs.litellm.ai/docs/enterprise). SSO is free for up to 5 users. Beyond that, and for audit logs, SCIM, secret managers, and IP allowlists, you need an Enterprise license. The repository is MIT apart from its `enterprise/` directory, which carries its own license.

LiteLLM's virtual keys and budgets need a database. The [quickstart](https://docs.litellm.ai/docs/proxy/docker_quick_start) runs the proxy on port 4000 beside PostgreSQL, and without a database only the master key works: no virtual keys, no spend tracking, and no enforced budgets. LiteLLM's own [benchmark](https://docs.litellm.ai/docs/benchmarks) reports 3,000 RPS at a p95 gateway latency of 54 ms, measured on 33 gateway pods with PostgreSQL and Redis against a mock model.

**Best for:** Python-heavy teams that want an MIT-licensed proxy with broad provider coverage, and that are comfortable running PostgreSQL and, at scale, Redis beside it.

## 3. Cloudflare AI Gateway: free core features on Cloudflare's network

[Cloudflare AI Gateway](https://developers.cloudflare.com/ai-gateway/) is a managed gateway on Cloudflare's network that proxies requests to OpenAI, Anthropic, Google, Workers AI, and other providers, with an OpenAI-compatible unified endpoint. Its pricing page says the core features, analytics, caching, and rate limiting, are free on all plans.

Provider keys go into Cloudflare's Secrets Store through BYOK, with no fee on inference. Unified Billing lets Cloudflare pay the providers instead, for a 5% fee on credits: $100 of credits costs $105. The limits page caps Unified Billing at 200 requests per 60 seconds per gateway, a limit that does not apply to BYOK traffic. Spend limits, dynamic routes with fallbacks, DLP scanning, and Llama Guard guardrails billed as Workers AI inference are also available.

Log storage depends on when the account was created. Accounts that created their first gateway on or after September 24, 2026 store logs in Workers Logs at its pricing, while older accounts keep legacy limits of 100,000 logs on the free plan and 10 million per gateway on paid plans. Cloudflare operates the gateway as a service, so the traffic still crosses a third party.

**Best for:** Teams already on Cloudflare that want free caching, rate limits, and analytics in front of their own provider keys.

## 4. Vercel AI Gateway: hosted, with no markup on tokens

[Vercel AI Gateway](https://vercel.com/ai-gateway) is a hosted API at `ai-gateway.vercel.sh` that works from any cloud, not only from Vercel deployments. Its pricing docs say it adds no markup and no platform fee to tokens, including with BYOK, and it accepts OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages requests.

You still pay any payment processing fees, and add-ons bill per request: team-wide zero data retention and team-wide provider allowlists cost $0.10 per 1,000 requests, and regional endpoints in the EU or US, in beta, cost 5% of inference. BYOK needs purchased credits, failed BYOK requests can fall back to Vercel's keys at your expense, and budgets cover only spend on Vercel's keys.

**Best for:** Teams that want OpenRouter's hosted convenience without a percentage fee, and that can accept a hosted hop.

## 5. Kong AI Gateway: AI routing for teams already running Kong

[Kong AI Gateway](https://konghq.com/products/kong-ai-gateway) adds LLM routing, semantic caching, PII sanitization, token-based limits, and MCP features to Kong's API gateway. It suits organizations that already run Kong in front of their REST APIs and want AI traffic under the same control plane.

Which Kong features are open source depends on the plugin. Kong released its first AI plugins, including AI Proxy, as open source in Kong Gateway 3.6 in February 2024, and AI Proxy translates OpenAI-format requests for providers including OpenAI, Anthropic, Bedrock, Gemini, Mistral, and vLLM. AI Proxy Advanced, which adds round-robin, lowest-latency, semantic, and priority balancing with failover across targets, is listed as AI Gateway Enterprise only. The Apache 2.0 repository's newest release line is 3.9.x, with 3.9.4 out on October 12, 2026, while Kong's current AI Gateway docs describe a 2.x entity model deployed through Konnect, Kong-hosted gateways, or on-premises installs.

**Best for:** Organizations with a Kong subscription and an API platform team that wants one gateway for REST and LLM traffic.

## 6. Requesty: the closest hosted swap for OpenRouter

[Requesty](https://www.requesty.ai/) is a hosted router built on the same model as OpenRouter: one OpenAI-compatible endpoint at `router.requesty.ai/v1`, 600+ models from 30+ providers, and a fee on spend. Pay-as-you-go adds 5% to model cost, so a model listed at $10 per million tokens costs $10.50.

Its main difference is EU data residency on every plan, including the free one, where OpenRouter requires Business for regional routing. The free tier allows 200 requests a day on free models, pay-as-you-go supports your own keys, and SSO, full RBAC, and audit logs are listed under Enterprise. It remains a third party in the path, and its fee at any spend sits within half a point of OpenRouter Standard's.

**Best for:** Teams that like OpenRouter's model but need EU data residency without buying a Business plan.

## LiteLLM vs OpenRouter

LiteLLM vs OpenRouter is a choice between running a proxy and renting one. LiteLLM runs in your infrastructure on your provider keys with no fee on inference, and you own PostgreSQL, upgrades, and uptime. OpenRouter runs everything for you, adds 5.5% to credits, and sits between your app and every provider.

| | LiteLLM, open-source proxy | OpenRouter |
| --- | --- | --- |
| Who runs it | You, on Docker, Helm, or Terraform | OpenRouter |
| Provider keys | Yours | OpenRouter's, or yours through BYOK |
| Fee | None; Enterprise license for SSO past 5 users and audit logs | 5.5% on credits, 8% on Business; BYOK 5% above $25,000 a month |
| Catalog | 100+ providers you configure yourself | 600+ models from 80+ providers, ready to call |
| Request path | Your network to the provider | Through OpenRouter's edge to the provider |
| Keys and budgets | Virtual keys, budgets, rate limits, with PostgreSQL | Workspaces, per-key credit caps, budgets |
| SSO | Free up to 5 users, then Enterprise | Enterprise only |
| Failover | Router retries and fallbacks you configure | Automatic across providers; failed attempts not billed |
| Default base URL | `http://localhost:4000` | `https://openrouter.ai/api/v1` |

OpenRouter vs LiteLLM is not an either-or choice. LiteLLM lists OpenRouter as a provider, so a team can run LiteLLM for keys and budgets and send long-tail models through OpenRouter, and [Bifrost](https://www.getmaxim.ai) supports the same pattern. Pick OpenRouter alone for prototypes and for teams that do not want to run a database. Pick LiteLLM when prompts must stay in your network and your team works in Python. If throughput or the PostgreSQL dependency is the concern, the [Bifrost vs LiteLLM comparison](https://www.getmaxim.ai/resources/litellm-alternative) and the migration tool above cover the move.

## Platform fees from $1,000 to $100,000 a month

The fee gap between OpenRouter and a self-hosted gateway grows in a straight line with spend, so it is small for a prototype and large in production. At $10,000 a month of inference, OpenRouter Standard's credit fee is $550. At $100,000 it is $5,500 a month, or $66,000 a year, before any savings from caching or routing.

This script reproduces the fee rows from each vendor's pricing page. It assumes one credit purchase a month equal to that month's spend, and it ran for this article with Python 3.15.1:

```python title="fees.py"
"""Monthly platform fees on top of list-price inference, from vendor pricing pages on November 16, 2026."""

BYOK_ALLOWANCE = 25_000  # OpenRouter: list-price inference per month with no BYOK fee


def openrouter_credits(spend, rate=0.055, minimum=0.80):
    return max(spend * rate, minimum)


def openrouter_byok(spend, rate=0.05, credit_fee=0.055):
    # The 5% fee is deducted from OpenRouter credits, and buying those credits costs 5.5%.
    over = max(0, spend - BYOK_ALLOWANCE)
    return over * rate * (1 + credit_fee)


OPTIONS = {
    "OpenRouter Business, credits (8%)": lambda s: s * 0.08,
    "OpenRouter Standard, credits (5.5%)": openrouter_credits,
    "Cloudflare Unified Billing (5%)": lambda s: s * 0.05,
    "Requesty pay as you go (5%)": lambda s: s * 0.05,
    "OpenRouter BYOK (5% over $25k)": openrouter_byok,
    "Vercel AI Gateway (0% on tokens)": lambda s: 0.0,
    "Self-hosted gateway (no fee)": lambda s: 0.0,
}

SPEND = [1_000, 10_000, 25_000, 50_000, 100_000]

print(f"{'monthly inference spend':38}" + "".join(f"{f'${s:,}':>10}" for s in SPEND))
for name, fee in OPTIONS.items():
    print(f"{name:38}" + "".join(f"{f'${fee(s):,.0f}':>10}" for s in SPEND))
```

```text title="output"
monthly inference spend                   $1,000   $10,000   $25,000   $50,000  $100,000
OpenRouter Business, credits (8%)            $80      $800    $2,000    $4,000    $8,000
OpenRouter Standard, credits (5.5%)          $55      $550    $1,375    $2,750    $5,500
Cloudflare Unified Billing (5%)              $50      $500    $1,250    $2,500    $5,000
Requesty pay as you go (5%)                  $50      $500    $1,250    $2,500    $5,000
OpenRouter BYOK (5% over $25k)                $0        $0        $0    $1,319    $3,956
Vercel AI Gateway (0% on tokens)              $0        $0        $0        $0        $0
Self-hosted gateway (no fee)                  $0        $0        $0        $0        $0
```

**Figure 2.** At $100,000 a month, the fee ranges from $8,000 on OpenRouter Business to nothing on Vercel or a self-hosted gateway; OpenRouter with your own keys costs nothing until the $25,000 allowance runs out.

Under $25,000 a month, OpenRouter on your own keys costs nothing extra, which makes it the cheapest way to keep OpenRouter at that size. Above the allowance, the 5% comes out of credits that carry the 5.5% purchase fee, so the marginal rate is 5.275%.

A self-hosted gateway is not free. You pay for the instance, the database, and the engineering hours to run them, and Bifrost's benchmark ran on a single 4-vCPU, 16 GB t3.xlarge. Compare that bill with the fee row for your spend, not with zero.

## Move off OpenRouter, or keep it as a fallback

Moving from OpenRouter to a self-hosted gateway takes three changes in your code: the base URL, the API key, and the model IDs. OpenRouter writes version numbers with dots, as in `anthropic/claude-sonnet-5.5`, while Anthropic's own ID is `claude-sonnet-5-5`, so a gateway that calls Anthropic directly needs `anthropic/claude-sonnet-5-5`.

1. Export your activity from OpenRouter and list every model ID your code sends.
2. Configure each provider in the gateway with your own key, and add OpenRouter with its key as the last fallback.
3. Point your client's base URL at the gateway, swap the OpenRouter key for a gateway virtual key, and rename the model IDs.
4. Watch which provider served each response for a week. If OpenRouter's share stays near zero, decide whether its long-tail models are worth a funded credit balance.

This `config.json` follows the [provider setup reference](https://docs.getbifrost.ai/deployment-guides/config-json/providers). It sets two retries on Anthropic and keeps OpenRouter configured for fallbacks. The JSON was checked for syntax, but Bifrost was not run for this article:

```json title="config.json, not run"
{
  "providers": {
    "anthropic": {
      "keys": [{ "name": "anthropic-main", "value": "env.ANTHROPIC_API_KEY", "models": ["*"], "weight": 1.0 }],
      "network_config": { "max_retries": 2, "retry_backoff_initial": 500, "retry_backoff_max": 5000 }
    },
    "openai": {
      "keys": [{ "name": "openai-main", "value": "env.OPENAI_API_KEY", "models": ["*"], "weight": 1.0 }]
    },
    "openrouter": {
      "keys": [{ "name": "openrouter-fallback", "value": "env.OPENROUTER_API_KEY", "models": ["*"], "weight": 1.0 }]
    }
  }
}
```

```bash title="not run here"
npx -y @maximhq/bifrost -app-dir ./bifrost-data   # reads ./bifrost-data/config.json

curl http://localhost:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "anthropic/claude-sonnet-5-5", "fallbacks": ["openai/gpt-6.1-sol", "openrouter/anthropic/claude-sonnet-5.5"], "messages": [{"role": "user", "content": "Explain an AI gateway in one sentence."}]}'
```

**Figure 3.** With max_retries at 2, a 503 from the primary is retried after about 500 ms and then 1,000 ms; only then does the request move to the first fallback, so OpenRouter at the end of the list sees traffic only when both direct providers fail.

The default `max_retries` is 0, so without the `network_config` above a 503 goes straight to the first fallback. Each fallback gets its own retry budget, and the response's `extra_fields.routing_info` reports the provider that answered and whether it was a fallback. Count that field in step 4. The vendor details in this article describe each product as of November 16, 2026.

## Questions

### What is the best alternative to OpenRouter?

For teams that want control, Bifrost is the strongest OpenRouter alternative: an Apache 2.0 gateway you run on your own provider keys, with fallbacks, virtual-key budgets, and semantic caching, and no fee on spend. LiteLLM is the main open-source rival. If you want to keep a hosted service, Vercel AI Gateway charges no markup or platform fee on tokens, and Cloudflare AI Gateway's core features are free.

### Is there a free, open-source alternative to OpenRouter?

Yes. Bifrost (Apache 2.0) and LiteLLM (MIT, apart from its enterprise directory) are both free to self-host and call providers with your own keys. Neither charges a fee on inference. You pay for the machines and, for LiteLLM's virtual keys and budgets, a PostgreSQL database. Single sign-on and audit logs need a paid Enterprise license on both.

### Is OpenRouter cheaper than calling providers directly?

No, but the gap is only the fee. OpenRouter passes through each provider's list price, then charges 5.5% when you buy credits, or 8% on its Business plan, as of November 16, 2026. With your own keys, the first $25,000 of list-price inference each month carries no OpenRouter fee. A discount you negotiate with a provider applies only to requests made with your own key.

### Can I self-host OpenRouter?

No. OpenRouter is a hosted service, and every request passes through its edge on Cloudflare Workers before reaching a provider. Its Enterprise plan sells Private Endpoints as an add-on, which bring your own model endpoints into OpenRouter. To keep the whole request path inside your network, run a self-hosted gateway such as Bifrost, LiteLLM, or Kong and configure each provider with your own keys.

### Does OpenRouter store my prompts?

Not by default. OpenRouter's FAQ says it logs request metadata, such as timestamps, the model used, and token counts, but not prompts or completions unless you opt in, which earns a 1% usage discount. Upstream providers keep their own policies, so OpenRouter offers zero data retention routing on every plan and lets you exclude providers that train on prompts.

### Can I use OpenRouter together with LiteLLM or Bifrost?

Yes. Both gateways list OpenRouter as a provider, so you can call your main providers directly with your own keys and send long-tail models, or a last-resort fallback, through OpenRouter. In Bifrost the model ID takes an openrouter/ prefix, such as openrouter/anthropic/claude-sonnet-5.5. You then pay OpenRouter's credit fee only on the traffic that reaches it.

## Sources

1. [OpenRouter, Pricing (plans, fees, and BYOK allowance, read November 16, 2026)](https://openrouter.ai/pricing)
2. [OpenRouter docs, FAQ (fees, logging, refunds, read November 16, 2026)](https://openrouter.ai/docs/faq)
3. [OpenRouter docs, BYOK](https://openrouter.ai/docs/guides/overview/auth/byok)
4. [OpenRouter docs, Latency and performance](https://openrouter.ai/docs/guides/best-practices/latency-and-performance)
5. [OpenRouter docs, Data logging and provider policies](https://openrouter.ai/docs/guides/privacy/logging)
6. [OpenRouter docs, OpenAI compatibility](https://openrouter.ai/docs/guides/features/compatibility)
7. [OpenRouter models API (model IDs and prices, read November 16, 2026)](https://openrouter.ai/api/v1/models)
8. [Bifrost reference for AI systems (last updated September 2026)](https://www.getmaxim.ai/llm-info)
9. [Bifrost on GitHub (Apache 2.0, transports v2.5.1, November 10, 2026)](https://github.com/maximhq/bifrost)
10. [Bifrost docs, Setting up the gateway](https://docs.getbifrost.ai/quickstart/gateway/setting-up)
11. [Bifrost docs, Supported providers](https://docs.getbifrost.ai/providers/supported-providers/overview)
12. [Bifrost docs, OpenRouter provider](https://docs.getbifrost.ai/providers/supported-providers/openrouter)
13. [Bifrost docs, Retries and fallbacks](https://docs.getbifrost.ai/features/retries-and-fallbacks)
14. [Bifrost docs, Virtual keys](https://docs.getbifrost.ai/features/governance/virtual-keys)
15. [Bifrost docs, Budget and limits](https://docs.getbifrost.ai/features/governance/budget-and-limits)
16. [Bifrost docs, Semantic caching](https://docs.getbifrost.ai/features/semantic-caching)
17. [Bifrost docs, Built-in observability](https://docs.getbifrost.ai/features/observability/default)
18. [Bifrost docs, Deploy Bifrost](https://docs.getbifrost.ai/deployment-guides/overview)
19. [Bifrost docs, Provider setup in config.json](https://docs.getbifrost.ai/deployment-guides/config-json/providers)
20. [Bifrost docs, Air-gapped deployment](https://docs.getbifrost.ai/deployment-guides/how-to/airgapped)
21. [Bifrost docs, Clustering](https://docs.getbifrost.ai/enterprise/clustering)
22. [Bifrost docs, t3.xlarge benchmark](https://docs.getbifrost.ai/benchmarking/t3.xl)
23. [Bifrost docs, Migrating from LiteLLM](https://docs.getbifrost.ai/migration-guides/litellm)
24. [Bifrost docs, Bifrost Edge overview](https://docs.getbifrost.ai/edge/overview)
25. [Bifrost benchmarks (vendor-run, includes the LiteLLM comparison)](https://www.getmaxim.ai/resources/benchmarks)
26. [LiteLLM on GitHub (README, license, release v1.109.1, November 12, 2026)](https://github.com/BerriAI/litellm)
27. [LiteLLM docs, Enterprise (open source versus licensed features)](https://docs.litellm.ai/docs/enterprise)
28. [LiteLLM docs, AI Gateway quickstart](https://docs.litellm.ai/docs/proxy/docker_quick_start)
29. [LiteLLM docs, Benchmarks (vendor-run)](https://docs.litellm.ai/docs/benchmarks)
30. [Cloudflare AI Gateway docs, Pricing (updated November 2, 2026, read November 16, 2026)](https://developers.cloudflare.com/ai-gateway/reference/pricing/)
31. [Cloudflare AI Gateway docs, Limits](https://developers.cloudflare.com/ai-gateway/reference/limits/)
32. [Cloudflare AI Gateway docs, BYOK (Store Keys)](https://developers.cloudflare.com/ai-gateway/configuration/bring-your-own-keys/)
33. [Cloudflare AI Gateway docs, Unified Billing](https://developers.cloudflare.com/ai-gateway/features/unified-billing/)
34. [Vercel docs, AI Gateway](https://vercel.com/docs/ai-gateway)
35. [Vercel docs, AI Gateway pricing (read November 16, 2026)](https://vercel.com/docs/ai-gateway/pricing)
36. [Kong, AI Gateway docs](https://developer.konghq.com/ai-gateway/)
37. [Kong, AI Proxy plugin](https://developer.konghq.com/plugins/ai-proxy/)
38. [Kong, AI Proxy Advanced plugin (AI Gateway Enterprise)](https://developer.konghq.com/plugins/ai-proxy-advanced/)
39. [Kong, open-source AI plugins for Kong Gateway 3.6 (February 15, 2024)](https://konghq.com/company/press-room/press-release/ai-gateway)
40. [Kong Gateway on GitHub (Apache 2.0, release 3.9.4, October 12, 2026)](https://github.com/Kong/kong)
41. [Requesty, Pricing (read November 16, 2026)](https://www.requesty.ai/pricing)

## Cite this deep dive

AI for Devs. "OpenRouter alternatives in 2026: self-hosted and hosted gateways." Published November 18, 2026. https://aifordevs.org/articles/openrouter-alternatives

- Page: https://aifordevs.org/articles/openrouter-alternatives
- Markdown: https://aifordevs.org/articles/openrouter-alternatives.md
- Reuse: Quote or summarize with a link to this page. Terms: https://aifordevs.org/reuse
- Publisher: AI for Devs
- Published: 2026-11-18
