Comparison
any-llm-sdk vs g4f vs litellm
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 26 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 2 days ago, commits in 24 of the last 26 weeks. A safe choice.
$
pip install g4fLibrary to easily interface with LLM API providers
Actively maintained. Last release 3 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install litellmIn short
- litellm is the most used: 106.7M downloads a month, 433× more than any-llm-sdk.
- Maintenance is comparable: any-llm-sdk 91, g4f 90, litellm 89 on Pythie’s Index.
- any-llm-sdk is growing fastest: downloads +14% over the last month.
- any-llm-sdk is the newcomer: first released Jul 2025.
- Safe default for a new project: litellm.
Side by side
| Metric | any-llm-sdk | g4f | litellm |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 91 | Pythie’s Index: 90 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 246.4K | 92.6K | 106.7M |
| Downloads, month over month | +14% | +9% | +11% |
| GitHub stars | 2.3K | 67.1K | 64.3K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 0 | 0 | 0 |
| Last release | Nov 30, 2026 | Nov 30, 2026 | Nov 29, 2026 |
| Releases, 12 months | 78 | 235 | 275 |
| Weeks with commits | 26 / 26 | 24 / 26 | 26 / 26 |
| Recent contributors | 23 | 8 | 22 |
| First release | Jul 2025 | Jul 2023 | Jul 2023 |
| Python versions | – | – | – |
| License | Apache-2.0 | GPL-3.0 | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.