Open-source alternatives to OpenRouter

9 open-source projects that do what OpenRouter does. Picked or featured by Willet; numbers are from GitHub.

Last updated

Open-source alternatives to OpenRouter
ProjectWhat it doesStarsLicenseLast commitSelf-hostable
Self-hosted AI gateway routing coding tools to hundreds of LLM providers78.8kMITYes
Self-hosted gateway that shares AI subscription quotas via one API44.4kLGPL-3.0Yes
Self-hosted gateway that pools free LLM API tiers behind one endpoint38.1kMITYes
Local LLM router that feeds coding agents from many AI providers31.1kMITYes
Self-hosted relay that pools Claude, OpenAI and Gemini subscriptions12.7kMITYes
Self-hosted gateway pooling Grok accounts behind OpenAI-style APIs7.8kMITYes
Envoy-based proxy that routes, traces, and guards LLM and agent traffic7.1kApache-2.0Yes
Prompt-level model router with an OpenAI-compatible endpoint5.6kApache-2.0Yes
Per-request model routing for AI agents across cheap and capable LLMs3.4kApache-2.0Yes

All open-source alternatives