Comparison
g4f vs litellm vs model-library vs unclecode-litellm
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The 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 today, commits in 26 of the last 26 weeks. A safe choice.
pip install litellmModel Library for vals.ai
Actively maintained. Last release 12 days ago, commits in 13 of the last 26 weeks. A safe choice.
pip install model-libraryPre-compromise fork of litellm - Library to easily interface with LLM API providers
Low maintenance activity. Last release 8 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install unclecode-litellmIn short
- litellm is the most used: 108.6M downloads a month, 119× more than unclecode-litellm.
- Maintenance is comparable: model-library 92, g4f 90, litellm 89, unclecode-litellm 36 on Pythie’s Index.
- litellm is growing fastest: downloads +15% over the last month.
- model-library is the newcomer: first released Nov 2025.
- Safe default for a new project: litellm.
Side by side
| Metric | g4f | litellm | model-library | unclecode-litellm |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | 89 |