Comparison
g4f vs litellm vs llmx vs model-library
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 1 day 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 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install litellmLLMX: A library for LLM Text Generation
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install llmxModel Library for vals.ai
Actively maintained. Last release 11 days ago, commits in 12 of the last 26 weeks. A safe choice.
pip install model-libraryIn short
- llmx is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- litellm is the most used: 106.7M downloads a month, 729× more than model-library.
- Maintenance is comparable: model-library 90, g4f 90, litellm 89 on Pythie’s Index.
- litellm is growing fastest: downloads +11% 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 | llmx | model-library |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | 89 |