Comparison
hanzoai vs litellm vs llmx vs portkey-ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The official Python library for the Hanzo API
Actively maintained. Last release 5 days ago, commits in 24 of the last 26 weeks. A safe choice.
pip install hanzoaiLibrary 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 llmxPython client library for the Portkey API
Actively maintained. Last release 4 months ago, commits in 6 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: 110.4M downloads a month, 23× more than portkey-ai.
- Maintenance is comparable: litellm 89, hanzoai 85, portkey-ai 73 on Pythie’s Index.
- portkey-ai is growing fastest: downloads +23% over the last month.
- hanzoai is the newcomer: first released Mar 2025.
- Safe default for a new project: litellm.
Side by side
| Metric | hanzoai | litellm | llmx | portkey-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | Pythie’s Index: 89 | Pythie’s Index: 14 | Pythie’s Index: 73 |
| Verdict | Actively maintained | Actively maintained | Slowing down | Actively maintained |
| Downloads / month | 31.3K | 110.4M | 131.8K | 4.7M |
| Downloads, month over month | -59% | +16% | +4% | +23% |
| GitHub stars | 12 | 64.4K | 94 | 120 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 0 | 3 | 12 |
| Last release | Nov 28, 2026 | Dec 2, 2026 | Feb 6, 2024 | Jul 23, 2026 |
| Releases, 12 months | 141 | 263 | 0 | 6 |
| Weeks with commits | 24 / 26 | 26 / 26 | 0 / 26 | 6 / 26 |
| Recent contributors | 5 | 11 | 6 | 9 |
| First release | Mar 2025 | Jul 2023 | Jul 2023 | Sep 2023 |
| Python versions | 3.12 – 3.13 | – | – | – |
| License | Apache-2.0 | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.