LiteLLM vs OpenRouter

FeatureLiteLLMOpenRouter
CategoryAI DevelopmentAI Development
PricingFree (open-source) + EnterprisePay-per-use (varies by model)
GitHub Stars15,000β€”
PlatformsLinux, macOS, DockerWeb
Features
  • βœ“ 100+ providers
  • βœ“ Load balancing
  • βœ“ Budget tracking
  • βœ“ Caching
  • βœ“ OpenAI-compatible
  • βœ“ 200+ models
  • βœ“ Unified API
  • βœ“ Auto-fallback
  • βœ“ Rate limiting
  • βœ“ Usage tracking
  • βœ“ OpenAI-compatible
Tags
api-gatewaymulti-providerproxyopen-source
apimulti-modelgatewayroutingpay-per-use