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.

50Projects
814.1KStars in total
+2KStars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

50 projects · by stars

  1. #1 · diegosouzapw/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.

    77.4K
  2. #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.

    61.4K
  3. #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.

    55.5K
  1. 4

    new-api

    50.1KQuantumNous/new-api · Go

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

  2. 5

    kong

    44.3KKong/kong · Lua

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

  3. 6

    sub2api

    44.2KWei-Shaw/sub2api · Go

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

  4. 7

    claude-code-router

    37.7Kmusistudio/claude-code-router · TypeScript

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

  5. 8

    one-api

    37.2Ksongquanpeng/one-api · JavaScript

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

  6. 9

    nginx

    31.9Knginx/nginx · C

    NGINX ('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.

  7. 10

    consul

    30.1Khashicorp/consul · Go

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

  8. 11

    spring-cloud-alibaba

    29.2Kalibaba/spring-cloud-alibaba · Java

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

  9. 12

    ngrok

    24.4Kinconshreveable/ngrok · Go

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

  10. 13

    SafeLine

    22.8Kchaitin/SafeLine · Go

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

  11. 14

    pydantic-ai

    20.7Kpydantic/pydantic-ai · Python

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

  12. 15

    agentic

    18.1Ktransitive-bullshit/agentic · TypeScript

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

  13. 16

    SpringCloudLearning

    17.9Kforezp/SpringCloudLearning · Java

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

  14. 17

    apisix

    17.2Kapache/apisix · Lua

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

  15. 18

    OpenWA

    15.5Krmyndharis/OpenWA · TypeScript

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

  16. 19

    awesome-microservices

    14.5Kmfornos/awesome-microservices

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

  17. 20

    magpie

    14.4Kyetone/magpie · Go

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

  18. 21

    zuul

    14.1KNetflix/zuul · Java

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

  19. 22

    gateway

    13.2KPortkey-AI/gateway · TypeScript

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

  20. 23

    Zappa

    11.8KMiserlou/Zappa · Python

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

  21. 24

    imgproxy

    11.1Kimgproxy/imgproxy · Go

    imgproxy is a fast, standalone server that resizes, crops, converts, and optimizes images on the fly by fetching them from a source URL you provide.

  22. 25

    chalice

    11.1Kaws/chalice · Python

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

  23. 26

    tyk

    10.9KTykTechnologies/tyk · Go

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

  24. 27

    nasiko

    9.5KNasiko-Labs/nasiko · Rust

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

  25. 28

    bifrost

    8.9Kmaximhq/bifrost · Go

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

  26. 29

    grok2api

    7.8Kchenyme/grok2api · Go

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

  27. 30

    gpt-load

    7.1Ktbphp/gpt-load · Go

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

  28. 31

    ClawRouter

    6.6KBlockRunAI/ClawRouter · TypeScript

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

  29. 32

    open-connector

    6Koomol-lab/open-connector · TypeScript

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

  30. 33

    AgnesAI-Models

    5.2KAgnesAI-Labs/AgnesAI-Models

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

  31. 34

    openclaw-zero-token

    5.2Klinuxhsj/openclaw-zero-token · TypeScript

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

  32. 35

    monid

    4.7Kmonid-ai/monid · TypeScript

    It'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. 36

    executor

    4.2KUsefulSoftwareCo/executor · TypeScript

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

  34. 37

    ccx

    4KBenedictKing/ccx · Go

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

  35. 38

    awesome-remote-mcp-servers

    1.4Kpunkpeye/awesome-remote-mcp-servers

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

  36. 39

    Agent2API

    1.1Kaimod-cc/Agent2API · Rust

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

  37. 40

    ThinkWatch-Lite

    824ThinkWatchProject/ThinkWatch-Lite · TypeScript

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

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

  39. 42

    anythingmcp

    753HelpCode-ai/anythingmcp · TypeScript

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

  40. 43

    agent-safe-pipeline

    688decionis/agent-safe-pipeline · TypeScript

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

  41. 44

    casbin-gateway

    642apache/casbin-gateway · Go

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

  42. 45

    my-free-code

    624hkqr/my-free-code · Python

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

  43. 46

    grok-register

    521xinxinshuhao-create/grok-register · Python

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

  44. 47

    freebucks-proxy

    300trefeon/freebucks-proxy · Go

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

  45. 48

    DoulorCloud

    235Doulor/DoulorCloud · TypeScript

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

  46. 49

    busbar

    194GetBusbar/busbar · Rust

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

  47. 50

    qoder-workflow

    142d4ncboz/qoder-workflow · Python

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

Often tagged together