Comparison
litellm vs llmx vs openrouter vs portkey-ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Library to easily interface with LLM API providers
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install litellmLLMX: A library for LLM Text Generation
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install llmxOfficial Python Client SDK for OpenRouter.
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install openrouterPython client library for the Portkey API
Actively maintained. Last release 4 months ago, commits in 5 of the last 26 weeks. A safe choice.
pip install portkey-aiIn short
- llmx is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- litellm is the most used: 108.6M downloads a month, 23× more than portkey-ai.
- Maintenance is comparable: litellm 89, openrouter 80, portkey-ai 71 on Pythie’s Index.
- portkey-ai is growing fastest: downloads +25% over the last month.
- openrouter is the newcomer: first released Nov 2025.
- Safe default for a new project: litellm.
Side by side
| Metric | litellm | llmx | openrouter | portkey-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | 14 |