Topics / #llm-proxy
LLM proxy projects on GitHub
Proxy servers that route, cache, and manage LLM API traffic.
As of , the most-starred LLM proxy projects on GitHub are OmniRoute (91.5K stars), headroom (81.2K stars) and 9router (33K stars). GitHub.Locker tracks 18 LLM proxy repositories with 311.2K stars combined. The fastest-growing on November 30 was OmniRoute, with +311 stars in a day.
Hot right now
Most stars gained in a day · Nov 30
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.
+72billion-context
ranxianglei/billion-context · ★ 8.6Kbillion-context is a context-compression proxy that sits between any coding agent and its model API, rewriting Anthropic/OpenAI streams so a 100K context window is enough and a single session can run for months across billions of tokens.
headroom
headroomlabs-ai/headroom · ★ 81.2KHeadroom compresses everything an AI agent reads - tool outputs, logs, RAG chunks, files, and conversation history - before it reaches the LLM, cutting tokens while keeping the same answers. It ships as a library, a local proxy, and an MCP server.
The all-time top
18 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.
- 81.2K
#2 · headroomlabs-ai/headroom
headroom
Headroom compresses everything an AI agent reads - tool outputs, logs, RAG chunks, files, and conversation history - before it reaches the LLM, cutting tokens while keeping the same answers. It ships as a library, a local proxy, and an MCP server.
- 33K
#3 · decolua/9router9router
9Router is a local AI router and token saver: it connects coding tools like Claude Code, Codex, Cursor and Cline to 40+ providers and 100+ models, auto-falls back from your subscription to cheap and free models, and compresses tool output to save 20-40% of tokens.
- 4

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

opencodex
18.8Klidge-jun/opencodex · TypeScriptopencodex is a universal provider proxy that lets OpenAI Codex (CLI, App, SDK) and Claude Code run any LLM — Claude, Gemini, Grok, DeepSeek, Ollama, and 40+ other providers — instead of being locked to one vendor's backend.
- 6
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 - 7

opencode-antigravity-auth
11.1KNoeFabris/opencode-antigravity-auth · TypeScriptIt's an OpenCode plugin that authenticates via Google OAuth against Antigravity (Google's IDE), letting OpenCode use Antigravity's quota to run models like Gemini 3.1 Pro and Claude Opus 4.6-thinking under your own Google account instead of a separate API key.
- 8
aichat
10.6Ksigoden/aichat · RustAIChat is an all-in-one LLM command-line tool: a shell assistant, a chat REPL, RAG, AI tools and agents, with access to OpenAI, Claude, Gemini, Ollama, Groq and more.
- 9

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 - 10

billion-context
8.6Kranxianglei/billion-context · TypeScriptbillion-context is a context-compression proxy that sits between any coding agent and its model API, rewriting Anthropic/OpenAI streams so a 100K context window is enough and a single session can run for months across billions of tokens.
- 11

relayAPI
5.6Kzzsting88/relayAPI · TypeScriptThis is a Chinese-language guide that reviews and ranks third-party 'AI API relay stations' (中转站) — resellers that let users in China tap into OpenAI, Claude, Gemini, DeepSeek and other AI model APIs more cheaply and without official account bans.
- 12

vm2api
2Kdofastted/vm2api · JavaScriptvm2api is a self-hosted proxy that runs your Claude/Anthropic (or OpenAI-compatible) API traffic through a real-looking virtual machine or Docker 'slot' so the account looks like a genuine Claude Console client instead of relying on system-prompt tricks or persona injection.
- 13

dsh-connect-workbuddy
1.8Kdingminhua/dsh-connect-workbuddy · TypeScriptdsh-connect-workbuddy is a plugin for DeepSeek Harness (DSH) that connects your locally signed-in WorkBuddy AI accounts (both the China and international editions) to DSH's model picker, adding a read-only credit overview, per-model toggles, and account management.
- 14

opencode2api
1.5Kjasonxu114514/opencode2api · Goopencode2api is a Go-based proxy for the OpenCode Zen / Zen Go API that exposes standard OpenAI and Anthropic-compatible endpoints, so you can point normal OpenAI/Anthropic SDK clients at OpenCode models.
- 15

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.
- 16
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.
- 17

underclass
303ghuntley/underclass · RustIt pools multiple ChatGPT/Codex and GitHub Copilot subscriptions behind one OpenAI-compatible endpoint — when one account runs dry it cools down until its window resets and comes back on its own.
- 18

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.
Related topics
Often tagged together