PyPI Stats

Search

All packages
Top packages

Track packages

tokencost


PyPI page
Home page
Author: None
Summary: To calculate token and translated USD cost of string and message calls to OpenAI, for example when used by AI agents
Latest version: 0.1.26
Required dependencies: aiohttp | anthropic | tiktoken
Optional dependencies: coverage | flake8 | pandas | pytest | python-dotenv | tabulate | tach

Downloads last day: 14,083
Downloads last week: 94,021
Downloads last month: 382,292