AI gateways

AI Gateways compatible with OpenAI with Cost-based routing

16 AI gateways compatible with OpenAI match Cost-based routing, from their own docs or README. A match means the page names it; we did not run traffic through any of them.

94% of these 16 can be self-hosted

How they run

Licence

API shape

Count of 16 entries. Source: each vendor's docs and the licence GitHub reports.

Matching gateways

Rank is the position among 16 AI gateways compatible with OpenAI with Cost-based routing.

# Gateway Rank score Runs Licence API shape and providers Six controls Price Shortlist
1 Kong AI Gateway Gateway · 44,438 stars

Deliver AI connectivity with centralized security, routing, observability, and cost control for LLMs and MCP resources.

100 Self-hosted Apache-2.0 OpenAI Anthropic 8 providers named From $25/mo
2 LiteLLM Gateway · 64,326 stars

LiteLLM is the open-source AI gateway that puts your full AI stack behind one OpenAI-compatible key.

93.3 Self-hosted MIT OpenAI Anthropic 31 providers named No fee on tokens
3 OmniRoute Router · 91,763 stars

Route across 395 providers through one endpoint, with automatic fallback.

86.6 Self-hosted Managed MIT OpenAI Anthropic 25 providers named Not published
4 Respan Gateway · 1,190 stars

Respan is an open-source AI gateway with built-in observability and evals.

80.0 Self-hosted Apache-2.0 OpenAI 21 providers named From $199/mo
5 New API Gateway · 52,909 stars

Self-host New API to connect cloud and local models through one open-source AI gateway.

73.3 Self-hosted AGPL-3.0 OpenAI Anthropic 9 providers named Not published
6 Bifrost Gateway · 10,161 stars 66.6 Self-hosted Managed Apache-2.0 OpenAI 21 providers named Open core
7 LLM Gateway Gateway · 1,769 stars 60.0 Self-hosted AGPL-3.0 OpenAI 18 providers named 5% fee
8 YoloRouter Router · 404 stars

Free, open-source, self-hosted LLM gateway.

53.3 Self-hosted Apache-2.0 OpenAI Anthropic 5 providers named Pay as you go
9 Routerly Gateway · 111 stars

Routerly — One gateway.

46.6 Self-hosted Managed AGPL-3.0 OpenAI Anthropic 10 providers named Pay as you go
10 TokenHub Gateway · 1,466 stars 40.0 Self-hosted Apache-2.0 OpenAI Anthropic 6 providers named Not published
11 litellm-rs Gateway · 124 stars

Self-hosted Rust LLM gateway with OpenAI-compatible APIs, load balancing, failover, and a reusable Rust kernel.

33.3 Self-hosted MIT OpenAI Anthropic 31 providers named Open source, free
12 GoModel Gateway · 1,422 stars

Open-source AI gateway written in Go.

26.6 Self-hosted MIT OpenAI Anthropic 19 providers named Not published
13 Ferro AI Gateway Gateway · 305 stars 20.0 Self-hosted Apache-2.0 OpenAI 26 providers named Not published
14 Traefik Hub AI Gateway Gateway 13.3 Self-hosted Managed No public repo OpenAI 9 providers named Contact sales
15 Eden AI Router 6.6 Not stated No public repo OpenAI Anthropic 7 providers named 5.5% fee
16 Gloo AI Gateway Gateway

agentgateway from Solo.io: a Rust-based AI-native gateway for LLM, MCP, and inference traffic.

1.0 Self-hosted No public repo OpenAI 4 providers named Contact sales

Rank score: the share of the other entries in this list that an entry is ahead of, rounded down to one decimal; No. 1 is ahead of all of them, so it scores 100.

Budgets is named most (94%), Load balancing least (63%)

Share of 16 on this page whose own docs name it

  • Budgets 94% 15 of 16
  • Fallbacks 88% 14 of 16
  • Caching 81% 13 of 16
  • Guardrails 81% 13 of 16
  • Tracing 81% 13 of 16
  • Load balancing 63% 10 of 16

Source: vendor homepages, READMEs and docs pages read for this index, linked on each profile.

Anthropic is the provider most named (100% of 16)

Share of 16 on this page whose own docs name it

  • Anthropic 100% 16 of 16
  • Gemini 100% 16 of 16
  • OpenAI 100% 16 of 16
  • Azure OpenAI 94% 15 of 16
  • Mistral 81% 13 of 16
  • DeepSeek 69% 11 of 16
  • Bedrock 63% 10 of 16
  • OpenRouter 63% 10 of 16
  • Ollama 56% 9 of 16
  • xAI 56% 9 of 16

A name is not a tested integration. Source: vendor homepages, READMEs and docs pages read for this index, linked on each profile.

8 of 16 on this page name 10 or more providers and five or more of the six controls
01234560612192531Model providers namedControls named (of 6)Kong AI Gateway: 8 providers, 5 of 6 controlsLiteLLM: 31 providers, 6 of 6 controlsOmniRoute: 25 providers, 6 of 6 controlsRespan: 21 providers, 5 of 6 controlsNew API: 9 providers, 3 of 6 controlsBifrost: 21 providers, 6 of 6 controlsLLM Gateway: 18 providers, 4 of 6 controlsYoloRouter: 5 providers, 4 of 6 controlsRouterly: 10 providers, 5 of 6 controlsTokenHub: 6 providers, 3 of 6 controlslitellm-rs: 31 providers, 6 of 6 controlsGoModel: 19 providers, 6 of 6 controlsFerro AI Gateway: 26 providers, 6 of 6 controlsTraefik Hub AI Gateway: 9 providers, 4 of 6 controlsEden AI: 7 providers, 4 of 6 controlsGloo AI Gateway: 4 providers, 5 of 6 controlsLiteLLMOmniRouteKong AI GatewayRespanNew API

Each dot is one entry; larger dots are the top five by rank. Source: vendor docs read for this index.

Sources

Where each one names Cost-based routing

16 of 16 entries on this page link the page we read. A name in the docs is a claim, not a test result.

  1. Kong AI Gatewaykonghq.com
  2. LiteLLMlitellm.ai
  3. OmniRouteomniroute.online
  4. Respanrespan.ai
  5. New APInewapi.ai
  6. Bifrostgetmaxim.ai
  7. LLM Gatewayllmgateway.io
  8. YoloRoutergithub.com
  9. Routerlyrouterly.ai
  10. TokenHubgithub.com
  11. litellm-rsgithub.com
  12. GoModelgomodel.enterpilot.io
  13. Ferro AI Gatewaydocs.ferrolabs.ai
  14. Traefik Hub AI Gatewaytraefik.io
  15. Eden AIedenai.co
  16. Gloo AI Gatewaysolo.io

Combine

Narrow it further

Questions about this filter

Why does this page list 16?

Those are the entries whose own pages name Cost-based routing. Entries with thin or script-rendered docs may name it somewhere we could not read, so check the category page too.

Can I combine this with another filter?

Yes, where at least three entries match both. The combination pages are linked under "Narrow it further".