tokencostauto 0.1.362__tar.gz → 0.1.366__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.362/tokencostauto.egg-info → tokencostauto-0.1.366}/PKG-INFO +1 -1
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/pyproject.toml +1 -1
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/tokencostauto/model_prices.json +185 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/LICENSE +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/MANIFEST.in +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/README.md +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/setup.cfg +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.362 → tokencostauto-0.1.366}/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.366
|
|
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
|
|
@@ -27971,5 +27971,190 @@
|
|
|
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
|
|
28053
|
+
},
|
|
28054
|
+
"azure/claude-haiku-4-5": {
|
|
28055
|
+
"input_cost_per_token": 1e-06,
|
|
28056
|
+
"litellm_provider": "azure_anthropic",
|
|
28057
|
+
"max_input_tokens": 200000,
|
|
28058
|
+
"max_output_tokens": 64000,
|
|
28059
|
+
"max_tokens": 64000,
|
|
28060
|
+
"mode": "chat",
|
|
28061
|
+
"output_cost_per_token": 5e-06,
|
|
28062
|
+
"supports_assistant_prefill": true,
|
|
28063
|
+
"supports_computer_use": true,
|
|
28064
|
+
"supports_function_calling": true,
|
|
28065
|
+
"supports_pdf_input": true,
|
|
28066
|
+
"supports_prompt_caching": true,
|
|
28067
|
+
"supports_reasoning": true,
|
|
28068
|
+
"supports_response_schema": true,
|
|
28069
|
+
"supports_tool_choice": true,
|
|
28070
|
+
"supports_vision": true
|
|
28071
|
+
},
|
|
28072
|
+
"azure/claude-opus-4-1": {
|
|
28073
|
+
"input_cost_per_token": 1.5e-05,
|
|
28074
|
+
"litellm_provider": "azure_anthropic",
|
|
28075
|
+
"max_input_tokens": 200000,
|
|
28076
|
+
"max_output_tokens": 32000,
|
|
28077
|
+
"max_tokens": 32000,
|
|
28078
|
+
"mode": "chat",
|
|
28079
|
+
"output_cost_per_token": 7.5e-05,
|
|
28080
|
+
"supports_assistant_prefill": true,
|
|
28081
|
+
"supports_computer_use": true,
|
|
28082
|
+
"supports_function_calling": true,
|
|
28083
|
+
"supports_pdf_input": true,
|
|
28084
|
+
"supports_prompt_caching": true,
|
|
28085
|
+
"supports_reasoning": true,
|
|
28086
|
+
"supports_response_schema": true,
|
|
28087
|
+
"supports_tool_choice": true,
|
|
28088
|
+
"supports_vision": true
|
|
28089
|
+
},
|
|
28090
|
+
"azure/claude-sonnet-4-5": {
|
|
28091
|
+
"input_cost_per_token": 3e-06,
|
|
28092
|
+
"litellm_provider": "azure_anthropic",
|
|
28093
|
+
"max_input_tokens": 200000,
|
|
28094
|
+
"max_output_tokens": 64000,
|
|
28095
|
+
"max_tokens": 64000,
|
|
28096
|
+
"mode": "chat",
|
|
28097
|
+
"output_cost_per_token": 1.5e-05,
|
|
28098
|
+
"supports_assistant_prefill": true,
|
|
28099
|
+
"supports_computer_use": true,
|
|
28100
|
+
"supports_function_calling": true,
|
|
28101
|
+
"supports_pdf_input": true,
|
|
28102
|
+
"supports_prompt_caching": true,
|
|
28103
|
+
"supports_reasoning": true,
|
|
28104
|
+
"supports_response_schema": true,
|
|
28105
|
+
"supports_tool_choice": true,
|
|
28106
|
+
"supports_vision": true
|
|
28107
|
+
},
|
|
28108
|
+
"vertex_ai/claude-opus-4-5": {
|
|
28109
|
+
"cache_creation_input_token_cost": 6.25e-06,
|
|
28110
|
+
"cache_read_input_token_cost": 5e-07,
|
|
28111
|
+
"input_cost_per_token": 5e-06,
|
|
28112
|
+
"litellm_provider": "vertex_ai-anthropic_models",
|
|
28113
|
+
"max_input_tokens": 200000,
|
|
28114
|
+
"max_output_tokens": 64000,
|
|
28115
|
+
"max_tokens": 64000,
|
|
28116
|
+
"mode": "chat",
|
|
28117
|
+
"output_cost_per_token": 2.5e-05,
|
|
28118
|
+
"search_context_cost_per_query": {
|
|
28119
|
+
"search_context_size_high": 0.01,
|
|
28120
|
+
"search_context_size_low": 0.01,
|
|
28121
|
+
"search_context_size_medium": 0.01
|
|
28122
|
+
},
|
|
28123
|
+
"supports_assistant_prefill": true,
|
|
28124
|
+
"supports_computer_use": true,
|
|
28125
|
+
"supports_function_calling": true,
|
|
28126
|
+
"supports_pdf_input": true,
|
|
28127
|
+
"supports_prompt_caching": true,
|
|
28128
|
+
"supports_reasoning": true,
|
|
28129
|
+
"supports_response_schema": true,
|
|
28130
|
+
"supports_tool_choice": true,
|
|
28131
|
+
"supports_vision": true,
|
|
28132
|
+
"tool_use_system_prompt_tokens": 159
|
|
28133
|
+
},
|
|
28134
|
+
"vertex_ai/claude-opus-4-5@20251101": {
|
|
28135
|
+
"cache_creation_input_token_cost": 6.25e-06,
|
|
28136
|
+
"cache_read_input_token_cost": 5e-07,
|
|
28137
|
+
"input_cost_per_token": 5e-06,
|
|
28138
|
+
"litellm_provider": "vertex_ai-anthropic_models",
|
|
28139
|
+
"max_input_tokens": 200000,
|
|
28140
|
+
"max_output_tokens": 64000,
|
|
28141
|
+
"max_tokens": 64000,
|
|
28142
|
+
"mode": "chat",
|
|
28143
|
+
"output_cost_per_token": 2.5e-05,
|
|
28144
|
+
"search_context_cost_per_query": {
|
|
28145
|
+
"search_context_size_high": 0.01,
|
|
28146
|
+
"search_context_size_low": 0.01,
|
|
28147
|
+
"search_context_size_medium": 0.01
|
|
28148
|
+
},
|
|
28149
|
+
"supports_assistant_prefill": true,
|
|
28150
|
+
"supports_computer_use": true,
|
|
28151
|
+
"supports_function_calling": true,
|
|
28152
|
+
"supports_pdf_input": true,
|
|
28153
|
+
"supports_prompt_caching": true,
|
|
28154
|
+
"supports_reasoning": true,
|
|
28155
|
+
"supports_response_schema": true,
|
|
28156
|
+
"supports_tool_choice": true,
|
|
28157
|
+
"supports_vision": true,
|
|
28158
|
+
"tool_use_system_prompt_tokens": 159
|
|
27974
28159
|
}
|
|
27975
28160
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.366
|
|
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
|