tokencostauto 0.1.421__tar.gz → 0.1.439__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.421/tokencostauto.egg-info → tokencostauto-0.1.439}/PKG-INFO +1 -1
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/pyproject.toml +1 -1
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/tokencostauto/model_prices.json +744 -17
- {tokencostauto-0.1.421 → tokencostauto-0.1.439/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/LICENSE +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/MANIFEST.in +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/README.md +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/setup.cfg +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.421 → tokencostauto-0.1.439}/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.439
|
|
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
|
|
@@ -1818,14 +1818,13 @@
|
|
|
1818
1818
|
"supports_tool_choice": true
|
|
1819
1819
|
},
|
|
1820
1820
|
"groq/gemma-7b-it": {
|
|
1821
|
-
"
|
|
1822
|
-
"input_cost_per_token": 7e-08,
|
|
1821
|
+
"input_cost_per_token": 5e-08,
|
|
1823
1822
|
"litellm_provider": "groq",
|
|
1824
1823
|
"max_input_tokens": 8192,
|
|
1825
1824
|
"max_output_tokens": 8192,
|
|
1826
1825
|
"max_tokens": 8192,
|
|
1827
1826
|
"mode": "chat",
|
|
1828
|
-
"output_cost_per_token":
|
|
1827
|
+
"output_cost_per_token": 8e-08,
|
|
1829
1828
|
"supports_function_calling": true,
|
|
1830
1829
|
"supports_response_schema": false,
|
|
1831
1830
|
"supports_tool_choice": true
|
|
@@ -2542,6 +2541,7 @@
|
|
|
2542
2541
|
"supports_tool_choice": true
|
|
2543
2542
|
},
|
|
2544
2543
|
"gemini-1.5-pro": {
|
|
2544
|
+
"deprecation_date": "2025-09-29",
|
|
2545
2545
|
"input_cost_per_audio_per_second": 3.125e-05,
|
|
2546
2546
|
"input_cost_per_audio_per_second_above_128k_tokens": 6.25e-05,
|
|
2547
2547
|
"input_cost_per_character": 3.125e-07,
|
|
@@ -2629,6 +2629,7 @@
|
|
|
2629
2629
|
"supports_vision": true
|
|
2630
2630
|
},
|
|
2631
2631
|
"gemini-1.5-pro-preview-0514": {
|
|
2632
|
+
"deprecation_date": "2025-09-29",
|
|
2632
2633
|
"input_cost_per_audio_per_second": 3.125e-05,
|
|
2633
2634
|
"input_cost_per_audio_per_second_above_128k_tokens": 6.25e-05,
|
|
2634
2635
|
"input_cost_per_character": 3.125e-07,
|
|
@@ -2656,6 +2657,7 @@
|
|
|
2656
2657
|
"supports_tool_choice": true
|
|
2657
2658
|
},
|
|
2658
2659
|
"gemini-1.5-pro-preview-0215": {
|
|
2660
|
+
"deprecation_date": "2025-09-29",
|
|
2659
2661
|
"input_cost_per_audio_per_second": 3.125e-05,
|
|
2660
2662
|
"input_cost_per_audio_per_second_above_128k_tokens": 6.25e-05,
|
|
2661
2663
|
"input_cost_per_character": 3.125e-07,
|
|
@@ -2683,6 +2685,7 @@
|
|
|
2683
2685
|
"supports_tool_choice": true
|
|
2684
2686
|
},
|
|
2685
2687
|
"gemini-1.5-pro-preview-0409": {
|
|
2688
|
+
"deprecation_date": "2025-09-29",
|
|
2686
2689
|
"input_cost_per_audio_per_second": 3.125e-05,
|
|
2687
2690
|
"input_cost_per_audio_per_second_above_128k_tokens": 6.25e-05,
|
|
2688
2691
|
"input_cost_per_character": 3.125e-07,
|
|
@@ -2709,6 +2712,7 @@
|
|
|
2709
2712
|
"supports_tool_choice": true
|
|
2710
2713
|
},
|
|
2711
2714
|
"gemini-1.5-flash": {
|
|
2715
|
+
"deprecation_date": "2025-09-29",
|
|
2712
2716
|
"input_cost_per_audio_per_second": 2e-06,
|
|
2713
2717
|
"input_cost_per_audio_per_second_above_128k_tokens": 4e-06,
|
|
2714
2718
|
"input_cost_per_character": 1.875e-08,
|
|
@@ -2743,6 +2747,7 @@
|
|
|
2743
2747
|
"supports_vision": true
|
|
2744
2748
|
},
|
|
2745
2749
|
"gemini-1.5-flash-exp-0827": {
|
|
2750
|
+
"deprecation_date": "2025-09-29",
|
|
2746
2751
|
"input_cost_per_audio_per_second": 2e-06,
|
|
2747
2752
|
"input_cost_per_audio_per_second_above_128k_tokens": 4e-06,
|
|
2748
2753
|
"input_cost_per_character": 1.875e-08,
|
|
@@ -2847,6 +2852,7 @@
|
|
|
2847
2852
|
"supports_vision": true
|
|
2848
2853
|
},
|
|
2849
2854
|
"gemini-1.5-flash-preview-0514": {
|
|
2855
|
+
"deprecation_date": "2025-09-29",
|
|
2850
2856
|
"input_cost_per_audio_per_second": 2e-06,
|
|
2851
2857
|
"input_cost_per_audio_per_second_above_128k_tokens": 4e-06,
|
|
2852
2858
|
"input_cost_per_character": 1.875e-08,
|
|
@@ -3238,6 +3244,7 @@
|
|
|
3238
3244
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing"
|
|
3239
3245
|
},
|
|
3240
3246
|
"text-embedding-004": {
|
|
3247
|
+
"deprecation_date": "2026-01-14",
|
|
3241
3248
|
"input_cost_per_character": 2.5e-08,
|
|
3242
3249
|
"input_cost_per_token": 1e-07,
|
|
3243
3250
|
"litellm_provider": "vertex_ai-embedding-models",
|
|
@@ -3454,6 +3461,7 @@
|
|
|
3454
3461
|
"tpm": 4000000
|
|
3455
3462
|
},
|
|
3456
3463
|
"gemini/gemini-1.5-flash": {
|
|
3464
|
+
"deprecation_date": "2025-09-29",
|
|
3457
3465
|
"input_cost_per_token": 7.5e-08,
|
|
3458
3466
|
"input_cost_per_token_above_128k_tokens": 1.5e-07,
|
|
3459
3467
|
"litellm_provider": "gemini",
|
|
@@ -3479,6 +3487,7 @@
|
|
|
3479
3487
|
"tpm": 4000000
|
|
3480
3488
|
},
|
|
3481
3489
|
"gemini/gemini-1.5-flash-latest": {
|
|
3490
|
+
"deprecation_date": "2025-09-29",
|
|
3482
3491
|
"input_cost_per_token": 7.5e-08,
|
|
3483
3492
|
"input_cost_per_token_above_128k_tokens": 1.5e-07,
|
|
3484
3493
|
"litellm_provider": "gemini",
|
|
@@ -3505,6 +3514,7 @@
|
|
|
3505
3514
|
"tpm": 4000000
|
|
3506
3515
|
},
|
|
3507
3516
|
"gemini/gemini-1.5-flash-8b-exp-0924": {
|
|
3517
|
+
"deprecation_date": "2025-09-29",
|
|
3508
3518
|
"input_cost_per_token": 0,
|
|
3509
3519
|
"input_cost_per_token_above_128k_tokens": 0,
|
|
3510
3520
|
"litellm_provider": "gemini",
|
|
@@ -3531,6 +3541,7 @@
|
|
|
3531
3541
|
"tpm": 4000000
|
|
3532
3542
|
},
|
|
3533
3543
|
"gemini/gemini-1.5-flash-exp-0827": {
|
|
3544
|
+
"deprecation_date": "2025-09-29",
|
|
3534
3545
|
"input_cost_per_token": 0,
|
|
3535
3546
|
"input_cost_per_token_above_128k_tokens": 0,
|
|
3536
3547
|
"litellm_provider": "gemini",
|
|
@@ -3556,6 +3567,7 @@
|
|
|
3556
3567
|
"tpm": 4000000
|
|
3557
3568
|
},
|
|
3558
3569
|
"gemini/gemini-1.5-flash-8b-exp-0827": {
|
|
3570
|
+
"deprecation_date": "2025-09-29",
|
|
3559
3571
|
"input_cost_per_token": 0,
|
|
3560
3572
|
"input_cost_per_token_above_128k_tokens": 0,
|
|
3561
3573
|
"litellm_provider": "gemini",
|
|
@@ -3598,6 +3610,7 @@
|
|
|
3598
3610
|
"tpm": 120000
|
|
3599
3611
|
},
|
|
3600
3612
|
"gemini/gemini-1.5-pro": {
|
|
3613
|
+
"deprecation_date": "2025-09-29",
|
|
3601
3614
|
"input_cost_per_token": 3.5e-06,
|
|
3602
3615
|
"input_cost_per_token_above_128k_tokens": 7e-06,
|
|
3603
3616
|
"litellm_provider": "gemini",
|
|
@@ -3659,6 +3672,7 @@
|
|
|
3659
3672
|
"tpm": 4000000
|
|
3660
3673
|
},
|
|
3661
3674
|
"gemini/gemini-1.5-pro-exp-0801": {
|
|
3675
|
+
"deprecation_date": "2025-09-29",
|
|
3662
3676
|
"input_cost_per_token": 3.5e-06,
|
|
3663
3677
|
"input_cost_per_token_above_128k_tokens": 7e-06,
|
|
3664
3678
|
"litellm_provider": "gemini",
|
|
@@ -3678,6 +3692,7 @@
|
|
|
3678
3692
|
"tpm": 4000000
|
|
3679
3693
|
},
|
|
3680
3694
|
"gemini/gemini-1.5-pro-exp-0827": {
|
|
3695
|
+
"deprecation_date": "2025-09-29",
|
|
3681
3696
|
"input_cost_per_token": 0,
|
|
3682
3697
|
"input_cost_per_token_above_128k_tokens": 0,
|
|
3683
3698
|
"litellm_provider": "gemini",
|
|
@@ -3697,6 +3712,7 @@
|
|
|
3697
3712
|
"tpm": 4000000
|
|
3698
3713
|
},
|
|
3699
3714
|
"gemini/gemini-1.5-pro-latest": {
|
|
3715
|
+
"deprecation_date": "2025-09-29",
|
|
3700
3716
|
"input_cost_per_token": 3.5e-06,
|
|
3701
3717
|
"input_cost_per_token_above_128k_tokens": 7e-06,
|
|
3702
3718
|
"litellm_provider": "gemini",
|
|
@@ -8510,6 +8526,7 @@
|
|
|
8510
8526
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models"
|
|
8511
8527
|
},
|
|
8512
8528
|
"gemini/gemini-1.5-flash-8b": {
|
|
8529
|
+
"deprecation_date": "2025-09-29",
|
|
8513
8530
|
"input_cost_per_token": 0,
|
|
8514
8531
|
"input_cost_per_token_above_128k_tokens": 0,
|
|
8515
8532
|
"litellm_provider": "gemini",
|
|
@@ -9176,6 +9193,7 @@
|
|
|
9176
9193
|
"supports_web_search": true
|
|
9177
9194
|
},
|
|
9178
9195
|
"gemini-2.0-flash-thinking-exp": {
|
|
9196
|
+
"deprecation_date": "2025-12-02",
|
|
9179
9197
|
"cache_read_input_token_cost": 0.0,
|
|
9180
9198
|
"input_cost_per_audio_per_second": 0,
|
|
9181
9199
|
"input_cost_per_audio_per_second_above_128k_tokens": 0,
|
|
@@ -9224,6 +9242,7 @@
|
|
|
9224
9242
|
"supports_web_search": true
|
|
9225
9243
|
},
|
|
9226
9244
|
"gemini-2.0-flash-thinking-exp-01-21": {
|
|
9245
|
+
"deprecation_date": "2025-12-02",
|
|
9227
9246
|
"cache_read_input_token_cost": 0.0,
|
|
9228
9247
|
"input_cost_per_audio_per_second": 0,
|
|
9229
9248
|
"input_cost_per_audio_per_second_above_128k_tokens": 0,
|
|
@@ -9311,6 +9330,7 @@
|
|
|
9311
9330
|
"tpm": 10000000
|
|
9312
9331
|
},
|
|
9313
9332
|
"gemini/gemini-2.0-flash-lite-preview-02-05": {
|
|
9333
|
+
"deprecation_date": "2025-12-02",
|
|
9314
9334
|
"cache_read_input_token_cost": 1.875e-08,
|
|
9315
9335
|
"input_cost_per_audio_token": 7.5e-08,
|
|
9316
9336
|
"input_cost_per_token": 7.5e-08,
|
|
@@ -9348,6 +9368,7 @@
|
|
|
9348
9368
|
"tpm": 10000000
|
|
9349
9369
|
},
|
|
9350
9370
|
"gemini/gemini-2.0-flash-thinking-exp": {
|
|
9371
|
+
"deprecation_date": "2025-12-02",
|
|
9351
9372
|
"cache_read_input_token_cost": 0.0,
|
|
9352
9373
|
"input_cost_per_audio_per_second": 0,
|
|
9353
9374
|
"input_cost_per_audio_per_second_above_128k_tokens": 0,
|
|
@@ -10401,6 +10422,7 @@
|
|
|
10401
10422
|
"tpm": 1000000
|
|
10402
10423
|
},
|
|
10403
10424
|
"gemini/gemini-2.0-flash-thinking-exp-01-21": {
|
|
10425
|
+
"deprecation_date": "2025-12-02",
|
|
10404
10426
|
"cache_read_input_token_cost": 0.0,
|
|
10405
10427
|
"input_cost_per_audio_per_second": 0,
|
|
10406
10428
|
"input_cost_per_audio_per_second_above_128k_tokens": 0,
|
|
@@ -10507,6 +10529,7 @@
|
|
|
10507
10529
|
"supports_vision": true
|
|
10508
10530
|
},
|
|
10509
10531
|
"vertex_ai/imagen-3.0-generate-002": {
|
|
10532
|
+
"deprecation_date": "2025-11-10",
|
|
10510
10533
|
"litellm_provider": "vertex_ai-image-models",
|
|
10511
10534
|
"mode": "image_generation",
|
|
10512
10535
|
"output_cost_per_image": 0.04,
|
|
@@ -11366,16 +11389,16 @@
|
|
|
11366
11389
|
"supports_vision": true
|
|
11367
11390
|
},
|
|
11368
11391
|
"gpt-image-1": {
|
|
11369
|
-
"
|
|
11370
|
-
"
|
|
11371
|
-
"input_cost_per_token": 5e-06,
|
|
11392
|
+
"cache_read_input_image_token_cost": 2.5e-06,
|
|
11393
|
+
"cache_read_input_token_cost": 1.25e-06,
|
|
11372
11394
|
"input_cost_per_image_token": 1e-05,
|
|
11395
|
+
"input_cost_per_token": 5e-06,
|
|
11373
11396
|
"litellm_provider": "openai",
|
|
11374
11397
|
"mode": "image_generation",
|
|
11375
|
-
"
|
|
11376
|
-
"output_cost_per_token": 4e-05,
|
|
11398
|
+
"output_cost_per_image_token": 4e-05,
|
|
11377
11399
|
"supported_endpoints": [
|
|
11378
|
-
"/v1/images/generations"
|
|
11400
|
+
"/v1/images/generations",
|
|
11401
|
+
"/v1/images/edits"
|
|
11379
11402
|
]
|
|
11380
11403
|
},
|
|
11381
11404
|
"low/1024-x-1024/gpt-image-1": {
|
|
@@ -11984,12 +12007,16 @@
|
|
|
11984
12007
|
"supports_vision": true
|
|
11985
12008
|
},
|
|
11986
12009
|
"azure/gpt-image-1": {
|
|
11987
|
-
"
|
|
12010
|
+
"cache_read_input_image_token_cost": 2.5e-06,
|
|
12011
|
+
"cache_read_input_token_cost": 1.25e-06,
|
|
12012
|
+
"input_cost_per_image_token": 1e-05,
|
|
12013
|
+
"input_cost_per_token": 5e-06,
|
|
11988
12014
|
"litellm_provider": "azure",
|
|
11989
12015
|
"mode": "image_generation",
|
|
11990
|
-
"
|
|
12016
|
+
"output_cost_per_image_token": 4e-05,
|
|
11991
12017
|
"supported_endpoints": [
|
|
11992
|
-
"/v1/images/generations"
|
|
12018
|
+
"/v1/images/generations",
|
|
12019
|
+
"/v1/images/edits"
|
|
11993
12020
|
]
|
|
11994
12021
|
},
|
|
11995
12022
|
"azure/low/1024-x-1024/gpt-image-1": {
|
|
@@ -12542,6 +12569,7 @@
|
|
|
12542
12569
|
"supports_web_search": true
|
|
12543
12570
|
},
|
|
12544
12571
|
"gemini-2.5-pro-preview-05-06": {
|
|
12572
|
+
"deprecation_date": "2025-12-02",
|
|
12545
12573
|
"cache_read_input_token_cost": 3.125e-07,
|
|
12546
12574
|
"input_cost_per_audio_token": 1.25e-06,
|
|
12547
12575
|
"input_cost_per_token": 1.25e-06,
|
|
@@ -12590,6 +12618,7 @@
|
|
|
12590
12618
|
"supports_web_search": true
|
|
12591
12619
|
},
|
|
12592
12620
|
"gemini-2.5-pro-preview-03-25": {
|
|
12621
|
+
"deprecation_date": "2025-12-02",
|
|
12593
12622
|
"cache_read_input_token_cost": 3.125e-07,
|
|
12594
12623
|
"input_cost_per_audio_token": 1.25e-06,
|
|
12595
12624
|
"input_cost_per_token": 1.25e-06,
|
|
@@ -12671,6 +12700,7 @@
|
|
|
12671
12700
|
"tpm": 4000000
|
|
12672
12701
|
},
|
|
12673
12702
|
"gemini/gemini-2.5-pro-preview-05-06": {
|
|
12703
|
+
"deprecation_date": "2025-12-02",
|
|
12674
12704
|
"cache_read_input_token_cost": 3.125e-07,
|
|
12675
12705
|
"input_cost_per_audio_token": 7e-07,
|
|
12676
12706
|
"input_cost_per_token": 1.25e-06,
|
|
@@ -12712,6 +12742,7 @@
|
|
|
12712
12742
|
"tpm": 10000000
|
|
12713
12743
|
},
|
|
12714
12744
|
"gemini/gemini-2.5-pro-preview-03-25": {
|
|
12745
|
+
"deprecation_date": "2025-12-02",
|
|
12715
12746
|
"cache_read_input_token_cost": 3.125e-07,
|
|
12716
12747
|
"input_cost_per_audio_token": 7e-07,
|
|
12717
12748
|
"input_cost_per_token": 1.25e-06,
|
|
@@ -13759,6 +13790,7 @@
|
|
|
13759
13790
|
"tpm": 250000
|
|
13760
13791
|
},
|
|
13761
13792
|
"gemini/gemini-2.5-flash-preview-05-20": {
|
|
13793
|
+
"deprecation_date": "2025-11-18",
|
|
13762
13794
|
"cache_read_input_token_cost": 7.5e-08,
|
|
13763
13795
|
"input_cost_per_audio_token": 1e-06,
|
|
13764
13796
|
"input_cost_per_token": 3e-07,
|
|
@@ -13804,6 +13836,7 @@
|
|
|
13804
13836
|
"tpm": 250000
|
|
13805
13837
|
},
|
|
13806
13838
|
"gemini-2.5-flash-preview-05-20": {
|
|
13839
|
+
"deprecation_date": "2025-11-18",
|
|
13807
13840
|
"cache_read_input_token_cost": 7.5e-08,
|
|
13808
13841
|
"input_cost_per_audio_token": 1e-06,
|
|
13809
13842
|
"input_cost_per_token": 3e-07,
|
|
@@ -13849,6 +13882,7 @@
|
|
|
13849
13882
|
"supports_web_search": true
|
|
13850
13883
|
},
|
|
13851
13884
|
"gemini-2.0-flash-preview-image-generation": {
|
|
13885
|
+
"deprecation_date": "2025-11-14",
|
|
13852
13886
|
"cache_read_input_token_cost": 2.5e-08,
|
|
13853
13887
|
"input_cost_per_audio_token": 7e-07,
|
|
13854
13888
|
"input_cost_per_token": 1e-07,
|
|
@@ -13922,6 +13956,7 @@
|
|
|
13922
13956
|
"supports_web_search": true
|
|
13923
13957
|
},
|
|
13924
13958
|
"gemini/gemini-2.0-flash-preview-image-generation": {
|
|
13959
|
+
"deprecation_date": "2025-11-14",
|
|
13925
13960
|
"cache_read_input_token_cost": 2.5e-08,
|
|
13926
13961
|
"input_cost_per_audio_token": 7e-07,
|
|
13927
13962
|
"input_cost_per_token": 1e-07,
|
|
@@ -15496,6 +15531,7 @@
|
|
|
15496
15531
|
"supports_web_search": true
|
|
15497
15532
|
},
|
|
15498
15533
|
"gemini-2.5-flash-lite-preview-06-17": {
|
|
15534
|
+
"deprecation_date": "2025-11-18",
|
|
15499
15535
|
"cache_read_input_token_cost": 2.5e-08,
|
|
15500
15536
|
"input_cost_per_audio_token": 5e-07,
|
|
15501
15537
|
"input_cost_per_token": 1e-07,
|
|
@@ -15671,6 +15707,7 @@
|
|
|
15671
15707
|
"tpm": 8000000
|
|
15672
15708
|
},
|
|
15673
15709
|
"gemini/gemini-2.5-flash-lite-preview-06-17": {
|
|
15710
|
+
"deprecation_date": "2025-11-18",
|
|
15674
15711
|
"cache_read_input_token_cost": 2.5e-08,
|
|
15675
15712
|
"input_cost_per_audio_token": 5e-07,
|
|
15676
15713
|
"input_cost_per_token": 1e-07,
|
|
@@ -17370,6 +17407,7 @@
|
|
|
17370
17407
|
"supports_vision": false
|
|
17371
17408
|
},
|
|
17372
17409
|
"gemini/gemini-2.0-flash-live-001": {
|
|
17410
|
+
"deprecation_date": "2025-12-09",
|
|
17373
17411
|
"cache_read_input_token_cost": 7.5e-08,
|
|
17374
17412
|
"input_cost_per_audio_token": 2.1e-06,
|
|
17375
17413
|
"input_cost_per_image": 2.1e-06,
|
|
@@ -17867,6 +17905,7 @@
|
|
|
17867
17905
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing"
|
|
17868
17906
|
},
|
|
17869
17907
|
"gemini/imagen-3.0-generate-002": {
|
|
17908
|
+
"deprecation_date": "2025-11-10",
|
|
17870
17909
|
"litellm_provider": "gemini",
|
|
17871
17910
|
"mode": "image_generation",
|
|
17872
17911
|
"output_cost_per_image": 0.04,
|
|
@@ -20414,6 +20453,7 @@
|
|
|
20414
20453
|
]
|
|
20415
20454
|
},
|
|
20416
20455
|
"gemini/gemini-2.5-flash-image-preview": {
|
|
20456
|
+
"deprecation_date": "2026-01-15",
|
|
20417
20457
|
"cache_read_input_token_cost": 7.5e-08,
|
|
20418
20458
|
"input_cost_per_audio_token": 1e-06,
|
|
20419
20459
|
"input_cost_per_token": 3e-07,
|
|
@@ -20463,6 +20503,7 @@
|
|
|
20463
20503
|
"tpm": 8000000
|
|
20464
20504
|
},
|
|
20465
20505
|
"gemini-2.5-flash-image-preview": {
|
|
20506
|
+
"deprecation_date": "2026-01-15",
|
|
20466
20507
|
"cache_read_input_token_cost": 7.5e-08,
|
|
20467
20508
|
"input_cost_per_audio_token": 1e-06,
|
|
20468
20509
|
"input_cost_per_token": 3e-07,
|
|
@@ -21707,6 +21748,7 @@
|
|
|
21707
21748
|
"supports_reasoning": true
|
|
21708
21749
|
},
|
|
21709
21750
|
"gemini/veo-3.0-generate-preview": {
|
|
21751
|
+
"deprecation_date": "2025-11-12",
|
|
21710
21752
|
"litellm_provider": "gemini",
|
|
21711
21753
|
"max_input_tokens": 1024,
|
|
21712
21754
|
"max_tokens": 1024,
|
|
@@ -21721,6 +21763,7 @@
|
|
|
21721
21763
|
]
|
|
21722
21764
|
},
|
|
21723
21765
|
"gemini/veo-3.0-fast-generate-preview": {
|
|
21766
|
+
"deprecation_date": "2025-11-12",
|
|
21724
21767
|
"litellm_provider": "gemini",
|
|
21725
21768
|
"max_input_tokens": 1024,
|
|
21726
21769
|
"max_tokens": 1024,
|
|
@@ -21749,6 +21792,7 @@
|
|
|
21749
21792
|
]
|
|
21750
21793
|
},
|
|
21751
21794
|
"vertex_ai/veo-3.0-generate-preview": {
|
|
21795
|
+
"deprecation_date": "2025-11-12",
|
|
21752
21796
|
"litellm_provider": "vertex_ai-video-models",
|
|
21753
21797
|
"max_input_tokens": 1024,
|
|
21754
21798
|
"max_tokens": 1024,
|
|
@@ -21763,6 +21807,7 @@
|
|
|
21763
21807
|
]
|
|
21764
21808
|
},
|
|
21765
21809
|
"vertex_ai/veo-3.0-fast-generate-preview": {
|
|
21810
|
+
"deprecation_date": "2025-11-12",
|
|
21766
21811
|
"litellm_provider": "vertex_ai-video-models",
|
|
21767
21812
|
"max_input_tokens": 1024,
|
|
21768
21813
|
"max_tokens": 1024,
|
|
@@ -25559,12 +25604,16 @@
|
|
|
25559
25604
|
"tpm": 8000000
|
|
25560
25605
|
},
|
|
25561
25606
|
"azure/gpt-image-1-mini": {
|
|
25562
|
-
"
|
|
25607
|
+
"cache_read_input_image_token_cost": 2.5e-07,
|
|
25608
|
+
"cache_read_input_token_cost": 2e-07,
|
|
25609
|
+
"input_cost_per_image_token": 2.5e-06,
|
|
25610
|
+
"input_cost_per_token": 2e-06,
|
|
25563
25611
|
"litellm_provider": "azure",
|
|
25564
25612
|
"mode": "image_generation",
|
|
25565
|
-
"
|
|
25613
|
+
"output_cost_per_image_token": 8e-06,
|
|
25566
25614
|
"supported_endpoints": [
|
|
25567
|
-
"/v1/images/generations"
|
|
25615
|
+
"/v1/images/generations",
|
|
25616
|
+
"/v1/images/edits"
|
|
25568
25617
|
]
|
|
25569
25618
|
},
|
|
25570
25619
|
"azure/low/1024-x-1024/gpt-image-1-mini": {
|
|
@@ -28698,13 +28747,13 @@
|
|
|
28698
28747
|
"source": "https://www.databricks.com/product/pricing/foundation-model-serving"
|
|
28699
28748
|
},
|
|
28700
28749
|
"fireworks_ai/accounts/fireworks/models/deepseek-v3p2": {
|
|
28701
|
-
"input_cost_per_token":
|
|
28750
|
+
"input_cost_per_token": 5.6e-07,
|
|
28702
28751
|
"litellm_provider": "fireworks_ai",
|
|
28703
28752
|
"max_input_tokens": 163840,
|
|
28704
28753
|
"max_output_tokens": 163840,
|
|
28705
28754
|
"max_tokens": 163840,
|
|
28706
28755
|
"mode": "chat",
|
|
28707
|
-
"output_cost_per_token": 1.
|
|
28756
|
+
"output_cost_per_token": 1.68e-06,
|
|
28708
28757
|
"source": "https://fireworks.ai/models/fireworks/deepseek-v3p2",
|
|
28709
28758
|
"supports_function_calling": true,
|
|
28710
28759
|
"supports_reasoning": true,
|
|
@@ -33240,5 +33289,683 @@
|
|
|
33240
33289
|
"supports_system_messages": true,
|
|
33241
33290
|
"supports_tool_choice": true,
|
|
33242
33291
|
"supports_vision": true
|
|
33292
|
+
},
|
|
33293
|
+
"aiml/google/imagen-4.0-ultra-generate-001": {
|
|
33294
|
+
"litellm_provider": "aiml",
|
|
33295
|
+
"metadata": {
|
|
33296
|
+
"notes": "Imagen 4.0 Ultra Generate API - Photorealistic image generation with precise text rendering"
|
|
33297
|
+
},
|
|
33298
|
+
"mode": "image_generation",
|
|
33299
|
+
"output_cost_per_image": 0.063,
|
|
33300
|
+
"source": "https://docs.aimlapi.com/api-references/image-models/google/imagen-4-ultra-generate",
|
|
33301
|
+
"supported_endpoints": [
|
|
33302
|
+
"/v1/images/generations"
|
|
33303
|
+
]
|
|
33304
|
+
},
|
|
33305
|
+
"aiml/google/nano-banana-pro": {
|
|
33306
|
+
"litellm_provider": "aiml",
|
|
33307
|
+
"metadata": {
|
|
33308
|
+
"notes": "Gemini 3 Pro Image (Nano Banana Pro) - Advanced text-to-image generation with reasoning and 4K resolution support"
|
|
33309
|
+
},
|
|
33310
|
+
"mode": "image_generation",
|
|
33311
|
+
"output_cost_per_image": 0.1575,
|
|
33312
|
+
"source": "https://docs.aimlapi.com/api-references/image-models/google/gemini-3-pro-image-preview",
|
|
33313
|
+
"supported_endpoints": [
|
|
33314
|
+
"/v1/images/generations"
|
|
33315
|
+
]
|
|
33316
|
+
},
|
|
33317
|
+
"low/1024-x-1024/gpt-image-1.5": {
|
|
33318
|
+
"input_cost_per_image": 0.009,
|
|
33319
|
+
"litellm_provider": "openai",
|
|
33320
|
+
"mode": "image_generation",
|
|
33321
|
+
"supported_endpoints": [
|
|
33322
|
+
"/v1/images/generations",
|
|
33323
|
+
"/v1/images/edits"
|
|
33324
|
+
],
|
|
33325
|
+
"supports_vision": true,
|
|
33326
|
+
"supports_pdf_input": true
|
|
33327
|
+
},
|
|
33328
|
+
"low/1024-x-1536/gpt-image-1.5": {
|
|
33329
|
+
"input_cost_per_image": 0.013,
|
|
33330
|
+
"litellm_provider": "openai",
|
|
33331
|
+
"mode": "image_generation",
|
|
33332
|
+
"supported_endpoints": [
|
|
33333
|
+
"/v1/images/generations",
|
|
33334
|
+
"/v1/images/edits"
|
|
33335
|
+
],
|
|
33336
|
+
"supports_vision": true,
|
|
33337
|
+
"supports_pdf_input": true
|
|
33338
|
+
},
|
|
33339
|
+
"low/1536-x-1024/gpt-image-1.5": {
|
|
33340
|
+
"input_cost_per_image": 0.013,
|
|
33341
|
+
"litellm_provider": "openai",
|
|
33342
|
+
"mode": "image_generation",
|
|
33343
|
+
"supported_endpoints": [
|
|
33344
|
+
"/v1/images/generations",
|
|
33345
|
+
"/v1/images/edits"
|
|
33346
|
+
],
|
|
33347
|
+
"supports_vision": true,
|
|
33348
|
+
"supports_pdf_input": true
|
|
33349
|
+
},
|
|
33350
|
+
"medium/1024-x-1024/gpt-image-1.5": {
|
|
33351
|
+
"input_cost_per_image": 0.034,
|
|
33352
|
+
"litellm_provider": "openai",
|
|
33353
|
+
"mode": "image_generation",
|
|
33354
|
+
"supported_endpoints": [
|
|
33355
|
+
"/v1/images/generations",
|
|
33356
|
+
"/v1/images/edits"
|
|
33357
|
+
],
|
|
33358
|
+
"supports_vision": true,
|
|
33359
|
+
"supports_pdf_input": true
|
|
33360
|
+
},
|
|
33361
|
+
"medium/1024-x-1536/gpt-image-1.5": {
|
|
33362
|
+
"input_cost_per_image": 0.05,
|
|
33363
|
+
"litellm_provider": "openai",
|
|
33364
|
+
"mode": "image_generation",
|
|
33365
|
+
"supported_endpoints": [
|
|
33366
|
+
"/v1/images/generations",
|
|
33367
|
+
"/v1/images/edits"
|
|
33368
|
+
],
|
|
33369
|
+
"supports_vision": true,
|
|
33370
|
+
"supports_pdf_input": true
|
|
33371
|
+
},
|
|
33372
|
+
"medium/1536-x-1024/gpt-image-1.5": {
|
|
33373
|
+
"input_cost_per_image": 0.05,
|
|
33374
|
+
"litellm_provider": "openai",
|
|
33375
|
+
"mode": "image_generation",
|
|
33376
|
+
"supported_endpoints": [
|
|
33377
|
+
"/v1/images/generations",
|
|
33378
|
+
"/v1/images/edits"
|
|
33379
|
+
],
|
|
33380
|
+
"supports_vision": true,
|
|
33381
|
+
"supports_pdf_input": true
|
|
33382
|
+
},
|
|
33383
|
+
"high/1024-x-1024/gpt-image-1.5": {
|
|
33384
|
+
"input_cost_per_image": 0.133,
|
|
33385
|
+
"litellm_provider": "openai",
|
|
33386
|
+
"mode": "image_generation",
|
|
33387
|
+
"supported_endpoints": [
|
|
33388
|
+
"/v1/images/generations",
|
|
33389
|
+
"/v1/images/edits"
|
|
33390
|
+
],
|
|
33391
|
+
"supports_vision": true,
|
|
33392
|
+
"supports_pdf_input": true
|
|
33393
|
+
},
|
|
33394
|
+
"high/1024-x-1536/gpt-image-1.5": {
|
|
33395
|
+
"input_cost_per_image": 0.2,
|
|
33396
|
+
"litellm_provider": "openai",
|
|
33397
|
+
"mode": "image_generation",
|
|
33398
|
+
"supported_endpoints": [
|
|
33399
|
+
"/v1/images/generations",
|
|
33400
|
+
"/v1/images/edits"
|
|
33401
|
+
],
|
|
33402
|
+
"supports_vision": true,
|
|
33403
|
+
"supports_pdf_input": true
|
|
33404
|
+
},
|
|
33405
|
+
"high/1536-x-1024/gpt-image-1.5": {
|
|
33406
|
+
"input_cost_per_image": 0.2,
|
|
33407
|
+
"litellm_provider": "openai",
|
|
33408
|
+
"mode": "image_generation",
|
|
33409
|
+
"supported_endpoints": [
|
|
33410
|
+
"/v1/images/generations",
|
|
33411
|
+
"/v1/images/edits"
|
|
33412
|
+
],
|
|
33413
|
+
"supports_vision": true,
|
|
33414
|
+
"supports_pdf_input": true
|
|
33415
|
+
},
|
|
33416
|
+
"standard/1024-x-1024/gpt-image-1.5": {
|
|
33417
|
+
"input_cost_per_image": 0.009,
|
|
33418
|
+
"litellm_provider": "openai",
|
|
33419
|
+
"mode": "image_generation",
|
|
33420
|
+
"supported_endpoints": [
|
|
33421
|
+
"/v1/images/generations",
|
|
33422
|
+
"/v1/images/edits"
|
|
33423
|
+
],
|
|
33424
|
+
"supports_vision": true,
|
|
33425
|
+
"supports_pdf_input": true
|
|
33426
|
+
},
|
|
33427
|
+
"standard/1024-x-1536/gpt-image-1.5": {
|
|
33428
|
+
"input_cost_per_image": 0.013,
|
|
33429
|
+
"litellm_provider": "openai",
|
|
33430
|
+
"mode": "image_generation",
|
|
33431
|
+
"supported_endpoints": [
|
|
33432
|
+
"/v1/images/generations",
|
|
33433
|
+
"/v1/images/edits"
|
|
33434
|
+
],
|
|
33435
|
+
"supports_vision": true,
|
|
33436
|
+
"supports_pdf_input": true
|
|
33437
|
+
},
|
|
33438
|
+
"standard/1536-x-1024/gpt-image-1.5": {
|
|
33439
|
+
"input_cost_per_image": 0.013,
|
|
33440
|
+
"litellm_provider": "openai",
|
|
33441
|
+
"mode": "image_generation",
|
|
33442
|
+
"supported_endpoints": [
|
|
33443
|
+
"/v1/images/generations",
|
|
33444
|
+
"/v1/images/edits"
|
|
33445
|
+
],
|
|
33446
|
+
"supports_vision": true,
|
|
33447
|
+
"supports_pdf_input": true
|
|
33448
|
+
},
|
|
33449
|
+
"1024-x-1024/gpt-image-1.5": {
|
|
33450
|
+
"input_cost_per_image": 0.009,
|
|
33451
|
+
"litellm_provider": "openai",
|
|
33452
|
+
"mode": "image_generation",
|
|
33453
|
+
"supported_endpoints": [
|
|
33454
|
+
"/v1/images/generations",
|
|
33455
|
+
"/v1/images/edits"
|
|
33456
|
+
],
|
|
33457
|
+
"supports_vision": true,
|
|
33458
|
+
"supports_pdf_input": true
|
|
33459
|
+
},
|
|
33460
|
+
"1024-x-1536/gpt-image-1.5": {
|
|
33461
|
+
"input_cost_per_image": 0.013,
|
|
33462
|
+
"litellm_provider": "openai",
|
|
33463
|
+
"mode": "image_generation",
|
|
33464
|
+
"supported_endpoints": [
|
|
33465
|
+
"/v1/images/generations",
|
|
33466
|
+
"/v1/images/edits"
|
|
33467
|
+
],
|
|
33468
|
+
"supports_vision": true,
|
|
33469
|
+
"supports_pdf_input": true
|
|
33470
|
+
},
|
|
33471
|
+
"1536-x-1024/gpt-image-1.5": {
|
|
33472
|
+
"input_cost_per_image": 0.013,
|
|
33473
|
+
"litellm_provider": "openai",
|
|
33474
|
+
"mode": "image_generation",
|
|
33475
|
+
"supported_endpoints": [
|
|
33476
|
+
"/v1/images/generations",
|
|
33477
|
+
"/v1/images/edits"
|
|
33478
|
+
],
|
|
33479
|
+
"supports_vision": true,
|
|
33480
|
+
"supports_pdf_input": true
|
|
33481
|
+
},
|
|
33482
|
+
"low/1024-x-1024/gpt-image-1.5-2025-12-16": {
|
|
33483
|
+
"input_cost_per_image": 0.009,
|
|
33484
|
+
"litellm_provider": "openai",
|
|
33485
|
+
"mode": "image_generation",
|
|
33486
|
+
"supported_endpoints": [
|
|
33487
|
+
"/v1/images/generations",
|
|
33488
|
+
"/v1/images/edits"
|
|
33489
|
+
],
|
|
33490
|
+
"supports_vision": true,
|
|
33491
|
+
"supports_pdf_input": true
|
|
33492
|
+
},
|
|
33493
|
+
"low/1024-x-1536/gpt-image-1.5-2025-12-16": {
|
|
33494
|
+
"input_cost_per_image": 0.013,
|
|
33495
|
+
"litellm_provider": "openai",
|
|
33496
|
+
"mode": "image_generation",
|
|
33497
|
+
"supported_endpoints": [
|
|
33498
|
+
"/v1/images/generations",
|
|
33499
|
+
"/v1/images/edits"
|
|
33500
|
+
],
|
|
33501
|
+
"supports_vision": true,
|
|
33502
|
+
"supports_pdf_input": true
|
|
33503
|
+
},
|
|
33504
|
+
"low/1536-x-1024/gpt-image-1.5-2025-12-16": {
|
|
33505
|
+
"input_cost_per_image": 0.013,
|
|
33506
|
+
"litellm_provider": "openai",
|
|
33507
|
+
"mode": "image_generation",
|
|
33508
|
+
"supported_endpoints": [
|
|
33509
|
+
"/v1/images/generations",
|
|
33510
|
+
"/v1/images/edits"
|
|
33511
|
+
],
|
|
33512
|
+
"supports_vision": true,
|
|
33513
|
+
"supports_pdf_input": true
|
|
33514
|
+
},
|
|
33515
|
+
"medium/1024-x-1024/gpt-image-1.5-2025-12-16": {
|
|
33516
|
+
"input_cost_per_image": 0.034,
|
|
33517
|
+
"litellm_provider": "openai",
|
|
33518
|
+
"mode": "image_generation",
|
|
33519
|
+
"supported_endpoints": [
|
|
33520
|
+
"/v1/images/generations",
|
|
33521
|
+
"/v1/images/edits"
|
|
33522
|
+
],
|
|
33523
|
+
"supports_vision": true,
|
|
33524
|
+
"supports_pdf_input": true
|
|
33525
|
+
},
|
|
33526
|
+
"medium/1024-x-1536/gpt-image-1.5-2025-12-16": {
|
|
33527
|
+
"input_cost_per_image": 0.05,
|
|
33528
|
+
"litellm_provider": "openai",
|
|
33529
|
+
"mode": "image_generation",
|
|
33530
|
+
"supported_endpoints": [
|
|
33531
|
+
"/v1/images/generations",
|
|
33532
|
+
"/v1/images/edits"
|
|
33533
|
+
],
|
|
33534
|
+
"supports_vision": true,
|
|
33535
|
+
"supports_pdf_input": true
|
|
33536
|
+
},
|
|
33537
|
+
"medium/1536-x-1024/gpt-image-1.5-2025-12-16": {
|
|
33538
|
+
"input_cost_per_image": 0.05,
|
|
33539
|
+
"litellm_provider": "openai",
|
|
33540
|
+
"mode": "image_generation",
|
|
33541
|
+
"supported_endpoints": [
|
|
33542
|
+
"/v1/images/generations",
|
|
33543
|
+
"/v1/images/edits"
|
|
33544
|
+
],
|
|
33545
|
+
"supports_vision": true,
|
|
33546
|
+
"supports_pdf_input": true
|
|
33547
|
+
},
|
|
33548
|
+
"high/1024-x-1024/gpt-image-1.5-2025-12-16": {
|
|
33549
|
+
"input_cost_per_image": 0.133,
|
|
33550
|
+
"litellm_provider": "openai",
|
|
33551
|
+
"mode": "image_generation",
|
|
33552
|
+
"supported_endpoints": [
|
|
33553
|
+
"/v1/images/generations",
|
|
33554
|
+
"/v1/images/edits"
|
|
33555
|
+
],
|
|
33556
|
+
"supports_vision": true,
|
|
33557
|
+
"supports_pdf_input": true
|
|
33558
|
+
},
|
|
33559
|
+
"high/1024-x-1536/gpt-image-1.5-2025-12-16": {
|
|
33560
|
+
"input_cost_per_image": 0.2,
|
|
33561
|
+
"litellm_provider": "openai",
|
|
33562
|
+
"mode": "image_generation",
|
|
33563
|
+
"supported_endpoints": [
|
|
33564
|
+
"/v1/images/generations",
|
|
33565
|
+
"/v1/images/edits"
|
|
33566
|
+
],
|
|
33567
|
+
"supports_vision": true,
|
|
33568
|
+
"supports_pdf_input": true
|
|
33569
|
+
},
|
|
33570
|
+
"high/1536-x-1024/gpt-image-1.5-2025-12-16": {
|
|
33571
|
+
"input_cost_per_image": 0.2,
|
|
33572
|
+
"litellm_provider": "openai",
|
|
33573
|
+
"mode": "image_generation",
|
|
33574
|
+
"supported_endpoints": [
|
|
33575
|
+
"/v1/images/generations",
|
|
33576
|
+
"/v1/images/edits"
|
|
33577
|
+
],
|
|
33578
|
+
"supports_vision": true,
|
|
33579
|
+
"supports_pdf_input": true
|
|
33580
|
+
},
|
|
33581
|
+
"standard/1024-x-1024/gpt-image-1.5-2025-12-16": {
|
|
33582
|
+
"input_cost_per_image": 0.009,
|
|
33583
|
+
"litellm_provider": "openai",
|
|
33584
|
+
"mode": "image_generation",
|
|
33585
|
+
"supported_endpoints": [
|
|
33586
|
+
"/v1/images/generations",
|
|
33587
|
+
"/v1/images/edits"
|
|
33588
|
+
],
|
|
33589
|
+
"supports_vision": true,
|
|
33590
|
+
"supports_pdf_input": true
|
|
33591
|
+
},
|
|
33592
|
+
"standard/1024-x-1536/gpt-image-1.5-2025-12-16": {
|
|
33593
|
+
"input_cost_per_image": 0.013,
|
|
33594
|
+
"litellm_provider": "openai",
|
|
33595
|
+
"mode": "image_generation",
|
|
33596
|
+
"supported_endpoints": [
|
|
33597
|
+
"/v1/images/generations",
|
|
33598
|
+
"/v1/images/edits"
|
|
33599
|
+
],
|
|
33600
|
+
"supports_vision": true,
|
|
33601
|
+
"supports_pdf_input": true
|
|
33602
|
+
},
|
|
33603
|
+
"standard/1536-x-1024/gpt-image-1.5-2025-12-16": {
|
|
33604
|
+
"input_cost_per_image": 0.013,
|
|
33605
|
+
"litellm_provider": "openai",
|
|
33606
|
+
"mode": "image_generation",
|
|
33607
|
+
"supported_endpoints": [
|
|
33608
|
+
"/v1/images/generations",
|
|
33609
|
+
"/v1/images/edits"
|
|
33610
|
+
],
|
|
33611
|
+
"supports_vision": true,
|
|
33612
|
+
"supports_pdf_input": true
|
|
33613
|
+
},
|
|
33614
|
+
"1024-x-1024/gpt-image-1.5-2025-12-16": {
|
|
33615
|
+
"input_cost_per_image": 0.009,
|
|
33616
|
+
"litellm_provider": "openai",
|
|
33617
|
+
"mode": "image_generation",
|
|
33618
|
+
"supported_endpoints": [
|
|
33619
|
+
"/v1/images/generations",
|
|
33620
|
+
"/v1/images/edits"
|
|
33621
|
+
],
|
|
33622
|
+
"supports_vision": true,
|
|
33623
|
+
"supports_pdf_input": true
|
|
33624
|
+
},
|
|
33625
|
+
"1024-x-1536/gpt-image-1.5-2025-12-16": {
|
|
33626
|
+
"input_cost_per_image": 0.013,
|
|
33627
|
+
"litellm_provider": "openai",
|
|
33628
|
+
"mode": "image_generation",
|
|
33629
|
+
"supported_endpoints": [
|
|
33630
|
+
"/v1/images/generations",
|
|
33631
|
+
"/v1/images/edits"
|
|
33632
|
+
],
|
|
33633
|
+
"supports_vision": true,
|
|
33634
|
+
"supports_pdf_input": true
|
|
33635
|
+
},
|
|
33636
|
+
"1536-x-1024/gpt-image-1.5-2025-12-16": {
|
|
33637
|
+
"input_cost_per_image": 0.013,
|
|
33638
|
+
"litellm_provider": "openai",
|
|
33639
|
+
"mode": "image_generation",
|
|
33640
|
+
"supported_endpoints": [
|
|
33641
|
+
"/v1/images/generations",
|
|
33642
|
+
"/v1/images/edits"
|
|
33643
|
+
],
|
|
33644
|
+
"supports_vision": true,
|
|
33645
|
+
"supports_pdf_input": true
|
|
33646
|
+
},
|
|
33647
|
+
"zai/glm-4.7": {
|
|
33648
|
+
"cache_creation_input_token_cost": 0,
|
|
33649
|
+
"cache_read_input_token_cost": 1.1e-07,
|
|
33650
|
+
"input_cost_per_token": 6e-07,
|
|
33651
|
+
"output_cost_per_token": 2.2e-06,
|
|
33652
|
+
"litellm_provider": "zai",
|
|
33653
|
+
"max_input_tokens": 200000,
|
|
33654
|
+
"max_output_tokens": 128000,
|
|
33655
|
+
"mode": "chat",
|
|
33656
|
+
"supports_function_calling": true,
|
|
33657
|
+
"supports_reasoning": true,
|
|
33658
|
+
"supports_tool_choice": true,
|
|
33659
|
+
"source": "https://docs.z.ai/guides/overview/pricing"
|
|
33660
|
+
},
|
|
33661
|
+
"openrouter/google/gemini-3-flash-preview": {
|
|
33662
|
+
"cache_read_input_token_cost": 5e-08,
|
|
33663
|
+
"input_cost_per_audio_token": 1e-06,
|
|
33664
|
+
"input_cost_per_token": 5e-07,
|
|
33665
|
+
"litellm_provider": "openrouter",
|
|
33666
|
+
"max_audio_length_hours": 8.4,
|
|
33667
|
+
"max_audio_per_prompt": 1,
|
|
33668
|
+
"max_images_per_prompt": 3000,
|
|
33669
|
+
"max_input_tokens": 1048576,
|
|
33670
|
+
"max_output_tokens": 65535,
|
|
33671
|
+
"max_pdf_size_mb": 30,
|
|
33672
|
+
"max_tokens": 65535,
|
|
33673
|
+
"max_video_length": 1,
|
|
33674
|
+
"max_videos_per_prompt": 10,
|
|
33675
|
+
"mode": "chat",
|
|
33676
|
+
"output_cost_per_reasoning_token": 3e-06,
|
|
33677
|
+
"output_cost_per_token": 3e-06,
|
|
33678
|
+
"rpm": 2000,
|
|
33679
|
+
"source": "https://ai.google.dev/pricing/gemini-3",
|
|
33680
|
+
"supported_endpoints": [
|
|
33681
|
+
"/v1/chat/completions",
|
|
33682
|
+
"/v1/completions",
|
|
33683
|
+
"/v1/batch"
|
|
33684
|
+
],
|
|
33685
|
+
"supported_modalities": [
|
|
33686
|
+
"text",
|
|
33687
|
+
"image",
|
|
33688
|
+
"audio",
|
|
33689
|
+
"video"
|
|
33690
|
+
],
|
|
33691
|
+
"supported_output_modalities": [
|
|
33692
|
+
"text"
|
|
33693
|
+
],
|
|
33694
|
+
"supports_audio_output": false,
|
|
33695
|
+
"supports_function_calling": true,
|
|
33696
|
+
"supports_parallel_function_calling": true,
|
|
33697
|
+
"supports_pdf_input": true,
|
|
33698
|
+
"supports_prompt_caching": true,
|
|
33699
|
+
"supports_reasoning": true,
|
|
33700
|
+
"supports_response_schema": true,
|
|
33701
|
+
"supports_system_messages": true,
|
|
33702
|
+
"supports_tool_choice": true,
|
|
33703
|
+
"supports_url_context": true,
|
|
33704
|
+
"supports_vision": true,
|
|
33705
|
+
"supports_web_search": true,
|
|
33706
|
+
"tpm": 800000
|
|
33707
|
+
},
|
|
33708
|
+
"amazon.nova-2-multimodal-embeddings-v1:0": {
|
|
33709
|
+
"litellm_provider": "bedrock",
|
|
33710
|
+
"max_input_tokens": 8172,
|
|
33711
|
+
"max_tokens": 8172,
|
|
33712
|
+
"mode": "embedding",
|
|
33713
|
+
"input_cost_per_token": 1.35e-07,
|
|
33714
|
+
"input_cost_per_image": 6e-05,
|
|
33715
|
+
"input_cost_per_video_per_second": 0.0007,
|
|
33716
|
+
"input_cost_per_audio_per_second": 0.00014,
|
|
33717
|
+
"output_cost_per_token": 0.0,
|
|
33718
|
+
"output_vector_size": 3072,
|
|
33719
|
+
"source": "https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/model-catalog/serverless/amazon.nova-2-multimodal-embeddings-v1:0",
|
|
33720
|
+
"supports_embedding_image_input": true,
|
|
33721
|
+
"supports_image_input": true,
|
|
33722
|
+
"supports_video_input": true,
|
|
33723
|
+
"supports_audio_input": true
|
|
33724
|
+
},
|
|
33725
|
+
"gigachat/GigaChat-2-Lite": {
|
|
33726
|
+
"input_cost_per_token": 0.0,
|
|
33727
|
+
"litellm_provider": "gigachat",
|
|
33728
|
+
"max_input_tokens": 128000,
|
|
33729
|
+
"max_output_tokens": 8192,
|
|
33730
|
+
"max_tokens": 8192,
|
|
33731
|
+
"mode": "chat",
|
|
33732
|
+
"output_cost_per_token": 0.0,
|
|
33733
|
+
"supports_function_calling": true,
|
|
33734
|
+
"supports_system_messages": true
|
|
33735
|
+
},
|
|
33736
|
+
"gigachat/GigaChat-2-Max": {
|
|
33737
|
+
"input_cost_per_token": 0.0,
|
|
33738
|
+
"litellm_provider": "gigachat",
|
|
33739
|
+
"max_input_tokens": 128000,
|
|
33740
|
+
"max_output_tokens": 8192,
|
|
33741
|
+
"max_tokens": 8192,
|
|
33742
|
+
"mode": "chat",
|
|
33743
|
+
"output_cost_per_token": 0.0,
|
|
33744
|
+
"supports_function_calling": true,
|
|
33745
|
+
"supports_system_messages": true,
|
|
33746
|
+
"supports_vision": true
|
|
33747
|
+
},
|
|
33748
|
+
"gigachat/GigaChat-2-Pro": {
|
|
33749
|
+
"input_cost_per_token": 0.0,
|
|
33750
|
+
"litellm_provider": "gigachat",
|
|
33751
|
+
"max_input_tokens": 128000,
|
|
33752
|
+
"max_output_tokens": 8192,
|
|
33753
|
+
"max_tokens": 8192,
|
|
33754
|
+
"mode": "chat",
|
|
33755
|
+
"output_cost_per_token": 0.0,
|
|
33756
|
+
"supports_function_calling": true,
|
|
33757
|
+
"supports_system_messages": true,
|
|
33758
|
+
"supports_vision": true
|
|
33759
|
+
},
|
|
33760
|
+
"gigachat/Embeddings": {
|
|
33761
|
+
"input_cost_per_token": 0.0,
|
|
33762
|
+
"litellm_provider": "gigachat",
|
|
33763
|
+
"max_input_tokens": 512,
|
|
33764
|
+
"max_tokens": 512,
|
|
33765
|
+
"mode": "embedding",
|
|
33766
|
+
"output_cost_per_token": 0.0,
|
|
33767
|
+
"output_vector_size": 1024
|
|
33768
|
+
},
|
|
33769
|
+
"gigachat/Embeddings-2": {
|
|
33770
|
+
"input_cost_per_token": 0.0,
|
|
33771
|
+
"litellm_provider": "gigachat",
|
|
33772
|
+
"max_input_tokens": 512,
|
|
33773
|
+
"max_tokens": 512,
|
|
33774
|
+
"mode": "embedding",
|
|
33775
|
+
"output_cost_per_token": 0.0,
|
|
33776
|
+
"output_vector_size": 1024
|
|
33777
|
+
},
|
|
33778
|
+
"gigachat/EmbeddingsGigaR": {
|
|
33779
|
+
"input_cost_per_token": 0.0,
|
|
33780
|
+
"litellm_provider": "gigachat",
|
|
33781
|
+
"max_input_tokens": 4096,
|
|
33782
|
+
"max_tokens": 4096,
|
|
33783
|
+
"mode": "embedding",
|
|
33784
|
+
"output_cost_per_token": 0.0,
|
|
33785
|
+
"output_vector_size": 2560
|
|
33786
|
+
},
|
|
33787
|
+
"llamagate/llama-3.1-8b": {
|
|
33788
|
+
"max_tokens": 8192,
|
|
33789
|
+
"max_input_tokens": 131072,
|
|
33790
|
+
"max_output_tokens": 8192,
|
|
33791
|
+
"input_cost_per_token": 3e-08,
|
|
33792
|
+
"output_cost_per_token": 5e-08,
|
|
33793
|
+
"litellm_provider": "llamagate",
|
|
33794
|
+
"mode": "chat",
|
|
33795
|
+
"supports_function_calling": true,
|
|
33796
|
+
"supports_response_schema": true
|
|
33797
|
+
},
|
|
33798
|
+
"llamagate/llama-3.2-3b": {
|
|
33799
|
+
"max_tokens": 8192,
|
|
33800
|
+
"max_input_tokens": 131072,
|
|
33801
|
+
"max_output_tokens": 8192,
|
|
33802
|
+
"input_cost_per_token": 4e-08,
|
|
33803
|
+
"output_cost_per_token": 8e-08,
|
|
33804
|
+
"litellm_provider": "llamagate",
|
|
33805
|
+
"mode": "chat",
|
|
33806
|
+
"supports_function_calling": true,
|
|
33807
|
+
"supports_response_schema": true
|
|
33808
|
+
},
|
|
33809
|
+
"llamagate/mistral-7b-v0.3": {
|
|
33810
|
+
"max_tokens": 8192,
|
|
33811
|
+
"max_input_tokens": 32768,
|
|
33812
|
+
"max_output_tokens": 8192,
|
|
33813
|
+
"input_cost_per_token": 1e-07,
|
|
33814
|
+
"output_cost_per_token": 1.5e-07,
|
|
33815
|
+
"litellm_provider": "llamagate",
|
|
33816
|
+
"mode": "chat",
|
|
33817
|
+
"supports_function_calling": true,
|
|
33818
|
+
"supports_response_schema": true
|
|
33819
|
+
},
|
|
33820
|
+
"llamagate/qwen3-8b": {
|
|
33821
|
+
"max_tokens": 8192,
|
|
33822
|
+
"max_input_tokens": 32768,
|
|
33823
|
+
"max_output_tokens": 8192,
|
|
33824
|
+
"input_cost_per_token": 4e-08,
|
|
33825
|
+
"output_cost_per_token": 1.4e-07,
|
|
33826
|
+
"litellm_provider": "llamagate",
|
|
33827
|
+
"mode": "chat",
|
|
33828
|
+
"supports_function_calling": true,
|
|
33829
|
+
"supports_response_schema": true
|
|
33830
|
+
},
|
|
33831
|
+
"llamagate/dolphin3-8b": {
|
|
33832
|
+
"max_tokens": 8192,
|
|
33833
|
+
"max_input_tokens": 128000,
|
|
33834
|
+
"max_output_tokens": 8192,
|
|
33835
|
+
"input_cost_per_token": 8e-08,
|
|
33836
|
+
"output_cost_per_token": 1.5e-07,
|
|
33837
|
+
"litellm_provider": "llamagate",
|
|
33838
|
+
"mode": "chat",
|
|
33839
|
+
"supports_function_calling": true,
|
|
33840
|
+
"supports_response_schema": true
|
|
33841
|
+
},
|
|
33842
|
+
"llamagate/deepseek-r1-8b": {
|
|
33843
|
+
"max_tokens": 16384,
|
|
33844
|
+
"max_input_tokens": 65536,
|
|
33845
|
+
"max_output_tokens": 16384,
|
|
33846
|
+
"input_cost_per_token": 1e-07,
|
|
33847
|
+
"output_cost_per_token": 2e-07,
|
|
33848
|
+
"litellm_provider": "llamagate",
|
|
33849
|
+
"mode": "chat",
|
|
33850
|
+
"supports_function_calling": true,
|
|
33851
|
+
"supports_response_schema": true,
|
|
33852
|
+
"supports_reasoning": true
|
|
33853
|
+
},
|
|
33854
|
+
"llamagate/deepseek-r1-7b-qwen": {
|
|
33855
|
+
"max_tokens": 16384,
|
|
33856
|
+
"max_input_tokens": 131072,
|
|
33857
|
+
"max_output_tokens": 16384,
|
|
33858
|
+
"input_cost_per_token": 8e-08,
|
|
33859
|
+
"output_cost_per_token": 1.5e-07,
|
|
33860
|
+
"litellm_provider": "llamagate",
|
|
33861
|
+
"mode": "chat",
|
|
33862
|
+
"supports_function_calling": true,
|
|
33863
|
+
"supports_response_schema": true,
|
|
33864
|
+
"supports_reasoning": true
|
|
33865
|
+
},
|
|
33866
|
+
"llamagate/openthinker-7b": {
|
|
33867
|
+
"max_tokens": 8192,
|
|
33868
|
+
"max_input_tokens": 32768,
|
|
33869
|
+
"max_output_tokens": 8192,
|
|
33870
|
+
"input_cost_per_token": 8e-08,
|
|
33871
|
+
"output_cost_per_token": 1.5e-07,
|
|
33872
|
+
"litellm_provider": "llamagate",
|
|
33873
|
+
"mode": "chat",
|
|
33874
|
+
"supports_function_calling": true,
|
|
33875
|
+
"supports_response_schema": true,
|
|
33876
|
+
"supports_reasoning": true
|
|
33877
|
+
},
|
|
33878
|
+
"llamagate/qwen2.5-coder-7b": {
|
|
33879
|
+
"max_tokens": 8192,
|
|
33880
|
+
"max_input_tokens": 32768,
|
|
33881
|
+
"max_output_tokens": 8192,
|
|
33882
|
+
"input_cost_per_token": 6e-08,
|
|
33883
|
+
"output_cost_per_token": 1.2e-07,
|
|
33884
|
+
"litellm_provider": "llamagate",
|
|
33885
|
+
"mode": "chat",
|
|
33886
|
+
"supports_function_calling": true,
|
|
33887
|
+
"supports_response_schema": true
|
|
33888
|
+
},
|
|
33889
|
+
"llamagate/deepseek-coder-6.7b": {
|
|
33890
|
+
"max_tokens": 4096,
|
|
33891
|
+
"max_input_tokens": 16384,
|
|
33892
|
+
"max_output_tokens": 4096,
|
|
33893
|
+
"input_cost_per_token": 6e-08,
|
|
33894
|
+
"output_cost_per_token": 1.2e-07,
|
|
33895
|
+
"litellm_provider": "llamagate",
|
|
33896
|
+
"mode": "chat",
|
|
33897
|
+
"supports_function_calling": true,
|
|
33898
|
+
"supports_response_schema": true
|
|
33899
|
+
},
|
|
33900
|
+
"llamagate/codellama-7b": {
|
|
33901
|
+
"max_tokens": 4096,
|
|
33902
|
+
"max_input_tokens": 16384,
|
|
33903
|
+
"max_output_tokens": 4096,
|
|
33904
|
+
"input_cost_per_token": 6e-08,
|
|
33905
|
+
"output_cost_per_token": 1.2e-07,
|
|
33906
|
+
"litellm_provider": "llamagate",
|
|
33907
|
+
"mode": "chat",
|
|
33908
|
+
"supports_function_calling": true,
|
|
33909
|
+
"supports_response_schema": true
|
|
33910
|
+
},
|
|
33911
|
+
"llamagate/qwen3-vl-8b": {
|
|
33912
|
+
"max_tokens": 8192,
|
|
33913
|
+
"max_input_tokens": 32768,
|
|
33914
|
+
"max_output_tokens": 8192,
|
|
33915
|
+
"input_cost_per_token": 1.5e-07,
|
|
33916
|
+
"output_cost_per_token": 5.5e-07,
|
|
33917
|
+
"litellm_provider": "llamagate",
|
|
33918
|
+
"mode": "chat",
|
|
33919
|
+
"supports_function_calling": true,
|
|
33920
|
+
"supports_response_schema": true,
|
|
33921
|
+
"supports_vision": true
|
|
33922
|
+
},
|
|
33923
|
+
"llamagate/llava-7b": {
|
|
33924
|
+
"max_tokens": 2048,
|
|
33925
|
+
"max_input_tokens": 4096,
|
|
33926
|
+
"max_output_tokens": 2048,
|
|
33927
|
+
"input_cost_per_token": 1e-07,
|
|
33928
|
+
"output_cost_per_token": 2e-07,
|
|
33929
|
+
"litellm_provider": "llamagate",
|
|
33930
|
+
"mode": "chat",
|
|
33931
|
+
"supports_response_schema": true,
|
|
33932
|
+
"supports_vision": true
|
|
33933
|
+
},
|
|
33934
|
+
"llamagate/gemma3-4b": {
|
|
33935
|
+
"max_tokens": 8192,
|
|
33936
|
+
"max_input_tokens": 128000,
|
|
33937
|
+
"max_output_tokens": 8192,
|
|
33938
|
+
"input_cost_per_token": 3e-08,
|
|
33939
|
+
"output_cost_per_token": 8e-08,
|
|
33940
|
+
"litellm_provider": "llamagate",
|
|
33941
|
+
"mode": "chat",
|
|
33942
|
+
"supports_function_calling": true,
|
|
33943
|
+
"supports_response_schema": true,
|
|
33944
|
+
"supports_vision": true
|
|
33945
|
+
},
|
|
33946
|
+
"llamagate/nomic-embed-text": {
|
|
33947
|
+
"max_tokens": 8192,
|
|
33948
|
+
"max_input_tokens": 8192,
|
|
33949
|
+
"input_cost_per_token": 2e-08,
|
|
33950
|
+
"output_cost_per_token": 0,
|
|
33951
|
+
"litellm_provider": "llamagate",
|
|
33952
|
+
"mode": "embedding"
|
|
33953
|
+
},
|
|
33954
|
+
"llamagate/qwen3-embedding-8b": {
|
|
33955
|
+
"max_tokens": 40960,
|
|
33956
|
+
"max_input_tokens": 40960,
|
|
33957
|
+
"input_cost_per_token": 2e-08,
|
|
33958
|
+
"output_cost_per_token": 0,
|
|
33959
|
+
"litellm_provider": "llamagate",
|
|
33960
|
+
"mode": "embedding"
|
|
33961
|
+
},
|
|
33962
|
+
"azure_ai/flux.2-pro": {
|
|
33963
|
+
"litellm_provider": "azure_ai",
|
|
33964
|
+
"mode": "image_generation",
|
|
33965
|
+
"output_cost_per_image": 0.04,
|
|
33966
|
+
"source": "https://ai.azure.com/explore/models/flux.2-pro/version/1/registry/azureml-blackforestlabs",
|
|
33967
|
+
"supported_endpoints": [
|
|
33968
|
+
"/v1/images/generations"
|
|
33969
|
+
]
|
|
33243
33970
|
}
|
|
33244
33971
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.439
|
|
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
|