antipaywallSign in with GitHubSign in

Free, open-source ai gateway software

Every project here is public, open source and pulled from GitHub, where it carries the "ai-gateway" topic.

OmniRoutecheaper-inferenceNever stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors★ 88k+751 this monthMITUpdated 13 days agolitellmBerriAIThe fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]★ 63k+107 this monthOwn licenseUpdated 13 days agonew-apiQuantumNousOpen-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.★ 52kAGPL-3.0Updated 14 days agokongKong🦍 The API and AI Gateway★ 44k+4 this monthApache-2.0Updated 41 days agolangfuselangfuse🪢 Open source AI engineering platform: AI Gateway, agent observability, evals, and prompt/skill management, built on OpenTelemetry. One open platform for every AI call and every agent. Self-host or use Langfuse Cloud.★ 37k+83 this monthOwn licenseUpdated 13 days ago9routerdecoluaUnlimited FREE AI coding. Connect Claude Code, Codex, Cursor, Cline, Copilot, Antigravity to FREE Claude/GPT/Gemini via 40+ providers. Auto-fallback, RTK -40% tokens, never hit limits.★ 32k+122 this monthMITUpdated 13 days agopangolinfosrlModern networking and security platform providing secure access and connectivity to apps, infrastructure, and AI workloads. Connect and protect your users.★ 24k+105 this monthOwn licenseUpdated 14 days agoopencodexlidge-junUniversal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code★ 19kMITUpdated 13 days agoapisixapacheThe Cloud-Native API Gateway and AI Gateway★ 17k+5 this monthApache-2.0Updated 16 days agocasdoorcasdoorAn open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD★ 15k+23 this monthApache-2.0Updated 14 days agogatewayPortkey-AIA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.★ 13kMITUpdated 6 months agotykTykTechnologiesOpen Source API and AI Gateway supporting REST, GraphQL, TCP, gRPC and MCP (Model Context Protocol)★ 11kOwn licenseUpdated 16 days agobifrostmaximhqOpen-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.6kApache-2.0Updated 13 days agocoaicoaidev🚀 Next Gen Multi-tenant AI One-Stop Solution. Builtin Admin & Billing System. Enterprise-Grade Unified LLM Gateway Support for 200+ Models And 35+ Providers, Load Balacing w/ Priority-base Routing, Cost Management, Chat Share, Cloud Sync, Credit/Subscription Billing, All File Parsing, Web Search, Built-in Model Cache.★ 9.3kApache-2.0Updated 9 months agogpt-loadtbphpSelf-hosted AI gateway for multi-channel, multi-credential setups — API keys and subscription accounts, scheduling, failover, request logs and usage. 自托管 AI 网关:多渠道多凭据统一接入,含密钥与订阅账号、调度容错、日志与用量。★ 7.2kMITUpdated 14 days agoplanokatanemoPlano is an AI-native proxy server and data plane for agentic apps. Smart LLM routing, observability, agent orchestration, and guardrails so you stay focused on your agents core logic.★ 7.1kApache-2.0Updated 36 days agosemantic-routervllm-projectAn open, programmable decision layer for models and compute.★ 6.5kApache-2.0Updated 13 days agoagentgatewayagentgatewayNext Generation Agentic Proxy for AI Agents and MCP servers★ 6.2k+29 this monthApache-2.0Updated 14 days agorouterweave-osModel router for agentic systems. Routes every prompt to the right model in <50ms. Cut costs 40-70% with just an endpoint change.★ 5.6kApache-2.0Updated 13 days agoocteliumocteliumA 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.2k+5 this monthAGPL-3.0Updated 14 days agoccskaitrannttSwitch between Claude accounts, Gemini, Copilot, OpenRouter (300+ models) via CLIProxyAPI OAuth proxy. Visual dashboard, remote proxy support, WebSearch fallback. Zero-config to production-ready.★ 2.9kMITUpdated 25 days agooctopusbestruiruiOne Hub All LLMs For You | 为个人打造的 LLM API 聚合网关★ 2.7kAGPL-3.0Updated 38 days agofuture-agifuture-agiOpen-source, end-to-end platform for evaluating, observing, and improving LLM and AI agent applications. Tracing · Evals · Simulations · Datasets · Gateway · Guardrails. Self-hostable. Apache 2.0.★ 2.3kApache-2.0Updated 13 days agoAPIParkAPIParkLabCloud native, ultra-high performance AI&API gateway, LLM API management, distribution system, open platform, supporting all AI APIs.🦄云原生、超高性能 AI&API网关,LLM API 管理、分发系统、开放平台,支持所有AI API,不限于OpenAI、Azure、Anthropic Claude、Google Gemini、DeepSeek、字节豆包、ChatGLM、文心一言、讯飞星火、通义千问、360 智脑、腾讯混元等主流模型,统一 API 请求和返回,API申请与审批,调用统计、负载均衡、多模型灾备。一键部署,开箱即用。★ 1.8kApache-2.0Updated 33 days agollmgatewaytheopencoRoute, manage, and analyze your LLM requests across multiple providers with a unified API interface.★ 1.7kOwn licenseUpdated 13 days agoGoModelENTERPILOTAI gateway / AI control plane / AI proxy written in Go. Unified OpenAI-compatible and Anthropic-compatible API for OpenAI, Anthropic, Gemini, Groq, xAI, Ollama, vLLM and more. A LiteLLM alternative with observability, guardrails, streaming, cost tracking, intelligent routing, sticky sessions, failover, real-time logs and usage tracking. Prod ready.★ 1.3kMITUpdated 14 days agoThinkWatch-LiteThinkWatchProjectLocal gateway for Claude Code, Codex and other AI clients on macOS, Windows and Linux: switch upstreams without touching clients, keep API keys from relays, cut off malicious tool calls, trace every request.★ 1.1kMITUpdated 14 days agootarimozilla-aiOpen-source AI gateway you run yourself. One endpoint for 40+ providers, with virtual keys, budgets, and usage tracking.★ 931Apache-2.0Updated 14 days agotempsgotempshAI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCode — deployments, analytics, session replay, error tracking, OpenTelemetry, email, sandboxes & AI gateway in one self-hosted Rust binary.★ 920+8 this monthApache-2.0Updated 13 days agorespan-gatewayrespanaiOpen-source LLM gateway in Rust. One endpoint for OpenAI, Anthropic, Gemini and every other vendor. Any SDK, any model, any tool.★ 862Apache-2.0Updated 14 days agoMisceoMaySudoLocal Anthropic-compatible AI gateway with cheap-first routing, quality gates, safe model handoffs, and an embedded cost dashboard.★ 848Own licenseUpdated 4 months agoThinkWatchThinkWatchProjectSelf-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII redaction and tool-call guards, rate limits, budgets, cost accounting and audit logs.★ 817Own licenseUpdated 14 days agovlloravlloraDebug your AI agents★ 811Own licenseUpdated 5 months agocasbin-gatewayapacheSee what every AI coding agent on your machine is doing, and whether the API behind it is the one you paid for. Claude Code, Codex, Cursor, Gemini CLI and more: one endpoint for 44 model vendors, A–F API authenticity grading, per-agent permissions, usage and prompt records.★ 649Apache-2.0Updated 29 days agoLynkrFast-EditorStreamline your workflow with Lynkr, a CLI tool that acts as an HTTP proxy for efficient code interactions using Claude Code CLI.★ 640Apache-2.0Updated 14 days agodarioaskalfOne local endpoint that routes Claude Code, Cursor, Cline, Aider, Codex CLI and the SDKs through the Claude and ChatGPT plans you already pay for: seats first, then the fallback chain you configure, and a ledger of who paid. Zero runtime dependencies.★ 590MITUpdated 14 days agoHiRoutehigress-groupMake Codex and Claude Code subscriptions go further: a local model router that gives routine agent work to economical models and keeps your strongest model for the hard parts.★ 466Apache-2.0Updated 13 days ago9routerxyanstd8889RouterX (9R Next Go Generation): Single-binary Go AI router, LLM gateway & 20-40% token saver. Route Claude Code, Cursor & Codex across 155 providers, 28 OAuth & 248 free models (24 keyless) — OpenAI, Claude, Gemini, DeepSeek, Groq, Ollama & MCP.★ 244Own licenseUpdated 15 days agobusbarGetBusbarThe execution control plane for AI agents. Govern every model request, MCP tool call, A2A delegation, and downstream action—while keeping your native protocols intact: six native LLM protocols in, six native LLM protocols out.★ 224Apache-2.0Updated 14 days ago