tokencostauto 0.1.322__py3-none-any.whl → 0.1.327__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 +126 -0
- {tokencostauto-0.1.322.dist-info → tokencostauto-0.1.327.dist-info}/METADATA +1 -1
- tokencostauto-0.1.327.dist-info/RECORD +9 -0
- tokencostauto-0.1.322.dist-info/RECORD +0 -9
- {tokencostauto-0.1.322.dist-info → tokencostauto-0.1.327.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.322.dist-info → tokencostauto-0.1.327.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.322.dist-info → tokencostauto-0.1.327.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -25367,5 +25367,131 @@
|
|
|
25367
25367
|
"code_interpreter_cost_per_session": 0.03,
|
|
25368
25368
|
"litellm_provider": "azure",
|
|
25369
25369
|
"mode": "container"
|
|
25370
|
+
},
|
|
25371
|
+
"vertex_ai/mistral-ocr-2505": {
|
|
25372
|
+
"litellm_provider": "vertex_ai",
|
|
25373
|
+
"mode": "ocr",
|
|
25374
|
+
"ocr_cost_per_page": 0.0005,
|
|
25375
|
+
"supported_endpoints": [
|
|
25376
|
+
"/v1/ocr"
|
|
25377
|
+
],
|
|
25378
|
+
"source": "https://cloud.google.com/generative-ai-app-builder/pricing"
|
|
25379
|
+
},
|
|
25380
|
+
"azure_ai/doc-intelligence/prebuilt-read": {
|
|
25381
|
+
"litellm_provider": "azure_ai",
|
|
25382
|
+
"ocr_cost_per_page": 0.0015,
|
|
25383
|
+
"mode": "ocr",
|
|
25384
|
+
"supported_endpoints": [
|
|
25385
|
+
"/v1/ocr"
|
|
25386
|
+
],
|
|
25387
|
+
"source": "https://azure.microsoft.com/en-us/pricing/details/ai-document-intelligence/"
|
|
25388
|
+
},
|
|
25389
|
+
"azure_ai/doc-intelligence/prebuilt-layout": {
|
|
25390
|
+
"litellm_provider": "azure_ai",
|
|
25391
|
+
"ocr_cost_per_page": 0.01,
|
|
25392
|
+
"mode": "ocr",
|
|
25393
|
+
"supported_endpoints": [
|
|
25394
|
+
"/v1/ocr"
|
|
25395
|
+
],
|
|
25396
|
+
"source": "https://azure.microsoft.com/en-us/pricing/details/ai-document-intelligence/"
|
|
25397
|
+
},
|
|
25398
|
+
"azure_ai/doc-intelligence/prebuilt-document": {
|
|
25399
|
+
"litellm_provider": "azure_ai",
|
|
25400
|
+
"ocr_cost_per_page": 0.01,
|
|
25401
|
+
"mode": "ocr",
|
|
25402
|
+
"supported_endpoints": [
|
|
25403
|
+
"/v1/ocr"
|
|
25404
|
+
],
|
|
25405
|
+
"source": "https://azure.microsoft.com/en-us/pricing/details/ai-document-intelligence/"
|
|
25406
|
+
},
|
|
25407
|
+
"gemini-live-2.5-flash-preview-native-audio-09-2025": {
|
|
25408
|
+
"cache_read_input_token_cost": 7.5e-08,
|
|
25409
|
+
"input_cost_per_audio_token": 3e-06,
|
|
25410
|
+
"input_cost_per_token": 3e-07,
|
|
25411
|
+
"litellm_provider": "vertex_ai-language-models",
|
|
25412
|
+
"max_audio_length_hours": 8.4,
|
|
25413
|
+
"max_audio_per_prompt": 1,
|
|
25414
|
+
"max_images_per_prompt": 3000,
|
|
25415
|
+
"max_input_tokens": 1048576,
|
|
25416
|
+
"max_output_tokens": 65535,
|
|
25417
|
+
"max_pdf_size_mb": 30,
|
|
25418
|
+
"max_tokens": 65535,
|
|
25419
|
+
"max_video_length": 1,
|
|
25420
|
+
"max_videos_per_prompt": 10,
|
|
25421
|
+
"mode": "chat",
|
|
25422
|
+
"output_cost_per_audio_token": 1.2e-05,
|
|
25423
|
+
"output_cost_per_token": 2e-06,
|
|
25424
|
+
"source": "https://ai.google.dev/gemini-api/docs/pricing",
|
|
25425
|
+
"supported_endpoints": [
|
|
25426
|
+
"/v1/chat/completions",
|
|
25427
|
+
"/v1/completions"
|
|
25428
|
+
],
|
|
25429
|
+
"supported_modalities": [
|
|
25430
|
+
"text",
|
|
25431
|
+
"image",
|
|
25432
|
+
"audio",
|
|
25433
|
+
"video"
|
|
25434
|
+
],
|
|
25435
|
+
"supported_output_modalities": [
|
|
25436
|
+
"text",
|
|
25437
|
+
"audio"
|
|
25438
|
+
],
|
|
25439
|
+
"supports_audio_input": true,
|
|
25440
|
+
"supports_audio_output": true,
|
|
25441
|
+
"supports_function_calling": true,
|
|
25442
|
+
"supports_parallel_function_calling": true,
|
|
25443
|
+
"supports_pdf_input": true,
|
|
25444
|
+
"supports_prompt_caching": true,
|
|
25445
|
+
"supports_response_schema": true,
|
|
25446
|
+
"supports_system_messages": true,
|
|
25447
|
+
"supports_tool_choice": true,
|
|
25448
|
+
"supports_url_context": true,
|
|
25449
|
+
"supports_vision": true,
|
|
25450
|
+
"supports_web_search": true
|
|
25451
|
+
},
|
|
25452
|
+
"gemini/gemini-live-2.5-flash-preview-native-audio-09-2025": {
|
|
25453
|
+
"cache_read_input_token_cost": 7.5e-08,
|
|
25454
|
+
"input_cost_per_audio_token": 3e-06,
|
|
25455
|
+
"input_cost_per_token": 3e-07,
|
|
25456
|
+
"litellm_provider": "gemini",
|
|
25457
|
+
"max_audio_length_hours": 8.4,
|
|
25458
|
+
"max_audio_per_prompt": 1,
|
|
25459
|
+
"max_images_per_prompt": 3000,
|
|
25460
|
+
"max_input_tokens": 1048576,
|
|
25461
|
+
"max_output_tokens": 65535,
|
|
25462
|
+
"max_pdf_size_mb": 30,
|
|
25463
|
+
"max_tokens": 65535,
|
|
25464
|
+
"max_video_length": 1,
|
|
25465
|
+
"max_videos_per_prompt": 10,
|
|
25466
|
+
"mode": "chat",
|
|
25467
|
+
"output_cost_per_audio_token": 1.2e-05,
|
|
25468
|
+
"output_cost_per_token": 2e-06,
|
|
25469
|
+
"source": "https://ai.google.dev/gemini-api/docs/pricing",
|
|
25470
|
+
"supported_endpoints": [
|
|
25471
|
+
"/v1/chat/completions",
|
|
25472
|
+
"/v1/completions"
|
|
25473
|
+
],
|
|
25474
|
+
"supported_modalities": [
|
|
25475
|
+
"text",
|
|
25476
|
+
"image",
|
|
25477
|
+
"audio",
|
|
25478
|
+
"video"
|
|
25479
|
+
],
|
|
25480
|
+
"supported_output_modalities": [
|
|
25481
|
+
"text",
|
|
25482
|
+
"audio"
|
|
25483
|
+
],
|
|
25484
|
+
"supports_audio_input": true,
|
|
25485
|
+
"supports_audio_output": true,
|
|
25486
|
+
"supports_function_calling": true,
|
|
25487
|
+
"supports_parallel_function_calling": true,
|
|
25488
|
+
"supports_pdf_input": true,
|
|
25489
|
+
"supports_prompt_caching": true,
|
|
25490
|
+
"supports_response_schema": true,
|
|
25491
|
+
"supports_system_messages": true,
|
|
25492
|
+
"supports_tool_choice": true,
|
|
25493
|
+
"supports_url_context": true,
|
|
25494
|
+
"supports_vision": true,
|
|
25495
|
+
"supports_web_search": true
|
|
25370
25496
|
}
|
|
25371
25497
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.327
|
|
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=jzSQ-Uq1HzF2VNK0tdcOjG_Xtkf-n_3f7wZbz3e1EA8,909439
|
|
5
|
+
tokencostauto-0.1.327.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
+
tokencostauto-0.1.327.dist-info/METADATA,sha256=WQQE8kkw2XXhkCrjtSwkAgGwdqNEz8JTIi52K2j8Hdg,204076
|
|
7
|
+
tokencostauto-0.1.327.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
tokencostauto-0.1.327.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
+
tokencostauto-0.1.327.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=jA6MAxKj4q6Z0e5NdY-uoa-ebMNEADReyzxT6Knefrw,905094
|
|
5
|
-
tokencostauto-0.1.322.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.322.dist-info/METADATA,sha256=dvmMI6YE-85t4u1gQXhwYxXLam2N-_F8j2FBwKmDzRc,204076
|
|
7
|
-
tokencostauto-0.1.322.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
tokencostauto-0.1.322.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.322.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|