tokencostauto 0.1.34__py3-none-any.whl → 0.1.36__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.
- tokencostauto/model_prices.json +17 -2
- {tokencostauto-0.1.34.dist-info → tokencostauto-0.1.36.dist-info}/METADATA +1 -1
- tokencostauto-0.1.36.dist-info/RECORD +9 -0
- {tokencostauto-0.1.34.dist-info → tokencostauto-0.1.36.dist-info}/WHEEL +1 -1
- tokencostauto-0.1.34.dist-info/RECORD +0 -9
- {tokencostauto-0.1.34.dist-info → tokencostauto-0.1.36.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.34.dist-info → tokencostauto-0.1.36.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
@@ -1709,7 +1709,8 @@
|
|
1709
1709
|
"input_cost_per_token": 5e-08,
|
1710
1710
|
"output_cost_per_token": 8e-08,
|
1711
1711
|
"litellm_provider": "groq",
|
1712
|
-
"mode": "chat"
|
1712
|
+
"mode": "chat",
|
1713
|
+
"supports_tool_choice": true
|
1713
1714
|
},
|
1714
1715
|
"groq/llama3-70b-8192": {
|
1715
1716
|
"max_tokens": 8192,
|
@@ -1718,7 +1719,9 @@
|
|
1718
1719
|
"input_cost_per_token": 5.9e-07,
|
1719
1720
|
"output_cost_per_token": 7.9e-07,
|
1720
1721
|
"litellm_provider": "groq",
|
1721
|
-
"mode": "chat"
|
1722
|
+
"mode": "chat",
|
1723
|
+
"supports_response_schema": true,
|
1724
|
+
"supports_tool_choice": true
|
1722
1725
|
},
|
1723
1726
|
"groq/llama-3.1-8b-instant": {
|
1724
1727
|
"max_tokens": 8192,
|
@@ -4833,6 +4836,8 @@
|
|
4833
4836
|
"max_output_tokens": 8192,
|
4834
4837
|
"input_cost_per_token": 3e-06,
|
4835
4838
|
"output_cost_per_token": 1.5e-05,
|
4839
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
4840
|
+
"cache_read_input_token_cost": 3e-07,
|
4836
4841
|
"litellm_provider": "bedrock",
|
4837
4842
|
"mode": "chat",
|
4838
4843
|
"supports_function_calling": true,
|
@@ -4915,6 +4920,8 @@
|
|
4915
4920
|
"max_output_tokens": 8192,
|
4916
4921
|
"input_cost_per_token": 3e-06,
|
4917
4922
|
"output_cost_per_token": 1.5e-05,
|
4923
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
4924
|
+
"cache_read_input_token_cost": 3e-07,
|
4918
4925
|
"litellm_provider": "bedrock",
|
4919
4926
|
"mode": "chat",
|
4920
4927
|
"supports_function_calling": true,
|
@@ -7576,6 +7583,8 @@
|
|
7576
7583
|
"max_output_tokens": 8192,
|
7577
7584
|
"input_cost_per_token": 8e-07,
|
7578
7585
|
"output_cost_per_token": 4e-06,
|
7586
|
+
"cache_creation_input_token_cost": 1e-06,
|
7587
|
+
"cache_read_input_token_cost": 8e-08,
|
7579
7588
|
"litellm_provider": "bedrock",
|
7580
7589
|
"mode": "chat",
|
7581
7590
|
"supports_assistant_prefill": true,
|
@@ -7591,6 +7600,8 @@
|
|
7591
7600
|
"max_output_tokens": 8192,
|
7592
7601
|
"input_cost_per_token": 8e-07,
|
7593
7602
|
"output_cost_per_token": 4e-06,
|
7603
|
+
"cache_creation_input_token_cost": 1e-06,
|
7604
|
+
"cache_read_input_token_cost": 8e-08,
|
7594
7605
|
"litellm_provider": "bedrock",
|
7595
7606
|
"mode": "chat",
|
7596
7607
|
"supports_assistant_prefill": true,
|
@@ -9750,6 +9761,8 @@
|
|
9750
9761
|
"max_output_tokens": 8192,
|
9751
9762
|
"input_cost_per_token": 3e-06,
|
9752
9763
|
"output_cost_per_token": 1.5e-05,
|
9764
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
9765
|
+
"cache_read_input_token_cost": 3e-07,
|
9753
9766
|
"litellm_provider": "bedrock_converse",
|
9754
9767
|
"mode": "chat",
|
9755
9768
|
"supports_function_calling": true,
|
@@ -9767,6 +9780,8 @@
|
|
9767
9780
|
"max_output_tokens": 8192,
|
9768
9781
|
"input_cost_per_token": 3e-06,
|
9769
9782
|
"output_cost_per_token": 1.5e-05,
|
9783
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
9784
|
+
"cache_read_input_token_cost": 3e-07,
|
9770
9785
|
"litellm_provider": "bedrock_converse",
|
9771
9786
|
"mode": "chat",
|
9772
9787
|
"supports_function_calling": true,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.36
|
4
4
|
Summary: To calculate token and translated USD cost of string and message calls to OpenAI, for example when used by AI agents
|
5
5
|
Author-email: Trisha Pan <trishaepan@gmail.com>, Alex Reibman <areibman@gmail.com>, Pratyush Shukla <ps4534@nyu.edu>, Thiago MadPin <madpin@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/madpin/tokencostaudo
|
@@ -0,0 +1,9 @@
|
|
1
|
+
tokencostauto/__init__.py,sha256=-4d_ryFH62SgNXPXA8vGPFZoAKtOBjnsg37EB_RkZG8,289
|
2
|
+
tokencostauto/constants.py,sha256=_82MlTkTrdrwzyRosQD7d3JdgNP9KAUM-cZo8DE00P0,3395
|
3
|
+
tokencostauto/costs.py,sha256=tXsgrTypq-dCHaHtoXcg2XepezWsAvZpl9gEsv_53iE,10679
|
4
|
+
tokencostauto/model_prices.json,sha256=IfB7ljbvSmUnNwspj8ycEF-JcZQ0me-pHZBedcDgTOc,474626
|
5
|
+
tokencostauto-0.1.36.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.36.dist-info/METADATA,sha256=EmIN0GJwGVjsTPddEaVjWWesEr9WHc9gwJ_kUNTmHC4,204075
|
7
|
+
tokencostauto-0.1.36.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
8
|
+
tokencostauto-0.1.36.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.36.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
tokencostauto/__init__.py,sha256=-4d_ryFH62SgNXPXA8vGPFZoAKtOBjnsg37EB_RkZG8,289
|
2
|
-
tokencostauto/constants.py,sha256=_82MlTkTrdrwzyRosQD7d3JdgNP9KAUM-cZo8DE00P0,3395
|
3
|
-
tokencostauto/costs.py,sha256=tXsgrTypq-dCHaHtoXcg2XepezWsAvZpl9gEsv_53iE,10679
|
4
|
-
tokencostauto/model_prices.json,sha256=MObPkJtQQYPMm9Y8pggd_4IsEgnVYSgoCd2G7E5-ryc,473920
|
5
|
-
tokencostauto-0.1.34.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
-
tokencostauto-0.1.34.dist-info/METADATA,sha256=zllg5W3Gmp4Vp3Bi0InKmaorQMF0qcEqNS13GFPMIhc,204075
|
7
|
-
tokencostauto-0.1.34.dist-info/WHEEL,sha256=QZxptf4Y1BKFRCEDxD4h2V0mBFQOVFLFEpvxHmIs52A,91
|
8
|
-
tokencostauto-0.1.34.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
-
tokencostauto-0.1.34.dist-info/RECORD,,
|
File without changes
|
File without changes
|