tokenator 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tokenator/usage.py CHANGED
@@ -54,7 +54,7 @@ class TokenUsageService:
54
54
  prompt_audio=info.get("input_cost_per_audio_token"),
55
55
  completion_audio=info.get("output_cost_per_audio_token"),
56
56
  prompt_cached_input=info.get("cache_read_input_token_cost") or 0,
57
- prompt_cached_creation=info.get("cache_read_creation_token_cost")
57
+ prompt_cached_creation=info.get("cache_creation_input_token_cost")
58
58
  or 0,
59
59
  )
60
60
  model_costs[model] = rate
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: tokenator
3
- Version: 0.2.0
4
- Summary: Token usage tracking wrapper for LLMs
3
+ Version: 0.2.1
4
+ Summary: Token usage and cost tracking for LLMs
5
5
  License: MIT
6
6
  Author: Ujjwal Maheshwari
7
7
  Author-email: ujjwalm29@gmail.com
@@ -16,9 +16,9 @@ tokenator/openai/client_openai.py,sha256=pbdJ-aZPuJs-7OT1VEv0DW36cCYbRAVKhSQEprx
16
16
  tokenator/openai/stream_interceptors.py,sha256=ez1MnjRZW_rEalv2SIPAvrU9oMD6OJoD9vht-057fDM,5243
17
17
  tokenator/schemas.py,sha256=kBmShqgpQ3W-ILAP1NuCaFgqFplQM4OH0MmJteLqrwI,2371
18
18
  tokenator/state.py,sha256=xdqDC-rlEA88-VgqQqHnAOXQ5pNTpnHcgOtohDIImPY,262
19
- tokenator/usage.py,sha256=7UMh3dIXf588J0TSOk5CK2BqKolTK2Iu6j7MuyFGLBI,25236
19
+ tokenator/usage.py,sha256=ZxTRBpmQZysC9x6WWNiQ4aJvCMywF7LnRKGglxLDF_U,25237
20
20
  tokenator/utils.py,sha256=sLC3UxnPWxTFoxuQjGROQHT_POcOKJ-32p8-E0B7hwo,2438
21
- tokenator-0.2.0.dist-info/LICENSE,sha256=wdG-B6-ODk8RQ4jq5uXSn0w1UWTzCH_MMyvh7AwtGns,1074
22
- tokenator-0.2.0.dist-info/METADATA,sha256=98IYObi9FhHSYr5jGmkaRdEDERllqdP96KRmxBS1l38,7553
23
- tokenator-0.2.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
24
- tokenator-0.2.0.dist-info/RECORD,,
21
+ tokenator-0.2.1.dist-info/LICENSE,sha256=wdG-B6-ODk8RQ4jq5uXSn0w1UWTzCH_MMyvh7AwtGns,1074
22
+ tokenator-0.2.1.dist-info/METADATA,sha256=eIRt34a286YLbSMu6iNbWznPIUZw3XxamRTBvOG-QHw,7554
23
+ tokenator-0.2.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
24
+ tokenator-0.2.1.dist-info/RECORD,,