tokencostauto 0.1.474__py3-none-any.whl → 0.1.478__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 +165 -10
- {tokencostauto-0.1.474.dist-info → tokencostauto-0.1.478.dist-info}/METADATA +1 -1
- tokencostauto-0.1.478.dist-info/RECORD +9 -0
- tokencostauto-0.1.474.dist-info/RECORD +0 -9
- {tokencostauto-0.1.474.dist-info → tokencostauto-0.1.478.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.474.dist-info → tokencostauto-0.1.478.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.474.dist-info → tokencostauto-0.1.478.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -18701,7 +18701,7 @@
|
|
|
18701
18701
|
"supports_reasoning": true,
|
|
18702
18702
|
"supports_response_schema": true,
|
|
18703
18703
|
"supports_system_messages": true,
|
|
18704
|
-
"supports_tool_choice":
|
|
18704
|
+
"supports_tool_choice": true,
|
|
18705
18705
|
"supports_vision": true
|
|
18706
18706
|
},
|
|
18707
18707
|
"azure/gpt-5-chat-latest": {
|
|
@@ -18733,7 +18733,7 @@
|
|
|
18733
18733
|
"supports_reasoning": true,
|
|
18734
18734
|
"supports_response_schema": true,
|
|
18735
18735
|
"supports_system_messages": true,
|
|
18736
|
-
"supports_tool_choice":
|
|
18736
|
+
"supports_tool_choice": true,
|
|
18737
18737
|
"supports_vision": true
|
|
18738
18738
|
},
|
|
18739
18739
|
"groq/openai/gpt-oss-20b": {
|
|
@@ -35510,7 +35510,7 @@
|
|
|
35510
35510
|
"input_cost_per_token": 1.75e-06,
|
|
35511
35511
|
"input_cost_per_token_priority": 3.5e-06,
|
|
35512
35512
|
"litellm_provider": "openai",
|
|
35513
|
-
"max_input_tokens":
|
|
35513
|
+
"max_input_tokens": 272000,
|
|
35514
35514
|
"max_output_tokens": 128000,
|
|
35515
35515
|
"max_tokens": 128000,
|
|
35516
35516
|
"mode": "responses",
|
|
@@ -35541,7 +35541,7 @@
|
|
|
35541
35541
|
"cache_read_input_token_cost": 1.75e-07,
|
|
35542
35542
|
"input_cost_per_token": 1.75e-06,
|
|
35543
35543
|
"litellm_provider": "openrouter",
|
|
35544
|
-
"max_input_tokens":
|
|
35544
|
+
"max_input_tokens": 272000,
|
|
35545
35545
|
"max_output_tokens": 128000,
|
|
35546
35546
|
"max_tokens": 128000,
|
|
35547
35547
|
"mode": "responses",
|
|
@@ -35563,9 +35563,9 @@
|
|
|
35563
35563
|
"cache_read_input_token_cost": 1.75e-07,
|
|
35564
35564
|
"input_cost_per_token": 1.75e-06,
|
|
35565
35565
|
"litellm_provider": "azure",
|
|
35566
|
-
"max_input_tokens":
|
|
35567
|
-
"max_output_tokens":
|
|
35568
|
-
"max_tokens":
|
|
35566
|
+
"max_input_tokens": 272000,
|
|
35567
|
+
"max_output_tokens": 128000,
|
|
35568
|
+
"max_tokens": 128000,
|
|
35569
35569
|
"mode": "responses",
|
|
35570
35570
|
"output_cost_per_token": 1.4e-05,
|
|
35571
35571
|
"supported_endpoints": [
|
|
@@ -36103,7 +36103,7 @@
|
|
|
36103
36103
|
"cache_read_input_token_cost": 0,
|
|
36104
36104
|
"input_cost_per_token": 3e-07,
|
|
36105
36105
|
"input_cost_per_audio_token": 1e-06,
|
|
36106
|
-
"litellm_provider": "
|
|
36106
|
+
"litellm_provider": "vertex_ai-language-models",
|
|
36107
36107
|
"max_input_tokens": 1048576,
|
|
36108
36108
|
"max_output_tokens": 65535,
|
|
36109
36109
|
"max_tokens": 65535,
|
|
@@ -36133,8 +36133,7 @@
|
|
|
36133
36133
|
"supports_system_messages": true,
|
|
36134
36134
|
"supports_tool_choice": true,
|
|
36135
36135
|
"supports_url_context": true,
|
|
36136
|
-
"supports_vision": true
|
|
36137
|
-
"supports_web_search": true
|
|
36136
|
+
"supports_vision": true
|
|
36138
36137
|
},
|
|
36139
36138
|
"gemini/gemini-robotics-er-1.5-preview": {
|
|
36140
36139
|
"cache_read_input_token_cost": 0,
|
|
@@ -36172,5 +36171,161 @@
|
|
|
36172
36171
|
"supports_url_context": true,
|
|
36173
36172
|
"supports_vision": true,
|
|
36174
36173
|
"supports_web_search": true
|
|
36174
|
+
},
|
|
36175
|
+
"openrouter/xiaomi/mimo-v2-flash": {
|
|
36176
|
+
"input_cost_per_token": 9e-08,
|
|
36177
|
+
"output_cost_per_token": 2.9e-07,
|
|
36178
|
+
"cache_creation_input_token_cost": 0.0,
|
|
36179
|
+
"cache_read_input_token_cost": 0.0,
|
|
36180
|
+
"litellm_provider": "openrouter",
|
|
36181
|
+
"max_input_tokens": 262144,
|
|
36182
|
+
"max_output_tokens": 16384,
|
|
36183
|
+
"max_tokens": 16384,
|
|
36184
|
+
"mode": "chat",
|
|
36185
|
+
"supports_function_calling": true,
|
|
36186
|
+
"supports_tool_choice": true,
|
|
36187
|
+
"supports_reasoning": true,
|
|
36188
|
+
"supports_vision": false,
|
|
36189
|
+
"supports_prompt_caching": false
|
|
36190
|
+
},
|
|
36191
|
+
"openrouter/z-ai/glm-4.7": {
|
|
36192
|
+
"input_cost_per_token": 4e-07,
|
|
36193
|
+
"output_cost_per_token": 1.5e-06,
|
|
36194
|
+
"cache_creation_input_token_cost": 0.0,
|
|
36195
|
+
"cache_read_input_token_cost": 0.0,
|
|
36196
|
+
"litellm_provider": "openrouter",
|
|
36197
|
+
"max_input_tokens": 202752,
|
|
36198
|
+
"max_output_tokens": 64000,
|
|
36199
|
+
"max_tokens": 64000,
|
|
36200
|
+
"mode": "chat",
|
|
36201
|
+
"supports_function_calling": true,
|
|
36202
|
+
"supports_tool_choice": true,
|
|
36203
|
+
"supports_reasoning": true,
|
|
36204
|
+
"supports_vision": true,
|
|
36205
|
+
"supports_prompt_caching": false,
|
|
36206
|
+
"supports_assistant_prefill": true
|
|
36207
|
+
},
|
|
36208
|
+
"openrouter/z-ai/glm-4.7-flash": {
|
|
36209
|
+
"input_cost_per_token": 7e-08,
|
|
36210
|
+
"output_cost_per_token": 4e-07,
|
|
36211
|
+
"cache_creation_input_token_cost": 0.0,
|
|
36212
|
+
"cache_read_input_token_cost": 0.0,
|
|
36213
|
+
"litellm_provider": "openrouter",
|
|
36214
|
+
"max_input_tokens": 200000,
|
|
36215
|
+
"max_output_tokens": 32000,
|
|
36216
|
+
"max_tokens": 32000,
|
|
36217
|
+
"mode": "chat",
|
|
36218
|
+
"supports_function_calling": true,
|
|
36219
|
+
"supports_tool_choice": true,
|
|
36220
|
+
"supports_reasoning": true,
|
|
36221
|
+
"supports_vision": true,
|
|
36222
|
+
"supports_prompt_caching": false
|
|
36223
|
+
},
|
|
36224
|
+
"openrouter/minimax/minimax-m2.1": {
|
|
36225
|
+
"input_cost_per_token": 2.7e-07,
|
|
36226
|
+
"output_cost_per_token": 1.2e-06,
|
|
36227
|
+
"cache_creation_input_token_cost": 0.0,
|
|
36228
|
+
"cache_read_input_token_cost": 0.0,
|
|
36229
|
+
"litellm_provider": "openrouter",
|
|
36230
|
+
"max_input_tokens": 204000,
|
|
36231
|
+
"max_output_tokens": 64000,
|
|
36232
|
+
"max_tokens": 64000,
|
|
36233
|
+
"mode": "chat",
|
|
36234
|
+
"supports_function_calling": true,
|
|
36235
|
+
"supports_tool_choice": true,
|
|
36236
|
+
"supports_reasoning": true,
|
|
36237
|
+
"supports_vision": true,
|
|
36238
|
+
"supports_prompt_caching": false,
|
|
36239
|
+
"supports_computer_use": false
|
|
36240
|
+
},
|
|
36241
|
+
"amazon.nova-2-pro-preview-20251202-v1:0": {
|
|
36242
|
+
"cache_read_input_token_cost": 5.46875e-07,
|
|
36243
|
+
"input_cost_per_token": 2.1875e-06,
|
|
36244
|
+
"input_cost_per_image_token": 2.1875e-06,
|
|
36245
|
+
"input_cost_per_audio_token": 2.1875e-06,
|
|
36246
|
+
"litellm_provider": "bedrock_converse",
|
|
36247
|
+
"max_input_tokens": 1000000,
|
|
36248
|
+
"max_output_tokens": 64000,
|
|
36249
|
+
"max_tokens": 64000,
|
|
36250
|
+
"mode": "chat",
|
|
36251
|
+
"output_cost_per_token": 1.75e-05,
|
|
36252
|
+
"supports_function_calling": true,
|
|
36253
|
+
"supports_pdf_input": true,
|
|
36254
|
+
"supports_prompt_caching": true,
|
|
36255
|
+
"supports_reasoning": true,
|
|
36256
|
+
"supports_response_schema": true,
|
|
36257
|
+
"supports_video_input": true,
|
|
36258
|
+
"supports_vision": true
|
|
36259
|
+
},
|
|
36260
|
+
"apac.amazon.nova-2-pro-preview-20251202-v1:0": {
|
|
36261
|
+
"cache_read_input_token_cost": 5.46875e-07,
|
|
36262
|
+
"input_cost_per_token": 2.1875e-06,
|
|
36263
|
+
"input_cost_per_image_token": 2.1875e-06,
|
|
36264
|
+
"input_cost_per_audio_token": 2.1875e-06,
|
|
36265
|
+
"litellm_provider": "bedrock_converse",
|
|
36266
|
+
"max_input_tokens": 1000000,
|
|
36267
|
+
"max_output_tokens": 64000,
|
|
36268
|
+
"max_tokens": 64000,
|
|
36269
|
+
"mode": "chat",
|
|
36270
|
+
"output_cost_per_token": 1.75e-05,
|
|
36271
|
+
"supports_function_calling": true,
|
|
36272
|
+
"supports_pdf_input": true,
|
|
36273
|
+
"supports_prompt_caching": true,
|
|
36274
|
+
"supports_reasoning": true,
|
|
36275
|
+
"supports_response_schema": true,
|
|
36276
|
+
"supports_video_input": true,
|
|
36277
|
+
"supports_vision": true
|
|
36278
|
+
},
|
|
36279
|
+
"eu.amazon.nova-2-pro-preview-20251202-v1:0": {
|
|
36280
|
+
"cache_read_input_token_cost": 5.46875e-07,
|
|
36281
|
+
"input_cost_per_token": 2.1875e-06,
|
|
36282
|
+
"input_cost_per_image_token": 2.1875e-06,
|
|
36283
|
+
"input_cost_per_audio_token": 2.1875e-06,
|
|
36284
|
+
"litellm_provider": "bedrock_converse",
|
|
36285
|
+
"max_input_tokens": 1000000,
|
|
36286
|
+
"max_output_tokens": 64000,
|
|
36287
|
+
"max_tokens": 64000,
|
|
36288
|
+
"mode": "chat",
|
|
36289
|
+
"output_cost_per_token": 1.75e-05,
|
|
36290
|
+
"supports_function_calling": true,
|
|
36291
|
+
"supports_pdf_input": true,
|
|
36292
|
+
"supports_prompt_caching": true,
|
|
36293
|
+
"supports_reasoning": true,
|
|
36294
|
+
"supports_response_schema": true,
|
|
36295
|
+
"supports_video_input": true,
|
|
36296
|
+
"supports_vision": true
|
|
36297
|
+
},
|
|
36298
|
+
"us.amazon.nova-2-pro-preview-20251202-v1:0": {
|
|
36299
|
+
"cache_read_input_token_cost": 5.46875e-07,
|
|
36300
|
+
"input_cost_per_token": 2.1875e-06,
|
|
36301
|
+
"input_cost_per_image_token": 2.1875e-06,
|
|
36302
|
+
"input_cost_per_audio_token": 2.1875e-06,
|
|
36303
|
+
"litellm_provider": "bedrock_converse",
|
|
36304
|
+
"max_input_tokens": 1000000,
|
|
36305
|
+
"max_output_tokens": 64000,
|
|
36306
|
+
"max_tokens": 64000,
|
|
36307
|
+
"mode": "chat",
|
|
36308
|
+
"output_cost_per_token": 1.75e-05,
|
|
36309
|
+
"supports_function_calling": true,
|
|
36310
|
+
"supports_pdf_input": true,
|
|
36311
|
+
"supports_prompt_caching": true,
|
|
36312
|
+
"supports_reasoning": true,
|
|
36313
|
+
"supports_response_schema": true,
|
|
36314
|
+
"supports_video_input": true,
|
|
36315
|
+
"supports_vision": true
|
|
36316
|
+
},
|
|
36317
|
+
"openrouter/moonshotai/kimi-k2.5": {
|
|
36318
|
+
"cache_read_input_token_cost": 1e-07,
|
|
36319
|
+
"input_cost_per_token": 6e-07,
|
|
36320
|
+
"litellm_provider": "openrouter",
|
|
36321
|
+
"max_input_tokens": 262144,
|
|
36322
|
+
"max_output_tokens": 262144,
|
|
36323
|
+
"max_tokens": 262144,
|
|
36324
|
+
"mode": "chat",
|
|
36325
|
+
"output_cost_per_token": 3e-06,
|
|
36326
|
+
"source": "https://openrouter.ai/moonshotai/kimi-k2.5",
|
|
36327
|
+
"supports_function_calling": true,
|
|
36328
|
+
"supports_tool_choice": true,
|
|
36329
|
+
"supports_vision": true
|
|
36175
36330
|
}
|
|
36176
36331
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.478
|
|
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=TEy3Yn12zsBjWZzPIqDftdtpSgI5Y0wY3Bj5awJP0Y8,1288883
|
|
5
|
+
tokencostauto-0.1.478.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
+
tokencostauto-0.1.478.dist-info/METADATA,sha256=DozLigG_LUudKYXacj7bINhdEf56pPnjE8YENbDzyI4,204076
|
|
7
|
+
tokencostauto-0.1.478.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
+
tokencostauto-0.1.478.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
+
tokencostauto-0.1.478.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=Hqh2ELFdhlXAT86U6PBDxz0AD5q5whng7XexCTJEj2o,1283032
|
|
5
|
-
tokencostauto-0.1.474.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.474.dist-info/METADATA,sha256=MWWNFA0eB6lSWGqowD0hV8C3bwBwWTcbG0ztQdi_IEA,204076
|
|
7
|
-
tokencostauto-0.1.474.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
-
tokencostauto-0.1.474.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.474.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|