Awesome Infra for AI › LLM Gateways & Proxies

LLM Gateways & Proxies

88 projects

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.

⭐ 73020 TypeScript

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...

⭐ 66718 JavaScript

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.

⭐ 60138 Python

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...

⭐ 49265 Go

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...

⭐ 44240 Lua

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.

⭐ 30297 JavaScript

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.

⭐ 17192 Lua

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.

⭐ 16932 TypeScript added 2026-07-27

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.

⭐ 14510 Go

Portkey-AI/gateway

Portkey AI Gateway is a fast, open-source AI gateway designed for routing requests to over 1,600 LLMs, featuring integrated guardrails, automatic retries, and load balancing for reliable and secure...

⭐ 13125 TypeScript

higress-group/higress

Higress is a cloud-native AI gateway based on Istio and Envoy, providing unified management, observability, and traffic control for LLM APIs and Model Context Protocol (MCP) servers.

⭐ 9493 Go

coaidev/coai

CoAI.Dev is a next-generation, multi-tenant LLM gateway and AIGC solution offering unified API access, load balancing, cost management, and various AI application features for over 200 models from ...

⭐ 9319 TypeScript

maximhq/bifrost

Bifrost is a high-performance AI gateway that unifies access to over 23 providers through a single OpenAI-compatible API, offering features like automatic failover, load balancing, semantic caching...

⭐ 8552 Go

mnfst/llm-gateway

Open-source LLM gateway that routes agent and app requests to 300+ models through one OpenAI-compatible endpoint, with cost tracking, fallback and self-healing.

⭐ 7553 TypeScript added 2026-09-14

katanemo/plano

Plano is an AI-native proxy and data plane for agentic applications, providing built-in orchestration, safety, observability, and intelligent LLM routing to simplify the production deployment of AI...

⭐ 7079 Rust

tbphp/gpt-load

Self-hosted Go gateway that unifies multiple AI providers and subscription accounts behind one endpoint, with credential scheduling, failover, logging and cost tracking.

⭐ 7042 Go added 2026-09-07

vllm-project/semantic-router

vLLM Semantic Router is an intelligent routing system designed for managing and orchestrating diverse AI/ML models (mixture-of-models) across various environments, focusing on efficiency, safety, a...

⭐ 6031 Go

weave-os/router

Self-hosted or hosted Go proxy that routes each LLM request across Anthropic, OpenAI, Gemini and OpenAI-compatible providers using an on-box embedding-based scorer to cut model costs.

⭐ 5568 Go added 2026-09-07

agentgateway/agentgateway

Agentgateway is an open-source proxy offering unified connectivity and governance for AI agents and LLM providers, encompassing security, observability, and advanced traffic management features.

⭐ 5172 Rust

octelium/octelium

Octelium is a self-hosted zero-trust secure access platform operating as a ZTNA, VPN, API/AI/MCP gateway, and PaaS, with specific features for AI/LLM gateway functionality.

⭐ 4088 Go

seakee/CPA-Manager-Plus

CPA Manager Plus is a self-hosted dashboard for monitoring AI gateway traffic, providing real-time analysis of requests, costs, failures, quotas, and account health for OpenAI-compatible and CPA/CL...

⭐ 3739 TypeScript added 2026-07-06

nextlevelbuilder/goclaw

GoClaw is a multi-tenant AI agent platform and gateway built in Go, enabling the deployment and orchestration of AI agent teams with extensive LLM provider support, sophisticated memory management,...

⭐ 3640 Go

dwgx/WindsurfAPI

WindsurfAPI is an OpenAI and Anthropic compatible API proxy that translates requests to Windsurf's internal gRPC protocol, providing access to over 100 LLM models with account pooling, rate limitin...

⭐ 3060 JavaScript

HarnessRouter/harnessrouter

Self-hosted unified API in front of agent harnesses such as Codex, Claude Code and Hermes, implementing the Unified Harness Protocol with sessions, streaming, files and cancellation.

⭐ 2877 Python added 2026-08-24

kaitranntt/ccs

CCS is a multi-provider profile and runtime manager for various AI models and APIs, enabling seamless switching between Claude, Gemini, Copilot, OpenRouter, and local models without configuration o...

⭐ 2873 TypeScript

bestruirui/octopus

Octopus is a self-hosted LLM API aggregation and load balancing service that provides a unified gateway for multiple LLM providers, intelligent routing, and analytics for cost and usage tracking.

⭐ 2668 TypeScript

bionic-gpt/bionic-gpt

Bionic is an on-premise, secure, and scalable LLM gateway and RAG platform designed to replace ChatGPT while maintaining data confidentiality and offering advanced features like AI assistants, toke...

⭐ 2382 Rust

romgX/openrelay

OpenRelay is an AI model router and proxy that unifies numerous free and paid AI model quotas into a single local endpoint, enabling their use across various AI tools and IDEs.

⭐ 2307 TypeScript

theagentrouter/agent-router

Envoy-powered open source control plane for AI and agent traffic, giving one OpenAI-compatible API across model providers and self-hosted inference and MCP servers.

⭐ 2183 Go added 2026-09-14

Continuum-AI-Corp/OrcaRouter-Lite

Self-hosted OpenAI-compatible LLM router that fronts more than a hundred models with bring-your-own-key access, streaming, automatic model selection and an optional hosted fallback.

⭐ 1722 Python added 2026-08-24

intentee/paddler

Paddler is an open-source LLM/VLM load balancer and serving platform for self-hosting and scaling models, built around llama.cpp for efficient inference with dynamic model swapping and observability.

⭐ 1677 Rust

theopenco/llmgateway

LLM Gateway is an open-source API gateway for Large Language Models, providing unified access, API key management, usage analytics, multi-provider routing, and performance monitoring for various LL...

⭐ 1673 TypeScript

Paritok-official/paritok-4b-v1

Paritok is an open-source, non-destructive compression model and gateway purpose-built for coding agents, significantly reducing LLM input token costs while maintaining performance on SWE-bench.

⭐ 1452 Python added 2026-08-03

astaxie/TokenHub

TokenHub is an enterprise AI gateway offering role-based access, API routing, usage analytics, and a model catalog for managing various LLM providers.

⭐ 1350 Go added 2026-07-27

ENTERPILOT/GoModel

GoModel is a fast, lightweight AI gateway written in Go, providing a unified OpenAI-compatible API for various LLM providers with observability, guardrails, streaming, and cost tracking.

⭐ 1215 Go

caozhiyuan/copilot-api

A small AI gateway acting as an OpenAI and Anthropic-compatible proxy for GitHub Copilot, Codex, and other third-party AI providers, enabling unified access and management.

⭐ 1069 TypeScript added 2026-06-22

ThinkWatchProject/ThinkWatch-Lite

ThinkWatch Lite is a desktop gateway app that connects Claude Code, Codex and other AI CLI clients to multiple upstream model providers through one configuration, adding routing, failover, cost tracking and outbound credential redaction.

⭐ 1051 TypeScript

kittors/CliRelay

Self-hosted multi-provider AI gateway that fronts Gemini, Claude, Codex, Qwen and OpenAI-compatible upstreams behind one endpoint, adding routing groups, failover, request logging, quotas and multi-tenant governance.

⭐ 1027 Go added 2026-08-10

w8123/EnterpriseAgentFramework

EnterpriseAgentFramework is a Java/Spring Boot platform for registering, governing, orchestrating, and exposing enterprise APIs as AI capabilities for agents, focusing on production-grade AI operat...

⭐ 830 Java

ThinkWatchProject/ThinkWatch

ThinkWatch is an enterprise-grade AI gateway for secure, audited, and governed access to AI APIs and Multi-Cloud Provider (MCP) tools, providing unified proxying, RBAC, rate limiting, and cost trac...

⭐ 818 Rust

NadirRouter/NadirClaw

NadirClaw is an open-source LLM router and AI cost optimizer that intelligently routes prompts to different language models based on complexity, reducing API costs by 40-70% through an OpenAI-compa...

⭐ 656 Python

apache/casbin-gateway

Local gateway and dashboard that routes every AI coding agent on a machine through one policy layer, tracking spend, permissions and provider authenticity across 44 model vendors.

⭐ 641 Go added 2026-09-28

Fast-Editor/Lynkr

Lynkr is an HTTP proxy CLI tool designed to optimize interactions with LLMs, particularly for AI coding assistants, by compressing tokens, managing caching, and routing requests for efficiency and ...

⭐ 618 JavaScript

adaline/gateway

Adaline Gateway is a fully local, production-grade SDK providing a unified interface for calling over 300+ LLMs with built-in features like batching, retries, caching, callbacks, and OpenTelemetry ...

⭐ 608 TypeScript

askalf/dario

Local OpenAI- and Anthropic-compatible proxy that exposes a Claude subscription to other AI tools, with session-affinity routing, multi-account pooling and drift detection for long agent runs.

⭐ 558 JavaScript added 2026-08-24

mozilla-ai/otari

Otari is an open-source, OpenAI-compatible LLM gateway that centralizes routing, authentication, budget enforcement, and usage tracking for over 40 AI providers.

⭐ 504 Python added 2026-07-13

zexadev/gemini-web2api-go

gemini-web2api-go is a self-hosted Go proxy that turns the free Gemini web app into an OpenAI-compatible /v1/chat/completions API, with cookie and proxy pools, rate limiting and an admin dashboard.

⭐ 480 Go

Writesonic/GPTRouter

GPTRouter is an AI model gateway for managing multiple LLMs and image models, providing universal API access, smart fallbacks, automatic retries, and reduced latency for reliable AI application per...

⭐ 454 TypeScript

Kenza-AI/sagify

Sagify simplifies LLM and ML model deployment, management, and inference on AWS SageMaker, featuring an LLM Gateway for unified access to various large language models.

⭐ 442 Python

Nexus-Router/nexus

Nexus is an AI gateway that unifies access to multiple LLM providers and Model Context Protocol (MCP) servers, offering robust routing, security, and governance for AI stacks.

⭐ 436 Rust

dataiku/kiji-proxy

Kiji Privacy Proxy is an intelligent privacy layer for AI APIs that automatically detects and masks personally identifiable information (PII) in requests to AI services.

⭐ 436 Python

caidaoli/ccLoad

ccLoad is an AI API gateway that provides smart routing, automatic failover, exponential cooldown, multi-URL scheduling, real-time monitoring, and cost control for various LLM APIs.

⭐ 418 Go added 2026-06-14

MaySudo/Misceo

Misceo is a local Anthropic-compatible gateway that sends eligible agent traffic to a cheaper model, checks the produced answer, and escalates to a stronger backend when a structural gate or an LLM judge rejects it.

⭐ 403 added 2026-08-31

schmitech/orbit

ORBIT is a self-hosted AI gateway and retrieval-adapter layer designed for private, multi-model RAG applications, offering secure inference, data retrieval, and agentic tool-calling capabilities.

⭐ 352 Python

starbaser/ccproxy

ccproxy is a CLI-based transparent network interceptor and proxy for LLM clients, enabling cross-provider routing, request/response transformation, and custom hooks for various large language models.

⭐ 348 Python

packyme/privacy-filter

Privacy Filter is a Go-based LLM privacy gateway that redacts PII and secrets from text with millisecond latency, specifically designed to ensure data privacy before reaching large language models.

⭐ 339 Go

atopos31/llmio

LLMIO is a Go-based LLM load-balancing gateway providing a unified API, weighted scheduling, observability, and an admin UI for managing various LLM providers.

⭐ 317 TypeScript

thushan/olla

Olla is a high-performance, lightweight proxy and load balancer for LLM infrastructure, providing intelligent routing, automatic failover, and unified model discovery across diverse inference backe...

⭐ 312 Go

TPIsoftwareOSPO/digiRunner-Open-Source

digiRunner is an enterprise-grade API Gateway that acts as a unified control plane for both microservices and AI services, providing governance, cost control, and prompt management for LLMs.

⭐ 307 Java

ferro-labs/ai-gateway

Ferro Labs AI Gateway is a high-performance Go-native LLM gateway for routing requests across 30+ providers with features like caching, guardrails, A/B testing, and cost controls.

⭐ 271 Go

taichuy/1flowbase

1flowbase is an open-source virtual model gateway that allows users to build multi-model workflows, publish them as OpenAI/Claude-compatible endpoints, and gain visibility into trace, token, latenc...

⭐ 267 Rust

LeenHawk/gproxy

GPROXY is a Rust-based, high-performance, multi-provider LLM proxy server that unifies OpenAI, Claude, and Gemini-style APIs, offering multi-tenant authorization, rate limiting, quota management, a...

⭐ 248 Rust

bitrouter/bitrouter

BitRouter is an open-source, local-first LLM router built in Rust that optimizes AI agent performance and cost by dynamically routing requests to the most appropriate LLM, supporting multiple provi...

⭐ 233 Rust

traceloop/hub

Traceloop Hub is a high-performance, OpenTelemetry-based LLM gateway written in Rust, centralizing control and tracing of LLM calls across multiple providers with built-in observability.

⭐ 229 Rust

yolorouter/yolorouter

A self-hosted LLM gateway in one Go binary that speaks four wire protocols, translates between them, fails over across providers, rotates upstream keys and ships a multi-user admin console.

⭐ 211 Go added 2026-08-17

RelayPlane/proxy

Local proxy for AI agent traffic that prices every request in real time, rolls costs up per run and agent, and lets teams cap or kill runaway spend before it drains a budget.

⭐ 204 TypeScript added 2026-09-14

youssefvdel/qwengate

Qwen Gate is a self-hosted, OpenAI-compatible API gateway that allows users to access Qwen AI models (via chat.qwen.ai) for free, featuring multi-account rotation, tool calling, and a web dashboard.

⭐ 200 TypeScript added 2026-08-03

nyroway/nyro

Nyro is a self-hosted AI gateway that translates protocols between different AI tools and model providers, enabling interoperability and flexible model routing without code changes.

⭐ 194 Rust

api7/aisix

A Rust-native AI gateway from the creators of Apache APISIX: one OpenAI-compatible API in front of every provider, with routing, failover, guardrails, caching and observability in a single binary.

⭐ 177 Rust added 2026-08-17

GetBusbar/busbar

Busbar is a self-hosted LLM gateway implemented in Rust that provides multi-vendor failover, load balancing, protocol translation, and governance for AI applications.

⭐ 171 Rust added 2026-07-27

Nayjest/lm-proxy

LM-Proxy is a lightweight, OpenAI-compatible HTTP LLM proxy/gateway for multi-provider inference (Google, Anthropic, OpenAI, PyTorch), supporting real-time streaming, API key management, and dynami...

⭐ 155 Python

peva3/SmarterRouter

SmarterRouter is an intelligent LLM gateway and VRAM-aware router that profiles models, aggregates benchmarks, and automatically routes queries to the best available LLM, supporting local and exter...

⭐ 153 Python

PAIArtCom/Clipal

Clipal is a local LLM API gateway and reverse proxy designed for developer productivity, offering unified access, failover, and key management for AI coding assistants like Claude Code, Codex CLI, ...

⭐ 150 Go

tiylabs/tiygate

TiyGate is an open-source AI gateway built in Rust for managing and routing LLM services across multiple providers with features for high availability, logging, and usage analytics.

⭐ 146 Rust added 2026-07-06

mydisha/keirouter

KeiRouter is a self-hostable, blazing-fast AI gateway that acts as a smart middleman for LLM API calls, providing intelligent routing, caching, cost control, and security guardrails.

⭐ 146 Go added 2026-07-27

open-bias/open-bias

Open Bias is an open-source reliability harness that acts as a proxy between applications and LLM providers to enforce runtime rules and policies, preventing off-policy behavior.

⭐ 143 Python

voidmind-io/voidllm

VoidLLM is a privacy-first, self-hosted LLM proxy and AI gateway designed for teams, offering features like load balancing, multi-provider routing, API key management, usage tracking, and rate limi...

⭐ 139 Go

edgee-ai/edgee

Edgee is an open-source, Rust-powered LLM gateway that optimizes AI traffic through token compression, multi-provider routing, and real-time observability.

⭐ 135 Rust added 2026-07-13

ai-forever/gpt2giga

A FastAPI proxy that translates OpenAI- and Anthropic-compatible API requests to the GigaChat API, enabling seamless integration of GigaChat with existing LLM applications.

⭐ 134 Python

sina2266/Gozar

Self-hosted, OpenAI-compatible LLM gateway that gives each project one /v1 endpoint and API key while the operator manages upstream accounts, routing chains and fallbacks in one place.

⭐ 131 Python added 2026-08-17

reshaprio/reshapr

reShapr is an open-source, no-code MCP Server that transforms traditional REST, GraphQL, and gRPC APIs into LLM-friendly tools, optimizing context windows and enabling AI-native API access.

⭐ 128 Java

Chleba/ollamaMQ

ollamaMQ is a high-performance, asynchronous proxy and load balancer for Ollama and LM Studio APIs, providing multi-backend load balancing, fair-share queuing, model-aware routing, and a real-time ...

⭐ 127 Rust

Francis1998/nexus-llm-router

Nexus is an intelligent multi-LLM router providing task-aware model selection, cost optimization, and production safety controls via a drop-in OpenAI-compatible API.

⭐ 125 Python added 2026-07-27

0xzr/freellmpool

CLI, Python library and local proxy that pools free and keyless tiers from 22 LLM providers behind one OpenAI-compatible endpoint with automatic failover.

⭐ 119 Python added 2026-09-14

khankamraan2006-crypto/fabric-router-core

CloudForge AI is a distributed LLM gateway that orchestrates multi-provider inference with intelligent routing, cost governance, and security for high-availability production environments.

⭐ 116 HTML added 2026-07-06

azrtydxb/Fastllm-proxy

Rust LLM router presenting one OpenAI-compatible endpoint in front of eighty providers and local vLLM or SGLang backends, with cache-affinity routing, RBAC, budgets and no I/O on the request path.

⭐ 108 Rust added 2026-08-24

wink-run/tokenbank

Local gateway that puts Claude Code, Cursor, Codex and other agent CLIs behind one endpoint, tracing usage and routing requests across local models, quotas and paid APIs.

⭐ 105 JavaScript added 2026-09-28

zxcloli666/AI-Worker-Proxy

AI Worker Proxy is a Cloudflare Workers-hosted LLM gateway exposing OpenAI- and Anthropic-compatible endpoints that routes requests across multiple providers (OpenAI, Claude, Gemini, local models) with API key rotation and automatic failover.

⭐ 104 TypeScript