Comparison
google-genai vs hanzoai vs ogx-client vs portkey-ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
GenAI Python SDK
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install google-genaiThe official Python library for the Hanzo API
Actively maintained. Last release 5 days ago, commits in 24 of the last 26 weeks. A safe choice.
$
pip install hanzoaiOpenAPI-generated Python client for OGX
Actively maintained. Last release 7 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install ogx-clientPython 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
- google-genai is the most used: 169.2M downloads a month, 36× more than portkey-ai.
- Maintenance is comparable: google-genai 92, hanzoai 85, ogx-client 84, portkey-ai 73 on Pythie’s Index.
- portkey-ai is growing fastest: downloads +23% over the last month.
- hanzoai is the newcomer: first released Mar 2025.
- Safe default for a new project: google-genai.
Side by side
| Metric | google-genai | hanzoai | ogx-client | portkey-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 92 | 85 |