tokencostauto 0.1.368__tar.gz → 0.1.372__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.368/tokencostauto.egg-info → tokencostauto-0.1.372}/PKG-INFO +1 -1
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/pyproject.toml +1 -1
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/tokencostauto/model_prices.json +119 -3
- {tokencostauto-0.1.368 → tokencostauto-0.1.372/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/LICENSE +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/MANIFEST.in +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/README.md +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/setup.cfg +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.368 → tokencostauto-0.1.372}/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.372
|
|
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
|
|
@@ -28053,7 +28053,7 @@
|
|
|
28053
28053
|
},
|
|
28054
28054
|
"azure/claude-haiku-4-5": {
|
|
28055
28055
|
"input_cost_per_token": 1e-06,
|
|
28056
|
-
"litellm_provider": "
|
|
28056
|
+
"litellm_provider": "azure_ai",
|
|
28057
28057
|
"max_input_tokens": 200000,
|
|
28058
28058
|
"max_output_tokens": 64000,
|
|
28059
28059
|
"max_tokens": 64000,
|
|
@@ -28071,7 +28071,7 @@
|
|
|
28071
28071
|
},
|
|
28072
28072
|
"azure/claude-opus-4-1": {
|
|
28073
28073
|
"input_cost_per_token": 1.5e-05,
|
|
28074
|
-
"litellm_provider": "
|
|
28074
|
+
"litellm_provider": "azure_ai",
|
|
28075
28075
|
"max_input_tokens": 200000,
|
|
28076
28076
|
"max_output_tokens": 32000,
|
|
28077
28077
|
"max_tokens": 32000,
|
|
@@ -28089,7 +28089,7 @@
|
|
|
28089
28089
|
},
|
|
28090
28090
|
"azure/claude-sonnet-4-5": {
|
|
28091
28091
|
"input_cost_per_token": 3e-06,
|
|
28092
|
-
"litellm_provider": "
|
|
28092
|
+
"litellm_provider": "azure_ai",
|
|
28093
28093
|
"max_input_tokens": 200000,
|
|
28094
28094
|
"max_output_tokens": 64000,
|
|
28095
28095
|
"max_tokens": 64000,
|
|
@@ -28206,5 +28206,121 @@
|
|
|
28206
28206
|
"supported_endpoints": [
|
|
28207
28207
|
"/v1/audio/transcriptions"
|
|
28208
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
|
|
28209
28325
|
}
|
|
28210
28326
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.372
|
|
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
|