tokencostauto 0.1.364__tar.gz → 0.1.368__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.364/tokencostauto.egg-info → tokencostauto-0.1.368}/PKG-INFO +1 -1
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/pyproject.toml +1 -1
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/tokencostauto/model_prices.json +156 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/LICENSE +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/MANIFEST.in +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/README.md +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/setup.cfg +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.364 → tokencostauto-0.1.368}/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.368
|
|
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
|
|
@@ -28050,5 +28050,161 @@
|
|
|
28050
28050
|
"supports_tool_choice": true,
|
|
28051
28051
|
"supports_vision": true,
|
|
28052
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
|
|
28159
|
+
},
|
|
28160
|
+
"embed-multilingual-light-v3.0": {
|
|
28161
|
+
"input_cost_per_token": 0.0001,
|
|
28162
|
+
"litellm_provider": "cohere",
|
|
28163
|
+
"max_input_tokens": 1024,
|
|
28164
|
+
"max_tokens": 1024,
|
|
28165
|
+
"mode": "embedding",
|
|
28166
|
+
"output_cost_per_token": 0.0,
|
|
28167
|
+
"supports_embedding_image_input": true
|
|
28168
|
+
},
|
|
28169
|
+
"fireworks_ai/accounts/fireworks/models/glm-4p6": {
|
|
28170
|
+
"input_cost_per_token": 5.5e-07,
|
|
28171
|
+
"output_cost_per_token": 2.19e-06,
|
|
28172
|
+
"litellm_provider": "fireworks_ai",
|
|
28173
|
+
"max_input_tokens": 202800,
|
|
28174
|
+
"max_output_tokens": 202800,
|
|
28175
|
+
"max_tokens": 202800,
|
|
28176
|
+
"mode": "chat",
|
|
28177
|
+
"source": "https://fireworks.ai/pricing",
|
|
28178
|
+
"supports_function_calling": true,
|
|
28179
|
+
"supports_response_schema": true,
|
|
28180
|
+
"supports_tool_choice": true
|
|
28181
|
+
},
|
|
28182
|
+
"openrouter/anthropic/claude-opus-4.5": {
|
|
28183
|
+
"cache_creation_input_token_cost": 6.25e-06,
|
|
28184
|
+
"cache_read_input_token_cost": 5e-07,
|
|
28185
|
+
"input_cost_per_token": 5e-06,
|
|
28186
|
+
"litellm_provider": "openrouter",
|
|
28187
|
+
"max_input_tokens": 200000,
|
|
28188
|
+
"max_output_tokens": 32000,
|
|
28189
|
+
"max_tokens": 32000,
|
|
28190
|
+
"mode": "chat",
|
|
28191
|
+
"output_cost_per_token": 2.5e-05,
|
|
28192
|
+
"supports_assistant_prefill": true,
|
|
28193
|
+
"supports_computer_use": true,
|
|
28194
|
+
"supports_function_calling": true,
|
|
28195
|
+
"supports_prompt_caching": true,
|
|
28196
|
+
"supports_reasoning": true,
|
|
28197
|
+
"supports_tool_choice": true,
|
|
28198
|
+
"supports_vision": true,
|
|
28199
|
+
"tool_use_system_prompt_tokens": 159
|
|
28200
|
+
},
|
|
28201
|
+
"watsonx/whisper-large-v3-turbo": {
|
|
28202
|
+
"input_cost_per_second": 0.0001,
|
|
28203
|
+
"output_cost_per_second": 0.0001,
|
|
28204
|
+
"litellm_provider": "watsonx",
|
|
28205
|
+
"mode": "audio_transcription",
|
|
28206
|
+
"supported_endpoints": [
|
|
28207
|
+
"/v1/audio/transcriptions"
|
|
28208
|
+
]
|
|
28053
28209
|
}
|
|
28054
28210
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.368
|
|
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
|