Skip to content

Best Open Source LLM gateways and routers Software (2026)

111 open source tools in this category · top 30 ranked · Data checked November 24, 2026 · By , founder & editor

An LLM gateway sits between your application and model providers. It gives you one API, routes requests, and can add fallbacks, load balancing, caching and cost tracking. When choosing, check for an OpenAI-compatible API, support for your own provider keys, budgets and rate limits, request logging, guardrails, streaming and tool calling, and MCP gateway support.

Open source gateways let you run this layer yourself, unlike OpenRouter, which is a hosted service. LiteLLM calls 100+ providers in OpenAI format. Portkey AI Gateway, new-api, GoModel and Manifest route requests across providers and keys. Helicone adds logging and tracing, and claude-code-router sends coding agents to the providers you pick.

Ranked LLM gateways and routers tools

  1. 1

    MindsDB

    LLM gateways and routers

    Agent workspace for knowledge work and coding, with a choice of models and open agents

    40k 6.2k 31 days ago Active MIT

  2. 2

    claude-code-router

    LLM gateways and routers

    Local gateway that routes Claude Code, Codex and other agents to the providers you choose

    38k 3.2k 3 days ago Thriving MIT

  3. 3

    archgw

    LLM gateways and routers

    AI-native proxy and data plane for routing, guarding and tracing agent traffic

    7.1k 499 30 days ago Active Apache-2.0

  4. 4

    gpt-load

    LLM gateways and routers

    Self-hosted gateway that pools LLM API keys and subscriptions behind one endpoint

    7.2k 799 today Thriving MIT

  5. 5

    Helicone

    LLM gateways and routers

    AI gateway with request logging and tracing for teams running LLM apps

    6.3k 709 6 days ago Slowing Apache-2.0

    Replaces LangSmith

  6. 6

    new-api

    LLM gateways and routers

    Self-hosted AI gateway that routes many model providers through one API and web console

    52k 13k today Thriving AGPL-3.0

  7. 7

    GoModel

    LLM gateways and routers

    Go-based AI gateway giving one OpenAI and Anthropic compatible endpoint for many LLM

    1.3k 136 today Thriving MIT

  8. 8

    Portkey AI Gateway

    LLM gateways and routers

    Self-hostable MIT-licensed gateway for routing requests across LLM providers

    13k 1.4k 6 months ago Dormant MIT

  9. 9

    Bifrost

    LLM gateways and routers

    Self-hosted AI gateway that routes one OpenAI-style API to 23+ LLM providers

    10k 1.6k today Thriving Apache-2.0

  10. 10

    Manifest

    LLM gateways and routers

    Self-hosted OpenAI-compatible gateway that routes agent requests across models and keys

    7.7k 534 today Thriving MIT

    Replaces OpenRouter

  11. 11

    oh-my-cpa

    LLM gateways and routers

    Self-hosted web console for monitoring and routing traffic through CLIProxyAPI

    487 55 today Thriving MIT

  12. 12

    ClawRouter

    LLM gateways and routers

    Local LLM router that sends each request to the cheapest capable model for AI agents

    6.7k 656 today Thriving MIT

  13. 13

    agentgateway

    LLM gateways and routers

    Rust proxy that routes and secures LLM, MCP and agent-to-agent traffic

    6.4k 1.1k today Thriving Apache-2.0

  14. 14

    busbar

    LLM gateways and routers

    Self-hosted Rust gateway routing LLM traffic with budgets, failover and audit logs

    241 25 2 months ago Active Apache-2.0

    Replaces OpenRouter

  15. 15

    optillm

    LLM gateways and routers

    OpenAI-compatible proxy that adds reasoning techniques like MOA and MCTS to any LLM

    4.3k 399 8 days ago Thriving Apache-2.0

  16. 16

    webchat2api

    LLM gateways and routers

    398 83 6 months ago Slowing MIT

  17. 17

    WindsurfAPI

    LLM gateways and routers

    3.2k 628 today Thriving MIT

  18. 18

    octopus

    LLM gateways and routers

    2.8k 447 yesterday Thriving AGPL-3.0

  19. 19

    aisix

    LLM gateways and routers

    235 45 today Thriving Apache-2.0

  20. 20

    antirion

    LLM gateways and routers

    432 19 25 days ago Slowing Apache-2.0

  21. 21

    ai-gateway

    LLM gateways and routers

    2.4k 483 today Thriving Apache-2.0

  22. 22
  23. 23

    gateway-skills

    LLM gateways and routers

    2.1k 2.1k 2 months ago Slowing MIT

  24. 24

    LLM Gateway

    LLM gateways and routers

    1.8k 201 today Active MIT

  25. 25

    search2ai

    LLM gateways and routers

    1.3k 201 7 days ago Active MIT

  26. 26

    BricksLLM

    LLM gateways and routers

    1.2k 98 2 years ago Dormant MIT

  27. 27

    OrcaReplay

    LLM gateways and routers

    1.2k 187 2 months ago Slowing Apache-2.0

  28. 28

    Routerly

    LLM gateways and routers

    111 17 20 days ago Slowing AGPL-3.0

  29. 29

    CliRelay

    LLM gateways and routers

    1.1k 138 4 days ago Active MIT

  30. 30

    respan-gateway

    LLM gateways and routers

    Self-hosted Rust gateway giving one endpoint to OpenAI, Anthropic and Gemini clients

    1k 157 today Active Apache-2.0

    Replaces OpenRouter

Self-hosted llm gateways and routers software

28 of these run on your own server: MindsDB, claude-code-router, archgw, gpt-load, Helicone, new-api, GoModel, Portkey AI Gateway and more.

Replace proprietary llm gateways and routers software

What to look for in llm gateways and routers software

The features we check for every tool in this category; they drive the parity scores on alternatives pages.

Unified multi-provider API
One API gives access to models from many LLM providers.
OpenAI-compatible API
Exposes an OpenAI-compatible endpoint so existing SDKs work with a base URL change.
Automatic fallbacks
Retries or reroutes requests to another model or provider when one fails.
Load balancing
Distributes requests across providers, deployments or keys.
Cost and usage tracking
Reports spend and token usage per request, key, user or model.
Budgets and rate limits
Sets spending caps or rate limits per key, user or team.
Response caching
Caches LLM responses to cut latency and cost on repeated requests.
API key management
Issues and manages virtual or scoped API keys with access controls.
Bring your own provider keys
Lets users supply their own provider API keys for use through the gateway.
Request logging and observability
Logs requests and responses and offers traces, metrics or dashboards.
Cost or latency-based routing
Selects models or providers by price, latency, throughput or rules.
Guardrails and content filtering
Applies safety, PII or content checks to requests and responses.
Streaming and tool calling
Supports streamed responses and function/tool calling across providers.
MCP gateway support
Connects or proxies Model Context Protocol servers and tools.

Frequently asked questions

What is the best open source alternative to OpenRouter?

LiteLLM is a common choice, with a self-hosted gateway and Python SDK for 100+ providers. Portkey AI Gateway and new-api are other options.

Can I self-host an LLM gateway?

Yes. LiteLLM, new-api, GoModel, Manifest and Portkey AI Gateway can be self-hosted.

Which gateway helps with request logging?

Helicone offers request logging and tracing for teams running LLM apps. archgw also traces agent traffic.

How do I route Claude Code to other providers?

claude-code-router is a local gateway that routes Claude Code, Codex and other agents to the providers you choose.

Rankings use fit, health, license and popularity; sponsors never change the order. Methodology · Report an error.