tokencostauto 0.1.368__py3-none-any.whl → 0.1.370__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 +116 -0
- {tokencostauto-0.1.368.dist-info → tokencostauto-0.1.370.dist-info}/METADATA +1 -1
- tokencostauto-0.1.370.dist-info/RECORD +9 -0
- tokencostauto-0.1.368.dist-info/RECORD +0 -9
- {tokencostauto-0.1.368.dist-info → tokencostauto-0.1.370.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.368.dist-info → tokencostauto-0.1.370.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.368.dist-info → tokencostauto-0.1.370.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -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.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
|
|
@@ -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=2_PnPwV32BacSjOC2y6GCN8LzMV57j2QN_uWfhrbMNA,1006258
|
|
5
|
+
tokencostauto-0.1.370.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
+
tokencostauto-0.1.370.dist-info/METADATA,sha256=MQBbwHq-ED2bihKacqkMwFSXDAh10yF3UHUzcaK_rU8,204076
|
|
7
|
+
tokencostauto-0.1.370.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
tokencostauto-0.1.370.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
+
tokencostauto-0.1.370.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=uYyZFLQm912ys6MPmr7UmugayKyK6kSSQvddK6wEMKs,1002147
|
|
5
|
-
tokencostauto-0.1.368.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.368.dist-info/METADATA,sha256=23_Vkn8mrtF8RZwKQnBfJzPZg8DF5geZjbQkDeU3R3U,204076
|
|
7
|
-
tokencostauto-0.1.368.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
tokencostauto-0.1.368.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.368.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|