Comparison
any-llm-sdk vs g4f vs litellm vs matrx-ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Actively maintained. Last release 2 days ago, commits in 25 of the last 26 weeks. A safe choice.
pip install any-llm-sdkThe official gpt4free repository | various collection of powerful language models
Actively maintained. Last release 3 days ago, commits in 23 of the last 26 weeks. A safe choice.
pip install g4fLibrary 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-aiIn short
- litellm is the most used: 110.4M downloads a month, 436× more than any-llm-sdk.
- Maintenance is comparable: any-llm-sdk 92, g4f 90, litellm 89, matrx-ai 84 on Pythie’s Index.
- litellm is growing fastest: downloads +16% over the last month.
- matrx-ai is the newcomer: first released Mar 2026.
- Safe default for a new project: litellm.
Side by side
| Metric | any-llm-sdk | g4f | litellm | matrx-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 92 | Pythie’s Index: 90 | Pythie’s Index: 89 | Pythie’s Index: 84 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 253K | 88.5K | 110.4M | 49.3K |
| Downloads, month over month | +14% | -1% | +16% | -73% |
| GitHub stars | 2.3K | 67.1K | 64.4K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 0 | 0 | 0 |
| Last release | Dec 1, 2026 | Nov 30, 2026 | Dec 2, 2026 | Nov 30, 2026 |
| Releases, 12 months | 79 | 235 | 263 | 811 |
| Weeks with commits | 25 / 26 | 23 / 26 | 26 / 26 | – |
| Recent contributors | 24 | 8 | 11 | – |
| First release | Jul 2025 | Jul 2023 | Jul 2023 | Mar 2026 |
| Python versions | – | – | – | 3.13 |
| License | Apache-2.0 | GPL-3.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.