tokencostauto 0.1.61__py3-none-any.whl → 0.1.64__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 +101 -109
- {tokencostauto-0.1.61.dist-info → tokencostauto-0.1.64.dist-info}/METADATA +1 -1
- tokencostauto-0.1.64.dist-info/RECORD +9 -0
- tokencostauto-0.1.61.dist-info/RECORD +0 -9
- {tokencostauto-0.1.61.dist-info → tokencostauto-0.1.64.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.61.dist-info → tokencostauto-0.1.64.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.61.dist-info → tokencostauto-0.1.64.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
@@ -30,13 +30,7 @@
|
|
30
30
|
"supports_vision": true,
|
31
31
|
"supports_prompt_caching": true,
|
32
32
|
"supports_system_messages": true,
|
33
|
-
"supports_tool_choice": true
|
34
|
-
"supports_web_search": true,
|
35
|
-
"search_context_cost_per_query": {
|
36
|
-
"search_context_size_low": 0.03,
|
37
|
-
"search_context_size_medium": 0.035,
|
38
|
-
"search_context_size_high": 0.05
|
39
|
-
}
|
33
|
+
"supports_tool_choice": true
|
40
34
|
},
|
41
35
|
"gpt-4o-audio-preview": {
|
42
36
|
"max_tokens": 16384,
|
@@ -90,13 +84,7 @@
|
|
90
84
|
"supports_vision": true,
|
91
85
|
"supports_prompt_caching": true,
|
92
86
|
"supports_system_messages": true,
|
93
|
-
"supports_tool_choice": true
|
94
|
-
"supports_web_search": true,
|
95
|
-
"search_context_cost_per_query": {
|
96
|
-
"search_context_size_low": 0.025,
|
97
|
-
"search_context_size_medium": 0.0275,
|
98
|
-
"search_context_size_high": 0.03
|
99
|
-
}
|
87
|
+
"supports_tool_choice": true
|
100
88
|
},
|
101
89
|
"gpt-4o-mini-2024-07-18": {
|
102
90
|
"max_tokens": 16384,
|
@@ -230,13 +218,7 @@
|
|
230
218
|
"supports_vision": true,
|
231
219
|
"supports_prompt_caching": true,
|
232
220
|
"supports_system_messages": true,
|
233
|
-
"supports_tool_choice": true
|
234
|
-
"supports_web_search": true,
|
235
|
-
"search_context_cost_per_query": {
|
236
|
-
"search_context_size_low": 0.03,
|
237
|
-
"search_context_size_medium": 0.035,
|
238
|
-
"search_context_size_high": 0.05
|
239
|
-
}
|
221
|
+
"supports_tool_choice": true
|
240
222
|
},
|
241
223
|
"gpt-4-turbo-preview": {
|
242
224
|
"max_tokens": 4096,
|
@@ -7564,7 +7546,8 @@
|
|
7564
7546
|
"mode": "chat",
|
7565
7547
|
"supports_function_calling": true,
|
7566
7548
|
"supports_vision": true,
|
7567
|
-
"supports_tool_choice": true
|
7549
|
+
"supports_tool_choice": true,
|
7550
|
+
"supports_web_search": true
|
7568
7551
|
},
|
7569
7552
|
"claude-3-5-haiku-20241022": {
|
7570
7553
|
"max_tokens": 8192,
|
@@ -8388,7 +8371,8 @@
|
|
8388
8371
|
],
|
8389
8372
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",
|
8390
8373
|
"supports_tool_choice": true,
|
8391
|
-
"supports_parallel_function_calling": true
|
8374
|
+
"supports_parallel_function_calling": true,
|
8375
|
+
"supports_web_search": true
|
8392
8376
|
},
|
8393
8377
|
"gemini/gemini-2.0-flash-exp": {
|
8394
8378
|
"max_tokens": 8192,
|
@@ -8434,7 +8418,8 @@
|
|
8434
8418
|
"image"
|
8435
8419
|
],
|
8436
8420
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash",
|
8437
|
-
"supports_tool_choice": true
|
8421
|
+
"supports_tool_choice": true,
|
8422
|
+
"supports_web_search": true
|
8438
8423
|
},
|
8439
8424
|
"vertex_ai/mistral-large@2411-001": {
|
8440
8425
|
"max_tokens": 8191,
|
@@ -8966,7 +8951,8 @@
|
|
8966
8951
|
"mode": "chat",
|
8967
8952
|
"supports_function_calling": true,
|
8968
8953
|
"supports_vision": true,
|
8969
|
-
"supports_tool_choice": true
|
8954
|
+
"supports_tool_choice": true,
|
8955
|
+
"supports_web_search": true
|
8970
8956
|
},
|
8971
8957
|
"xai/grok-2-vision-latest": {
|
8972
8958
|
"max_tokens": 32768,
|
@@ -8979,7 +8965,8 @@
|
|
8979
8965
|
"mode": "chat",
|
8980
8966
|
"supports_function_calling": true,
|
8981
8967
|
"supports_vision": true,
|
8982
|
-
"supports_tool_choice": true
|
8968
|
+
"supports_tool_choice": true,
|
8969
|
+
"supports_web_search": true
|
8983
8970
|
},
|
8984
8971
|
"xai/grok-2-vision": {
|
8985
8972
|
"max_tokens": 32768,
|
@@ -8992,7 +8979,8 @@
|
|
8992
8979
|
"mode": "chat",
|
8993
8980
|
"supports_function_calling": true,
|
8994
8981
|
"supports_vision": true,
|
8995
|
-
"supports_tool_choice": true
|
8982
|
+
"supports_tool_choice": true,
|
8983
|
+
"supports_web_search": true
|
8996
8984
|
},
|
8997
8985
|
"xai/grok-vision-beta": {
|
8998
8986
|
"max_tokens": 8192,
|
@@ -9005,7 +8993,8 @@
|
|
9005
8993
|
"mode": "chat",
|
9006
8994
|
"supports_function_calling": true,
|
9007
8995
|
"supports_vision": true,
|
9008
|
-
"supports_tool_choice": true
|
8996
|
+
"supports_tool_choice": true,
|
8997
|
+
"supports_web_search": true
|
9009
8998
|
},
|
9010
8999
|
"xai/grok-2-1212": {
|
9011
9000
|
"max_tokens": 131072,
|
@@ -9016,7 +9005,8 @@
|
|
9016
9005
|
"litellm_provider": "xai",
|
9017
9006
|
"mode": "chat",
|
9018
9007
|
"supports_function_calling": true,
|
9019
|
-
"supports_tool_choice": true
|
9008
|
+
"supports_tool_choice": true,
|
9009
|
+
"supports_web_search": true
|
9020
9010
|
},
|
9021
9011
|
"xai/grok-2": {
|
9022
9012
|
"max_tokens": 131072,
|
@@ -9027,7 +9017,8 @@
|
|
9027
9017
|
"litellm_provider": "xai",
|
9028
9018
|
"mode": "chat",
|
9029
9019
|
"supports_function_calling": true,
|
9030
|
-
"supports_tool_choice": true
|
9020
|
+
"supports_tool_choice": true,
|
9021
|
+
"supports_web_search": true
|
9031
9022
|
},
|
9032
9023
|
"xai/grok-2-latest": {
|
9033
9024
|
"max_tokens": 131072,
|
@@ -9038,7 +9029,8 @@
|
|
9038
9029
|
"litellm_provider": "xai",
|
9039
9030
|
"mode": "chat",
|
9040
9031
|
"supports_function_calling": true,
|
9041
|
-
"supports_tool_choice": true
|
9032
|
+
"supports_tool_choice": true,
|
9033
|
+
"supports_web_search": true
|
9042
9034
|
},
|
9043
9035
|
"groq/deepseek-r1-distill-llama-70b": {
|
9044
9036
|
"max_tokens": 128000,
|
@@ -9087,7 +9079,8 @@
|
|
9087
9079
|
"image"
|
9088
9080
|
],
|
9089
9081
|
"supports_tool_choice": true,
|
9090
|
-
"source": "https://ai.google.dev/pricing#2_0flash"
|
9082
|
+
"source": "https://ai.google.dev/pricing#2_0flash",
|
9083
|
+
"supports_web_search": true
|
9091
9084
|
},
|
9092
9085
|
"gemini-2.0-flash-001": {
|
9093
9086
|
"max_tokens": 8192,
|
@@ -9122,7 +9115,8 @@
|
|
9122
9115
|
],
|
9123
9116
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",
|
9124
9117
|
"deprecation_date": "2026-02-05",
|
9125
|
-
"supports_parallel_function_calling": true
|
9118
|
+
"supports_parallel_function_calling": true,
|
9119
|
+
"supports_web_search": true
|
9126
9120
|
},
|
9127
9121
|
"gemini-2.0-flash-thinking-exp": {
|
9128
9122
|
"max_tokens": 8192,
|
@@ -9167,7 +9161,8 @@
|
|
9167
9161
|
],
|
9168
9162
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash",
|
9169
9163
|
"supports_tool_choice": true,
|
9170
|
-
"supports_parallel_function_calling": true
|
9164
|
+
"supports_parallel_function_calling": true,
|
9165
|
+
"supports_web_search": true
|
9171
9166
|
},
|
9172
9167
|
"gemini-2.0-flash-thinking-exp-01-21": {
|
9173
9168
|
"max_tokens": 65536,
|
@@ -9212,7 +9207,8 @@
|
|
9212
9207
|
],
|
9213
9208
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash",
|
9214
9209
|
"supports_tool_choice": true,
|
9215
|
-
"supports_parallel_function_calling": true
|
9210
|
+
"supports_parallel_function_calling": true,
|
9211
|
+
"supports_web_search": true
|
9216
9212
|
},
|
9217
9213
|
"gemini/gemini-2.0-flash-001": {
|
9218
9214
|
"max_tokens": 8192,
|
@@ -9247,7 +9243,8 @@
|
|
9247
9243
|
"text",
|
9248
9244
|
"image"
|
9249
9245
|
],
|
9250
|
-
"source": "https://ai.google.dev/pricing#2_0flash"
|
9246
|
+
"source": "https://ai.google.dev/pricing#2_0flash",
|
9247
|
+
"supports_web_search": true
|
9251
9248
|
},
|
9252
9249
|
"gemini/gemini-2.0-flash-lite-preview-02-05": {
|
9253
9250
|
"max_tokens": 8192,
|
@@ -9281,7 +9278,8 @@
|
|
9281
9278
|
"supported_output_modalities": [
|
9282
9279
|
"text"
|
9283
9280
|
],
|
9284
|
-
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash-lite"
|
9281
|
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash-lite",
|
9282
|
+
"supports_web_search": true
|
9285
9283
|
},
|
9286
9284
|
"gemini/gemini-2.0-flash-thinking-exp": {
|
9287
9285
|
"max_tokens": 8192,
|
@@ -9327,7 +9325,8 @@
|
|
9327
9325
|
"image"
|
9328
9326
|
],
|
9329
9327
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash",
|
9330
|
-
"supports_tool_choice": true
|
9328
|
+
"supports_tool_choice": true,
|
9329
|
+
"supports_web_search": true
|
9331
9330
|
},
|
9332
9331
|
"vertex_ai/codestral-2501": {
|
9333
9332
|
"max_tokens": 128000,
|
@@ -9548,7 +9547,8 @@
|
|
9548
9547
|
"text"
|
9549
9548
|
],
|
9550
9549
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",
|
9551
|
-
"supports_parallel_function_calling": true
|
9550
|
+
"supports_parallel_function_calling": true,
|
9551
|
+
"supports_web_search": true
|
9552
9552
|
},
|
9553
9553
|
"us.meta.llama3-3-70b-instruct-v1:0": {
|
9554
9554
|
"max_tokens": 4096,
|
@@ -10318,7 +10318,8 @@
|
|
10318
10318
|
"supports_pdf_input": true,
|
10319
10319
|
"supports_response_schema": true,
|
10320
10320
|
"supports_tool_choice": true,
|
10321
|
-
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing"
|
10321
|
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",
|
10322
|
+
"supports_web_search": true
|
10322
10323
|
},
|
10323
10324
|
"gemini/gemini-2.0-flash-thinking-exp-01-21": {
|
10324
10325
|
"max_tokens": 8192,
|
@@ -10364,7 +10365,8 @@
|
|
10364
10365
|
"image"
|
10365
10366
|
],
|
10366
10367
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash",
|
10367
|
-
"supports_tool_choice": true
|
10368
|
+
"supports_tool_choice": true,
|
10369
|
+
"supports_web_search": true
|
10368
10370
|
},
|
10369
10371
|
"gemini/gemma-3-27b-it": {
|
10370
10372
|
"max_tokens": 8192,
|
@@ -10791,13 +10793,7 @@
|
|
10791
10793
|
"supports_vision": true,
|
10792
10794
|
"supports_prompt_caching": true,
|
10793
10795
|
"supports_system_messages": true,
|
10794
|
-
"supports_tool_choice": true
|
10795
|
-
"supports_web_search": true,
|
10796
|
-
"search_context_cost_per_query": {
|
10797
|
-
"search_context_size_low": 0.03,
|
10798
|
-
"search_context_size_medium": 0.035,
|
10799
|
-
"search_context_size_high": 0.05
|
10800
|
-
}
|
10796
|
+
"supports_tool_choice": true
|
10801
10797
|
},
|
10802
10798
|
"gpt-4o-search-preview": {
|
10803
10799
|
"max_tokens": 16384,
|
@@ -10843,13 +10839,7 @@
|
|
10843
10839
|
"supports_vision": true,
|
10844
10840
|
"supports_prompt_caching": true,
|
10845
10841
|
"supports_system_messages": true,
|
10846
|
-
"supports_tool_choice": true
|
10847
|
-
"supports_web_search": true,
|
10848
|
-
"search_context_cost_per_query": {
|
10849
|
-
"search_context_size_low": 0.025,
|
10850
|
-
"search_context_size_medium": 0.0275,
|
10851
|
-
"search_context_size_high": 0.03
|
10852
|
-
}
|
10842
|
+
"supports_tool_choice": true
|
10853
10843
|
},
|
10854
10844
|
"gpt-4o-mini-search-preview": {
|
10855
10845
|
"max_tokens": 16384,
|
@@ -10950,13 +10940,7 @@
|
|
10950
10940
|
"supports_prompt_caching": true,
|
10951
10941
|
"supports_system_messages": true,
|
10952
10942
|
"supports_tool_choice": true,
|
10953
|
-
"supports_native_streaming": true
|
10954
|
-
"supports_web_search": true,
|
10955
|
-
"search_context_cost_per_query": {
|
10956
|
-
"search_context_size_low": 0.03,
|
10957
|
-
"search_context_size_medium": 0.035,
|
10958
|
-
"search_context_size_high": 0.05
|
10959
|
-
}
|
10943
|
+
"supports_native_streaming": true
|
10960
10944
|
},
|
10961
10945
|
"gpt-4.1-2025-04-14": {
|
10962
10946
|
"max_tokens": 32768,
|
@@ -10989,13 +10973,7 @@
|
|
10989
10973
|
"supports_prompt_caching": true,
|
10990
10974
|
"supports_system_messages": true,
|
10991
10975
|
"supports_tool_choice": true,
|
10992
|
-
"supports_native_streaming": true
|
10993
|
-
"supports_web_search": true,
|
10994
|
-
"search_context_cost_per_query": {
|
10995
|
-
"search_context_size_low": 0.03,
|
10996
|
-
"search_context_size_medium": 0.035,
|
10997
|
-
"search_context_size_high": 0.05
|
10998
|
-
}
|
10976
|
+
"supports_native_streaming": true
|
10999
10977
|
},
|
11000
10978
|
"gpt-4.1-mini": {
|
11001
10979
|
"max_tokens": 32768,
|
@@ -11028,13 +11006,7 @@
|
|
11028
11006
|
"supports_prompt_caching": true,
|
11029
11007
|
"supports_system_messages": true,
|
11030
11008
|
"supports_tool_choice": true,
|
11031
|
-
"supports_native_streaming": true
|
11032
|
-
"supports_web_search": true,
|
11033
|
-
"search_context_cost_per_query": {
|
11034
|
-
"search_context_size_low": 0.025,
|
11035
|
-
"search_context_size_medium": 0.0275,
|
11036
|
-
"search_context_size_high": 0.03
|
11037
|
-
}
|
11009
|
+
"supports_native_streaming": true
|
11038
11010
|
},
|
11039
11011
|
"gpt-4.1-mini-2025-04-14": {
|
11040
11012
|
"max_tokens": 32768,
|
@@ -11067,13 +11039,7 @@
|
|
11067
11039
|
"supports_prompt_caching": true,
|
11068
11040
|
"supports_system_messages": true,
|
11069
11041
|
"supports_tool_choice": true,
|
11070
|
-
"supports_native_streaming": true
|
11071
|
-
"supports_web_search": true,
|
11072
|
-
"search_context_cost_per_query": {
|
11073
|
-
"search_context_size_low": 0.025,
|
11074
|
-
"search_context_size_medium": 0.0275,
|
11075
|
-
"search_context_size_high": 0.03
|
11076
|
-
}
|
11042
|
+
"supports_native_streaming": true
|
11077
11043
|
},
|
11078
11044
|
"gpt-4.1-nano": {
|
11079
11045
|
"max_tokens": 32768,
|
@@ -11992,7 +11958,8 @@
|
|
11992
11958
|
"supports_function_calling": true,
|
11993
11959
|
"supports_tool_choice": true,
|
11994
11960
|
"supports_response_schema": false,
|
11995
|
-
"source": "https://x.ai/api#pricing"
|
11961
|
+
"source": "https://x.ai/api#pricing",
|
11962
|
+
"supports_web_search": true
|
11996
11963
|
},
|
11997
11964
|
"xai/grok-3-fast-beta": {
|
11998
11965
|
"max_tokens": 131072,
|
@@ -12005,7 +11972,8 @@
|
|
12005
11972
|
"supports_function_calling": true,
|
12006
11973
|
"supports_tool_choice": true,
|
12007
11974
|
"supports_response_schema": false,
|
12008
|
-
"source": "https://x.ai/api#pricing"
|
11975
|
+
"source": "https://x.ai/api#pricing",
|
11976
|
+
"supports_web_search": true
|
12009
11977
|
},
|
12010
11978
|
"xai/grok-3-fast-latest": {
|
12011
11979
|
"max_tokens": 131072,
|
@@ -12018,7 +11986,8 @@
|
|
12018
11986
|
"supports_function_calling": true,
|
12019
11987
|
"supports_tool_choice": true,
|
12020
11988
|
"supports_response_schema": false,
|
12021
|
-
"source": "https://x.ai/api#pricing"
|
11989
|
+
"source": "https://x.ai/api#pricing",
|
11990
|
+
"supports_web_search": true
|
12022
11991
|
},
|
12023
11992
|
"xai/grok-3-mini-beta": {
|
12024
11993
|
"max_tokens": 131072,
|
@@ -12032,7 +12001,8 @@
|
|
12032
12001
|
"supports_tool_choice": true,
|
12033
12002
|
"supports_reasoning": true,
|
12034
12003
|
"supports_response_schema": false,
|
12035
|
-
"source": "https://x.ai/api#pricing"
|
12004
|
+
"source": "https://x.ai/api#pricing",
|
12005
|
+
"supports_web_search": true
|
12036
12006
|
},
|
12037
12007
|
"xai/grok-3-mini-fast-beta": {
|
12038
12008
|
"max_tokens": 131072,
|
@@ -12046,7 +12016,8 @@
|
|
12046
12016
|
"supports_tool_choice": true,
|
12047
12017
|
"supports_reasoning": true,
|
12048
12018
|
"supports_response_schema": false,
|
12049
|
-
"source": "https://x.ai/api#pricing"
|
12019
|
+
"source": "https://x.ai/api#pricing",
|
12020
|
+
"supports_web_search": true
|
12050
12021
|
},
|
12051
12022
|
"xai/grok-3-mini-fast-latest": {
|
12052
12023
|
"max_tokens": 131072,
|
@@ -12060,7 +12031,8 @@
|
|
12060
12031
|
"supports_function_calling": true,
|
12061
12032
|
"supports_tool_choice": true,
|
12062
12033
|
"supports_response_schema": false,
|
12063
|
-
"source": "https://x.ai/api#pricing"
|
12034
|
+
"source": "https://x.ai/api#pricing",
|
12035
|
+
"supports_web_search": true
|
12064
12036
|
},
|
12065
12037
|
"groq/whisper-large-v3": {
|
12066
12038
|
"input_cost_per_second": 3.083e-05,
|
@@ -12184,7 +12156,8 @@
|
|
12184
12156
|
"text"
|
12185
12157
|
],
|
12186
12158
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",
|
12187
|
-
"supports_parallel_function_calling": true
|
12159
|
+
"supports_parallel_function_calling": true,
|
12160
|
+
"supports_web_search": true
|
12188
12161
|
},
|
12189
12162
|
"gemini/gemini-2.5-pro-exp-03-25": {
|
12190
12163
|
"max_tokens": 65535,
|
@@ -12225,7 +12198,8 @@
|
|
12225
12198
|
"supported_output_modalities": [
|
12226
12199
|
"text"
|
12227
12200
|
],
|
12228
|
-
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing"
|
12201
|
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",
|
12202
|
+
"supports_web_search": true
|
12229
12203
|
},
|
12230
12204
|
"gemini/gemini-2.5-flash-preview-04-17": {
|
12231
12205
|
"max_tokens": 65535,
|
@@ -12265,7 +12239,8 @@
|
|
12265
12239
|
"supported_output_modalities": [
|
12266
12240
|
"text"
|
12267
12241
|
],
|
12268
|
-
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview"
|
12242
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
12243
|
+
"supports_web_search": true
|
12269
12244
|
},
|
12270
12245
|
"gemini-2.5-flash-preview-04-17": {
|
12271
12246
|
"max_tokens": 65535,
|
@@ -12305,7 +12280,8 @@
|
|
12305
12280
|
"text"
|
12306
12281
|
],
|
12307
12282
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
12308
|
-
"supports_parallel_function_calling": true
|
12283
|
+
"supports_parallel_function_calling": true,
|
12284
|
+
"supports_web_search": true
|
12309
12285
|
},
|
12310
12286
|
"gemini-2.0-flash": {
|
12311
12287
|
"max_tokens": 8192,
|
@@ -12340,7 +12316,8 @@
|
|
12340
12316
|
],
|
12341
12317
|
"supports_tool_choice": true,
|
12342
12318
|
"source": "https://ai.google.dev/pricing#2_0flash",
|
12343
|
-
"supports_parallel_function_calling": true
|
12319
|
+
"supports_parallel_function_calling": true,
|
12320
|
+
"supports_web_search": true
|
12344
12321
|
},
|
12345
12322
|
"gemini-2.0-flash-lite": {
|
12346
12323
|
"max_input_tokens": 1048576,
|
@@ -12372,7 +12349,8 @@
|
|
12372
12349
|
],
|
12373
12350
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash",
|
12374
12351
|
"supports_tool_choice": true,
|
12375
|
-
"supports_parallel_function_calling": true
|
12352
|
+
"supports_parallel_function_calling": true,
|
12353
|
+
"supports_web_search": true
|
12376
12354
|
},
|
12377
12355
|
"gemini-2.0-flash-lite-001": {
|
12378
12356
|
"max_input_tokens": 1048576,
|
@@ -12405,7 +12383,8 @@
|
|
12405
12383
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-2.0-flash",
|
12406
12384
|
"supports_tool_choice": true,
|
12407
12385
|
"deprecation_date": "2026-02-25",
|
12408
|
-
"supports_parallel_function_calling": true
|
12386
|
+
"supports_parallel_function_calling": true,
|
12387
|
+
"supports_web_search": true
|
12409
12388
|
},
|
12410
12389
|
"gemini-2.5-pro-preview-05-06": {
|
12411
12390
|
"max_tokens": 65535,
|
@@ -12446,7 +12425,8 @@
|
|
12446
12425
|
"text"
|
12447
12426
|
],
|
12448
12427
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
12449
|
-
"supports_parallel_function_calling": true
|
12428
|
+
"supports_parallel_function_calling": true,
|
12429
|
+
"supports_web_search": true
|
12450
12430
|
},
|
12451
12431
|
"gemini-2.5-pro-preview-03-25": {
|
12452
12432
|
"max_tokens": 65535,
|
@@ -12487,7 +12467,8 @@
|
|
12487
12467
|
"text"
|
12488
12468
|
],
|
12489
12469
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
12490
|
-
"supports_parallel_function_calling": true
|
12470
|
+
"supports_parallel_function_calling": true,
|
12471
|
+
"supports_web_search": true
|
12491
12472
|
},
|
12492
12473
|
"gemini/gemini-2.0-flash-lite": {
|
12493
12474
|
"max_input_tokens": 1048576,
|
@@ -12520,7 +12501,8 @@
|
|
12520
12501
|
"supported_output_modalities": [
|
12521
12502
|
"text"
|
12522
12503
|
],
|
12523
|
-
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.0-flash-lite"
|
12504
|
+
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.0-flash-lite",
|
12505
|
+
"supports_web_search": true
|
12524
12506
|
},
|
12525
12507
|
"gemini/gemini-2.5-pro-preview-05-06": {
|
12526
12508
|
"max_tokens": 65535,
|
@@ -12556,7 +12538,8 @@
|
|
12556
12538
|
"supported_output_modalities": [
|
12557
12539
|
"text"
|
12558
12540
|
],
|
12559
|
-
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview"
|
12541
|
+
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",
|
12542
|
+
"supports_web_search": true
|
12560
12543
|
},
|
12561
12544
|
"gemini/gemini-2.5-pro-preview-03-25": {
|
12562
12545
|
"max_tokens": 65535,
|
@@ -12592,7 +12575,8 @@
|
|
12592
12575
|
"supported_output_modalities": [
|
12593
12576
|
"text"
|
12594
12577
|
],
|
12595
|
-
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview"
|
12578
|
+
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",
|
12579
|
+
"supports_web_search": true
|
12596
12580
|
},
|
12597
12581
|
"vertex_ai/meta/llama-4-scout-17b-16e-instruct-maas": {
|
12598
12582
|
"max_tokens": 10000000.0,
|
@@ -13539,7 +13523,8 @@
|
|
13539
13523
|
"supports_function_calling": true,
|
13540
13524
|
"supports_tool_choice": true,
|
13541
13525
|
"supports_response_schema": false,
|
13542
|
-
"source": "https://x.ai/api#pricing"
|
13526
|
+
"source": "https://x.ai/api#pricing",
|
13527
|
+
"supports_web_search": true
|
13543
13528
|
},
|
13544
13529
|
"gemini/gemini-2.5-flash-preview-tts": {
|
13545
13530
|
"max_tokens": 65535,
|
@@ -13576,7 +13561,8 @@
|
|
13576
13561
|
"supported_output_modalities": [
|
13577
13562
|
"audio"
|
13578
13563
|
],
|
13579
|
-
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview"
|
13564
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
13565
|
+
"supports_web_search": true
|
13580
13566
|
},
|
13581
13567
|
"gemini/gemini-2.5-flash-preview-05-20": {
|
13582
13568
|
"max_tokens": 65535,
|
@@ -13616,7 +13602,8 @@
|
|
13616
13602
|
"supported_output_modalities": [
|
13617
13603
|
"text"
|
13618
13604
|
],
|
13619
|
-
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview"
|
13605
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
13606
|
+
"supports_web_search": true
|
13620
13607
|
},
|
13621
13608
|
"gemini-2.5-flash-preview-05-20": {
|
13622
13609
|
"max_tokens": 65535,
|
@@ -13656,7 +13643,8 @@
|
|
13656
13643
|
"text"
|
13657
13644
|
],
|
13658
13645
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
13659
|
-
"supports_parallel_function_calling": true
|
13646
|
+
"supports_parallel_function_calling": true,
|
13647
|
+
"supports_web_search": true
|
13660
13648
|
},
|
13661
13649
|
"gemini-2.0-flash-preview-image-generation": {
|
13662
13650
|
"max_tokens": 8192,
|
@@ -13691,7 +13679,8 @@
|
|
13691
13679
|
],
|
13692
13680
|
"supports_tool_choice": true,
|
13693
13681
|
"source": "https://ai.google.dev/pricing#2_0flash",
|
13694
|
-
"supports_parallel_function_calling": true
|
13682
|
+
"supports_parallel_function_calling": true,
|
13683
|
+
"supports_web_search": true
|
13695
13684
|
},
|
13696
13685
|
"gemini-2.5-pro-preview-tts": {
|
13697
13686
|
"max_tokens": 65535,
|
@@ -13723,7 +13712,8 @@
|
|
13723
13712
|
"audio"
|
13724
13713
|
],
|
13725
13714
|
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",
|
13726
|
-
"supports_parallel_function_calling": true
|
13715
|
+
"supports_parallel_function_calling": true,
|
13716
|
+
"supports_web_search": true
|
13727
13717
|
},
|
13728
13718
|
"gemini/gemini-2.0-flash-preview-image-generation": {
|
13729
13719
|
"max_tokens": 8192,
|
@@ -13759,7 +13749,8 @@
|
|
13759
13749
|
"image"
|
13760
13750
|
],
|
13761
13751
|
"supports_tool_choice": true,
|
13762
|
-
"source": "https://ai.google.dev/pricing#2_0flash"
|
13752
|
+
"source": "https://ai.google.dev/pricing#2_0flash",
|
13753
|
+
"supports_web_search": true
|
13763
13754
|
},
|
13764
13755
|
"gemini/gemini-2.5-pro-preview-tts": {
|
13765
13756
|
"max_tokens": 65535,
|
@@ -13792,7 +13783,8 @@
|
|
13792
13783
|
"supported_output_modalities": [
|
13793
13784
|
"audio"
|
13794
13785
|
],
|
13795
|
-
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview"
|
13786
|
+
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",
|
13787
|
+
"supports_web_search": true
|
13796
13788
|
},
|
13797
13789
|
"claude-opus-4-20250514": {
|
13798
13790
|
"max_tokens": 32000,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.64
|
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=hT3fLBDov4gSzNcC1B7Rwz9ZTQUtGBNaG6DUrG6rpDI,504683
|
5
|
+
tokencostauto-0.1.64.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.64.dist-info/METADATA,sha256=P34SoXraQBUl_xXruhb6b38wv2-YyVQ--6L7386G4hc,204075
|
7
|
+
tokencostauto-0.1.64.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tokencostauto-0.1.64.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.64.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=WAuESB4jM4TstwA90qYCIgsqDKXTa5ivTorfDl7-rXg,505059
|
5
|
-
tokencostauto-0.1.61.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
-
tokencostauto-0.1.61.dist-info/METADATA,sha256=CA7KBWHw0C4UsZN4LS7l1XIdps0g7-yRldPWKYHo24I,204075
|
7
|
-
tokencostauto-0.1.61.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
-
tokencostauto-0.1.61.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
-
tokencostauto-0.1.61.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|