Comparison
any-llm-sdk vs g4f vs model-library vs portkey-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 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install g4fModel Library for vals.ai
Actively maintained. Last release 13 days ago, commits in 13 of the last 26 weeks. A safe choice.
$
pip install model-libraryPython 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
- portkey-ai is the most used: 4.7M downloads a month, 19× more than any-llm-sdk.
- model-library is better maintained: Pythie’s Index 92 against 73.
- portkey-ai is growing fastest: downloads +23% over the last month.
- model-library is the newcomer: first released Nov 2025.
- Safe default for a new project: portkey-ai, or model-library if active maintenance matters most.
Side by side
| Metric | any-llm-sdk | g4f | model-library | portkey-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 92 | 90 |