Tokencost

Latest version: v0.1.17

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

Scan your dependencies

Page 3 of 4

0.1.4

What's Changed
* update pyproject and init by areibman in https://github.com/AgentOps-AI/tokencost/pull/32
* fix bug by areibman in https://github.com/AgentOps-AI/tokencost/pull/33


**Full Changelog**: https://github.com/AgentOps-AI/tokencost/compare/0.1.3...0.1.4

0.1.3

What's Changed
* updated table by areibman in https://github.com/AgentOps-AI/tokencost/pull/30
* Updated TOKEN_COSTS so that the latest prices are pulled on init.
* Added updater function to fetch latest prices

**Full Changelog**: https://github.com/AgentOps-AI/tokencost/compare/0.1.2...0.1.3

0.1.2

What's Changed
* Fix finetuned gpt3.5 price (Feb 2024) by oulianov in https://github.com/AgentOps-AI/tokencost/pull/27

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

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

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

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.