Comparison
langchain 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.
Building applications with LLMs through composability
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install langchainLibrary 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
- langchain is the most used: 156.2M downloads a month.
- Maintenance is comparable: litellm 89, langchain 88, matrx-ai 84, portkey-ai 73 on Pythie’s Index.
- portkey-ai is growing fastest: downloads +23% over the last month.
- matrx-ai is the newcomer: first released Mar 2026.
- Safe default for a new project: langchain.
Side by side
| Metric | langchain | litellm | matrx-ai | portkey-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 89 | Pythie’s Index: 84 | Pythie’s Index: 73 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 156.2M | 110.4M | 49.3K | 4.7M |
| Downloads, month over month | -2% | +16% | -73% | +23% |
| GitHub stars | 150.3K | 64.4K | – | 120 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2.6K | 0 | 0 | 12 |
| Last release | Nov 18, 2026 | Dec 2, 2026 | Nov 30, 2026 | Jul 23, 2026 |
| Releases, 12 months | 62 | 263 | 811 | 6 |
| Weeks with commits | 26 / 26 | 26 / 26 | – | 6 / 26 |
| Recent contributors | 10 | 11 | – | 9 |
| First release | Oct 2022 | Jul 2023 | Mar 2026 | Sep 2023 |
| Python versions | 3.11 – 3.14 | – | 3.13 | – |
| License | MIT | 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.