Tokencost

Latest version: v0.1.20

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

0.1.1

What's Changed
* added calculate_cost_by_tokens - the case when token count is available by nikilp in https://github.com/AgentOps-AI/tokencost/pull/25

New Contributors
* nikilp made their first contribution in https://github.com/AgentOps-AI/tokencost/pull/25

**Full Changelog**: https://github.com/AgentOps-AI/tokencost/compare/0.1.0...0.1.1

0.1.0

What's Changed
Prices are no longer represented in TPUs. Rather, they are in Decimal units, as typed by the bulit-in decimal module

* Updated pricing Jan 26, 2024 by areibman in https://github.com/AgentOps-AI/tokencost/pull/21
* 23 update pricing to decimals by areibman in https://github.com/AgentOps-AI/tokencost/pull/24


**Full Changelog**: https://github.com/AgentOps-AI/tokencost/compare/0.0.5...0.1.0

0.0.5

What's Changed
* 17 use litellms cost dictionary by areibman in https://github.com/AgentOps-AI/tokencost/pull/18
* Add LlamaIndex callback handler by areibman in https://github.com/AgentOps-AI/tokencost/pull/19

New Contributors
* areibman made their first contribution in https://github.com/AgentOps-AI/tokencost/pull/18

**Full Changelog**: https://github.com/AgentOps-AI/tokencost/compare/0.0.2...0.0.3

0.0.2

0.0.1

Page 4 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.