tokencostauto 0.1.476__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 +95 -5
- {tokencostauto-0.1.476.dist-info → tokencostauto-0.1.478.dist-info}/METADATA +1 -1
- tokencostauto-0.1.478.dist-info/RECORD +9 -0
- tokencostauto-0.1.476.dist-info/RECORD +0 -9
- {tokencostauto-0.1.476.dist-info → tokencostauto-0.1.478.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.476.dist-info → tokencostauto-0.1.478.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.476.dist-info → tokencostauto-0.1.478.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -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": [
|
|
@@ -36237,5 +36237,95 @@
|
|
|
36237
36237
|
"supports_vision": true,
|
|
36238
36238
|
"supports_prompt_caching": false,
|
|
36239
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
|
|
36240
36330
|
}
|
|
36241
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=HlCkleOggNiqxUOJHa3IzCQo8d_wWJz60Opm6Y_2Vao,1285403
|
|
5
|
-
tokencostauto-0.1.476.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.476.dist-info/METADATA,sha256=oRVheuCeQ6nhEKKvfTm2OEZRXnYUx5HtEf1IEi7GPO4,204076
|
|
7
|
-
tokencostauto-0.1.476.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
8
|
-
tokencostauto-0.1.476.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.476.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|