Trending / Packages / PyPI

tokencost

PyPI

To calculate token and translated USD cost of string and message calls to OpenAI, for example when used by AI agents

Latest v0.1.26 · Aug 13, 202595.2K downloads · 30d

Downloads

Daily downloads

PyPI · excludes known mirrors

downloads3.8K
01.5K3.1K4.6K6.1KOct 5Oct 19Nov 3
Oct 30

Linked repositories

##RepositoryRepositoryConnectionConnection
1AgentOps-AI/tokencostRegistry metadata

Recent releases

VersionPublished
0.1.26Aug 13, 2025
0.1.25Jul 22, 2025
0.1.24Jun 24, 2025
0.1.23Jun 9, 2025
0.1.22May 23, 2025

Metadata updated Oct 31, 2026 · Downloads updated Oct 31, 2026

Download counts include automated and repeat installs. Gaps indicate missing observations.