★ 1 stars
TypeScript
🤖 AI/LLM
Updated 5d ago
Self-hosted LLM gateway that turns flat-rate AI subscriptions (Claude Code Max, ChatGPT Plus, Codex, Copilot, M365, Gemini) into one OpenAI/Anthropic-compatible API. Unified subscription wallet, OAuth passthrough on /v1/responses, prompt-injection + PII defense, MCP server, semantic cache, time-travel replay.
View on GitHub →
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"adaptive-llm-gateway": {
"command": "npx",
"args": [
"-y",
"renefichtmueller/adaptive-llm-gateway"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add adaptive-llm-gateway npx -y renefichtmueller/adaptive-llm-gateway
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"adaptive-llm-gateway": {
"command": "npx",
"args": [
"-y",
"renefichtmueller/adaptive-llm-gateway"
]
}
}
}
📋 Copy
README Excerpt
<div align="center"> **The most feature-complete open-source LLM gateway — built for the era where you already pay for five AI subscriptions.** </div> > ⚠️ **Status**: v0.3 — experimental. Battle-tested on a small private deployment, not yet stress-tested at enterprise scale. APIs may change before v1.0.
Tools (15)
ADAPTIVE_ROUTING_ENABLED AUTO_SPAWN_BRIDGES DASHBOARD_AUTH_TOKEN DATABASE_URL GET INJECTION_DEFENSE_MODE LLM_GATEWAY_MIN_TOKENS OLLAMA_URL OUTPUT_DEFENSE_MODE PLUGINS_DIR POST REDACT_PII_MODE SEMANTIC_CACHE_ENABLED WATCHDOG_ENABLED off
Topics
ai-gateway anthropic apache-2 chatgpt claude codex copilot fastify llm llm-gateway mcp mcp-server oauth-passthrough ollama openai