Self-host the SaaS · direction

Build your own API gateway.

The front door to every service you run — and a natural place for vendors to set up a toll booth.

The ranking rule

Repositories matching this query, sorted by stars:

topic:api-gateway stars:>200 pushed:>2025-10-29 archived:false

Synced nightly; star history kept so momentum is measured, not guessed.

30 projects

live from source · api.github.com · Oct 29, 1:45 AM UTC
#1Kong /

kong

🦍 The API and AI Gateway

★ 44.3kApache-2.0Luapushed 9d ago
#2songquanpeng /

one-api

LLM API 管理 & 分发系统,支持 OpenAI、Azure、Anthropic Claude、Google Gemini、DeepSeek、字节豆包、ChatGLM、文心一言、讯飞星火、通义千问、360 智脑、腾讯混元等主流模型,统一 API 适配,可用于 key 管理与二次分发。单可执行文件,提供 Docker 镜像,一键部署,开箱即用。LLM API management & key redistribution system, unifying multiple providers under a single API. Single binary, Docker-ready, with an English UI.

★ 37.3kMITJavaScriptpushed 9mo ago
#3hashicorp /

consul

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

★ 30.1kGopushed today
#4chaitin /

SafeLine

SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.

★ 23.1kGPL-3.0Gopushed 6d ago
#5apache /

apisix

The Cloud-Native API Gateway and AI Gateway

★ 17.3kApache-2.0Luapushed today
#6TykTechnologies /

tyk

Open Source API and AI Gateway supporting REST, GraphQL, TCP, gRPC and MCP (Model Context Protocol)

★ 10.9kGopushed today
#7higress-group /

higress

🤖 AI Gateway | AI Native API Gateway

★ 9.7kApache-2.0Gopushed today
#8maximhq /

bifrost

Open-source, high-performance AI gateway that works as your LLM gateway, MCP gateway and agent gateway. One OpenAI-compatible API for 10,000+ models, with failover, load balancing, semantic caching, virtual keys, budgets and MCP Code Mode. Works with any SDK or agent and adds under 200µs of overhead at 5k RPS.

★ 9.2kApache-2.0Gopushed today
#9apache /

shenyu

Apache ShenYu is a Java native API Gateway for service proxy, protocol conversion and API governance.

★ 8.9kApache-2.0Javapushed today
#10ThreeMammals /

Ocelot

.NET API Gateway

★ 8.7kMITC#pushed 4d ago
#11tbphp /

gpt-load

Self-hosted AI gateway for multi-channel, multi-credential setups — API keys and subscription accounts, scheduling, failover, request logs and usage. 自托管 AI 网关:多渠道多凭据统一接入,含密钥与订阅账号、调度容错、日志与用量。

★ 7.2kMITGopushed today
#12luraproject /

lura

Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

★ 6.8kGopushed today
#13aws /

aws-sam-cli

CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM

★ 6.7kApache-2.0Pythonpushed today
#14oomol-lab /

open-connector

Open-source auth gateway connecting 1500+ SaaS providers to AI agents through SDK, CLI, MCP, HTTP, and OpenAPI.

★ 6.1kTypeScriptpushed today
#15easegress-io /

easegress

A Cloud Native traffic orchestration system. (CNCF Project)

★ 5.9kApache-2.0Gopushed 15d ago
#16agentgateway /

agentgateway

Next Generation Agentic Proxy for AI Agents and MCP servers

★ 5.7kApache-2.0Rustpushed today
#17kgateway-dev /

kgateway

The Cloud-Native API Gateway and AI Gateway

★ 5.7kApache-2.0Gopushed today
#18looplj /

axonhub

⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs. Built-in failover, load balancing, cost control & end-to-end tracing.

★ 5.4kApache-2.0Gopushed today
#19CodeGenieApp /

serverless-express

Run Express and other Node.js frameworks on AWS Serverless technologies such as Lambda, API Gateway, Lambda@Edge, and more.

★ 5.3kApache-2.0JavaScriptpushed 6mo ago
#20spring-cloud /

spring-cloud-gateway

An API Gateway built on Spring Framework and Spring Boot providing routing and more.

★ 4.9kApache-2.0Javapushed 2d ago
#21IBM /

mcp-context-forge

An AI Gateway, registry, and proxy that sits in front of any MCP, A2A, or REST/gRPC APIs, exposing a unified endpoint with centralized discovery, guardrails and management. Optimizes Agent & Tool calling, and supports plugins.

★ 4.7kApache-2.0Pythonpushed today
#22emissary-ingress /

emissary

open source Kubernetes-native API gateway for microservices built on the Envoy Proxy

★ 4.5kApache-2.0Pythonpushed 2d ago
#23algorithmicsuperintelligence /

optillm

Optimizing inference proxy for LLMs

★ 4.3kApache-2.0Pythonpushed 17d ago
#24octelium /

octelium

A next-gen FOSS self-hosted unified zero trust secure access platform that can operate as a remote access VPN, a ZTNA platform, API/AI/MCP gateway, a PaaS, an ngrok-alternative and a homelab infrastructure.

★ 4.1kAGPL-3.0Gopushed today
#25claudiajs /

claudia

Deploy Node.js projects to AWS Lambda and API Gateway easily

★ 3.9kMITJavaScriptpushed 5mo ago
#26zappa /

Zappa

Serverless Python

★ 3.7kMITPythonpushed 20d ago
#27ory /

oathkeeper

A cloud native Identity & Access Proxy / API (IAP) and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests. Inspired by the BeyondCorp / Zero Trust white paper. Written in Go.

★ 3.6kApache-2.0Gopushed 3mo ago
#28aspnetrun /

run-aspnetcore-microservices

Microservices on .NET platforms used ASP.NET Web API, Docker, RabbitMQ, MassTransit, Grpc, Yarp API Gateway, PostgreSQL, Redis, SQLite, SqlServer, Marten, Entity Framework Core, CQRS, MediatR, DDD, Vertical and Clean Architecture implementation with using latest features of .NET 8 and C# 12

★ 3.3kMITC#pushed 7mo ago
#29ardeyouxipianyi /

workbuddy2api-hub

WorkBuddy 国际国内多账号反代网关,支持 Codex / Claude Code / DSH与标准 OpenAI 客户端。

★ 3.2kMITPythonpushed today
#30dwgx /

WindsurfAPI

Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, Anthropic- & Gemini-compatible APIs. Zero-dependency self-hosted reverse proxy for Claude Code, Cline & Cursor. 把 Windsurf/Devin 云端 100+ 模型变成三套兼容 API。

★ 3.1kMITJavaScriptpushed today
In the news · last 30 days

No stories tagged to this direction recently.

Learn it