LiteLLM
OSS unified-API router for 100+ LLM providers with caching, fallbacks, and budgets.
- License
- MIT
- Install
- pip package
- Website
- https://www.litellm.ai
- GitHub
- https://github.com/BerriAI/litellm
pip install litellm
OpenRouter
Single API key for 300+ models from every major provider, pay-per-use.
- License
- proprietary
- Install
- env key
- Website
- https://openrouter.ai
- GitHub
- https://github.com/OpenRouterTeam
export OPENROUTER_API_KEY=...
When to reach for which
LiteLLM — OSS unified-API router for 100+ LLM providers with caching, fallbacks, and budgets.
OpenRouter — Single API key for 300+ models from every major provider, pay-per-use.
Both sit in the LLM Routers category — they're substitutes, not complements. Pick by your install constraint (MCP-native, license, hosting model) and which tag overlap matters most to your stack.