tokencostauto 0.1.325__tar.gz → 0.1.329__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.325
3
+ Version: 0.1.329
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
@@ -11,7 +11,7 @@ tokencostauto = ["model_prices.json"]
11
11
  [project]
12
12
 
13
13
  name = "tokencostauto"
14
- version = "0.1.325"
14
+ version = "0.1.329"
15
15
 
16
16
  authors = [
17
17
  { name = "Trisha Pan", email = "trishaepan@gmail.com" },
@@ -25361,12 +25361,12 @@
25361
25361
  "openai/container": {
25362
25362
  "code_interpreter_cost_per_session": 0.03,
25363
25363
  "litellm_provider": "openai",
25364
- "mode": "container"
25364
+ "mode": "chat"
25365
25365
  },
25366
25366
  "azure/container": {
25367
25367
  "code_interpreter_cost_per_session": 0.03,
25368
25368
  "litellm_provider": "azure",
25369
- "mode": "container"
25369
+ "mode": "chat"
25370
25370
  },
25371
25371
  "vertex_ai/mistral-ocr-2505": {
25372
25372
  "litellm_provider": "vertex_ai",
@@ -25376,5 +25376,299 @@
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
25496
+ },
25497
+ "azure/gpt-image-1-mini": {
25498
+ "input_cost_per_pixel": 8.0566406e-09,
25499
+ "litellm_provider": "azure",
25500
+ "mode": "image_generation",
25501
+ "output_cost_per_pixel": 0.0,
25502
+ "supported_endpoints": [
25503
+ "/v1/images/generations"
25504
+ ]
25505
+ },
25506
+ "azure/low/1024-x-1024/gpt-image-1-mini": {
25507
+ "input_cost_per_pixel": 2.0751953125e-09,
25508
+ "litellm_provider": "azure",
25509
+ "mode": "image_generation",
25510
+ "output_cost_per_pixel": 0.0,
25511
+ "supported_endpoints": [
25512
+ "/v1/images/generations"
25513
+ ]
25514
+ },
25515
+ "azure/low/1024-x-1536/gpt-image-1-mini": {
25516
+ "input_cost_per_pixel": 2.0751953125e-09,
25517
+ "litellm_provider": "azure",
25518
+ "mode": "image_generation",
25519
+ "output_cost_per_pixel": 0.0,
25520
+ "supported_endpoints": [
25521
+ "/v1/images/generations"
25522
+ ]
25523
+ },
25524
+ "azure/low/1536-x-1024/gpt-image-1-mini": {
25525
+ "input_cost_per_pixel": 2.0345052083e-09,
25526
+ "litellm_provider": "azure",
25527
+ "mode": "image_generation",
25528
+ "output_cost_per_pixel": 0.0,
25529
+ "supported_endpoints": [
25530
+ "/v1/images/generations"
25531
+ ]
25532
+ },
25533
+ "azure/medium/1024-x-1024/gpt-image-1-mini": {
25534
+ "input_cost_per_pixel": 8.056640625e-09,
25535
+ "litellm_provider": "azure",
25536
+ "mode": "image_generation",
25537
+ "output_cost_per_pixel": 0.0,
25538
+ "supported_endpoints": [
25539
+ "/v1/images/generations"
25540
+ ]
25541
+ },
25542
+ "azure/medium/1024-x-1536/gpt-image-1-mini": {
25543
+ "input_cost_per_pixel": 8.056640625e-09,
25544
+ "litellm_provider": "azure",
25545
+ "mode": "image_generation",
25546
+ "output_cost_per_pixel": 0.0,
25547
+ "supported_endpoints": [
25548
+ "/v1/images/generations"
25549
+ ]
25550
+ },
25551
+ "azure/medium/1536-x-1024/gpt-image-1-mini": {
25552
+ "input_cost_per_pixel": 7.9752604167e-09,
25553
+ "litellm_provider": "azure",
25554
+ "mode": "image_generation",
25555
+ "output_cost_per_pixel": 0.0,
25556
+ "supported_endpoints": [
25557
+ "/v1/images/generations"
25558
+ ]
25559
+ },
25560
+ "azure/high/1024-x-1024/gpt-image-1-mini": {
25561
+ "input_cost_per_pixel": 3.173828125e-08,
25562
+ "litellm_provider": "azure",
25563
+ "mode": "image_generation",
25564
+ "output_cost_per_pixel": 0.0,
25565
+ "supported_endpoints": [
25566
+ "/v1/images/generations"
25567
+ ]
25568
+ },
25569
+ "azure/high/1024-x-1536/gpt-image-1-mini": {
25570
+ "input_cost_per_pixel": 3.173828125e-08,
25571
+ "litellm_provider": "azure",
25572
+ "mode": "image_generation",
25573
+ "output_cost_per_pixel": 0.0,
25574
+ "supported_endpoints": [
25575
+ "/v1/images/generations"
25576
+ ]
25577
+ },
25578
+ "azure/high/1536-x-1024/gpt-image-1-mini": {
25579
+ "input_cost_per_pixel": 3.1575520833e-08,
25580
+ "litellm_provider": "azure",
25581
+ "mode": "image_generation",
25582
+ "output_cost_per_pixel": 0.0,
25583
+ "supported_endpoints": [
25584
+ "/v1/images/generations"
25585
+ ]
25586
+ },
25587
+ "firecrawl/search": {
25588
+ "litellm_provider": "firecrawl",
25589
+ "mode": "search",
25590
+ "tiered_pricing": [
25591
+ {
25592
+ "input_cost_per_query": 0.00166,
25593
+ "max_results_range": [
25594
+ 1,
25595
+ 10
25596
+ ]
25597
+ },
25598
+ {
25599
+ "input_cost_per_query": 0.00332,
25600
+ "max_results_range": [
25601
+ 11,
25602
+ 20
25603
+ ]
25604
+ },
25605
+ {
25606
+ "input_cost_per_query": 0.00498,
25607
+ "max_results_range": [
25608
+ 21,
25609
+ 30
25610
+ ]
25611
+ },
25612
+ {
25613
+ "input_cost_per_query": 0.00664,
25614
+ "max_results_range": [
25615
+ 31,
25616
+ 40
25617
+ ]
25618
+ },
25619
+ {
25620
+ "input_cost_per_query": 0.0083,
25621
+ "max_results_range": [
25622
+ 41,
25623
+ 50
25624
+ ]
25625
+ },
25626
+ {
25627
+ "input_cost_per_query": 0.00996,
25628
+ "max_results_range": [
25629
+ 51,
25630
+ 60
25631
+ ]
25632
+ },
25633
+ {
25634
+ "input_cost_per_query": 0.01162,
25635
+ "max_results_range": [
25636
+ 61,
25637
+ 70
25638
+ ]
25639
+ },
25640
+ {
25641
+ "input_cost_per_query": 0.01328,
25642
+ "max_results_range": [
25643
+ 71,
25644
+ 80
25645
+ ]
25646
+ },
25647
+ {
25648
+ "input_cost_per_query": 0.01494,
25649
+ "max_results_range": [
25650
+ 81,
25651
+ 90
25652
+ ]
25653
+ },
25654
+ {
25655
+ "input_cost_per_query": 0.0166,
25656
+ "max_results_range": [
25657
+ 91,
25658
+ 100
25659
+ ]
25660
+ }
25661
+ ],
25662
+ "metadata": {
25663
+ "notes": "Firecrawl search pricing: $83 for 100,000 credits, 2 credits per 10 results. Cost = ceiling(limit/10) * 2 * $0.00083"
25664
+ }
25665
+ },
25666
+ "searxng/search": {
25667
+ "litellm_provider": "searxng",
25668
+ "mode": "search",
25669
+ "input_cost_per_query": 0.0,
25670
+ "metadata": {
25671
+ "notes": "SearXNG is an open-source metasearch engine. Free to use when self-hosted or using public instances."
25672
+ }
25379
25673
  }
25380
25674
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.325
3
+ Version: 0.1.329
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