tokencostauto 0.1.366__tar.gz → 0.1.370__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.366/tokencostauto.egg-info → tokencostauto-0.1.370}/PKG-INFO +1 -1
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/pyproject.toml +1 -1
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/tokencostauto/model_prices.json +166 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/LICENSE +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/MANIFEST.in +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/README.md +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/setup.cfg +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.366 → tokencostauto-0.1.370}/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.370
|
|
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
|
|
@@ -28156,5 +28156,171 @@
|
|
|
28156
28156
|
"supports_tool_choice": true,
|
|
28157
28157
|
"supports_vision": true,
|
|
28158
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
|
+
]
|
|
28209
|
+
},
|
|
28210
|
+
"amazon.nova-canvas-v1:0": {
|
|
28211
|
+
"litellm_provider": "bedrock",
|
|
28212
|
+
"max_input_tokens": 2600,
|
|
28213
|
+
"mode": "image_generation",
|
|
28214
|
+
"output_cost_per_image": 0.06
|
|
28215
|
+
},
|
|
28216
|
+
"publicai/swiss-ai/apertus-8b-instruct": {
|
|
28217
|
+
"input_cost_per_token": 0.0,
|
|
28218
|
+
"litellm_provider": "publicai",
|
|
28219
|
+
"max_input_tokens": 8192,
|
|
28220
|
+
"max_output_tokens": 4096,
|
|
28221
|
+
"max_tokens": 8192,
|
|
28222
|
+
"mode": "chat",
|
|
28223
|
+
"output_cost_per_token": 0.0,
|
|
28224
|
+
"source": "https://platform.publicai.co/docs",
|
|
28225
|
+
"supports_function_calling": true,
|
|
28226
|
+
"supports_tool_choice": true
|
|
28227
|
+
},
|
|
28228
|
+
"publicai/swiss-ai/apertus-70b-instruct": {
|
|
28229
|
+
"input_cost_per_token": 0.0,
|
|
28230
|
+
"litellm_provider": "publicai",
|
|
28231
|
+
"max_input_tokens": 8192,
|
|
28232
|
+
"max_output_tokens": 4096,
|
|
28233
|
+
"max_tokens": 8192,
|
|
28234
|
+
"mode": "chat",
|
|
28235
|
+
"output_cost_per_token": 0.0,
|
|
28236
|
+
"source": "https://platform.publicai.co/docs",
|
|
28237
|
+
"supports_function_calling": true,
|
|
28238
|
+
"supports_tool_choice": true
|
|
28239
|
+
},
|
|
28240
|
+
"publicai/aisingapore/Gemma-SEA-LION-v4-27B-IT": {
|
|
28241
|
+
"input_cost_per_token": 0.0,
|
|
28242
|
+
"litellm_provider": "publicai",
|
|
28243
|
+
"max_input_tokens": 8192,
|
|
28244
|
+
"max_output_tokens": 4096,
|
|
28245
|
+
"max_tokens": 8192,
|
|
28246
|
+
"mode": "chat",
|
|
28247
|
+
"output_cost_per_token": 0.0,
|
|
28248
|
+
"source": "https://platform.publicai.co/docs",
|
|
28249
|
+
"supports_function_calling": true,
|
|
28250
|
+
"supports_tool_choice": true
|
|
28251
|
+
},
|
|
28252
|
+
"publicai/BSC-LT/salamandra-7b-instruct-tools-16k": {
|
|
28253
|
+
"input_cost_per_token": 0.0,
|
|
28254
|
+
"litellm_provider": "publicai",
|
|
28255
|
+
"max_input_tokens": 16384,
|
|
28256
|
+
"max_output_tokens": 4096,
|
|
28257
|
+
"max_tokens": 16384,
|
|
28258
|
+
"mode": "chat",
|
|
28259
|
+
"output_cost_per_token": 0.0,
|
|
28260
|
+
"source": "https://platform.publicai.co/docs",
|
|
28261
|
+
"supports_function_calling": true,
|
|
28262
|
+
"supports_tool_choice": true
|
|
28263
|
+
},
|
|
28264
|
+
"publicai/BSC-LT/ALIA-40b-instruct_Q8_0": {
|
|
28265
|
+
"input_cost_per_token": 0.0,
|
|
28266
|
+
"litellm_provider": "publicai",
|
|
28267
|
+
"max_input_tokens": 8192,
|
|
28268
|
+
"max_output_tokens": 4096,
|
|
28269
|
+
"max_tokens": 8192,
|
|
28270
|
+
"mode": "chat",
|
|
28271
|
+
"output_cost_per_token": 0.0,
|
|
28272
|
+
"source": "https://platform.publicai.co/docs",
|
|
28273
|
+
"supports_function_calling": true,
|
|
28274
|
+
"supports_tool_choice": true
|
|
28275
|
+
},
|
|
28276
|
+
"publicai/allenai/Olmo-3-7B-Instruct": {
|
|
28277
|
+
"input_cost_per_token": 0.0,
|
|
28278
|
+
"litellm_provider": "publicai",
|
|
28279
|
+
"max_input_tokens": 32768,
|
|
28280
|
+
"max_output_tokens": 4096,
|
|
28281
|
+
"max_tokens": 32768,
|
|
28282
|
+
"mode": "chat",
|
|
28283
|
+
"output_cost_per_token": 0.0,
|
|
28284
|
+
"source": "https://platform.publicai.co/docs",
|
|
28285
|
+
"supports_function_calling": true,
|
|
28286
|
+
"supports_tool_choice": true
|
|
28287
|
+
},
|
|
28288
|
+
"publicai/aisingapore/Qwen-SEA-LION-v4-32B-IT": {
|
|
28289
|
+
"input_cost_per_token": 0.0,
|
|
28290
|
+
"litellm_provider": "publicai",
|
|
28291
|
+
"max_input_tokens": 32768,
|
|
28292
|
+
"max_output_tokens": 4096,
|
|
28293
|
+
"max_tokens": 32768,
|
|
28294
|
+
"mode": "chat",
|
|
28295
|
+
"output_cost_per_token": 0.0,
|
|
28296
|
+
"source": "https://platform.publicai.co/docs",
|
|
28297
|
+
"supports_function_calling": true,
|
|
28298
|
+
"supports_tool_choice": true
|
|
28299
|
+
},
|
|
28300
|
+
"publicai/allenai/Olmo-3-7B-Think": {
|
|
28301
|
+
"input_cost_per_token": 0.0,
|
|
28302
|
+
"litellm_provider": "publicai",
|
|
28303
|
+
"max_input_tokens": 32768,
|
|
28304
|
+
"max_output_tokens": 4096,
|
|
28305
|
+
"max_tokens": 32768,
|
|
28306
|
+
"mode": "chat",
|
|
28307
|
+
"output_cost_per_token": 0.0,
|
|
28308
|
+
"source": "https://platform.publicai.co/docs",
|
|
28309
|
+
"supports_function_calling": true,
|
|
28310
|
+
"supports_tool_choice": true,
|
|
28311
|
+
"supports_reasoning": true
|
|
28312
|
+
},
|
|
28313
|
+
"publicai/allenai/Olmo-3-32B-Think": {
|
|
28314
|
+
"input_cost_per_token": 0.0,
|
|
28315
|
+
"litellm_provider": "publicai",
|
|
28316
|
+
"max_input_tokens": 32768,
|
|
28317
|
+
"max_output_tokens": 4096,
|
|
28318
|
+
"max_tokens": 32768,
|
|
28319
|
+
"mode": "chat",
|
|
28320
|
+
"output_cost_per_token": 0.0,
|
|
28321
|
+
"source": "https://platform.publicai.co/docs",
|
|
28322
|
+
"supports_function_calling": true,
|
|
28323
|
+
"supports_tool_choice": true,
|
|
28324
|
+
"supports_reasoning": true
|
|
28159
28325
|
}
|
|
28160
28326
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.370
|
|
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
|