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
Self-hosted AI gateway that routes one OpenAI-style API to 23+ LLM providers
Listed by Alston Antony, founder & editor
Health
ThrivingStars
9,990
Last commit
today
Nov 2026
Repository age
1 year
since Mar 2025
Latest version
helm-chart-v2.1.49
Nov 2026
Contributors
–
16 active in 90 days
Releases
25
last 12 months
Language
Go
Bifrost is an AI gateway written in Go. It puts a single OpenAI-compatible API in front of more than 23 providers, including OpenAI, Anthropic, AWS Bedrock, Google Vertex, Azure, Mistral, Groq and Ollama. You point your existing SDK at it and change the base URL.
It handles automatic failover between providers and models, load balancing across multiple API keys, and semantic caching to cut repeat requests. Governance features cover usage tracking, rate limits, access control and hierarchical budgets using virtual keys, teams and customers. It also acts as an MCP gateway so models can call external tools. Observability comes from Prometheus metrics, distributed tracing and logging, and a plugin system lets you add custom middleware.
You run it with npx or a Docker image, then configure it in a built-in web UI, through an API or with a file. A Go SDK is available for direct integration. It is licensed under Apache-2.0. Some capabilities, such as adaptive load balancing, clustering and guardrails, belong to enterprise deployments. It suits teams that want a self-hosted alternative to hosted LLM routing services.
One OpenAI-compatible endpoint with virtual keys, budgets and rate limits gives you central control over spend and access.
Skip if: You only call a single provider from one app and need no routing or budgets.
Automatic fallbacks and key-level load balancing keep requests flowing when one provider or key fails.
Skip if: You prefer a hosted gateway and do not want to run another service.
A Go SDK lets you integrate directly instead of running a separate HTTP service.
Skip if: Your stack has no Go code and you only need an HTTP proxy.
Using several LLM providers means different APIs, separate keys and no single view of cost or failures. When a provider goes down, your app goes down with it. A gateway gives you one endpoint, fallbacks and usage controls.
npx -y @maximhq/bifrost
docker run -p 8080:8080 maximhq/bifrost From the project's own install instructions. Check the docs for production settings.
Yes. The code is under the Apache-2.0 license. Some advanced features are offered in enterprise deployments.
Yes. Run it with npx or the maximhq/bifrost Docker image, which listens on port 8080 with a web UI.
More than 23, including OpenAI, Anthropic, AWS Bedrock, Google Vertex, Azure, Cerebras, Cohere, Mistral, Ollama and Groq.
Yes. It works as a Model Context Protocol gateway so models can use external tools.
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
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
LLM gateways and routers
Self-hosted web console for monitoring and routing traffic through CLIProxyAPI
487 55 today Thriving MIT
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
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
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