tokencostauto 0.1.85__py3-none-any.whl → 0.1.88__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 +90 -3
- {tokencostauto-0.1.85.dist-info → tokencostauto-0.1.88.dist-info}/METADATA +1 -1
- tokencostauto-0.1.88.dist-info/RECORD +9 -0
- tokencostauto-0.1.85.dist-info/RECORD +0 -9
- {tokencostauto-0.1.85.dist-info → tokencostauto-0.1.88.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.85.dist-info → tokencostauto-0.1.88.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.85.dist-info → tokencostauto-0.1.88.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
@@ -14497,11 +14497,11 @@
|
|
14497
14497
|
"max_tokens": 40000,
|
14498
14498
|
"max_input_tokens": 40000,
|
14499
14499
|
"max_output_tokens": 40000,
|
14500
|
-
"input_cost_per_token":
|
14501
|
-
"output_cost_per_token":
|
14500
|
+
"input_cost_per_token": 5e-07,
|
14501
|
+
"output_cost_per_token": 1.5e-06,
|
14502
14502
|
"litellm_provider": "mistral",
|
14503
14503
|
"mode": "chat",
|
14504
|
-
"source": "https://mistral.ai/
|
14504
|
+
"source": "https://mistral.ai/pricing#api-pricing",
|
14505
14505
|
"supports_function_calling": true,
|
14506
14506
|
"supports_assistant_prefill": true,
|
14507
14507
|
"supports_tool_choice": true,
|
@@ -15080,5 +15080,92 @@
|
|
15080
15080
|
"supported_endpoints": [
|
15081
15081
|
"/v1/audio/transcriptions"
|
15082
15082
|
]
|
15083
|
+
},
|
15084
|
+
"mistral/magistral-medium-latest": {
|
15085
|
+
"max_tokens": 40000,
|
15086
|
+
"max_input_tokens": 40000,
|
15087
|
+
"max_output_tokens": 40000,
|
15088
|
+
"input_cost_per_token": 2e-06,
|
15089
|
+
"output_cost_per_token": 5e-06,
|
15090
|
+
"litellm_provider": "mistral",
|
15091
|
+
"mode": "chat",
|
15092
|
+
"source": "https://mistral.ai/news/magistral",
|
15093
|
+
"supports_function_calling": true,
|
15094
|
+
"supports_assistant_prefill": true,
|
15095
|
+
"supports_tool_choice": true,
|
15096
|
+
"supports_reasoning": true
|
15097
|
+
},
|
15098
|
+
"mistral/magistral-small-latest": {
|
15099
|
+
"max_tokens": 40000,
|
15100
|
+
"max_input_tokens": 40000,
|
15101
|
+
"max_output_tokens": 40000,
|
15102
|
+
"input_cost_per_token": 5e-07,
|
15103
|
+
"output_cost_per_token": 1.5e-06,
|
15104
|
+
"litellm_provider": "mistral",
|
15105
|
+
"mode": "chat",
|
15106
|
+
"source": "https://mistral.ai/pricing#api-pricing",
|
15107
|
+
"supports_function_calling": true,
|
15108
|
+
"supports_assistant_prefill": true,
|
15109
|
+
"supports_tool_choice": true,
|
15110
|
+
"supports_reasoning": true
|
15111
|
+
},
|
15112
|
+
"xai/grok-3-latest": {
|
15113
|
+
"max_tokens": 131072,
|
15114
|
+
"max_input_tokens": 131072,
|
15115
|
+
"max_output_tokens": 131072,
|
15116
|
+
"input_cost_per_token": 3e-06,
|
15117
|
+
"output_cost_per_token": 1.5e-05,
|
15118
|
+
"litellm_provider": "xai",
|
15119
|
+
"mode": "chat",
|
15120
|
+
"supports_function_calling": true,
|
15121
|
+
"supports_tool_choice": true,
|
15122
|
+
"supports_response_schema": false,
|
15123
|
+
"source": "https://x.ai/api#pricing",
|
15124
|
+
"supports_web_search": true
|
15125
|
+
},
|
15126
|
+
"xai/grok-3-mini": {
|
15127
|
+
"max_tokens": 131072,
|
15128
|
+
"max_input_tokens": 131072,
|
15129
|
+
"max_output_tokens": 131072,
|
15130
|
+
"input_cost_per_token": 3e-07,
|
15131
|
+
"output_cost_per_token": 5e-07,
|
15132
|
+
"litellm_provider": "xai",
|
15133
|
+
"mode": "chat",
|
15134
|
+
"supports_function_calling": true,
|
15135
|
+
"supports_tool_choice": true,
|
15136
|
+
"supports_reasoning": true,
|
15137
|
+
"supports_response_schema": false,
|
15138
|
+
"source": "https://x.ai/api#pricing",
|
15139
|
+
"supports_web_search": true
|
15140
|
+
},
|
15141
|
+
"xai/grok-3-mini-latest": {
|
15142
|
+
"max_tokens": 131072,
|
15143
|
+
"max_input_tokens": 131072,
|
15144
|
+
"max_output_tokens": 131072,
|
15145
|
+
"input_cost_per_token": 3e-07,
|
15146
|
+
"output_cost_per_token": 5e-07,
|
15147
|
+
"litellm_provider": "xai",
|
15148
|
+
"mode": "chat",
|
15149
|
+
"supports_function_calling": true,
|
15150
|
+
"supports_tool_choice": true,
|
15151
|
+
"supports_reasoning": true,
|
15152
|
+
"supports_response_schema": false,
|
15153
|
+
"source": "https://x.ai/api#pricing",
|
15154
|
+
"supports_web_search": true
|
15155
|
+
},
|
15156
|
+
"xai/grok-3-mini-fast": {
|
15157
|
+
"max_tokens": 131072,
|
15158
|
+
"max_input_tokens": 131072,
|
15159
|
+
"max_output_tokens": 131072,
|
15160
|
+
"input_cost_per_token": 6e-07,
|
15161
|
+
"output_cost_per_token": 4e-06,
|
15162
|
+
"litellm_provider": "xai",
|
15163
|
+
"mode": "chat",
|
15164
|
+
"supports_function_calling": true,
|
15165
|
+
"supports_tool_choice": true,
|
15166
|
+
"supports_reasoning": true,
|
15167
|
+
"supports_response_schema": false,
|
15168
|
+
"source": "https://x.ai/api#pricing",
|
15169
|
+
"supports_web_search": true
|
15083
15170
|
}
|
15084
15171
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.88
|
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=Pdz8Ce_7u9C-C6805cxuXTP3dfr_-qkq4_CN3hkZi-I,541493
|
5
|
+
tokencostauto-0.1.88.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.88.dist-info/METADATA,sha256=C1y86vWff1guoTZRow4KxSti121-yfFZAsMPUVLjL0Q,204075
|
7
|
+
tokencostauto-0.1.88.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tokencostauto-0.1.88.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.88.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=hY9VfqdJ_szZ8cEj2w7JPOXYxXHqKO8tP7zeAztLb8g,538426
|
5
|
-
tokencostauto-0.1.85.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
-
tokencostauto-0.1.85.dist-info/METADATA,sha256=xUwciLBZ_XQhGQgh9id0OvOy_RiKDadjyEE4yfYXhPg,204075
|
7
|
-
tokencostauto-0.1.85.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
-
tokencostauto-0.1.85.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
-
tokencostauto-0.1.85.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|