tokencostauto 0.1.397__py3-none-any.whl → 0.1.400__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 +94 -0
- {tokencostauto-0.1.397.dist-info → tokencostauto-0.1.400.dist-info}/METADATA +1 -1
- tokencostauto-0.1.400.dist-info/RECORD +9 -0
- tokencostauto-0.1.397.dist-info/RECORD +0 -9
- {tokencostauto-0.1.397.dist-info → tokencostauto-0.1.400.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.397.dist-info → tokencostauto-0.1.400.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.397.dist-info → tokencostauto-0.1.400.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -32000,5 +32000,99 @@
|
|
|
32000
32000
|
"supports_tool_choice": true,
|
|
32001
32001
|
"supports_vision": true,
|
|
32002
32002
|
"tool_use_system_prompt_tokens": 159
|
|
32003
|
+
},
|
|
32004
|
+
"azure_ai/cohere-rerank-v4.0-pro": {
|
|
32005
|
+
"input_cost_per_query": 0.0025,
|
|
32006
|
+
"input_cost_per_token": 0.0,
|
|
32007
|
+
"litellm_provider": "azure_ai",
|
|
32008
|
+
"max_input_tokens": 32768,
|
|
32009
|
+
"max_output_tokens": 32768,
|
|
32010
|
+
"max_query_tokens": 4096,
|
|
32011
|
+
"max_tokens": 32768,
|
|
32012
|
+
"mode": "rerank",
|
|
32013
|
+
"output_cost_per_token": 0.0
|
|
32014
|
+
},
|
|
32015
|
+
"azure_ai/cohere-rerank-v4.0-fast": {
|
|
32016
|
+
"input_cost_per_query": 0.002,
|
|
32017
|
+
"input_cost_per_token": 0.0,
|
|
32018
|
+
"litellm_provider": "azure_ai",
|
|
32019
|
+
"max_input_tokens": 32768,
|
|
32020
|
+
"max_output_tokens": 32768,
|
|
32021
|
+
"max_query_tokens": 4096,
|
|
32022
|
+
"max_tokens": 32768,
|
|
32023
|
+
"mode": "rerank",
|
|
32024
|
+
"output_cost_per_token": 0.0
|
|
32025
|
+
},
|
|
32026
|
+
"stability/sd3": {
|
|
32027
|
+
"litellm_provider": "stability",
|
|
32028
|
+
"mode": "image_generation",
|
|
32029
|
+
"output_cost_per_image": 0.065,
|
|
32030
|
+
"supported_endpoints": [
|
|
32031
|
+
"/v1/images/generations"
|
|
32032
|
+
]
|
|
32033
|
+
},
|
|
32034
|
+
"stability/sd3-large": {
|
|
32035
|
+
"litellm_provider": "stability",
|
|
32036
|
+
"mode": "image_generation",
|
|
32037
|
+
"output_cost_per_image": 0.065,
|
|
32038
|
+
"supported_endpoints": [
|
|
32039
|
+
"/v1/images/generations"
|
|
32040
|
+
]
|
|
32041
|
+
},
|
|
32042
|
+
"stability/sd3-large-turbo": {
|
|
32043
|
+
"litellm_provider": "stability",
|
|
32044
|
+
"mode": "image_generation",
|
|
32045
|
+
"output_cost_per_image": 0.04,
|
|
32046
|
+
"supported_endpoints": [
|
|
32047
|
+
"/v1/images/generations"
|
|
32048
|
+
]
|
|
32049
|
+
},
|
|
32050
|
+
"stability/sd3-medium": {
|
|
32051
|
+
"litellm_provider": "stability",
|
|
32052
|
+
"mode": "image_generation",
|
|
32053
|
+
"output_cost_per_image": 0.035,
|
|
32054
|
+
"supported_endpoints": [
|
|
32055
|
+
"/v1/images/generations"
|
|
32056
|
+
]
|
|
32057
|
+
},
|
|
32058
|
+
"stability/sd3.5-large": {
|
|
32059
|
+
"litellm_provider": "stability",
|
|
32060
|
+
"mode": "image_generation",
|
|
32061
|
+
"output_cost_per_image": 0.065,
|
|
32062
|
+
"supported_endpoints": [
|
|
32063
|
+
"/v1/images/generations"
|
|
32064
|
+
]
|
|
32065
|
+
},
|
|
32066
|
+
"stability/sd3.5-large-turbo": {
|
|
32067
|
+
"litellm_provider": "stability",
|
|
32068
|
+
"mode": "image_generation",
|
|
32069
|
+
"output_cost_per_image": 0.04,
|
|
32070
|
+
"supported_endpoints": [
|
|
32071
|
+
"/v1/images/generations"
|
|
32072
|
+
]
|
|
32073
|
+
},
|
|
32074
|
+
"stability/sd3.5-medium": {
|
|
32075
|
+
"litellm_provider": "stability",
|
|
32076
|
+
"mode": "image_generation",
|
|
32077
|
+
"output_cost_per_image": 0.035,
|
|
32078
|
+
"supported_endpoints": [
|
|
32079
|
+
"/v1/images/generations"
|
|
32080
|
+
]
|
|
32081
|
+
},
|
|
32082
|
+
"stability/stable-image-ultra": {
|
|
32083
|
+
"litellm_provider": "stability",
|
|
32084
|
+
"mode": "image_generation",
|
|
32085
|
+
"output_cost_per_image": 0.08,
|
|
32086
|
+
"supported_endpoints": [
|
|
32087
|
+
"/v1/images/generations"
|
|
32088
|
+
]
|
|
32089
|
+
},
|
|
32090
|
+
"stability/stable-image-core": {
|
|
32091
|
+
"litellm_provider": "stability",
|
|
32092
|
+
"mode": "image_generation",
|
|
32093
|
+
"output_cost_per_image": 0.03,
|
|
32094
|
+
"supported_endpoints": [
|
|
32095
|
+
"/v1/images/generations"
|
|
32096
|
+
]
|
|
32003
32097
|
}
|
|
32004
32098
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.400
|
|
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=ATldHSLnRtIcAr-7UM4PvIm8CK6uTETDmXqXFZ838Po,1143273
|
|
5
|
+
tokencostauto-0.1.400.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
+
tokencostauto-0.1.400.dist-info/METADATA,sha256=1VkC9GSVMid4DfySdY_-pM66yG23IOhVs3KmU2GqLHI,204076
|
|
7
|
+
tokencostauto-0.1.400.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
tokencostauto-0.1.400.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
+
tokencostauto-0.1.400.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=sp6s3KKEr8vaFjsBCvd4MvE0CDlmrVRaRKgJyAkOgI4,1140425
|
|
5
|
-
tokencostauto-0.1.397.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.397.dist-info/METADATA,sha256=ltpLzWZ0DKlFlKw7v4hH-b_NKAAjMKsZfBLbADuTgCs,204076
|
|
7
|
-
tokencostauto-0.1.397.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
tokencostauto-0.1.397.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.397.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|