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 (77.4K stars), litellm (61.4K stars) and CLIProxyAPI (55.5K stars). GitHub.Locker tracks 50 API gateway repositories with 814.1K stars combined. The fastest-growing on October 16 was magpie, with +656 stars in a day.
Hot right now
Most stars gained in a day · Oct 16
magpie
yetone/magpie · ★ 14.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.
+356OmniRoute
diegosouzapw/OmniRoute · ★ 77.4KOmniRoute 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.
+262monid
monid-ai/monid · ★ 4.7KIt'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.
+104ThinkWatch-Lite
ThinkWatchProject/ThinkWatch-Lite · ★ 824ThinkWatch 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.
The all-time top
50 projects · by stars
- 77.4K
#1 · diegosouzapw/OmniRouteOmniRoute
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.
- 61.4K
#2 · BerriAI/litellm
litellm
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.
- 55.5K
#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
50.1KQuantumNous/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.
- 5

kong
44.3KKong/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.
- 6
sub2api
44.2KWei-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.
- 7

claude-code-router
37.7Kmusistudio/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.
- 8

one-api
37.2Ksongquanpeng/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.
- 9

nginx
31.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.
- 10
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.
- 11

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

ngrok
24.4Kinconshreveable/ngrok · Gongrok is a globally distributed reverse proxy that secures, protects and accelerates applications and network services wherever they run, combining a reverse proxy, firewall, API gateway and global load balancer into one tool.
- 13

SafeLine
22.8Kchaitin/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
20.7Kpydantic/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

agentic
18.1Ktransitive-bullshit/agentic · TypeScriptA curated marketplace of tools for LLM agents — think RapidAPI for AI tools — plus an MCP gateway where anyone can publish an MCP server or OpenAPI service and charge for usage, with Stripe billing and semver versioning.
- 16

SpringCloudLearning
17.9Kforezp/SpringCloudLearning · JavaThis is the source code accompanying 'The Simplest Spring Cloud Tutorial Ever' (史上最简单的SpringCloud教程), a long-running Chinese blog series by author forezp that teaches Spring Cloud microservices step by step, covering service registration, service calls, circuit breaking, gateways, config, tracing and more.
- 17

apisix
17.2Kapache/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

OpenWA
15.5Krmyndharis/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.
- 19

awesome-microservices
14.5Kmfornos/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.
- 20

magpie
14.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.
- 21

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.
- 22
gateway
13.2KPortkey-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.
- 23

Zappa
11.8KMiserlou/Zappa · PythonZappa is a tool that packages and deploys Python WSGI web applications (built with Flask, Django, Bottle or Pyramid) to run serverlessly on AWS Lambda behind API Gateway, with no servers to manage.
- 24
imgproxy
11.1Kimgproxy/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.
- 25

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

nasiko
9.5KNasiko-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.
- 28

bifrost
8.9Kmaximhq/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.
- 29

grok2api
7.8Kchenyme/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.
- 30

gpt-load
7.1Ktbphp/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.
- 31

ClawRouter
6.6KBlockRunAI/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.
- 32

open-connector
6Koomol-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.
- 33

AgnesAI-Models
5.2KAgnesAI-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

monid
4.7Kmonid-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.
- 36

executor
4.2KUsefulSoftwareCo/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.
- 37

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

awesome-remote-mcp-servers
1.4Kpunkpeye/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
1.1Kaimod-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
824ThinkWatchProject/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

booking-microservices
756evangelosvlachos96-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.
- 42

anythingmcp
753HelpCode-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
688decionis/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
642apache/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

my-free-code
624hkqr/my-free-code · PythonMy Free Code is an open-source gateway that sits between coding agents like Claude Code and dozens of LLM providers, handling model routing, streaming, tool calls, reasoning pass-through and fallback between providers.
- 46

grok-register
521xinxinshuhao-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

freebucks-proxy
300trefeon/freebucks-proxy · GoA Go gateway that sits in front of FreeBuff and exposes OpenAI-compatible and Anthropic-compatible chat endpoints, translating requests into the FreeBuff wire protocol, with a built-in Svelte admin dashboard.
- 48

DoulorCloud
235Doulor/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.
- 49

busbar
194GetBusbar/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.
- 50

qoder-workflow
142d4ncboz/qoder-workflow · PythonQoder Workflow is an unofficial toolkit built around Qoder (an AI coding assistant) that patches machine identity, harvests Personal Access Tokens, decrypts local session credentials, and exposes the resulting access through an OpenAI-compatible gateway serving 15 upstream models (Claude, Qwen, Kimi, GLM, DeepSeek, MiniMax, and more).
Related topics
Often tagged together