tokencostauto 0.1.70__py3-none-any.whl → 0.1.74__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 +168 -25
- {tokencostauto-0.1.70.dist-info → tokencostauto-0.1.74.dist-info}/METADATA +1 -1
- tokencostauto-0.1.74.dist-info/RECORD +9 -0
- tokencostauto-0.1.70.dist-info/RECORD +0 -9
- {tokencostauto-0.1.70.dist-info → tokencostauto-0.1.74.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.70.dist-info → tokencostauto-0.1.74.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.70.dist-info → tokencostauto-0.1.74.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",
|
@@ -9080,7 +9080,8 @@
|
|
9080
9080
|
],
|
9081
9081
|
"supports_tool_choice": true,
|
9082
9082
|
"source": "https://ai.google.dev/pricing#2_0flash",
|
9083
|
-
"supports_web_search": true
|
9083
|
+
"supports_web_search": true,
|
9084
|
+
"supports_url_context": true
|
9084
9085
|
},
|
9085
9086
|
"gemini-2.0-flash-001": {
|
9086
9087
|
"max_tokens": 8192,
|
@@ -9373,9 +9374,9 @@
|
|
9373
9374
|
"mode": "chat"
|
9374
9375
|
},
|
9375
9376
|
"us.amazon.nova-micro-v1:0": {
|
9376
|
-
"max_tokens":
|
9377
|
+
"max_tokens": 10000,
|
9377
9378
|
"max_input_tokens": 300000,
|
9378
|
-
"max_output_tokens":
|
9379
|
+
"max_output_tokens": 10000,
|
9379
9380
|
"input_cost_per_token": 3.5e-08,
|
9380
9381
|
"output_cost_per_token": 1.4e-07,
|
9381
9382
|
"litellm_provider": "bedrock_converse",
|
@@ -9385,9 +9386,9 @@
|
|
9385
9386
|
"supports_response_schema": true
|
9386
9387
|
},
|
9387
9388
|
"us.amazon.nova-lite-v1:0": {
|
9388
|
-
"max_tokens":
|
9389
|
+
"max_tokens": 10000,
|
9389
9390
|
"max_input_tokens": 128000,
|
9390
|
-
"max_output_tokens":
|
9391
|
+
"max_output_tokens": 10000,
|
9391
9392
|
"input_cost_per_token": 6e-08,
|
9392
9393
|
"output_cost_per_token": 2.4e-07,
|
9393
9394
|
"litellm_provider": "bedrock_converse",
|
@@ -9399,9 +9400,9 @@
|
|
9399
9400
|
"supports_response_schema": true
|
9400
9401
|
},
|
9401
9402
|
"us.amazon.nova-pro-v1:0": {
|
9402
|
-
"max_tokens":
|
9403
|
+
"max_tokens": 10000,
|
9403
9404
|
"max_input_tokens": 300000,
|
9404
|
-
"max_output_tokens":
|
9405
|
+
"max_output_tokens": 10000,
|
9405
9406
|
"input_cost_per_token": 8e-07,
|
9406
9407
|
"output_cost_per_token": 3.2e-06,
|
9407
9408
|
"litellm_provider": "bedrock_converse",
|
@@ -10451,9 +10452,9 @@
|
|
10451
10452
|
"supports_tool_choice": true
|
10452
10453
|
},
|
10453
10454
|
"eu.amazon.nova-micro-v1:0": {
|
10454
|
-
"max_tokens":
|
10455
|
+
"max_tokens": 10000,
|
10455
10456
|
"max_input_tokens": 300000,
|
10456
|
-
"max_output_tokens":
|
10457
|
+
"max_output_tokens": 10000,
|
10457
10458
|
"input_cost_per_token": 4.6e-08,
|
10458
10459
|
"output_cost_per_token": 1.84e-07,
|
10459
10460
|
"litellm_provider": "bedrock_converse",
|
@@ -10463,9 +10464,9 @@
|
|
10463
10464
|
"supports_response_schema": true
|
10464
10465
|
},
|
10465
10466
|
"eu.amazon.nova-lite-v1:0": {
|
10466
|
-
"max_tokens":
|
10467
|
+
"max_tokens": 10000,
|
10467
10468
|
"max_input_tokens": 128000,
|
10468
|
-
"max_output_tokens":
|
10469
|
+
"max_output_tokens": 10000,
|
10469
10470
|
"input_cost_per_token": 7.8e-08,
|
10470
10471
|
"output_cost_per_token": 3.12e-07,
|
10471
10472
|
"litellm_provider": "bedrock_converse",
|
@@ -10483,9 +10484,9 @@
|
|
10483
10484
|
"mode": "image_generation"
|
10484
10485
|
},
|
10485
10486
|
"eu.amazon.nova-pro-v1:0": {
|
10486
|
-
"max_tokens":
|
10487
|
+
"max_tokens": 10000,
|
10487
10488
|
"max_input_tokens": 300000,
|
10488
|
-
"max_output_tokens":
|
10489
|
+
"max_output_tokens": 10000,
|
10489
10490
|
"input_cost_per_token": 1.05e-06,
|
10490
10491
|
"output_cost_per_token": 4.2e-06,
|
10491
10492
|
"litellm_provider": "bedrock_converse",
|
@@ -12317,7 +12318,8 @@
|
|
12317
12318
|
"supports_tool_choice": true,
|
12318
12319
|
"source": "https://ai.google.dev/pricing#2_0flash",
|
12319
12320
|
"supports_parallel_function_calling": true,
|
12320
|
-
"supports_web_search": true
|
12321
|
+
"supports_web_search": true,
|
12322
|
+
"supports_url_context": true
|
12321
12323
|
},
|
12322
12324
|
"gemini-2.0-flash-lite": {
|
12323
12325
|
"max_input_tokens": 1048576,
|
@@ -12539,7 +12541,8 @@
|
|
12539
12541
|
"text"
|
12540
12542
|
],
|
12541
12543
|
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",
|
12542
|
-
"supports_web_search": true
|
12544
|
+
"supports_web_search": true,
|
12545
|
+
"supports_url_context": true
|
12543
12546
|
},
|
12544
12547
|
"gemini/gemini-2.5-pro-preview-03-25": {
|
12545
12548
|
"max_tokens": 65535,
|
@@ -12775,9 +12778,9 @@
|
|
12775
12778
|
"supports_tool_choice": true
|
12776
12779
|
},
|
12777
12780
|
"us.amazon.nova-premier-v1:0": {
|
12778
|
-
"max_tokens":
|
12781
|
+
"max_tokens": 10000,
|
12779
12782
|
"max_input_tokens": 1000000,
|
12780
|
-
"max_output_tokens":
|
12783
|
+
"max_output_tokens": 10000,
|
12781
12784
|
"input_cost_per_token": 2.5e-06,
|
12782
12785
|
"output_cost_per_token": 1.25e-05,
|
12783
12786
|
"litellm_provider": "bedrock_converse",
|
@@ -13604,7 +13607,8 @@
|
|
13604
13607
|
"text"
|
13605
13608
|
],
|
13606
13609
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
13607
|
-
"supports_web_search": true
|
13610
|
+
"supports_web_search": true,
|
13611
|
+
"supports_url_context": true
|
13608
13612
|
},
|
13609
13613
|
"gemini-2.5-flash-preview-05-20": {
|
13610
13614
|
"max_tokens": 65535,
|
@@ -13645,7 +13649,8 @@
|
|
13645
13649
|
],
|
13646
13650
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
13647
13651
|
"supports_parallel_function_calling": true,
|
13648
|
-
"supports_web_search": true
|
13652
|
+
"supports_web_search": true,
|
13653
|
+
"supports_url_context": true
|
13649
13654
|
},
|
13650
13655
|
"gemini-2.0-flash-preview-image-generation": {
|
13651
13656
|
"max_tokens": 8192,
|
@@ -14229,5 +14234,143 @@
|
|
14229
14234
|
"source": "https://fireworks.ai/pricing",
|
14230
14235
|
"supports_tool_choice": false,
|
14231
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
|
14232
14375
|
}
|
14233
14376
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.74
|
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.74.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.74.dist-info/METADATA,sha256=sKfyXu9MqqWjctOSgNO7S66r3KVm-U7b5TrdGdCe95Y,204075
|
7
|
+
tokencostauto-0.1.74.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tokencostauto-0.1.74.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.74.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=kuqC0IoONV2-vUvHiZAWozNoSgnPJBQT1A9M7ypVLxM,508979
|
5
|
-
tokencostauto-0.1.70.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
-
tokencostauto-0.1.70.dist-info/METADATA,sha256=DFUJbE1PvHk7pTgKrsF0MI0u_tCIfntYSEtK20e_ZDo,204075
|
7
|
-
tokencostauto-0.1.70.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
-
tokencostauto-0.1.70.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
-
tokencostauto-0.1.70.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|