{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/4"}],"enrichment":{"capability":"Portkey is a Python SDK that wraps OpenAI-compatible APIs to add monitoring, failover, load balancing, caching, and observability without rewriting existing code.","skillfed_tags":["llm-gateway","observability","api-routing"],"use_cases":["Route LLM requests across multiple providers or models to reduce latency and cost via load balancing and semantic caching.","Implement automatic fallback to a secondary model or provider when the primary service is unavailable or slow.","Monitor and debug LLM application behavior with request tracing, custom metadata, and weighted user feedback.","Secure API keys by storing them in Portkey's vault and using disposable virtual keys instead of embedding credentials.","Integrate LLM calls into agent frameworks while retaining Portkey's observability and routing features."],"what_it_does":"Portkey is a Python client for the Portkey API that intercepts calls to OpenAI-compatible LLM providers and adds enterprise features on top. It maintains full API compatibility with the OpenAI SDK pattern, so you can adopt Portkey and immediately gain access to automated failover, load balancing across models, semantic caching, request tracing, and custom metadata tagging\u2014all without rewriting your application logic.\n\nThe package is built on httpx, pydantic, and anyio, enabling both sync and async usage patterns. It supports integrations with agent frameworks and offers virtual key management to keep API credentials secure. Observability features include request logging, tracing, feedback collection, and analytics. The SDK is actively maintained and supports Python 3.8 and later.","worth_installing":"Yes. Portkey is actively maintained, has no known vulnerabilities, and offers genuine value for production LLM applications\u2014especially if you need failover, load balancing, or observability without refactoring existing code. The MIT License is permissive. Install friction is low. The main prerequisite is a Portkey account and API key."},"id":"portkey-ai","links":{"html":"https://skillfed.io/packages/portkey-ai","md":"https://skillfed.io/packages/portkey-ai.md","pypi":"https://pypi.org/project/portkey-ai/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-23","license_spdx":null,"license_treatment":"permissive","name":"portkey-ai","python_support":"supports_current","summary":"Python client library for the Portkey API"},"popularity":{"monthly_downloads":976864,"position":4592,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.3.4"}
