Comparison
kosong vs litellm vs portkey-ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The LLM abstraction layer for modern AI agent applications.
Actively maintained. Last release 4 months ago. A safe choice.
$
pip install kosongLibrary to easily interface with LLM API providers
Actively maintained. Last release today, 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 5 of the last 26 weeks. A safe choice.
$
pip install portkey-aiIn short
- litellm is the most used: 108.6M downloads a month, 23× more than portkey-ai.
- litellm also has the best Pythie’s Index (89).
- portkey-ai is growing fastest: downloads +25% over the last month.
- kosong is the newcomer: first released Oct 2025.
- Safe default for a new project: litellm.
Side by side
| Metric | kosong | litellm | portkey-ai |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | 89 |