Comparison
esperanto vs hanzoai vs litellm vs portkey-ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A light-weight, production-ready, unified interface for various AI model providers
Actively maintained. Last release 2 months ago, commits in 8 of the last 26 weeks. A safe choice.
pip install esperantoThe 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 litellmPython 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
- 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, esperanto 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 | esperanto | hanzoai | litellm | portkey-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 73 | Pythie’s Index: 85 | Pythie’s Index: 89 | Pythie’s Index: 73 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 58.7K | 31.3K | 110.4M | 4.7M |
| Downloads, month over month | -26% | -59% | +16% | +23% |
| GitHub stars | 224 | 12 | 64.4K | 120 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 3 | 0 | 0 | 12 |
| Last release | Oct 3, 2026 | Nov 28, 2026 | Dec 2, 2026 | Jul 23, 2026 |
| Releases, 12 months | 30 | 141 | 263 | 6 |
| Weeks with commits | 8 / 26 | 24 / 26 | 26 / 26 | 6 / 26 |
| Recent contributors | 11 | 5 | 11 | 9 |
| First release | Nov 2024 | Mar 2025 | Jul 2023 | Sep 2023 |
| Python versions | – | 3.12 – 3.13 | – | – |
| License | MIT | Apache-2.0 | 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.