tokencostauto 0.1.306__py3-none-any.whl → 0.1.327__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.
- tokencostauto/model_prices.json +475 -9
- {tokencostauto-0.1.306.dist-info → tokencostauto-0.1.327.dist-info}/METADATA +1 -1
- tokencostauto-0.1.327.dist-info/RECORD +9 -0
- tokencostauto-0.1.306.dist-info/RECORD +0 -9
- {tokencostauto-0.1.306.dist-info → tokencostauto-0.1.327.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.306.dist-info → tokencostauto-0.1.327.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.306.dist-info → tokencostauto-0.1.327.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -134,6 +134,7 @@
|
|
|
134
134
|
"supports_vision": true
|
|
135
135
|
},
|
|
136
136
|
"o1-mini-2024-09-12": {
|
|
137
|
+
"deprecation_date": "2025-10-27",
|
|
137
138
|
"cache_read_input_token_cost": 1.5e-06,
|
|
138
139
|
"input_cost_per_token": 3e-06,
|
|
139
140
|
"litellm_provider": "openai",
|
|
@@ -342,6 +343,7 @@
|
|
|
342
343
|
"supports_vision": true
|
|
343
344
|
},
|
|
344
345
|
"gpt-4-1106-preview": {
|
|
346
|
+
"deprecation_date": "2026-03-26",
|
|
345
347
|
"input_cost_per_token": 1e-05,
|
|
346
348
|
"litellm_provider": "openai",
|
|
347
349
|
"max_input_tokens": 128000,
|
|
@@ -356,6 +358,7 @@
|
|
|
356
358
|
"supports_tool_choice": true
|
|
357
359
|
},
|
|
358
360
|
"gpt-4-0125-preview": {
|
|
361
|
+
"deprecation_date": "2026-03-26",
|
|
359
362
|
"input_cost_per_token": 1e-05,
|
|
360
363
|
"litellm_provider": "openai",
|
|
361
364
|
"max_input_tokens": 128000,
|
|
@@ -438,6 +441,7 @@
|
|
|
438
441
|
"supports_tool_choice": true
|
|
439
442
|
},
|
|
440
443
|
"gpt-3.5-turbo-1106": {
|
|
444
|
+
"deprecation_date": "2026-09-28",
|
|
441
445
|
"input_cost_per_token": 1e-06,
|
|
442
446
|
"litellm_provider": "openai",
|
|
443
447
|
"max_input_tokens": 16385,
|
|
@@ -849,6 +853,7 @@
|
|
|
849
853
|
"supports_vision": true
|
|
850
854
|
},
|
|
851
855
|
"azure/gpt-4o-2024-08-06": {
|
|
856
|
+
"deprecation_date": "2026-02-27",
|
|
852
857
|
"cache_read_input_token_cost": 1.25e-06,
|
|
853
858
|
"input_cost_per_token": 2.5e-06,
|
|
854
859
|
"litellm_provider": "azure",
|
|
@@ -880,7 +885,7 @@
|
|
|
880
885
|
},
|
|
881
886
|
"azure/global-standard/gpt-4o-2024-08-06": {
|
|
882
887
|
"cache_read_input_token_cost": 1.25e-06,
|
|
883
|
-
"deprecation_date": "
|
|
888
|
+
"deprecation_date": "2026-02-27",
|
|
884
889
|
"input_cost_per_token": 2.5e-06,
|
|
885
890
|
"litellm_provider": "azure",
|
|
886
891
|
"max_input_tokens": 128000,
|
|
@@ -1188,6 +1193,7 @@
|
|
|
1188
1193
|
"output_cost_per_token": 0.0
|
|
1189
1194
|
},
|
|
1190
1195
|
"azure/text-embedding-3-small": {
|
|
1196
|
+
"deprecation_date": "2026-04-30",
|
|
1191
1197
|
"input_cost_per_token": 2e-08,
|
|
1192
1198
|
"litellm_provider": "azure",
|
|
1193
1199
|
"max_input_tokens": 8191,
|
|
@@ -1946,7 +1952,6 @@
|
|
|
1946
1952
|
"cache_creation_input_token_cost": 3e-07,
|
|
1947
1953
|
"cache_creation_input_token_cost_above_1hr": 6e-06,
|
|
1948
1954
|
"cache_read_input_token_cost": 3e-08,
|
|
1949
|
-
"deprecation_date": "2025-03-01",
|
|
1950
1955
|
"input_cost_per_token": 2.5e-07,
|
|
1951
1956
|
"litellm_provider": "anthropic",
|
|
1952
1957
|
"max_input_tokens": 200000,
|
|
@@ -1982,7 +1987,7 @@
|
|
|
1982
1987
|
"cache_creation_input_token_cost": 1.875e-05,
|
|
1983
1988
|
"cache_creation_input_token_cost_above_1hr": 6e-06,
|
|
1984
1989
|
"cache_read_input_token_cost": 1.5e-06,
|
|
1985
|
-
"deprecation_date": "
|
|
1990
|
+
"deprecation_date": "2026-05-01",
|
|
1986
1991
|
"input_cost_per_token": 1.5e-05,
|
|
1987
1992
|
"litellm_provider": "anthropic",
|
|
1988
1993
|
"max_input_tokens": 200000,
|
|
@@ -7746,6 +7751,7 @@
|
|
|
7746
7751
|
"supports_vision": true
|
|
7747
7752
|
},
|
|
7748
7753
|
"azure/gpt-4o-2024-11-20": {
|
|
7754
|
+
"deprecation_date": "2026-03-01",
|
|
7749
7755
|
"cache_read_input_token_cost": 1.25e-06,
|
|
7750
7756
|
"input_cost_per_token": 2.75e-06,
|
|
7751
7757
|
"litellm_provider": "azure",
|
|
@@ -7763,7 +7769,7 @@
|
|
|
7763
7769
|
},
|
|
7764
7770
|
"azure/global-standard/gpt-4o-2024-11-20": {
|
|
7765
7771
|
"cache_read_input_token_cost": 1.25e-06,
|
|
7766
|
-
"deprecation_date": "
|
|
7772
|
+
"deprecation_date": "2026-03-01",
|
|
7767
7773
|
"input_cost_per_token": 2.5e-06,
|
|
7768
7774
|
"litellm_provider": "azure",
|
|
7769
7775
|
"max_input_tokens": 128000,
|
|
@@ -9800,7 +9806,7 @@
|
|
|
9800
9806
|
"cache_creation_input_token_cost": 3.75e-06,
|
|
9801
9807
|
"cache_creation_input_token_cost_above_1hr": 6e-06,
|
|
9802
9808
|
"cache_read_input_token_cost": 3e-07,
|
|
9803
|
-
"deprecation_date": "2026-02-
|
|
9809
|
+
"deprecation_date": "2026-02-19",
|
|
9804
9810
|
"input_cost_per_token": 3e-06,
|
|
9805
9811
|
"litellm_provider": "anthropic",
|
|
9806
9812
|
"max_input_tokens": 200000,
|
|
@@ -10209,6 +10215,7 @@
|
|
|
10209
10215
|
"supports_vision": false
|
|
10210
10216
|
},
|
|
10211
10217
|
"azure/us/gpt-4o-2024-11-20": {
|
|
10218
|
+
"deprecation_date": "2026-03-01",
|
|
10212
10219
|
"cache_creation_input_token_cost": 1.38e-06,
|
|
10213
10220
|
"input_cost_per_token": 2.75e-06,
|
|
10214
10221
|
"litellm_provider": "azure",
|
|
@@ -10224,6 +10231,7 @@
|
|
|
10224
10231
|
"supports_vision": true
|
|
10225
10232
|
},
|
|
10226
10233
|
"azure/eu/gpt-4o-2024-11-20": {
|
|
10234
|
+
"deprecation_date": "2026-03-01",
|
|
10227
10235
|
"cache_creation_input_token_cost": 1.38e-06,
|
|
10228
10236
|
"input_cost_per_token": 2.75e-06,
|
|
10229
10237
|
"litellm_provider": "azure",
|
|
@@ -10239,6 +10247,7 @@
|
|
|
10239
10247
|
"supports_vision": true
|
|
10240
10248
|
},
|
|
10241
10249
|
"azure/us/gpt-4o-2024-08-06": {
|
|
10250
|
+
"deprecation_date": "2026-02-27",
|
|
10242
10251
|
"cache_read_input_token_cost": 1.375e-06,
|
|
10243
10252
|
"input_cost_per_token": 2.75e-06,
|
|
10244
10253
|
"litellm_provider": "azure",
|
|
@@ -10255,6 +10264,7 @@
|
|
|
10255
10264
|
"supports_vision": true
|
|
10256
10265
|
},
|
|
10257
10266
|
"azure/eu/gpt-4o-2024-08-06": {
|
|
10267
|
+
"deprecation_date": "2026-02-27",
|
|
10258
10268
|
"cache_read_input_token_cost": 1.375e-06,
|
|
10259
10269
|
"input_cost_per_token": 2.75e-06,
|
|
10260
10270
|
"litellm_provider": "azure",
|
|
@@ -10751,6 +10761,7 @@
|
|
|
10751
10761
|
"mode": "chat"
|
|
10752
10762
|
},
|
|
10753
10763
|
"azure/global/gpt-4o-2024-11-20": {
|
|
10764
|
+
"deprecation_date": "2026-03-01",
|
|
10754
10765
|
"cache_read_input_token_cost": 1.25e-06,
|
|
10755
10766
|
"input_cost_per_token": 2.5e-06,
|
|
10756
10767
|
"litellm_provider": "azure",
|
|
@@ -10767,6 +10778,7 @@
|
|
|
10767
10778
|
"supports_vision": true
|
|
10768
10779
|
},
|
|
10769
10780
|
"azure/global/gpt-4o-2024-08-06": {
|
|
10781
|
+
"deprecation_date": "2026-02-27",
|
|
10770
10782
|
"cache_read_input_token_cost": 1.25e-06,
|
|
10771
10783
|
"input_cost_per_token": 2.5e-06,
|
|
10772
10784
|
"litellm_provider": "azure",
|
|
@@ -11607,6 +11619,7 @@
|
|
|
11607
11619
|
"supports_web_search": false
|
|
11608
11620
|
},
|
|
11609
11621
|
"azure/gpt-4.1-2025-04-14": {
|
|
11622
|
+
"deprecation_date": "2026-11-04",
|
|
11610
11623
|
"cache_read_input_token_cost": 5e-07,
|
|
11611
11624
|
"input_cost_per_token": 2e-06,
|
|
11612
11625
|
"input_cost_per_token_batches": 1e-06,
|
|
@@ -11673,6 +11686,7 @@
|
|
|
11673
11686
|
"supports_web_search": false
|
|
11674
11687
|
},
|
|
11675
11688
|
"azure/gpt-4.1-mini-2025-04-14": {
|
|
11689
|
+
"deprecation_date": "2026-11-04",
|
|
11676
11690
|
"cache_read_input_token_cost": 1e-07,
|
|
11677
11691
|
"input_cost_per_token": 4e-07,
|
|
11678
11692
|
"input_cost_per_token_batches": 2e-07,
|
|
@@ -11738,6 +11752,7 @@
|
|
|
11738
11752
|
"supports_vision": true
|
|
11739
11753
|
},
|
|
11740
11754
|
"azure/gpt-4.1-nano-2025-04-14": {
|
|
11755
|
+
"deprecation_date": "2026-11-04",
|
|
11741
11756
|
"cache_read_input_token_cost": 2.5e-08,
|
|
11742
11757
|
"input_cost_per_token": 1e-07,
|
|
11743
11758
|
"input_cost_per_token_batches": 5e-08,
|
|
@@ -11799,6 +11814,7 @@
|
|
|
11799
11814
|
"supports_vision": true
|
|
11800
11815
|
},
|
|
11801
11816
|
"azure/o3-2025-04-16": {
|
|
11817
|
+
"deprecation_date": "2026-04-16",
|
|
11802
11818
|
"cache_read_input_token_cost": 2.5e-06,
|
|
11803
11819
|
"input_cost_per_token": 1e-05,
|
|
11804
11820
|
"litellm_provider": "azure",
|
|
@@ -13963,6 +13979,7 @@
|
|
|
13963
13979
|
"cache_creation_input_token_cost_above_1hr": 3e-05,
|
|
13964
13980
|
"cache_read_input_token_cost": 1.5e-06,
|
|
13965
13981
|
"input_cost_per_token": 1.5e-05,
|
|
13982
|
+
"deprecation_date": "2026-05-14",
|
|
13966
13983
|
"litellm_provider": "anthropic",
|
|
13967
13984
|
"max_input_tokens": 200000,
|
|
13968
13985
|
"max_output_tokens": 32000,
|
|
@@ -13986,6 +14003,7 @@
|
|
|
13986
14003
|
"tool_use_system_prompt_tokens": 159
|
|
13987
14004
|
},
|
|
13988
14005
|
"claude-sonnet-4-20250514": {
|
|
14006
|
+
"deprecation_date": "2026-05-14",
|
|
13989
14007
|
"cache_creation_input_token_cost": 3.75e-06,
|
|
13990
14008
|
"cache_creation_input_token_cost_above_1hr": 6e-06,
|
|
13991
14009
|
"cache_read_input_token_cost": 3e-07,
|
|
@@ -15411,7 +15429,7 @@
|
|
|
15411
15429
|
"tpm": 800000
|
|
15412
15430
|
},
|
|
15413
15431
|
"gemini-2.5-flash": {
|
|
15414
|
-
"cache_read_input_token_cost":
|
|
15432
|
+
"cache_read_input_token_cost": 3e-08,
|
|
15415
15433
|
"input_cost_per_audio_token": 1e-06,
|
|
15416
15434
|
"input_cost_per_token": 3e-07,
|
|
15417
15435
|
"litellm_provider": "vertex_ai-language-models",
|
|
@@ -15678,7 +15696,8 @@
|
|
|
15678
15696
|
"tpm": 250000
|
|
15679
15697
|
},
|
|
15680
15698
|
"gemini-2.5-pro": {
|
|
15681
|
-
"cache_read_input_token_cost":
|
|
15699
|
+
"cache_read_input_token_cost": 1.25e-07,
|
|
15700
|
+
"cache_creation_input_token_cost_above_200k_tokens": 2.5e-07,
|
|
15682
15701
|
"input_cost_per_token": 1.25e-06,
|
|
15683
15702
|
"input_cost_per_token_above_200k_tokens": 2.5e-06,
|
|
15684
15703
|
"litellm_provider": "vertex_ai-language-models",
|
|
@@ -17001,7 +17020,8 @@
|
|
|
17001
17020
|
"max_tokens": 8192,
|
|
17002
17021
|
"mode": "chat",
|
|
17003
17022
|
"output_cost_per_token": 6.3e-07,
|
|
17004
|
-
"supports_tool_choice": true
|
|
17023
|
+
"supports_tool_choice": true,
|
|
17024
|
+
"supports_vision": true
|
|
17005
17025
|
},
|
|
17006
17026
|
"fireworks_ai/accounts/fireworks/models/kimi-k2-instruct": {
|
|
17007
17027
|
"input_cost_per_token": 6e-07,
|
|
@@ -17860,6 +17880,7 @@
|
|
|
17860
17880
|
"cache_creation_input_token_cost_above_1hr": 3e-05,
|
|
17861
17881
|
"cache_read_input_token_cost": 1.5e-06,
|
|
17862
17882
|
"input_cost_per_token": 1.5e-05,
|
|
17883
|
+
"deprecation_date": "2026-08-05",
|
|
17863
17884
|
"litellm_provider": "anthropic",
|
|
17864
17885
|
"max_input_tokens": 200000,
|
|
17865
17886
|
"max_output_tokens": 32000,
|
|
@@ -19477,7 +19498,8 @@
|
|
|
19477
19498
|
"output_cost_per_token": 6e-07,
|
|
19478
19499
|
"litellm_provider": "deepinfra",
|
|
19479
19500
|
"mode": "chat",
|
|
19480
|
-
"supports_tool_choice": true
|
|
19501
|
+
"supports_tool_choice": true,
|
|
19502
|
+
"supports_vision": true
|
|
19481
19503
|
},
|
|
19482
19504
|
"deepinfra/nvidia/Llama-3.1-Nemotron-70B-Instruct": {
|
|
19483
19505
|
"max_tokens": 131072,
|
|
@@ -23423,6 +23445,7 @@
|
|
|
23423
23445
|
"supports_response_schema": true,
|
|
23424
23446
|
"supports_tool_choice": true,
|
|
23425
23447
|
"supports_vision": true,
|
|
23448
|
+
"supports_web_search": true,
|
|
23426
23449
|
"tool_use_system_prompt_tokens": 346
|
|
23427
23450
|
},
|
|
23428
23451
|
"ollama/deepseek-v3.1:671b-cloud": {
|
|
@@ -24476,9 +24499,13 @@
|
|
|
24476
24499
|
},
|
|
24477
24500
|
"openrouter/anthropic/claude-sonnet-4.5": {
|
|
24478
24501
|
"input_cost_per_image": 0.0048,
|
|
24502
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
|
24503
|
+
"cache_read_input_token_cost": 3e-07,
|
|
24479
24504
|
"input_cost_per_token": 3e-06,
|
|
24480
24505
|
"input_cost_per_token_above_200k_tokens": 6e-06,
|
|
24481
24506
|
"output_cost_per_token_above_200k_tokens": 2.25e-05,
|
|
24507
|
+
"cache_creation_input_token_cost_above_200k_tokens": 7.5e-06,
|
|
24508
|
+
"cache_read_input_token_cost_above_200k_tokens": 6e-07,
|
|
24482
24509
|
"litellm_provider": "openrouter",
|
|
24483
24510
|
"max_input_tokens": 1000000,
|
|
24484
24511
|
"max_output_tokens": 1000000,
|
|
@@ -24488,6 +24515,7 @@
|
|
|
24488
24515
|
"supports_assistant_prefill": true,
|
|
24489
24516
|
"supports_computer_use": true,
|
|
24490
24517
|
"supports_function_calling": true,
|
|
24518
|
+
"supports_prompt_caching": true,
|
|
24491
24519
|
"supports_reasoning": true,
|
|
24492
24520
|
"supports_tool_choice": true,
|
|
24493
24521
|
"supports_vision": true,
|
|
@@ -24596,6 +24624,7 @@
|
|
|
24596
24624
|
"cache_creation_input_token_cost": 1.375e-06,
|
|
24597
24625
|
"cache_read_input_token_cost": 1.1e-07,
|
|
24598
24626
|
"input_cost_per_token": 1.1e-06,
|
|
24627
|
+
"deprecation_date": "2026-10-15",
|
|
24599
24628
|
"litellm_provider": "bedrock",
|
|
24600
24629
|
"max_input_tokens": 200000,
|
|
24601
24630
|
"max_output_tokens": 8192,
|
|
@@ -25027,5 +25056,442 @@
|
|
|
25027
25056
|
"input_cost_per_query": 0.016,
|
|
25028
25057
|
"litellm_provider": "tavily",
|
|
25029
25058
|
"mode": "search"
|
|
25059
|
+
},
|
|
25060
|
+
"vertex_ai/mistralai/codestral-2@001": {
|
|
25061
|
+
"input_cost_per_token": 3e-07,
|
|
25062
|
+
"litellm_provider": "vertex_ai-mistral_models",
|
|
25063
|
+
"max_input_tokens": 128000,
|
|
25064
|
+
"max_output_tokens": 128000,
|
|
25065
|
+
"max_tokens": 128000,
|
|
25066
|
+
"mode": "chat",
|
|
25067
|
+
"output_cost_per_token": 9e-07,
|
|
25068
|
+
"supports_function_calling": true,
|
|
25069
|
+
"supports_tool_choice": true
|
|
25070
|
+
},
|
|
25071
|
+
"vertex_ai/codestral-2": {
|
|
25072
|
+
"input_cost_per_token": 3e-07,
|
|
25073
|
+
"litellm_provider": "vertex_ai-mistral_models",
|
|
25074
|
+
"max_input_tokens": 128000,
|
|
25075
|
+
"max_output_tokens": 128000,
|
|
25076
|
+
"max_tokens": 128000,
|
|
25077
|
+
"mode": "chat",
|
|
25078
|
+
"output_cost_per_token": 9e-07,
|
|
25079
|
+
"supports_function_calling": true,
|
|
25080
|
+
"supports_tool_choice": true
|
|
25081
|
+
},
|
|
25082
|
+
"vertex_ai/codestral-2@001": {
|
|
25083
|
+
"input_cost_per_token": 3e-07,
|
|
25084
|
+
"litellm_provider": "vertex_ai-mistral_models",
|
|
25085
|
+
"max_input_tokens": 128000,
|
|
25086
|
+
"max_output_tokens": 128000,
|
|
25087
|
+
"max_tokens": 128000,
|
|
25088
|
+
"mode": "chat",
|
|
25089
|
+
"output_cost_per_token": 9e-07,
|
|
25090
|
+
"supports_function_calling": true,
|
|
25091
|
+
"supports_tool_choice": true
|
|
25092
|
+
},
|
|
25093
|
+
"vertex_ai/mistralai/codestral-2": {
|
|
25094
|
+
"input_cost_per_token": 3e-07,
|
|
25095
|
+
"litellm_provider": "vertex_ai-mistral_models",
|
|
25096
|
+
"max_input_tokens": 128000,
|
|
25097
|
+
"max_output_tokens": 128000,
|
|
25098
|
+
"max_tokens": 128000,
|
|
25099
|
+
"mode": "chat",
|
|
25100
|
+
"output_cost_per_token": 9e-07,
|
|
25101
|
+
"supports_function_calling": true,
|
|
25102
|
+
"supports_tool_choice": true
|
|
25103
|
+
},
|
|
25104
|
+
"vertex_ai/mistral-medium-3": {
|
|
25105
|
+
"input_cost_per_token": 4e-07,
|
|
25106
|
+
"litellm_provider": "vertex_ai-mistral_models",
|
|
25107
|
+
"max_input_tokens": 128000,
|
|
25108
|
+
"max_output_tokens": 8191,
|
|
25109
|
+
"max_tokens": 8191,
|
|
25110
|
+
"mode": "chat",
|
|
25111
|
+
"output_cost_per_token": 2e-06,
|
|
25112
|
+
"supports_function_calling": true,
|
|
25113
|
+
"supports_tool_choice": true
|
|
25114
|
+
},
|
|
25115
|
+
"vertex_ai/mistral-medium-3@001": {
|
|
25116
|
+
"input_cost_per_token": 4e-07,
|
|
25117
|
+
"litellm_provider": "vertex_ai-mistral_models",
|
|
25118
|
+
"max_input_tokens": 128000,
|
|
25119
|
+
"max_output_tokens": 8191,
|
|
25120
|
+
"max_tokens": 8191,
|
|
25121
|
+
"mode": "chat",
|
|
25122
|
+
"output_cost_per_token": 2e-06,
|
|
25123
|
+
"supports_function_calling": true,
|
|
25124
|
+
"supports_tool_choice": true
|
|
25125
|
+
},
|
|
25126
|
+
"vertex_ai/mistralai/mistral-medium-3": {
|
|
25127
|
+
"input_cost_per_token": 4e-07,
|
|
25128
|
+
"litellm_provider": "vertex_ai-mistral_models",
|
|
25129
|
+
"max_input_tokens": 128000,
|
|
25130
|
+
"max_output_tokens": 8191,
|
|
25131
|
+
"max_tokens": 8191,
|
|
25132
|
+
"mode": "chat",
|
|
25133
|
+
"output_cost_per_token": 2e-06,
|
|
25134
|
+
"supports_function_calling": true,
|
|
25135
|
+
"supports_tool_choice": true
|
|
25136
|
+
},
|
|
25137
|
+
"vertex_ai/mistralai/mistral-medium-3@001": {
|
|
25138
|
+
"input_cost_per_token": 4e-07,
|
|
25139
|
+
"litellm_provider": "vertex_ai-mistral_models",
|
|
25140
|
+
"max_input_tokens": 128000,
|
|
25141
|
+
"max_output_tokens": 8191,
|
|
25142
|
+
"max_tokens": 8191,
|
|
25143
|
+
"mode": "chat",
|
|
25144
|
+
"output_cost_per_token": 2e-06,
|
|
25145
|
+
"supports_function_calling": true,
|
|
25146
|
+
"supports_tool_choice": true
|
|
25147
|
+
},
|
|
25148
|
+
"openai/sora-2": {
|
|
25149
|
+
"litellm_provider": "openai",
|
|
25150
|
+
"mode": "video_generation",
|
|
25151
|
+
"output_cost_per_video_per_second": 0.1,
|
|
25152
|
+
"source": "https://platform.openai.com/docs/api-reference/videos",
|
|
25153
|
+
"supported_modalities": [
|
|
25154
|
+
"text",
|
|
25155
|
+
"image"
|
|
25156
|
+
],
|
|
25157
|
+
"supported_output_modalities": [
|
|
25158
|
+
"video"
|
|
25159
|
+
],
|
|
25160
|
+
"supported_resolutions": [
|
|
25161
|
+
"720x1280",
|
|
25162
|
+
"1280x720"
|
|
25163
|
+
]
|
|
25164
|
+
},
|
|
25165
|
+
"azure/sora-2": {
|
|
25166
|
+
"litellm_provider": "azure",
|
|
25167
|
+
"mode": "video_generation",
|
|
25168
|
+
"output_cost_per_video_per_second": 0.1,
|
|
25169
|
+
"source": "https://azure.microsoft.com/en-us/products/ai-services/video-generation",
|
|
25170
|
+
"supported_modalities": [
|
|
25171
|
+
"text"
|
|
25172
|
+
],
|
|
25173
|
+
"supported_output_modalities": [
|
|
25174
|
+
"video"
|
|
25175
|
+
],
|
|
25176
|
+
"supported_resolutions": [
|
|
25177
|
+
"720x1280",
|
|
25178
|
+
"1280x720"
|
|
25179
|
+
]
|
|
25180
|
+
},
|
|
25181
|
+
"azure/sora-2-pro": {
|
|
25182
|
+
"litellm_provider": "azure",
|
|
25183
|
+
"mode": "video_generation",
|
|
25184
|
+
"output_cost_per_video_per_second": 0.3,
|
|
25185
|
+
"source": "https://azure.microsoft.com/en-us/products/ai-services/video-generation",
|
|
25186
|
+
"supported_modalities": [
|
|
25187
|
+
"text"
|
|
25188
|
+
],
|
|
25189
|
+
"supported_output_modalities": [
|
|
25190
|
+
"video"
|
|
25191
|
+
],
|
|
25192
|
+
"supported_resolutions": [
|
|
25193
|
+
"720x1280",
|
|
25194
|
+
"1280x720"
|
|
25195
|
+
]
|
|
25196
|
+
},
|
|
25197
|
+
"azure/sora-2-pro-high-res": {
|
|
25198
|
+
"litellm_provider": "azure",
|
|
25199
|
+
"mode": "video_generation",
|
|
25200
|
+
"output_cost_per_video_per_second": 0.5,
|
|
25201
|
+
"source": "https://azure.microsoft.com/en-us/products/ai-services/video-generation",
|
|
25202
|
+
"supported_modalities": [
|
|
25203
|
+
"text"
|
|
25204
|
+
],
|
|
25205
|
+
"supported_output_modalities": [
|
|
25206
|
+
"video"
|
|
25207
|
+
],
|
|
25208
|
+
"supported_resolutions": [
|
|
25209
|
+
"1024x1792",
|
|
25210
|
+
"1792x1024"
|
|
25211
|
+
]
|
|
25212
|
+
},
|
|
25213
|
+
"amazon.titan-image-generator-v1": {
|
|
25214
|
+
"input_cost_per_image": 0.0,
|
|
25215
|
+
"output_cost_per_image": 0.008,
|
|
25216
|
+
"output_cost_per_image_premium_image": 0.01,
|
|
25217
|
+
"output_cost_per_image_above_512_and_512_pixels": 0.01,
|
|
25218
|
+
"output_cost_per_image_above_512_and_512_pixels_and_premium_image": 0.012,
|
|
25219
|
+
"litellm_provider": "bedrock",
|
|
25220
|
+
"mode": "image_generation"
|
|
25221
|
+
},
|
|
25222
|
+
"amazon.titan-image-generator-v2": {
|
|
25223
|
+
"input_cost_per_image": 0.0,
|
|
25224
|
+
"output_cost_per_image": 0.008,
|
|
25225
|
+
"output_cost_per_image_premium_image": 0.01,
|
|
25226
|
+
"output_cost_per_image_above_1024_and_1024_pixels": 0.01,
|
|
25227
|
+
"output_cost_per_image_above_1024_and_1024_pixels_and_premium_image": 0.012,
|
|
25228
|
+
"litellm_provider": "bedrock",
|
|
25229
|
+
"mode": "image_generation"
|
|
25230
|
+
},
|
|
25231
|
+
"vertex_ai/search_api": {
|
|
25232
|
+
"input_cost_per_query": 0.0015,
|
|
25233
|
+
"litellm_provider": "vertex_ai",
|
|
25234
|
+
"mode": "vector_store"
|
|
25235
|
+
},
|
|
25236
|
+
"openai/sora-2-pro": {
|
|
25237
|
+
"litellm_provider": "openai",
|
|
25238
|
+
"mode": "video_generation",
|
|
25239
|
+
"output_cost_per_video_per_second": 0.3,
|
|
25240
|
+
"source": "https://platform.openai.com/docs/api-reference/videos",
|
|
25241
|
+
"supported_modalities": [
|
|
25242
|
+
"text",
|
|
25243
|
+
"image"
|
|
25244
|
+
],
|
|
25245
|
+
"supported_output_modalities": [
|
|
25246
|
+
"video"
|
|
25247
|
+
],
|
|
25248
|
+
"supported_resolutions": [
|
|
25249
|
+
"720x1280",
|
|
25250
|
+
"1280x720"
|
|
25251
|
+
]
|
|
25252
|
+
},
|
|
25253
|
+
"openrouter/anthropic/claude-haiku-4.5": {
|
|
25254
|
+
"cache_creation_input_token_cost": 1.25e-06,
|
|
25255
|
+
"cache_read_input_token_cost": 1e-07,
|
|
25256
|
+
"input_cost_per_token": 1e-06,
|
|
25257
|
+
"litellm_provider": "openrouter",
|
|
25258
|
+
"max_input_tokens": 200000,
|
|
25259
|
+
"max_output_tokens": 200000,
|
|
25260
|
+
"max_tokens": 200000,
|
|
25261
|
+
"mode": "chat",
|
|
25262
|
+
"output_cost_per_token": 5e-06,
|
|
25263
|
+
"supports_assistant_prefill": true,
|
|
25264
|
+
"supports_computer_use": true,
|
|
25265
|
+
"supports_function_calling": true,
|
|
25266
|
+
"supports_prompt_caching": true,
|
|
25267
|
+
"supports_reasoning": true,
|
|
25268
|
+
"supports_tool_choice": true,
|
|
25269
|
+
"supports_vision": true,
|
|
25270
|
+
"tool_use_system_prompt_tokens": 346
|
|
25271
|
+
},
|
|
25272
|
+
"fal_ai/bria/text-to-image/3.2": {
|
|
25273
|
+
"litellm_provider": "fal_ai",
|
|
25274
|
+
"mode": "image_generation",
|
|
25275
|
+
"output_cost_per_image": 0.0398,
|
|
25276
|
+
"supported_endpoints": [
|
|
25277
|
+
"/v1/images/generations"
|
|
25278
|
+
]
|
|
25279
|
+
},
|
|
25280
|
+
"fal_ai/fal-ai/flux-pro/v1.1-ultra": {
|
|
25281
|
+
"litellm_provider": "fal_ai",
|
|
25282
|
+
"mode": "image_generation",
|
|
25283
|
+
"output_cost_per_image": 0.0398,
|
|
25284
|
+
"supported_endpoints": [
|
|
25285
|
+
"/v1/images/generations"
|
|
25286
|
+
]
|
|
25287
|
+
},
|
|
25288
|
+
"fal_ai/fal-ai/imagen4/preview": {
|
|
25289
|
+
"litellm_provider": "fal_ai",
|
|
25290
|
+
"mode": "image_generation",
|
|
25291
|
+
"output_cost_per_image": 0.0398,
|
|
25292
|
+
"supported_endpoints": [
|
|
25293
|
+
"/v1/images/generations"
|
|
25294
|
+
]
|
|
25295
|
+
},
|
|
25296
|
+
"fal_ai/fal-ai/recraft/v3/text-to-image": {
|
|
25297
|
+
"litellm_provider": "fal_ai",
|
|
25298
|
+
"mode": "image_generation",
|
|
25299
|
+
"output_cost_per_image": 0.0398,
|
|
25300
|
+
"supported_endpoints": [
|
|
25301
|
+
"/v1/images/generations"
|
|
25302
|
+
]
|
|
25303
|
+
},
|
|
25304
|
+
"fal_ai/fal-ai/stable-diffusion-v35-medium": {
|
|
25305
|
+
"litellm_provider": "fal_ai",
|
|
25306
|
+
"mode": "image_generation",
|
|
25307
|
+
"output_cost_per_image": 0.0398,
|
|
25308
|
+
"supported_endpoints": [
|
|
25309
|
+
"/v1/images/generations"
|
|
25310
|
+
]
|
|
25311
|
+
},
|
|
25312
|
+
"mistral/codestral-embed": {
|
|
25313
|
+
"input_cost_per_token": 1.5e-07,
|
|
25314
|
+
"litellm_provider": "mistral",
|
|
25315
|
+
"max_input_tokens": 8192,
|
|
25316
|
+
"max_tokens": 8192,
|
|
25317
|
+
"mode": "embedding"
|
|
25318
|
+
},
|
|
25319
|
+
"mistral/codestral-embed-2505": {
|
|
25320
|
+
"input_cost_per_token": 1.5e-07,
|
|
25321
|
+
"litellm_provider": "mistral",
|
|
25322
|
+
"max_input_tokens": 8192,
|
|
25323
|
+
"max_tokens": 8192,
|
|
25324
|
+
"mode": "embedding"
|
|
25325
|
+
},
|
|
25326
|
+
"gemini/gemini-embedding-001": {
|
|
25327
|
+
"input_cost_per_token": 1.5e-07,
|
|
25328
|
+
"litellm_provider": "gemini",
|
|
25329
|
+
"max_input_tokens": 2048,
|
|
25330
|
+
"max_tokens": 2048,
|
|
25331
|
+
"mode": "embedding",
|
|
25332
|
+
"output_cost_per_token": 0,
|
|
25333
|
+
"output_vector_size": 3072,
|
|
25334
|
+
"rpm": 10000,
|
|
25335
|
+
"source": "https://ai.google.dev/gemini-api/docs/embeddings#model-versions",
|
|
25336
|
+
"tpm": 10000000
|
|
25337
|
+
},
|
|
25338
|
+
"vercel_ai_gateway/zai/glm-4.6": {
|
|
25339
|
+
"litellm_provider": "vercel_ai_gateway",
|
|
25340
|
+
"cache_read_input_token_cost": 1.1e-07,
|
|
25341
|
+
"input_cost_per_token": 4.5e-07,
|
|
25342
|
+
"max_input_tokens": 200000,
|
|
25343
|
+
"max_output_tokens": 200000,
|
|
25344
|
+
"max_tokens": 200000,
|
|
25345
|
+
"mode": "chat",
|
|
25346
|
+
"output_cost_per_token": 1.8e-06,
|
|
25347
|
+
"source": "https://vercel.com/ai-gateway/models/glm-4.6",
|
|
25348
|
+
"supports_function_calling": true,
|
|
25349
|
+
"supports_parallel_function_calling": true,
|
|
25350
|
+
"supports_tool_choice": true
|
|
25351
|
+
},
|
|
25352
|
+
"openrouter/nvidia/nemotron-nano-9b-v2:free": {
|
|
25353
|
+
"input_cost_per_token": 0,
|
|
25354
|
+
"litellm_provider": "openrouter",
|
|
25355
|
+
"max_tokens": 128000,
|
|
25356
|
+
"mode": "chat",
|
|
25357
|
+
"output_cost_per_token": 0,
|
|
25358
|
+
"source": "https://openrouter.ai/nvidia/nemotron-nano-9b-v2:free",
|
|
25359
|
+
"supports_tool_choice": true
|
|
25360
|
+
},
|
|
25361
|
+
"openai/container": {
|
|
25362
|
+
"code_interpreter_cost_per_session": 0.03,
|
|
25363
|
+
"litellm_provider": "openai",
|
|
25364
|
+
"mode": "container"
|
|
25365
|
+
},
|
|
25366
|
+
"azure/container": {
|
|
25367
|
+
"code_interpreter_cost_per_session": 0.03,
|
|
25368
|
+
"litellm_provider": "azure",
|
|
25369
|
+
"mode": "container"
|
|
25370
|
+
},
|
|
25371
|
+
"vertex_ai/mistral-ocr-2505": {
|
|
25372
|
+
"litellm_provider": "vertex_ai",
|
|
25373
|
+
"mode": "ocr",
|
|
25374
|
+
"ocr_cost_per_page": 0.0005,
|
|
25375
|
+
"supported_endpoints": [
|
|
25376
|
+
"/v1/ocr"
|
|
25377
|
+
],
|
|
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
|
|
25030
25496
|
}
|
|
25031
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
|
|
@@ -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=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,,
|
|
@@ -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=dXmA9D76ivFgSt5MnUvVK6mR75hI4QY8jxPHkyRvb_g,893387
|
|
5
|
-
tokencostauto-0.1.306.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.306.dist-info/METADATA,sha256=DZYu_MzFTDKFj4_fhpzau90H9NJF2mNjkYcmEQjs8Oc,204076
|
|
7
|
-
tokencostauto-0.1.306.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
tokencostauto-0.1.306.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.306.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|