# Portkey AI (Python) — card for AI agents

Python SDK for Portkey API providing LLM routing and gateway features.

Category: Model SDKs · PyPI package `portkey-ai` · latest version 2.3.4 (checked 2026-11-01)
Install: `pip install portkey-ai`
License: MIT License (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 34.6 (#3716 of all tools, 67 of 92 in its category)
- Downloads last week: 1,186,811 (as of 2026-11-24), +32.1% over 4 weeks
- GitHub stars: 119 (as of 2026-11-24)
- Last push: 2026-07-23

## Often used with
python-dotenv 100.0%, Requests 100.0%, FastAPI 80.0%, LangChain 80.0%, LangSmith 80.0%, Pydantic 80.0%

## Checked alternatives (same job)
- LiteLLM: https://agentgid.com/tools/litellm/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/portkey-ai-pypi/
- Homepage: https://github.com/Portkey-AI/portkey-python-sdk
- Repository: https://github.com/Portkey-AI/portkey-python-sdk

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
