tokencostauto 0.1.325__tar.gz → 0.1.327__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.325/tokencostauto.egg-info → tokencostauto-0.1.327}/PKG-INFO +1 -1
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/pyproject.toml +1 -1
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/tokencostauto/model_prices.json +117 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/LICENSE +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/MANIFEST.in +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/README.md +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/setup.cfg +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.325 → tokencostauto-0.1.327}/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.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
|
|
@@ -25376,5 +25376,122 @@
|
|
|
25376
25376
|
"/v1/ocr"
|
|
25377
25377
|
],
|
|
25378
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
|
|
25379
25496
|
}
|
|
25380
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
|
|
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
|