tokencostauto 0.1.327__py3-none-any.whl → 0.1.331__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.
@@ -16267,7 +16267,6 @@
16267
16267
  "output_cost_per_token": 1.5e-05,
16268
16268
  "source": "https://docs.x.ai/docs/models",
16269
16269
  "supports_function_calling": true,
16270
- "supports_reasoning": true,
16271
16270
  "supports_tool_choice": true,
16272
16271
  "supports_web_search": true
16273
16272
  },
@@ -16283,7 +16282,6 @@
16283
16282
  "output_cost_per_token_above_128k_tokens": 3e-05,
16284
16283
  "source": "https://docs.x.ai/docs/models",
16285
16284
  "supports_function_calling": true,
16286
- "supports_reasoning": true,
16287
16285
  "supports_tool_choice": true,
16288
16286
  "supports_web_search": true
16289
16287
  },
@@ -16299,7 +16297,6 @@
16299
16297
  "output_cost_per_token_above_128k_tokens": 3e-05,
16300
16298
  "source": "https://docs.x.ai/docs/models",
16301
16299
  "supports_function_calling": true,
16302
- "supports_reasoning": true,
16303
16300
  "supports_tool_choice": true,
16304
16301
  "supports_web_search": true
16305
16302
  },
@@ -22779,7 +22776,6 @@
22779
22776
  "cache_read_input_token_cost": 5e-08,
22780
22777
  "source": "https://docs.x.ai/docs/models",
22781
22778
  "supports_function_calling": true,
22782
- "supports_reasoning": true,
22783
22779
  "supports_tool_choice": true,
22784
22780
  "supports_web_search": true
22785
22781
  },
@@ -23635,7 +23631,6 @@
23635
23631
  "output_cost_per_token": 2.75e-05,
23636
23632
  "source": "https://azure.microsoft.com/en-us/blog/grok-4-is-now-available-in-azure-ai-foundry-unlock-frontier-intelligence-and-business-ready-capabilities/",
23637
23633
  "supports_function_calling": true,
23638
- "supports_reasoning": true,
23639
23634
  "supports_response_schema": true,
23640
23635
  "supports_tool_choice": true,
23641
23636
  "supports_web_search": true
@@ -23663,7 +23658,6 @@
23663
23658
  "mode": "chat",
23664
23659
  "source": "https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/announcing-the-grok-4-fast-models-from-xai-now-available-in-azure-ai-foundry/4456701",
23665
23660
  "supports_function_calling": true,
23666
- "supports_reasoning": true,
23667
23661
  "supports_response_schema": true,
23668
23662
  "supports_tool_choice": true,
23669
23663
  "supports_web_search": true
@@ -25361,12 +25355,12 @@
25361
25355
  "openai/container": {
25362
25356
  "code_interpreter_cost_per_session": 0.03,
25363
25357
  "litellm_provider": "openai",
25364
- "mode": "container"
25358
+ "mode": "chat"
25365
25359
  },
25366
25360
  "azure/container": {
25367
25361
  "code_interpreter_cost_per_session": 0.03,
25368
25362
  "litellm_provider": "azure",
25369
- "mode": "container"
25363
+ "mode": "chat"
25370
25364
  },
25371
25365
  "vertex_ai/mistral-ocr-2505": {
25372
25366
  "litellm_provider": "vertex_ai",
@@ -25493,5 +25487,211 @@
25493
25487
  "supports_url_context": true,
25494
25488
  "supports_vision": true,
25495
25489
  "supports_web_search": true
25490
+ },
25491
+ "azure/gpt-image-1-mini": {
25492
+ "input_cost_per_pixel": 8.0566406e-09,
25493
+ "litellm_provider": "azure",
25494
+ "mode": "image_generation",
25495
+ "output_cost_per_pixel": 0.0,
25496
+ "supported_endpoints": [
25497
+ "/v1/images/generations"
25498
+ ]
25499
+ },
25500
+ "azure/low/1024-x-1024/gpt-image-1-mini": {
25501
+ "input_cost_per_pixel": 2.0751953125e-09,
25502
+ "litellm_provider": "azure",
25503
+ "mode": "image_generation",
25504
+ "output_cost_per_pixel": 0.0,
25505
+ "supported_endpoints": [
25506
+ "/v1/images/generations"
25507
+ ]
25508
+ },
25509
+ "azure/low/1024-x-1536/gpt-image-1-mini": {
25510
+ "input_cost_per_pixel": 2.0751953125e-09,
25511
+ "litellm_provider": "azure",
25512
+ "mode": "image_generation",
25513
+ "output_cost_per_pixel": 0.0,
25514
+ "supported_endpoints": [
25515
+ "/v1/images/generations"
25516
+ ]
25517
+ },
25518
+ "azure/low/1536-x-1024/gpt-image-1-mini": {
25519
+ "input_cost_per_pixel": 2.0345052083e-09,
25520
+ "litellm_provider": "azure",
25521
+ "mode": "image_generation",
25522
+ "output_cost_per_pixel": 0.0,
25523
+ "supported_endpoints": [
25524
+ "/v1/images/generations"
25525
+ ]
25526
+ },
25527
+ "azure/medium/1024-x-1024/gpt-image-1-mini": {
25528
+ "input_cost_per_pixel": 8.056640625e-09,
25529
+ "litellm_provider": "azure",
25530
+ "mode": "image_generation",
25531
+ "output_cost_per_pixel": 0.0,
25532
+ "supported_endpoints": [
25533
+ "/v1/images/generations"
25534
+ ]
25535
+ },
25536
+ "azure/medium/1024-x-1536/gpt-image-1-mini": {
25537
+ "input_cost_per_pixel": 8.056640625e-09,
25538
+ "litellm_provider": "azure",
25539
+ "mode": "image_generation",
25540
+ "output_cost_per_pixel": 0.0,
25541
+ "supported_endpoints": [
25542
+ "/v1/images/generations"
25543
+ ]
25544
+ },
25545
+ "azure/medium/1536-x-1024/gpt-image-1-mini": {
25546
+ "input_cost_per_pixel": 7.9752604167e-09,
25547
+ "litellm_provider": "azure",
25548
+ "mode": "image_generation",
25549
+ "output_cost_per_pixel": 0.0,
25550
+ "supported_endpoints": [
25551
+ "/v1/images/generations"
25552
+ ]
25553
+ },
25554
+ "azure/high/1024-x-1024/gpt-image-1-mini": {
25555
+ "input_cost_per_pixel": 3.173828125e-08,
25556
+ "litellm_provider": "azure",
25557
+ "mode": "image_generation",
25558
+ "output_cost_per_pixel": 0.0,
25559
+ "supported_endpoints": [
25560
+ "/v1/images/generations"
25561
+ ]
25562
+ },
25563
+ "azure/high/1024-x-1536/gpt-image-1-mini": {
25564
+ "input_cost_per_pixel": 3.173828125e-08,
25565
+ "litellm_provider": "azure",
25566
+ "mode": "image_generation",
25567
+ "output_cost_per_pixel": 0.0,
25568
+ "supported_endpoints": [
25569
+ "/v1/images/generations"
25570
+ ]
25571
+ },
25572
+ "azure/high/1536-x-1024/gpt-image-1-mini": {
25573
+ "input_cost_per_pixel": 3.1575520833e-08,
25574
+ "litellm_provider": "azure",
25575
+ "mode": "image_generation",
25576
+ "output_cost_per_pixel": 0.0,
25577
+ "supported_endpoints": [
25578
+ "/v1/images/generations"
25579
+ ]
25580
+ },
25581
+ "firecrawl/search": {
25582
+ "litellm_provider": "firecrawl",
25583
+ "mode": "search",
25584
+ "tiered_pricing": [
25585
+ {
25586
+ "input_cost_per_query": 0.00166,
25587
+ "max_results_range": [
25588
+ 1,
25589
+ 10
25590
+ ]
25591
+ },
25592
+ {
25593
+ "input_cost_per_query": 0.00332,
25594
+ "max_results_range": [
25595
+ 11,
25596
+ 20
25597
+ ]
25598
+ },
25599
+ {
25600
+ "input_cost_per_query": 0.00498,
25601
+ "max_results_range": [
25602
+ 21,
25603
+ 30
25604
+ ]
25605
+ },
25606
+ {
25607
+ "input_cost_per_query": 0.00664,
25608
+ "max_results_range": [
25609
+ 31,
25610
+ 40
25611
+ ]
25612
+ },
25613
+ {
25614
+ "input_cost_per_query": 0.0083,
25615
+ "max_results_range": [
25616
+ 41,
25617
+ 50
25618
+ ]
25619
+ },
25620
+ {
25621
+ "input_cost_per_query": 0.00996,
25622
+ "max_results_range": [
25623
+ 51,
25624
+ 60
25625
+ ]
25626
+ },
25627
+ {
25628
+ "input_cost_per_query": 0.01162,
25629
+ "max_results_range": [
25630
+ 61,
25631
+ 70
25632
+ ]
25633
+ },
25634
+ {
25635
+ "input_cost_per_query": 0.01328,
25636
+ "max_results_range": [
25637
+ 71,
25638
+ 80
25639
+ ]
25640
+ },
25641
+ {
25642
+ "input_cost_per_query": 0.01494,
25643
+ "max_results_range": [
25644
+ 81,
25645
+ 90
25646
+ ]
25647
+ },
25648
+ {
25649
+ "input_cost_per_query": 0.0166,
25650
+ "max_results_range": [
25651
+ 91,
25652
+ 100
25653
+ ]
25654
+ }
25655
+ ],
25656
+ "metadata": {
25657
+ "notes": "Firecrawl search pricing: $83 for 100,000 credits, 2 credits per 10 results. Cost = ceiling(limit/10) * 2 * $0.00083"
25658
+ }
25659
+ },
25660
+ "searxng/search": {
25661
+ "litellm_provider": "searxng",
25662
+ "mode": "search",
25663
+ "input_cost_per_query": 0.0,
25664
+ "metadata": {
25665
+ "notes": "SearXNG is an open-source metasearch engine. Free to use when self-hosted or using public instances."
25666
+ }
25667
+ },
25668
+ "azure/gpt-5-pro": {
25669
+ "input_cost_per_token": 1.5e-05,
25670
+ "litellm_provider": "azure",
25671
+ "max_input_tokens": 272000,
25672
+ "max_output_tokens": 128000,
25673
+ "max_tokens": 400000,
25674
+ "mode": "responses",
25675
+ "output_cost_per_token": 0.00012,
25676
+ "source": "https://learn.microsoft.com/en-us/azure/ai-foundry/foundry-models/concepts/models-sold-directly-by-azure?pivots=azure-openai&tabs=global-standard-aoai%2Cstandard-chat-completions%2Cglobal-standard#gpt-5",
25677
+ "supported_endpoints": [
25678
+ "/v1/responses"
25679
+ ],
25680
+ "supported_modalities": [
25681
+ "text",
25682
+ "image"
25683
+ ],
25684
+ "supported_output_modalities": [
25685
+ "text"
25686
+ ],
25687
+ "supports_function_calling": true,
25688
+ "supports_parallel_function_calling": true,
25689
+ "supports_pdf_input": true,
25690
+ "supports_prompt_caching": true,
25691
+ "supports_reasoning": true,
25692
+ "supports_response_schema": true,
25693
+ "supports_system_messages": true,
25694
+ "supports_tool_choice": true,
25695
+ "supports_vision": true
25496
25696
  }
25497
25697
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.327
3
+ Version: 0.1.331
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=gKVHL6lERJM6A7rIhZppqmQRjD9gVRYcDpLFA2mzIvg,915677
5
+ tokencostauto-0.1.331.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
+ tokencostauto-0.1.331.dist-info/METADATA,sha256=XlIuaxIg5TjW-0duypHRluGA23JjAoJc7Puwx9TeRHw,204076
7
+ tokencostauto-0.1.331.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ tokencostauto-0.1.331.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
+ tokencostauto-0.1.331.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=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,,