Topics / #api-gateway
API gateway projects on GitHub
Gateways that route, secure and manage traffic between clients and backend services.
As of , the most-starred API gateway projects on GitHub are OmniRoute (91.5K stars), litellm (64.1K stars) and CLIProxyAPI (59.7K stars). GitHub.Locker tracks 49 API gateway repositories with 851.8K stars combined. The fastest-growing on November 30 was magpie, with +557 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
magpie
yetone/magpie · ★ 42.4KMagpie is a menu bar app that lists every AI coding agent installed on your machine next to the model each one is currently set to; click a value and pick a different model from a dropdown.
+315folkbench
Folkbench/folkbench · ★ 4KFolkbench is a benchmark and directory site for AI API relay providers (中转站) that resell access to models like GPT, Claude, Gemini, Grok and DeepSeek. It tracks each provider's availability rate, P95 response time, and pricing per model so you can compare them with real data instead of marketing claims.
OmniRoute
cheaper-inference/OmniRoute · ★ 91.5KOmniRoute is a free, open-source AI gateway that puts 359 providers and 1200+ models (Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax, etc.) behind one API endpoint, with quota-aware automatic fallback when a provider runs out.
+146experiential
experientiallabs/experiential · ★ 20.1KExperiential is an open source gateway and router for agent workflows that lets you use hosted, BYOK, and local models through one OpenAI-compatible API, control who can spend how much on which models, and turn production traffic into a custom optimized router or your own fine-tuned model.
The all-time top
49 projects · by stars
- 91.5K
#1 · cheaper-inference/OmniRoute
OmniRoute
OmniRoute is a free, open-source AI gateway that puts 359 providers and 1200+ models (Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax, etc.) behind one API endpoint, with quota-aware automatic fallback when a provider runs out.
- 64.1K
#2 · BerriAI/litellmlitellm
LiteLLM is an open source AI Gateway that gives you one unified interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and more) using the OpenAI API format.
- 59.7K
#3 · router-for-me/CLIProxyAPI
CLIProxyAPI
CLIProxyAPI is a proxy server that exposes OpenAI, Gemini, Claude, and Grok compatible API endpoints, letting you access CLI-based AI accounts (Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin) through any standard OpenAI/Gemini/Claude-compatible client or SDK.
- 4

new-api
52.7KQuantumNous/new-api · GoNew API is a self-hosted gateway that unifies access to many AI providers (OpenAI, Claude, Gemini, DeepSeek, etc.) behind a single endpoint, converting between OpenAI-, Claude-, and Gemini-compatible formats and giving you usage tracking, billing, and access control.
Deploy on Railway - 5
sub2api
46.3KWei-Shaw/sub2api · GoSub2API is an open-source, self-hosted gateway written in Go that unifies Claude, OpenAI, Gemini, and Grok subscriptions behind one API, letting a group of people pool (‘carpool’) a single subscription and split the cost while still using each provider’s native tools.
- 6

kong
44.4KKong/kong · LuaKong is a cloud-native API gateway that also acts as an AI and MCP gateway, handling routing, load balancing, authentication, and traffic management for microservices and LLM/agentic traffic.
- 7

magpie
42.4Kyetone/magpie · GoMagpie is a menu bar app that lists every AI coding agent installed on your machine next to the model each one is currently set to; click a value and pick a different model from a dropdown.
- 8

claude-code-router
38.2Kmusistudio/claude-code-router · TypeScriptClaude Code Router (CCR) is a local model gateway and control plane for coding agents: your agents get one stable local endpoint while you manage providers, models, routing rules, and tools from one app.
- 9

one-api
37.5Ksongquanpeng/one-api · JavaScriptOne API is a self-hosted LLM gateway and key management system: you pool API keys from many providers, and it serves them all through a single OpenAI-compatible API, with a web panel for users, quotas and billing.
- 10

nginx
33.9Knginx/nginx · CNGINX ('engine x') is a free, open source web server, load balancer, reverse proxy, API gateway and content cache — described as the world's most popular web server.
Deploy on Railway - 11
consul
30.1Khashicorp/consul · GoConsul is a distributed, highly available, data center aware solution for connecting and configuring applications across dynamic, distributed infrastructure. It is built to be datacenter aware and can support any number of regions without complex configuration.
Deploy on Railway - 12

spring-cloud-alibaba
29.2Kalibaba/spring-cloud-alibaba · JavaA Spring Cloud toolkit from Alibaba: a one-stop set of components for building distributed Java applications on Alibaba middleware such as Nacos, Sentinel, RocketMQ and Seata.
- 13

SafeLine
23.5Kchaitin/SafeLine · GoSafeLine is a self-hosted web application firewall (WAF) and reverse proxy that protects your web apps from attacks and exploits by filtering and monitoring HTTP traffic.
- 14
pydantic-ai
21.3Kpydantic/pydantic-ai · PythonPydantic AI is the Python AI SDK for building agents: a typed, extensible agent loop where every model is a string swap away. The same agent runs behind a web frontend, in the terminal, on a voice call, or as a plain object you call run() on.
- 15

experiential
20.1Kexperientiallabs/experiential · PythonExperiential is an open source gateway and router for agent workflows that lets you use hosted, BYOK, and local models through one OpenAI-compatible API, control who can spend how much on which models, and turn production traffic into a custom optimized router or your own fine-tuned model.
- 16

OpenWA
17.6Krmyndharis/OpenWA · TypeScriptA free, open-source, self-hosted WhatsApp API gateway: it exposes messaging over a REST API with webhooks and a web dashboard, and you run it on your own server.
- 17

apisix
17.3Kapache/apisix · LuaApache APISIX is an open-source, dynamic, real-time, high-performance API Gateway that also serves as an AI Gateway. It provides traffic management — load balancing, canary release, circuit breaking, authentication, observability — for both north-south and east-west traffic.
- 18

awesome-microservices
14.6Kmfornos/awesome-microservicesA curated list of Microservice Architecture related principles and technologies — a link catalog of platforms, frameworks, toolkits, standards and further reading for building service-oriented systems.
- 19

zuul
14.1KNetflix/zuul · JavaZuul is Netflix's L7 (application-layer) gateway service that handles dynamic routing, monitoring, resiliency, and security for traffic flowing into a set of backend services.
- 20
gateway
13.5KPortkey-AI/gateway · TypeScriptAn open-source AI gateway that routes your requests to 1,600+ language, vision, audio and image models across 45+ providers through one fast, friendly API, with guardrails, caching, retries and fallbacks built in.
Deploy on Railway - 21

nasiko
12KNasiko-Labs/nasiko · RustNasiko is a single control-plane server that deploys, routes, secures, and observes AI agents built on the A2A protocol, acting as the one checkpoint every agent-to-agent call passes through.
- 22
imgproxy
11.2Kimgproxy/imgproxy · Goimgproxy is a fast, standalone server that resizes, crops, converts, and optimizes images on the fly by fetching them from a source URL you provide.
Deploy on Railway - 23

chalice
11.1Kaws/chalice · PythonChalice is a Python framework for writing serverless apps: you write ordinary Python functions, and it creates and deploys the AWS Lambda functions and REST APIs behind them.
- 24

tyk
10.9KTykTechnologies/tyk · GoTyk is an open-source, cloud-native API Gateway that lets you manage REST, GraphQL, TCP, gRPC and MCP (Model Context Protocol) traffic in one place, adding authentication, rate limiting, quotas and analytics to your APIs.
- 25

bifrost
9.7Kmaximhq/bifrost · GoAn open-source, high-performance AI gateway that unifies 23+ LLM providers behind a single OpenAI-compatible API, with automatic failover, load balancing, semantic caching, and budget controls built in.
Deploy on Railway - 26

FractalWorkspace
9.2KFractal-Compute-Orchestrations/FractalWorkspace · PythonFractal is a distributed computing ecosystem that harvests compute from edge devices (like Android phones) to run federated learning and large foundation model inference, while keeping raw user data on-device.
- 27

grok2api
7.9Kchenyme/grok2api · GoGrok2API is a self-hosted Go gateway that pools multiple Grok Build, Grok Web, and Grok Console accounts and exposes them through unified OpenAI- and Anthropic-compatible APIs, with a built-in React admin dashboard.
- 28
gpt-load
7.2Ktbphp/gpt-load · GoGPT-Load is a self-hosted AI gateway that routes API keys and subscription accounts (OpenAI, Anthropic, Gemini, and more) through a single entry point, with scheduling, failover, request logs, and usage accounting.
- 29

ClawRouter
6.7KBlockRunAI/ClawRouter · TypeScriptClawRouter is an open-source LLM router built for autonomous agents: it picks the cheapest capable model from 78 models across 9 providers in under 1ms, entirely locally, and lets an agent pay per request with USDC (via the x402 protocol) instead of signing up for a human account.
- 30

agentgateway
6.5Kagentgateway/agentgateway · RustAgentgateway is an open-source proxy built on AI-native protocols (MCP and A2A) that provides security, observability, and governance for agent-to-LLM, agent-to-tool, and agent-to-agent communication across any framework and environment.
- 31

open-connector
6.3Koomol-lab/open-connector · TypeScriptOpenConnector is an open-source connector gateway that lets AI agents authenticate to and call 1,000+ SaaS providers (GitHub, Gmail, Notion, Slack, BigQuery, etc.) through a shared catalog of prebuilt Actions, acting as an open alternative to Pipedream or Composio.
- 32

monid
6.2Kmonid-ai/monid · TypeScriptIt's 'OpenRouter for agent tools': one base URL and one key give an agent access to 2,000+ tools across 72+ providers, so you integrate one API instead of wiring up dozens of vendors yourself.
- 33

AgnesAI-Models
5.3KAgnesAI-Labs/AgnesAI-ModelsAgnes AI is the official gateway and model catalog for Agnes AI, giving developers OpenAI-compatible access to multimodal models for text, image, video, and agent workflows through one unified API.
- 34

openclaw-zero-token
5.2Klinuxhsj/openclaw-zero-token · TypeScriptOpenClaw Zero Token is a fork of OpenClaw that lets you use major AI chat models like Claude, ChatGPT, Gemini, DeepSeek, Qwen, Doubao, Grok, Kimi, GLM and others for free, by logging into their official web UIs once in a browser instead of paying for API tokens, then routing calls to them through one unified gateway.
- 35

executor
4.6KUsefulSoftwareCo/executor · TypeScriptAn open-source integration layer for AI agents: configure each integration (MCP servers, OpenAPI specs, GraphQL APIs) once with auth and per-tool policies, and every MCP-compatible agent shares the same catalog instead of keeping its own copy.
- 36

ccx
4KBenedictKing/ccx · GoCCX is a high-performance AI API proxy and protocol translation gateway that sits in front of Claude, OpenAI Chat, OpenAI Images, OpenAI Embeddings, Codex Responses, and Gemini APIs, giving you one unified entrypoint for all of them.
- 37

folkbench
4KFolkbench/folkbench · TypeScriptFolkbench is a benchmark and directory site for AI API relay providers (中转站) that resell access to models like GPT, Claude, Gemini, Grok and DeepSeek. It tracks each provider's availability rate, P95 response time, and pricing per model so you can compare them with real data instead of marketing claims.
- 38

awesome-remote-mcp-servers
3.5Kpunkpeye/awesome-remote-mcp-serversA curated, categorized directory of remote MCP (Model Context Protocol) servers that you connect to over the network instead of running locally, covering everything from CRM and databases to browser automation and payments.
- 39

Agent2API
2.5Kaimod-cc/Agent2API · RustAgent2API is a local reverse proxy that turns the login sessions of various AI desktop coding clients (WorkBuddy, Raccoon/CatPaw, AutoClaw, Qoder, Cline, Accio, ZCode, CodeArts, Trae, Loomy, KukuAI, MonkeyCode, Antigravity and more) into one OpenAI-compatible API gateway, so any client that accepts a custom base_url can call those clients' model quotas through a single endpoint, without an upstream API key.
- 40

ThinkWatch-Lite
1.1KThinkWatchProject/ThinkWatch-Lite · TypeScriptThinkWatch Lite is a local gateway that sits between AI coding clients (Claude Code, Codex, and others) and their upstream providers, letting you switch providers and models without reconfiguring each client, while tracking request cost and blocking malicious tool calls.
- 41

every-app
986every-app/every-app · TypeScriptEveryApp is a project to make every SaaS open source by building the next generation of web apps for AI agents, self-hosted on your own Cloudflare account.
- 42
anythingmcp
803HelpCode-ai/anythingmcp · TypeScriptAnythingMCP is a self-hosted MCP gateway that turns REST/OpenAPI, SOAP, GraphQL, OData or SQL APIs into MCP tools usable by Claude, ChatGPT and Copilot, shipping with hundreds of ready-made connectors for systems like SAP, ERPs and e-commerce platforms.
- 43
agent-safe-pipeline
672decionis/agent-safe-pipeline · TypeScriptAgent-Safe Pipeline is a reference implementation of an 'Execution Authority' architecture that sits between AI agents or APIs and consequential HTTP actions: it intercepts the action, asks Decionis whether it is authorized, and only forwards it if a single-use grant is issued, otherwise holding it for a human or refusing it, with every decision leaving tamper-evident evidence.
- 44
casbin-gateway
650apache/casbin-gateway · GoAn open-source gateway for the AI coding agents on your machine: it watches what every agent does, relays their model traffic through one endpoint covering 44 vendors, and grades whether the API behind each key is what you actually paid for.
- 45

booking-microservices
549evangelosvlachos96-dotcom/booking-microservices · C#A practical flight-booking system built as .NET 10 microservices, using Vertical Slice Architecture, DDD, CQRS, Event Sourcing, gRPC, RabbitMQ, Wolverine, PostgreSQL, MongoDB and .NET Aspire.
- 46

grok-register
520xinxinshuhao-create/grok-register · Pythongrok-register is an automated toolkit that registers x.ai (Grok) accounts, extracts their SSO tokens, mints OAuth access/refresh tokens via Device Flow, and runs a daemon that keeps replenishing an account pool for an API gateway like grok2api.
- 47

DoulorCloud
281Doulor/DoulorCloud · TypeScriptDoulor Cloud is a self-hosted, all-in-one cloud resource distribution platform: each user gets a subdomain, a domain email address, R2-backed direct-link file storage, a personal Bento-style profile page, and access to a shared AI API relay, all running on a static frontend plus Cloudflare Workers with no persistent server.
- 48

busbar
225GetBusbar/busbar · RustBusbar is a self-hosted execution control plane that sits between AI applications and the AI providers they call, letting operators verify, govern, route, and record every model request, MCP tool call, and A2A agent delegation before it reaches its destination.
- 49

k8s_stack_base
119neurwerk/k8s_stack_base · PythonThis is the Base Helm chart repository for Neurwerk, a Kubernetes platform. It provides the shared platform charts, release contracts, namespaces, defaults, and validation that the rest of the Neurwerk stack (Studio, Tooling, PII Engine, Gateway Processor, API Key Bridge, Keycloak Theme) is built on top of.
Related topics
Often tagged together