tokencostauto 0.1.391__py3-none-any.whl → 0.1.393__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 +71 -2
- {tokencostauto-0.1.391.dist-info → tokencostauto-0.1.393.dist-info}/METADATA +1 -1
- tokencostauto-0.1.393.dist-info/RECORD +9 -0
- tokencostauto-0.1.391.dist-info/RECORD +0 -9
- {tokencostauto-0.1.391.dist-info → tokencostauto-0.1.393.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.391.dist-info → tokencostauto-0.1.393.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.391.dist-info → tokencostauto-0.1.393.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -8758,7 +8758,6 @@
|
|
|
8758
8758
|
"output_cost_per_token": 0.0
|
|
8759
8759
|
},
|
|
8760
8760
|
"voyage/rerank-2": {
|
|
8761
|
-
"input_cost_per_query": 5e-08,
|
|
8762
8761
|
"input_cost_per_token": 5e-08,
|
|
8763
8762
|
"litellm_provider": "voyage",
|
|
8764
8763
|
"max_input_tokens": 16000,
|
|
@@ -8769,7 +8768,6 @@
|
|
|
8769
8768
|
"output_cost_per_token": 0.0
|
|
8770
8769
|
},
|
|
8771
8770
|
"voyage/rerank-2-lite": {
|
|
8772
|
-
"input_cost_per_query": 2e-08,
|
|
8773
8771
|
"input_cost_per_token": 2e-08,
|
|
8774
8772
|
"litellm_provider": "voyage",
|
|
8775
8773
|
"max_input_tokens": 8000,
|
|
@@ -31473,5 +31471,76 @@
|
|
|
31473
31471
|
"output_cost_per_token": 2e-07,
|
|
31474
31472
|
"litellm_provider": "fireworks_ai",
|
|
31475
31473
|
"mode": "chat"
|
|
31474
|
+
},
|
|
31475
|
+
"gemini/gemini-2.5-computer-use-preview-10-2025": {
|
|
31476
|
+
"input_cost_per_token": 1.25e-06,
|
|
31477
|
+
"input_cost_per_token_above_200k_tokens": 2.5e-06,
|
|
31478
|
+
"litellm_provider": "gemini",
|
|
31479
|
+
"max_images_per_prompt": 3000,
|
|
31480
|
+
"max_input_tokens": 128000,
|
|
31481
|
+
"max_output_tokens": 64000,
|
|
31482
|
+
"max_tokens": 64000,
|
|
31483
|
+
"mode": "chat",
|
|
31484
|
+
"output_cost_per_token": 1e-05,
|
|
31485
|
+
"output_cost_per_token_above_200k_tokens": 1.5e-05,
|
|
31486
|
+
"rpm": 2000,
|
|
31487
|
+
"source": "https://ai.google.dev/gemini-api/docs/computer-use",
|
|
31488
|
+
"supported_endpoints": [
|
|
31489
|
+
"/v1/chat/completions",
|
|
31490
|
+
"/v1/completions"
|
|
31491
|
+
],
|
|
31492
|
+
"supported_modalities": [
|
|
31493
|
+
"text",
|
|
31494
|
+
"image"
|
|
31495
|
+
],
|
|
31496
|
+
"supported_output_modalities": [
|
|
31497
|
+
"text"
|
|
31498
|
+
],
|
|
31499
|
+
"supports_computer_use": true,
|
|
31500
|
+
"supports_function_calling": true,
|
|
31501
|
+
"supports_system_messages": true,
|
|
31502
|
+
"supports_tool_choice": true,
|
|
31503
|
+
"supports_vision": true,
|
|
31504
|
+
"tpm": 800000
|
|
31505
|
+
},
|
|
31506
|
+
"vertex_ai/deepseek-ai/deepseek-v3.2-maas": {
|
|
31507
|
+
"input_cost_per_token": 5.6e-07,
|
|
31508
|
+
"input_cost_per_token_batches": 2.8e-07,
|
|
31509
|
+
"litellm_provider": "vertex_ai-deepseek_models",
|
|
31510
|
+
"max_input_tokens": 163840,
|
|
31511
|
+
"max_output_tokens": 32768,
|
|
31512
|
+
"max_tokens": 163840,
|
|
31513
|
+
"mode": "chat",
|
|
31514
|
+
"output_cost_per_token": 1.68e-06,
|
|
31515
|
+
"output_cost_per_token_batches": 8.4e-07,
|
|
31516
|
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#partner-models",
|
|
31517
|
+
"supported_regions": [
|
|
31518
|
+
"us-west2"
|
|
31519
|
+
],
|
|
31520
|
+
"supports_assistant_prefill": true,
|
|
31521
|
+
"supports_function_calling": true,
|
|
31522
|
+
"supports_prompt_caching": true,
|
|
31523
|
+
"supports_reasoning": true,
|
|
31524
|
+
"supports_tool_choice": true
|
|
31525
|
+
},
|
|
31526
|
+
"voyage/rerank-2.5": {
|
|
31527
|
+
"input_cost_per_token": 5e-08,
|
|
31528
|
+
"litellm_provider": "voyage",
|
|
31529
|
+
"max_input_tokens": 32000,
|
|
31530
|
+
"max_output_tokens": 32000,
|
|
31531
|
+
"max_query_tokens": 32000,
|
|
31532
|
+
"max_tokens": 32000,
|
|
31533
|
+
"mode": "rerank",
|
|
31534
|
+
"output_cost_per_token": 0.0
|
|
31535
|
+
},
|
|
31536
|
+
"voyage/rerank-2.5-lite": {
|
|
31537
|
+
"input_cost_per_token": 2e-08,
|
|
31538
|
+
"litellm_provider": "voyage",
|
|
31539
|
+
"max_input_tokens": 32000,
|
|
31540
|
+
"max_output_tokens": 32000,
|
|
31541
|
+
"max_query_tokens": 32000,
|
|
31542
|
+
"max_tokens": 32000,
|
|
31543
|
+
"mode": "rerank",
|
|
31544
|
+
"output_cost_per_token": 0.0
|
|
31476
31545
|
}
|
|
31477
31546
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.393
|
|
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=-hlPKVD2WMI8iEbhUisHkzDqcL0obk-VkImx5nXGxGk,1124916
|
|
5
|
+
tokencostauto-0.1.393.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
+
tokencostauto-0.1.393.dist-info/METADATA,sha256=IbyEDdlJLjrhvwEZJPhA4SjjkRYMg7VvAHLptLmx1R8,204076
|
|
7
|
+
tokencostauto-0.1.393.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
tokencostauto-0.1.393.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
+
tokencostauto-0.1.393.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=oqfjK9b2aSEGX8PPKInyFy9cgem3y87U5nERJ3bWYTo,1122547
|
|
5
|
-
tokencostauto-0.1.391.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.391.dist-info/METADATA,sha256=EpkzUs93E4aO-rFBB8sKgGd3mza05YMfrcXU-iaStxc,204076
|
|
7
|
-
tokencostauto-0.1.391.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
tokencostauto-0.1.391.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.391.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|