tokencostauto 0.1.72__py3-none-any.whl → 0.1.75__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 +158 -20
- {tokencostauto-0.1.72.dist-info → tokencostauto-0.1.75.dist-info}/METADATA +1 -1
- tokencostauto-0.1.75.dist-info/RECORD +9 -0
- tokencostauto-0.1.72.dist-info/RECORD +0 -9
- {tokencostauto-0.1.72.dist-info → tokencostauto-0.1.75.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.72.dist-info → tokencostauto-0.1.75.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.72.dist-info → tokencostauto-0.1.75.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
@@ -8561,9 +8561,9 @@
|
|
8561
8561
|
"supports_tool_choice": true
|
8562
8562
|
},
|
8563
8563
|
"amazon.nova-micro-v1:0": {
|
8564
|
-
"max_tokens":
|
8564
|
+
"max_tokens": 10000,
|
8565
8565
|
"max_input_tokens": 300000,
|
8566
|
-
"max_output_tokens":
|
8566
|
+
"max_output_tokens": 10000,
|
8567
8567
|
"input_cost_per_token": 3.5e-08,
|
8568
8568
|
"output_cost_per_token": 1.4e-07,
|
8569
8569
|
"litellm_provider": "bedrock_converse",
|
@@ -8573,9 +8573,9 @@
|
|
8573
8573
|
"supports_response_schema": true
|
8574
8574
|
},
|
8575
8575
|
"amazon.nova-lite-v1:0": {
|
8576
|
-
"max_tokens":
|
8576
|
+
"max_tokens": 10000,
|
8577
8577
|
"max_input_tokens": 128000,
|
8578
|
-
"max_output_tokens":
|
8578
|
+
"max_output_tokens": 10000,
|
8579
8579
|
"input_cost_per_token": 6e-08,
|
8580
8580
|
"output_cost_per_token": 2.4e-07,
|
8581
8581
|
"litellm_provider": "bedrock_converse",
|
@@ -8587,9 +8587,9 @@
|
|
8587
8587
|
"supports_response_schema": true
|
8588
8588
|
},
|
8589
8589
|
"amazon.nova-pro-v1:0": {
|
8590
|
-
"max_tokens":
|
8590
|
+
"max_tokens": 10000,
|
8591
8591
|
"max_input_tokens": 300000,
|
8592
|
-
"max_output_tokens":
|
8592
|
+
"max_output_tokens": 10000,
|
8593
8593
|
"input_cost_per_token": 8e-07,
|
8594
8594
|
"output_cost_per_token": 3.2e-06,
|
8595
8595
|
"litellm_provider": "bedrock_converse",
|
@@ -9374,9 +9374,9 @@
|
|
9374
9374
|
"mode": "chat"
|
9375
9375
|
},
|
9376
9376
|
"us.amazon.nova-micro-v1:0": {
|
9377
|
-
"max_tokens":
|
9377
|
+
"max_tokens": 10000,
|
9378
9378
|
"max_input_tokens": 300000,
|
9379
|
-
"max_output_tokens":
|
9379
|
+
"max_output_tokens": 10000,
|
9380
9380
|
"input_cost_per_token": 3.5e-08,
|
9381
9381
|
"output_cost_per_token": 1.4e-07,
|
9382
9382
|
"litellm_provider": "bedrock_converse",
|
@@ -9386,9 +9386,9 @@
|
|
9386
9386
|
"supports_response_schema": true
|
9387
9387
|
},
|
9388
9388
|
"us.amazon.nova-lite-v1:0": {
|
9389
|
-
"max_tokens":
|
9389
|
+
"max_tokens": 10000,
|
9390
9390
|
"max_input_tokens": 128000,
|
9391
|
-
"max_output_tokens":
|
9391
|
+
"max_output_tokens": 10000,
|
9392
9392
|
"input_cost_per_token": 6e-08,
|
9393
9393
|
"output_cost_per_token": 2.4e-07,
|
9394
9394
|
"litellm_provider": "bedrock_converse",
|
@@ -9400,9 +9400,9 @@
|
|
9400
9400
|
"supports_response_schema": true
|
9401
9401
|
},
|
9402
9402
|
"us.amazon.nova-pro-v1:0": {
|
9403
|
-
"max_tokens":
|
9403
|
+
"max_tokens": 10000,
|
9404
9404
|
"max_input_tokens": 300000,
|
9405
|
-
"max_output_tokens":
|
9405
|
+
"max_output_tokens": 10000,
|
9406
9406
|
"input_cost_per_token": 8e-07,
|
9407
9407
|
"output_cost_per_token": 3.2e-06,
|
9408
9408
|
"litellm_provider": "bedrock_converse",
|
@@ -10452,9 +10452,9 @@
|
|
10452
10452
|
"supports_tool_choice": true
|
10453
10453
|
},
|
10454
10454
|
"eu.amazon.nova-micro-v1:0": {
|
10455
|
-
"max_tokens":
|
10455
|
+
"max_tokens": 10000,
|
10456
10456
|
"max_input_tokens": 300000,
|
10457
|
-
"max_output_tokens":
|
10457
|
+
"max_output_tokens": 10000,
|
10458
10458
|
"input_cost_per_token": 4.6e-08,
|
10459
10459
|
"output_cost_per_token": 1.84e-07,
|
10460
10460
|
"litellm_provider": "bedrock_converse",
|
@@ -10464,9 +10464,9 @@
|
|
10464
10464
|
"supports_response_schema": true
|
10465
10465
|
},
|
10466
10466
|
"eu.amazon.nova-lite-v1:0": {
|
10467
|
-
"max_tokens":
|
10467
|
+
"max_tokens": 10000,
|
10468
10468
|
"max_input_tokens": 128000,
|
10469
|
-
"max_output_tokens":
|
10469
|
+
"max_output_tokens": 10000,
|
10470
10470
|
"input_cost_per_token": 7.8e-08,
|
10471
10471
|
"output_cost_per_token": 3.12e-07,
|
10472
10472
|
"litellm_provider": "bedrock_converse",
|
@@ -10484,9 +10484,9 @@
|
|
10484
10484
|
"mode": "image_generation"
|
10485
10485
|
},
|
10486
10486
|
"eu.amazon.nova-pro-v1:0": {
|
10487
|
-
"max_tokens":
|
10487
|
+
"max_tokens": 10000,
|
10488
10488
|
"max_input_tokens": 300000,
|
10489
|
-
"max_output_tokens":
|
10489
|
+
"max_output_tokens": 10000,
|
10490
10490
|
"input_cost_per_token": 1.05e-06,
|
10491
10491
|
"output_cost_per_token": 4.2e-06,
|
10492
10492
|
"litellm_provider": "bedrock_converse",
|
@@ -12778,9 +12778,9 @@
|
|
12778
12778
|
"supports_tool_choice": true
|
12779
12779
|
},
|
12780
12780
|
"us.amazon.nova-premier-v1:0": {
|
12781
|
-
"max_tokens":
|
12781
|
+
"max_tokens": 10000,
|
12782
12782
|
"max_input_tokens": 1000000,
|
12783
|
-
"max_output_tokens":
|
12783
|
+
"max_output_tokens": 10000,
|
12784
12784
|
"input_cost_per_token": 2.5e-06,
|
12785
12785
|
"output_cost_per_token": 1.25e-05,
|
12786
12786
|
"litellm_provider": "bedrock_converse",
|
@@ -14234,5 +14234,143 @@
|
|
14234
14234
|
"source": "https://fireworks.ai/pricing",
|
14235
14235
|
"supports_tool_choice": false,
|
14236
14236
|
"supports_response_schema": true
|
14237
|
+
},
|
14238
|
+
"codex-mini-latest": {
|
14239
|
+
"max_tokens": 100000,
|
14240
|
+
"max_input_tokens": 200000,
|
14241
|
+
"max_output_tokens": 100000,
|
14242
|
+
"input_cost_per_token": 1.5e-06,
|
14243
|
+
"output_cost_per_token": 6e-06,
|
14244
|
+
"cache_read_input_token_cost": 3.75e-07,
|
14245
|
+
"litellm_provider": "openai",
|
14246
|
+
"mode": "responses",
|
14247
|
+
"supports_pdf_input": true,
|
14248
|
+
"supports_function_calling": true,
|
14249
|
+
"supports_parallel_function_calling": true,
|
14250
|
+
"supports_vision": true,
|
14251
|
+
"supports_prompt_caching": true,
|
14252
|
+
"supports_system_messages": true,
|
14253
|
+
"supports_response_schema": true,
|
14254
|
+
"supports_tool_choice": true,
|
14255
|
+
"supports_reasoning": true,
|
14256
|
+
"supported_modalities": [
|
14257
|
+
"text",
|
14258
|
+
"image"
|
14259
|
+
],
|
14260
|
+
"supported_output_modalities": [
|
14261
|
+
"text"
|
14262
|
+
],
|
14263
|
+
"supported_endpoints": [
|
14264
|
+
"/v1/responses"
|
14265
|
+
]
|
14266
|
+
},
|
14267
|
+
"azure/codex-mini-latest": {
|
14268
|
+
"max_tokens": 100000,
|
14269
|
+
"max_input_tokens": 200000,
|
14270
|
+
"max_output_tokens": 100000,
|
14271
|
+
"input_cost_per_token": 1.5e-06,
|
14272
|
+
"output_cost_per_token": 6e-06,
|
14273
|
+
"cache_read_input_token_cost": 3.75e-07,
|
14274
|
+
"litellm_provider": "azure",
|
14275
|
+
"mode": "responses",
|
14276
|
+
"supports_pdf_input": true,
|
14277
|
+
"supports_function_calling": true,
|
14278
|
+
"supports_parallel_function_calling": true,
|
14279
|
+
"supports_vision": true,
|
14280
|
+
"supports_prompt_caching": true,
|
14281
|
+
"supports_system_messages": true,
|
14282
|
+
"supports_response_schema": true,
|
14283
|
+
"supports_tool_choice": true,
|
14284
|
+
"supports_reasoning": true,
|
14285
|
+
"supported_modalities": [
|
14286
|
+
"text",
|
14287
|
+
"image"
|
14288
|
+
],
|
14289
|
+
"supported_output_modalities": [
|
14290
|
+
"text"
|
14291
|
+
],
|
14292
|
+
"supported_endpoints": [
|
14293
|
+
"/v1/responses"
|
14294
|
+
]
|
14295
|
+
},
|
14296
|
+
"gemini-2.5-pro-preview-06-05": {
|
14297
|
+
"max_tokens": 65535,
|
14298
|
+
"max_input_tokens": 1048576,
|
14299
|
+
"max_output_tokens": 65535,
|
14300
|
+
"max_images_per_prompt": 3000,
|
14301
|
+
"max_videos_per_prompt": 10,
|
14302
|
+
"max_video_length": 1,
|
14303
|
+
"max_audio_length_hours": 8.4,
|
14304
|
+
"max_audio_per_prompt": 1,
|
14305
|
+
"max_pdf_size_mb": 30,
|
14306
|
+
"input_cost_per_audio_token": 1.25e-06,
|
14307
|
+
"input_cost_per_token": 1.25e-06,
|
14308
|
+
"input_cost_per_token_above_200k_tokens": 2.5e-06,
|
14309
|
+
"output_cost_per_token": 1e-05,
|
14310
|
+
"output_cost_per_token_above_200k_tokens": 1.5e-05,
|
14311
|
+
"litellm_provider": "vertex_ai-language-models",
|
14312
|
+
"mode": "chat",
|
14313
|
+
"supports_reasoning": true,
|
14314
|
+
"supports_system_messages": true,
|
14315
|
+
"supports_function_calling": true,
|
14316
|
+
"supports_vision": true,
|
14317
|
+
"supports_response_schema": true,
|
14318
|
+
"supports_audio_output": false,
|
14319
|
+
"supports_tool_choice": true,
|
14320
|
+
"supported_endpoints": [
|
14321
|
+
"/v1/chat/completions",
|
14322
|
+
"/v1/completions",
|
14323
|
+
"/v1/batch"
|
14324
|
+
],
|
14325
|
+
"supported_modalities": [
|
14326
|
+
"text",
|
14327
|
+
"image",
|
14328
|
+
"audio",
|
14329
|
+
"video"
|
14330
|
+
],
|
14331
|
+
"supported_output_modalities": [
|
14332
|
+
"text"
|
14333
|
+
],
|
14334
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
14335
|
+
"supports_parallel_function_calling": true,
|
14336
|
+
"supports_web_search": true
|
14337
|
+
},
|
14338
|
+
"gemini/gemini-2.5-pro-preview-06-05": {
|
14339
|
+
"max_tokens": 65535,
|
14340
|
+
"max_input_tokens": 1048576,
|
14341
|
+
"max_output_tokens": 65535,
|
14342
|
+
"max_images_per_prompt": 3000,
|
14343
|
+
"max_videos_per_prompt": 10,
|
14344
|
+
"max_video_length": 1,
|
14345
|
+
"max_audio_length_hours": 8.4,
|
14346
|
+
"max_audio_per_prompt": 1,
|
14347
|
+
"max_pdf_size_mb": 30,
|
14348
|
+
"input_cost_per_audio_token": 7e-07,
|
14349
|
+
"input_cost_per_token": 1.25e-06,
|
14350
|
+
"input_cost_per_token_above_200k_tokens": 2.5e-06,
|
14351
|
+
"output_cost_per_token": 1e-05,
|
14352
|
+
"output_cost_per_token_above_200k_tokens": 1.5e-05,
|
14353
|
+
"litellm_provider": "gemini",
|
14354
|
+
"mode": "chat",
|
14355
|
+
"rpm": 10000,
|
14356
|
+
"tpm": 10000000,
|
14357
|
+
"supports_system_messages": true,
|
14358
|
+
"supports_function_calling": true,
|
14359
|
+
"supports_vision": true,
|
14360
|
+
"supports_response_schema": true,
|
14361
|
+
"supports_audio_output": false,
|
14362
|
+
"supports_tool_choice": true,
|
14363
|
+
"supported_modalities": [
|
14364
|
+
"text",
|
14365
|
+
"image",
|
14366
|
+
"audio",
|
14367
|
+
"video"
|
14368
|
+
],
|
14369
|
+
"supported_output_modalities": [
|
14370
|
+
"text"
|
14371
|
+
],
|
14372
|
+
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",
|
14373
|
+
"supports_web_search": true,
|
14374
|
+
"supports_url_context": true
|
14237
14375
|
}
|
14238
14376
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.75
|
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=ybyDU01lBpIIdQxzHa6BflntJHR3X7w8SQwlqUBUvJg,513838
|
5
|
+
tokencostauto-0.1.75.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.75.dist-info/METADATA,sha256=dBHDunEuEAaD17eo-sOPyIv1G5ZISU_mfaqmifRw78E,204075
|
7
|
+
tokencostauto-0.1.75.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tokencostauto-0.1.75.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.75.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=PEjSULeL-07i7YP8COkrhxkJc6Ii25op5dfynCJgOIU,509169
|
5
|
-
tokencostauto-0.1.72.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
-
tokencostauto-0.1.72.dist-info/METADATA,sha256=hKbWnBHaPCESrbiCFfl4ZhA6iiomkMiH3X4tR0avPNI,204075
|
7
|
-
tokencostauto-0.1.72.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
-
tokencostauto-0.1.72.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
-
tokencostauto-0.1.72.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|