tokencostauto 0.1.327__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.
- {tokencostauto-0.1.327/tokencostauto.egg-info → tokencostauto-0.1.329}/PKG-INFO +1 -1
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/pyproject.toml +1 -1
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/tokencostauto/model_prices.json +179 -2
- {tokencostauto-0.1.327 → tokencostauto-0.1.329/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/LICENSE +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/MANIFEST.in +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/README.md +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/setup.cfg +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.327 → tokencostauto-0.1.329}/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.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
|
|
@@ -25361,12 +25361,12 @@
|
|
|
25361
25361
|
"openai/container": {
|
|
25362
25362
|
"code_interpreter_cost_per_session": 0.03,
|
|
25363
25363
|
"litellm_provider": "openai",
|
|
25364
|
-
"mode": "
|
|
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": "
|
|
25369
|
+
"mode": "chat"
|
|
25370
25370
|
},
|
|
25371
25371
|
"vertex_ai/mistral-ocr-2505": {
|
|
25372
25372
|
"litellm_provider": "vertex_ai",
|
|
@@ -25493,5 +25493,182 @@
|
|
|
25493
25493
|
"supports_url_context": true,
|
|
25494
25494
|
"supports_vision": true,
|
|
25495
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
|
+
}
|
|
25496
25673
|
}
|
|
25497
25674
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
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
|
|
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
|