Awesome Infra for AI › LLM Gateways & Proxies

ferro-labs/ai-gateway

⭐ 271 Go repository created 2026-02-25

Ferro Labs AI Gateway is an open-source, high-performance Go-native solution designed for routing and managing LLM requests across a multitude of AI providers, including OpenAI, Anthropic, Bedrock, and Azure. It aims to offer a unified OpenAI-compatible API for over 30 LLM providers and 2,500+ models. The gateway is built for efficiency and scalability, boasting capabilities like a single binary deployment, minimal memory footprint (32MB base), and high request throughput (benchmarked at 13,925 RPS with 1,000 concurrent users). Key features include 8 routing strategies (fallback, load balance, least latency, cost-optimized, content-based, A/B test, conditional), configurable provider failover, and per-request model aliases. Beyond routing, it incorporates essential operational features such as response caching, guardrails (for PII detection, content moderation), prompt management, and cost controls to optimize LLM usage. It is positioned as an performant alternative to Python-based proxies like LiteLLM and other solutions, emphasizing its Go-native architecture for predictable latency and minimal resource consumption. The project targets developers and organizations looking for a robust, efficient, and feature-rich solution to manage their production AI inference workloads.

https://github.com/ferro-labs/ai-gateway

ai-gatewayai-infrastructuregatewayguardrailskonglitellmllmllm-costllm-proxyllm-strategyllmopsmcppii-detectionprompt-managementsemantic-cache

Also in LLM Gateways & Proxies

diegosouzapw/OmniRoute

OmniRoute is a free AI gateway that unifies access to over 170 AI providers, offering token compression, auto-fallback, and aggregating free tiers to provide billions of free tokens monthly.

Mintplex-Labs/anything-llm

AnythingLLM is an all-in-one local-first AI application for chatting with documents, managing AI agents, and integrating with various LLMs and vector databases, offering dynamic model routing and m...

BerriAI/litellm

LiteLLM is an open-source AI Gateway and Python SDK providing a unified interface to over 100 LLM providers, with features like cost tracking, guardrails, load balancing, and observability.

QuantumNous/new-api

new-api is a unified LLM gateway and AI asset management system that enables aggregation, distribution, and cross-conversion of various LLMs into OpenAI, Claude, or Gemini compatible formats, offer...

Kong/kong

Kong Gateway is a cloud-native API and AI gateway offering high performance, extensibility via plugins, and advanced AI traffic capabilities including multi-LLM support, semantic security, and cach...

decolua/9router

9Router is an AI router and token saver that connects various AI coding tools to over 40 AI providers, optimizing usage with auto-fallback, quota tracking, and token compression.

apache/apisix

Apache APISIX is a dynamic, real-time, high-performance API Gateway that can also function as an AI Gateway, providing AI proxying, load balancing for LLMs, and robust security for AI agents.

lidge-jun/opencodex

OpenCodex is a universal local proxy that enables OpenAI Codex, Claude Code, and Grok Build to utilize any LLM provider, offering advanced model routing, account pooling, and API key management.