{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/21"}],"enrichment":{"capability":"Paid is a Python SDK for integrating billing, subscriptions, and cost tracking into AI agent applications via the Paid API, with built-in OpenTelemetry instrumentation for tracking AI provider costs.","skillfed_tags":["ai-agent-billing","opentelemetry-instrumentation","cost-tracking"],"use_cases":["Track AI API costs in real time for multi-tenant SaaS applications serving AI agents, attributing usage to specific customers.","Implement usage-based billing for agent workflows by wrapping agent functions with @paid_tracing and querying traces by customer metadata.","Monitor and cap spending on AI provider calls (OpenAI, Anthropic, etc.) by collecting cost telemetry through OpenTelemetry without modifying provider SDK calls.","Build a customer management and subscription renewal system for AI agent products using the Paid API client.","Route cost traces to a custom OpenTelemetry collector endpoint for integration with existing observability infrastructure."],"what_it_does":"Paid is a Python client library for the Paid API, designed to handle billing, subscriptions, pricing, and cost tracking for AI agent applications. It provides a straightforward REST client interface for managing customers and subscriptions, plus an optional OpenTelemetry tracing layer that automatically instruments calls to major AI providers (OpenAI, Anthropic, Bedrock, Cohere, Google GenAI, and others) to capture and report usage costs.\n\nThe package is built around two main workflows: direct API calls for customer and subscription management, and decorator-based or context-manager-based cost tracking that wraps your agent logic. It pulls in a large set of instrumentation libraries as dependencies\u2014one for each supported AI provider\u2014which means you get automatic tracing integration without writing wrapper code. Configuration is handled via environment variables or constructor parameters, and the library gracefully falls back to normal execution if tracing fails.","worth_installing":"Yes, if you are building a monetized or multi-tenant AI agent platform and need integrated billing and cost tracking. The low install friction, active maintenance, and automatic instrumentation of major AI providers make it a practical choice. However, verify the license terms before committing to production use, and confirm that the 18 runtime dependencies align with your environment's constraints and update cadence."},"id":"paid-python","links":{"html":"https://skillfed.io/packages/paid-python","md":"https://skillfed.io/packages/paid-python.md","pypi":"https://pypi.org/project/paid-python/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-07","license_spdx":null,"license_treatment":"unclear","name":"paid-python","python_support":"supports_current","summary":null},"popularity":{"monthly_downloads":80636,"position":14279,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.11.0"}
