tokencostauto 0.1.362__py3-none-any.whl → 0.1.364__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 +79 -0
- {tokencostauto-0.1.362.dist-info → tokencostauto-0.1.364.dist-info}/METADATA +1 -1
- tokencostauto-0.1.364.dist-info/RECORD +9 -0
- tokencostauto-0.1.362.dist-info/RECORD +0 -9
- {tokencostauto-0.1.362.dist-info → tokencostauto-0.1.364.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.362.dist-info → tokencostauto-0.1.364.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.362.dist-info → tokencostauto-0.1.364.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -27971,5 +27971,84 @@
|
|
|
27971
27971
|
"supports_tool_choice": true,
|
|
27972
27972
|
"supports_vision": true,
|
|
27973
27973
|
"tool_use_system_prompt_tokens": 159
|
|
27974
|
+
},
|
|
27975
|
+
"anthropic.claude-opus-4-5-20251101-v1:0": {
|
|
27976
|
+
"cache_creation_input_token_cost": 6.25e-06,
|
|
27977
|
+
"cache_read_input_token_cost": 5e-07,
|
|
27978
|
+
"input_cost_per_token": 5e-06,
|
|
27979
|
+
"litellm_provider": "bedrock_converse",
|
|
27980
|
+
"max_input_tokens": 200000,
|
|
27981
|
+
"max_output_tokens": 64000,
|
|
27982
|
+
"max_tokens": 64000,
|
|
27983
|
+
"mode": "chat",
|
|
27984
|
+
"output_cost_per_token": 2.5e-05,
|
|
27985
|
+
"search_context_cost_per_query": {
|
|
27986
|
+
"search_context_size_high": 0.01,
|
|
27987
|
+
"search_context_size_low": 0.01,
|
|
27988
|
+
"search_context_size_medium": 0.01
|
|
27989
|
+
},
|
|
27990
|
+
"supports_assistant_prefill": true,
|
|
27991
|
+
"supports_computer_use": true,
|
|
27992
|
+
"supports_function_calling": true,
|
|
27993
|
+
"supports_pdf_input": true,
|
|
27994
|
+
"supports_prompt_caching": true,
|
|
27995
|
+
"supports_reasoning": true,
|
|
27996
|
+
"supports_response_schema": true,
|
|
27997
|
+
"supports_tool_choice": true,
|
|
27998
|
+
"supports_vision": true,
|
|
27999
|
+
"tool_use_system_prompt_tokens": 159
|
|
28000
|
+
},
|
|
28001
|
+
"claude-opus-4-5-20251101": {
|
|
28002
|
+
"cache_creation_input_token_cost": 6.25e-06,
|
|
28003
|
+
"cache_creation_input_token_cost_above_1hr": 1e-05,
|
|
28004
|
+
"cache_read_input_token_cost": 5e-07,
|
|
28005
|
+
"input_cost_per_token": 5e-06,
|
|
28006
|
+
"litellm_provider": "anthropic",
|
|
28007
|
+
"max_input_tokens": 200000,
|
|
28008
|
+
"max_output_tokens": 64000,
|
|
28009
|
+
"max_tokens": 64000,
|
|
28010
|
+
"mode": "chat",
|
|
28011
|
+
"output_cost_per_token": 2.5e-05,
|
|
28012
|
+
"search_context_cost_per_query": {
|
|
28013
|
+
"search_context_size_high": 0.01,
|
|
28014
|
+
"search_context_size_low": 0.01,
|
|
28015
|
+
"search_context_size_medium": 0.01
|
|
28016
|
+
},
|
|
28017
|
+
"supports_assistant_prefill": true,
|
|
28018
|
+
"supports_computer_use": true,
|
|
28019
|
+
"supports_function_calling": true,
|
|
28020
|
+
"supports_pdf_input": true,
|
|
28021
|
+
"supports_prompt_caching": true,
|
|
28022
|
+
"supports_reasoning": true,
|
|
28023
|
+
"supports_response_schema": true,
|
|
28024
|
+
"supports_tool_choice": true,
|
|
28025
|
+
"supports_vision": true,
|
|
28026
|
+
"tool_use_system_prompt_tokens": 159
|
|
28027
|
+
},
|
|
28028
|
+
"us.anthropic.claude-opus-4-5-20251101-v1:0": {
|
|
28029
|
+
"cache_creation_input_token_cost": 6.25e-06,
|
|
28030
|
+
"cache_read_input_token_cost": 5e-07,
|
|
28031
|
+
"input_cost_per_token": 5e-06,
|
|
28032
|
+
"litellm_provider": "bedrock_converse",
|
|
28033
|
+
"max_input_tokens": 200000,
|
|
28034
|
+
"max_output_tokens": 64000,
|
|
28035
|
+
"max_tokens": 64000,
|
|
28036
|
+
"mode": "chat",
|
|
28037
|
+
"output_cost_per_token": 2.5e-05,
|
|
28038
|
+
"search_context_cost_per_query": {
|
|
28039
|
+
"search_context_size_high": 0.01,
|
|
28040
|
+
"search_context_size_low": 0.01,
|
|
28041
|
+
"search_context_size_medium": 0.01
|
|
28042
|
+
},
|
|
28043
|
+
"supports_assistant_prefill": true,
|
|
28044
|
+
"supports_computer_use": true,
|
|
28045
|
+
"supports_function_calling": true,
|
|
28046
|
+
"supports_pdf_input": true,
|
|
28047
|
+
"supports_prompt_caching": true,
|
|
28048
|
+
"supports_reasoning": true,
|
|
28049
|
+
"supports_response_schema": true,
|
|
28050
|
+
"supports_tool_choice": true,
|
|
28051
|
+
"supports_vision": true,
|
|
28052
|
+
"tool_use_system_prompt_tokens": 159
|
|
27974
28053
|
}
|
|
27975
28054
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.364
|
|
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=u6e36yu_7OOSuWu49GtBUjS9zSiXm6TnQx6cPyvt-M0,996422
|
|
5
|
+
tokencostauto-0.1.364.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
+
tokencostauto-0.1.364.dist-info/METADATA,sha256=s2kB-98xXoWovMOLdcxV9wbdDKjia4TTzpaVioOKEvg,204076
|
|
7
|
+
tokencostauto-0.1.364.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
tokencostauto-0.1.364.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
+
tokencostauto-0.1.364.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=g8jUidFPCvs3xRsj9LFGGNmSH5SmunwRvNKhBUQVEXQ,993387
|
|
5
|
-
tokencostauto-0.1.362.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.362.dist-info/METADATA,sha256=K2OQnIcfJvSZxjHZoi5wmFefQOrXoHtocFJVJRnLv40,204076
|
|
7
|
-
tokencostauto-0.1.362.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
tokencostauto-0.1.362.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.362.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|