Awesome Infra for AI › LLM Gateways & Proxies

apache/apisix

⭐ 17192 Lua repository created 2019-04-10

Apache APISIX is a versatile and high-performance API Gateway designed for the cloud-native era. While its core functionality revolves around traditional API management—offering features like load balancing, dynamic routing, traffic splitting, authentication, observability, and robust security for general microservices—it explicitly extends its capabilities to function as an "AI Gateway." This specialization leverages its flexible plugin system to provide core operational needs for AI and ML models. As an AI Gateway, APISIX enables tasks such as AI proxying, intelligent load balancing specifically tailored for Large Language Models (LLMs), retry mechanisms, and fallback strategies to ensure high availability and resilience of AI services. It also supports token-based rate limiting, crucial for managing access and resource consumption of AI APIs, alongside enhancing the overall security posture for AI agents. The project focuses on the runtime and serving aspects of AI, rather than training or development. Its ability to serve as an ingress controller for Kubernetes also makes it relevant for deploying and managing AI inference workloads in containerized environments. By offering these specific features for AI, APISIX goes beyond a general-purpose gateway, providing purpose-built tools for the operational side of AI.

https://github.com/apache/apisix

ai-gatewayapi-gatewayllm-gatewaymodel-servinginferenceload-balancingapi-managementkubernetestraffic-managementsecurity

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.

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.

casdoor/casdoor

Casdoor is an open-source, "AI-first" Identity and Access Management (IAM) and Model Context Protocol (MCP) gateway, providing authentication and authorization for AI applications and agents.