tokencostauto 0.1.437__tar.gz → 0.1.441__tar.gz
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-0.1.437/tokencostauto.egg-info → tokencostauto-0.1.441}/PKG-INFO +1 -1
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/pyproject.toml +1 -1
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/tokencostauto/model_prices.json +25 -3
- {tokencostauto-0.1.437 → tokencostauto-0.1.441/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/LICENSE +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/MANIFEST.in +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/README.md +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/setup.cfg +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.437 → tokencostauto-0.1.441}/tokencostauto.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.441
|
|
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
|
|
@@ -1661,7 +1661,7 @@
|
|
|
1661
1661
|
"litellm_provider": "deepseek",
|
|
1662
1662
|
"max_input_tokens": 131072,
|
|
1663
1663
|
"max_output_tokens": 8192,
|
|
1664
|
-
"max_tokens":
|
|
1664
|
+
"max_tokens": 8192,
|
|
1665
1665
|
"mode": "chat",
|
|
1666
1666
|
"output_cost_per_token": 1.7e-06,
|
|
1667
1667
|
"source": "https://api-docs.deepseek.com/quick_start/pricing",
|
|
@@ -21993,7 +21993,7 @@
|
|
|
21993
21993
|
"litellm_provider": "dashscope",
|
|
21994
21994
|
"max_input_tokens": 997952,
|
|
21995
21995
|
"max_output_tokens": 32768,
|
|
21996
|
-
"max_tokens":
|
|
21996
|
+
"max_tokens": 32768,
|
|
21997
21997
|
"mode": "chat",
|
|
21998
21998
|
"source": "https://www.alibabacloud.com/help/en/model-studio/models",
|
|
21999
21999
|
"supports_function_calling": true,
|
|
@@ -28632,7 +28632,7 @@
|
|
|
28632
28632
|
"litellm_provider": "databricks",
|
|
28633
28633
|
"max_input_tokens": 128000,
|
|
28634
28634
|
"max_output_tokens": 32000,
|
|
28635
|
-
"max_tokens":
|
|
28635
|
+
"max_tokens": 32000,
|
|
28636
28636
|
"metadata": {
|
|
28637
28637
|
"notes": "Input/output cost per token is dbu cost * $0.070. Number provided for reference, '*_dbu_cost_per_token' used in actual calculation."
|
|
28638
28638
|
},
|
|
@@ -33958,5 +33958,27 @@
|
|
|
33958
33958
|
"output_cost_per_token": 0,
|
|
33959
33959
|
"litellm_provider": "llamagate",
|
|
33960
33960
|
"mode": "embedding"
|
|
33961
|
+
},
|
|
33962
|
+
"azure_ai/flux.2-pro": {
|
|
33963
|
+
"litellm_provider": "azure_ai",
|
|
33964
|
+
"mode": "image_generation",
|
|
33965
|
+
"output_cost_per_image": 0.04,
|
|
33966
|
+
"source": "https://ai.azure.com/explore/models/flux.2-pro/version/1/registry/azureml-blackforestlabs",
|
|
33967
|
+
"supported_endpoints": [
|
|
33968
|
+
"/v1/images/generations"
|
|
33969
|
+
]
|
|
33970
|
+
},
|
|
33971
|
+
"vertex_ai/zai-org/glm-4.7-maas": {
|
|
33972
|
+
"input_cost_per_token": 3e-07,
|
|
33973
|
+
"litellm_provider": "vertex_ai-zai_models",
|
|
33974
|
+
"max_input_tokens": 200000,
|
|
33975
|
+
"max_output_tokens": 128000,
|
|
33976
|
+
"max_tokens": 128000,
|
|
33977
|
+
"mode": "chat",
|
|
33978
|
+
"output_cost_per_token": 1.2e-06,
|
|
33979
|
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#partner-models",
|
|
33980
|
+
"supports_function_calling": true,
|
|
33981
|
+
"supports_reasoning": true,
|
|
33982
|
+
"supports_tool_choice": true
|
|
33961
33983
|
}
|
|
33962
33984
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.441
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|