bifrost

Open-source, high-performance AI gateway that works as your LLM gateway, MCP gateway and agent gateway. One OpenAI-compatible API for 10,000+ models, with failover, load balancing, semantic caching, virtual keys, budgets and MCP Code Mode. Works with any SDK or agent and adds under 200Β΅s of overhead at 5k RPS.

10.1k
Stars
+1.3k
Gained
15.3%
Growth
Go
Language

πŸ’‘ Why It Matters

Bifrost solves the complexity of managing multiple large language model (LLM) providers by offering a single OpenAI-compatible API that supports over 23 providers including OpenAI, Anthropic, AWS Bedrock, and Google Vertex. It handles failover, load balancing, semantic caching, and cost control with minimal latency overhead, which is crucial for teams needing high availability and efficient LLM usage. Its built-in web UI for configuration and real-time monitoring targets backend engineers, DevOps, and platform teams who want centralized control without extensive custom tooling. With 9,551 stars and recent commits, it shows active maintenance but lacks significant growth signals, suggesting it is still gaining traction. It is not suitable if you require a fully managed SaaS gateway or if your use case demands deep integration with a single provider’s proprietary features, where provider-specific SDKs or commercial gateways like OpenAI’s own API gateway might be preferable.

🎯 When to Use

Use Bifrost when you need a unified, self-hosted gateway to route requests across multiple LLM providers with automatic failover and cost-saving caching. Consider alternatives like LangChain for application-level orchestration or commercial gateways such as Replicate if you prefer managed services or need specialized vendor features.

πŸ‘₯ Team Fit & Use Cases

Commonly deployed in backend systems that require high-throughput, resilient LLM access such as multi-provider chatbots, internal AI assistants with fallback capabilities, or platforms that enable multimodal AI interactions including text, images, and audio. It fits teams building internal AI middleware for cost control and observability across diverse LLM endpoints.

🎭 Best For

🏷️ Topics & Ecosystem

agent-gateway ai-gateway ai-governance api-gateway claude-code coding-agents failover gateway guardrails llm-cost llm-gateway llm-observability llm-proxy llm-router load-balancing mcp-gateway model-context-protocol model-router openai-compatible semantic-cache

πŸ“Š Activity

Latest commit: 2026-11-28. Over the past 43 days, this repository gained 1.3k stars (+15.3% growth). Activity data is based on daily RepoPi snapshots of the GitHub repository.