Comparison
ai vs litellm vs matrx-ai vs portkey-ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
AI Agent Framework for Python
Actively maintained. Last release 1 day ago, commits in 23 of the last 26 weeks. A safe choice.
$
pip install aiLibrary 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 litellmUnified multi-provider AI client, orchestration, and tool system
Actively maintained. Last release 3 days ago. A safe choice.
$
pip install matrx-aiPython 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: ai 93, litellm 89, matrx-ai 84, portkey-ai 73 on Pythie’s Index.
- ai is growing fastest: downloads +79% over the last month.
- matrx-ai is the newcomer: first released Mar 2026.
- Safe default for a new project: litellm.
Side by side
| Metric | ai | litellm | matrx-ai | portkey-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 93 | Pythie’s Index: 89 | Pythie’s Index: 84 | Pythie’s Index: 73 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 186.7K | 110.4M | 49.3K | 4.7M |
| Downloads, month over month | +79% | +16% | -73% | +23% |
| GitHub stars | 210 | 64.4K | – | 120 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 3 | 0 | 0 | 12 |
| Last release | Dec 2, 2026 | Dec 2, 2026 | Nov 30, 2026 | Jul 23, 2026 |
| Releases, 12 months | 16 | 263 | 811 | 6 |
| Weeks with commits | 23 / 26 | 26 / 26 | – | 6 / 26 |
| Recent contributors | 9 | 11 | – | 9 |
| First release | May 2026 | Jul 2023 | Mar 2026 | Sep 2023 |
| Python versions | 3.12 – 3.14 | – | 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.