tokencostauto 0.1.68__py3-none-any.whl → 0.1.72__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 +110 -27
- {tokencostauto-0.1.68.dist-info → tokencostauto-0.1.72.dist-info}/METADATA +1 -1
- tokencostauto-0.1.72.dist-info/RECORD +9 -0
- tokencostauto-0.1.68.dist-info/RECORD +0 -9
- {tokencostauto-0.1.68.dist-info → tokencostauto-0.1.72.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.68.dist-info → tokencostauto-0.1.72.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.68.dist-info → tokencostauto-0.1.72.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
@@ -6780,10 +6780,10 @@
|
|
6780
6780
|
"output_cost_per_token": 1e-07,
|
6781
6781
|
"litellm_provider": "fireworks_ai",
|
6782
6782
|
"mode": "chat",
|
6783
|
-
"supports_function_calling":
|
6783
|
+
"supports_function_calling": false,
|
6784
6784
|
"supports_response_schema": true,
|
6785
6785
|
"source": "https://fireworks.ai/pricing",
|
6786
|
-
"supports_tool_choice":
|
6786
|
+
"supports_tool_choice": false
|
6787
6787
|
},
|
6788
6788
|
"fireworks_ai/accounts/fireworks/models/llama-v3p2-3b-instruct": {
|
6789
6789
|
"max_tokens": 16384,
|
@@ -6793,10 +6793,10 @@
|
|
6793
6793
|
"output_cost_per_token": 1e-07,
|
6794
6794
|
"litellm_provider": "fireworks_ai",
|
6795
6795
|
"mode": "chat",
|
6796
|
-
"supports_function_calling":
|
6796
|
+
"supports_function_calling": false,
|
6797
6797
|
"supports_response_schema": true,
|
6798
6798
|
"source": "https://fireworks.ai/pricing",
|
6799
|
-
"supports_tool_choice":
|
6799
|
+
"supports_tool_choice": false
|
6800
6800
|
},
|
6801
6801
|
"fireworks_ai/accounts/fireworks/models/llama-v3p2-11b-vision-instruct": {
|
6802
6802
|
"max_tokens": 16384,
|
@@ -6806,11 +6806,11 @@
|
|
6806
6806
|
"output_cost_per_token": 2e-07,
|
6807
6807
|
"litellm_provider": "fireworks_ai",
|
6808
6808
|
"mode": "chat",
|
6809
|
-
"supports_function_calling":
|
6809
|
+
"supports_function_calling": false,
|
6810
6810
|
"supports_vision": true,
|
6811
6811
|
"supports_response_schema": true,
|
6812
6812
|
"source": "https://fireworks.ai/pricing",
|
6813
|
-
"supports_tool_choice":
|
6813
|
+
"supports_tool_choice": false
|
6814
6814
|
},
|
6815
6815
|
"accounts/fireworks/models/llama-v3p2-90b-vision-instruct": {
|
6816
6816
|
"max_tokens": 16384,
|
@@ -6859,10 +6859,10 @@
|
|
6859
6859
|
"output_cost_per_token": 9e-07,
|
6860
6860
|
"litellm_provider": "fireworks_ai",
|
6861
6861
|
"mode": "chat",
|
6862
|
-
"supports_function_calling":
|
6862
|
+
"supports_function_calling": false,
|
6863
6863
|
"supports_response_schema": true,
|
6864
6864
|
"source": "https://fireworks.ai/pricing",
|
6865
|
-
"supports_tool_choice":
|
6865
|
+
"supports_tool_choice": false
|
6866
6866
|
},
|
6867
6867
|
"fireworks_ai/accounts/fireworks/models/yi-large": {
|
6868
6868
|
"max_tokens": 32768,
|
@@ -6872,10 +6872,10 @@
|
|
6872
6872
|
"output_cost_per_token": 3e-06,
|
6873
6873
|
"litellm_provider": "fireworks_ai",
|
6874
6874
|
"mode": "chat",
|
6875
|
-
"supports_function_calling":
|
6875
|
+
"supports_function_calling": false,
|
6876
6876
|
"supports_response_schema": true,
|
6877
6877
|
"source": "https://fireworks.ai/pricing",
|
6878
|
-
"supports_tool_choice":
|
6878
|
+
"supports_tool_choice": false
|
6879
6879
|
},
|
6880
6880
|
"fireworks_ai/accounts/fireworks/models/deepseek-coder-v2-instruct": {
|
6881
6881
|
"max_tokens": 65536,
|
@@ -6885,10 +6885,10 @@
|
|
6885
6885
|
"output_cost_per_token": 1.2e-06,
|
6886
6886
|
"litellm_provider": "fireworks_ai",
|
6887
6887
|
"mode": "chat",
|
6888
|
-
"supports_function_calling":
|
6888
|
+
"supports_function_calling": false,
|
6889
6889
|
"supports_response_schema": true,
|
6890
6890
|
"source": "https://fireworks.ai/pricing",
|
6891
|
-
"supports_tool_choice":
|
6891
|
+
"supports_tool_choice": false
|
6892
6892
|
},
|
6893
6893
|
"fireworks_ai/nomic-ai/nomic-embed-text-v1.5": {
|
6894
6894
|
"max_tokens": 8192,
|
@@ -7984,10 +7984,10 @@
|
|
7984
7984
|
"output_cost_per_token": 9e-07,
|
7985
7985
|
"litellm_provider": "fireworks_ai",
|
7986
7986
|
"mode": "chat",
|
7987
|
-
"supports_function_calling":
|
7987
|
+
"supports_function_calling": false,
|
7988
7988
|
"supports_response_schema": true,
|
7989
7989
|
"source": "https://fireworks.ai/pricing",
|
7990
|
-
"supports_tool_choice":
|
7990
|
+
"supports_tool_choice": false
|
7991
7991
|
},
|
7992
7992
|
"omni-moderation-latest": {
|
7993
7993
|
"max_tokens": 32768,
|
@@ -8662,7 +8662,7 @@
|
|
8662
8662
|
"mode": "chat",
|
8663
8663
|
"supports_response_schema": true,
|
8664
8664
|
"source": "https://fireworks.ai/pricing",
|
8665
|
-
"supports_tool_choice":
|
8665
|
+
"supports_tool_choice": false
|
8666
8666
|
},
|
8667
8667
|
"voyage/voyage-3-large": {
|
8668
8668
|
"max_tokens": 32000,
|
@@ -9080,7 +9080,8 @@
|
|
9080
9080
|
],
|
9081
9081
|
"supports_tool_choice": true,
|
9082
9082
|
"source": "https://ai.google.dev/pricing#2_0flash",
|
9083
|
-
"supports_web_search": true
|
9083
|
+
"supports_web_search": true,
|
9084
|
+
"supports_url_context": true
|
9084
9085
|
},
|
9085
9086
|
"gemini-2.0-flash-001": {
|
9086
9087
|
"max_tokens": 8192,
|
@@ -9468,10 +9469,10 @@
|
|
9468
9469
|
"output_cost_per_token": 1e-07,
|
9469
9470
|
"litellm_provider": "fireworks_ai",
|
9470
9471
|
"mode": "chat",
|
9471
|
-
"supports_function_calling":
|
9472
|
+
"supports_function_calling": false,
|
9472
9473
|
"supports_response_schema": true,
|
9473
9474
|
"source": "https://fireworks.ai/pricing",
|
9474
|
-
"supports_tool_choice":
|
9475
|
+
"supports_tool_choice": false
|
9475
9476
|
},
|
9476
9477
|
"assemblyai/nano": {
|
9477
9478
|
"mode": "audio_transcription",
|
@@ -12317,7 +12318,8 @@
|
|
12317
12318
|
"supports_tool_choice": true,
|
12318
12319
|
"source": "https://ai.google.dev/pricing#2_0flash",
|
12319
12320
|
"supports_parallel_function_calling": true,
|
12320
|
-
"supports_web_search": true
|
12321
|
+
"supports_web_search": true,
|
12322
|
+
"supports_url_context": true
|
12321
12323
|
},
|
12322
12324
|
"gemini-2.0-flash-lite": {
|
12323
12325
|
"max_input_tokens": 1048576,
|
@@ -12539,7 +12541,8 @@
|
|
12539
12541
|
"text"
|
12540
12542
|
],
|
12541
12543
|
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",
|
12542
|
-
"supports_web_search": true
|
12544
|
+
"supports_web_search": true,
|
12545
|
+
"supports_url_context": true
|
12543
12546
|
},
|
12544
12547
|
"gemini/gemini-2.5-pro-preview-03-25": {
|
12545
12548
|
"max_tokens": 65535,
|
@@ -12947,7 +12950,7 @@
|
|
12947
12950
|
"mode": "chat",
|
12948
12951
|
"supports_response_schema": true,
|
12949
12952
|
"source": "https://fireworks.ai/pricing",
|
12950
|
-
"supports_tool_choice":
|
12953
|
+
"supports_tool_choice": false
|
12951
12954
|
},
|
12952
12955
|
"fireworks_ai/accounts/fireworks/models/deepseek-r1-basic": {
|
12953
12956
|
"max_tokens": 20480,
|
@@ -12959,7 +12962,7 @@
|
|
12959
12962
|
"mode": "chat",
|
12960
12963
|
"supports_response_schema": true,
|
12961
12964
|
"source": "https://fireworks.ai/pricing",
|
12962
|
-
"supports_tool_choice":
|
12965
|
+
"supports_tool_choice": false
|
12963
12966
|
},
|
12964
12967
|
"fireworks_ai/accounts/fireworks/models/llama-v3p1-405b-instruct": {
|
12965
12968
|
"max_tokens": 16384,
|
@@ -12971,7 +12974,8 @@
|
|
12971
12974
|
"mode": "chat",
|
12972
12975
|
"supports_response_schema": true,
|
12973
12976
|
"source": "https://fireworks.ai/pricing",
|
12974
|
-
"supports_tool_choice": true
|
12977
|
+
"supports_tool_choice": true,
|
12978
|
+
"supports_function_calling": true
|
12975
12979
|
},
|
12976
12980
|
"fireworks_ai/accounts/fireworks/models/llama4-maverick-instruct-basic": {
|
12977
12981
|
"max_tokens": 131072,
|
@@ -12983,7 +12987,7 @@
|
|
12983
12987
|
"mode": "chat",
|
12984
12988
|
"supports_response_schema": true,
|
12985
12989
|
"source": "https://fireworks.ai/pricing",
|
12986
|
-
"supports_tool_choice":
|
12990
|
+
"supports_tool_choice": false
|
12987
12991
|
},
|
12988
12992
|
"fireworks_ai/accounts/fireworks/models/llama4-scout-instruct-basic": {
|
12989
12993
|
"max_tokens": 131072,
|
@@ -12995,7 +12999,7 @@
|
|
12995
12999
|
"mode": "chat",
|
12996
13000
|
"supports_response_schema": true,
|
12997
13001
|
"source": "https://fireworks.ai/pricing",
|
12998
|
-
"supports_tool_choice":
|
13002
|
+
"supports_tool_choice": false
|
12999
13003
|
},
|
13000
13004
|
"fireworks-ai-up-to-4b": {
|
13001
13005
|
"input_cost_per_token": 2e-07,
|
@@ -13603,7 +13607,8 @@
|
|
13603
13607
|
"text"
|
13604
13608
|
],
|
13605
13609
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
13606
|
-
"supports_web_search": true
|
13610
|
+
"supports_web_search": true,
|
13611
|
+
"supports_url_context": true
|
13607
13612
|
},
|
13608
13613
|
"gemini-2.5-flash-preview-05-20": {
|
13609
13614
|
"max_tokens": 65535,
|
@@ -13644,7 +13649,8 @@
|
|
13644
13649
|
],
|
13645
13650
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
13646
13651
|
"supports_parallel_function_calling": true,
|
13647
|
-
"supports_web_search": true
|
13652
|
+
"supports_web_search": true,
|
13653
|
+
"supports_url_context": true
|
13648
13654
|
},
|
13649
13655
|
"gemini-2.0-flash-preview-image-generation": {
|
13650
13656
|
"max_tokens": 8192,
|
@@ -14151,5 +14157,82 @@
|
|
14151
14157
|
"litellm_provider": "vertex_ai-embedding-models",
|
14152
14158
|
"mode": "embedding",
|
14153
14159
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models"
|
14160
|
+
},
|
14161
|
+
"claude-4-opus-20250514": {
|
14162
|
+
"max_tokens": 32000,
|
14163
|
+
"max_input_tokens": 200000,
|
14164
|
+
"max_output_tokens": 32000,
|
14165
|
+
"input_cost_per_token": 1.5e-05,
|
14166
|
+
"output_cost_per_token": 7.5e-05,
|
14167
|
+
"search_context_cost_per_query": {
|
14168
|
+
"search_context_size_low": 0.01,
|
14169
|
+
"search_context_size_medium": 0.01,
|
14170
|
+
"search_context_size_high": 0.01
|
14171
|
+
},
|
14172
|
+
"cache_creation_input_token_cost": 1.875e-05,
|
14173
|
+
"cache_read_input_token_cost": 1.5e-06,
|
14174
|
+
"litellm_provider": "anthropic",
|
14175
|
+
"mode": "chat",
|
14176
|
+
"supports_function_calling": true,
|
14177
|
+
"supports_vision": true,
|
14178
|
+
"tool_use_system_prompt_tokens": 159,
|
14179
|
+
"supports_assistant_prefill": true,
|
14180
|
+
"supports_pdf_input": true,
|
14181
|
+
"supports_prompt_caching": true,
|
14182
|
+
"supports_response_schema": true,
|
14183
|
+
"supports_tool_choice": true,
|
14184
|
+
"supports_reasoning": true,
|
14185
|
+
"supports_computer_use": true
|
14186
|
+
},
|
14187
|
+
"claude-4-sonnet-20250514": {
|
14188
|
+
"max_tokens": 64000,
|
14189
|
+
"max_input_tokens": 200000,
|
14190
|
+
"max_output_tokens": 64000,
|
14191
|
+
"input_cost_per_token": 3e-06,
|
14192
|
+
"output_cost_per_token": 1.5e-05,
|
14193
|
+
"search_context_cost_per_query": {
|
14194
|
+
"search_context_size_low": 0.01,
|
14195
|
+
"search_context_size_medium": 0.01,
|
14196
|
+
"search_context_size_high": 0.01
|
14197
|
+
},
|
14198
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
14199
|
+
"cache_read_input_token_cost": 3e-07,
|
14200
|
+
"litellm_provider": "anthropic",
|
14201
|
+
"mode": "chat",
|
14202
|
+
"supports_function_calling": true,
|
14203
|
+
"supports_vision": true,
|
14204
|
+
"tool_use_system_prompt_tokens": 159,
|
14205
|
+
"supports_assistant_prefill": true,
|
14206
|
+
"supports_pdf_input": true,
|
14207
|
+
"supports_prompt_caching": true,
|
14208
|
+
"supports_response_schema": true,
|
14209
|
+
"supports_tool_choice": true,
|
14210
|
+
"supports_reasoning": true,
|
14211
|
+
"supports_computer_use": true
|
14212
|
+
},
|
14213
|
+
"fireworks_ai/accounts/fireworks/models/llama-v3p2-90b-vision-instruct": {
|
14214
|
+
"max_tokens": 16384,
|
14215
|
+
"max_input_tokens": 16384,
|
14216
|
+
"max_output_tokens": 16384,
|
14217
|
+
"input_cost_per_token": 9e-07,
|
14218
|
+
"output_cost_per_token": 9e-07,
|
14219
|
+
"litellm_provider": "fireworks_ai",
|
14220
|
+
"mode": "chat",
|
14221
|
+
"supports_tool_choice": false,
|
14222
|
+
"supports_vision": true,
|
14223
|
+
"supports_response_schema": true,
|
14224
|
+
"source": "https://fireworks.ai/pricing"
|
14225
|
+
},
|
14226
|
+
"fireworks_ai/accounts/fireworks/models/deepseek-r1-0528": {
|
14227
|
+
"max_tokens": 160000,
|
14228
|
+
"max_input_tokens": 160000,
|
14229
|
+
"max_output_tokens": 160000,
|
14230
|
+
"input_cost_per_token": 3e-06,
|
14231
|
+
"output_cost_per_token": 8e-06,
|
14232
|
+
"litellm_provider": "fireworks_ai",
|
14233
|
+
"mode": "chat",
|
14234
|
+
"source": "https://fireworks.ai/pricing",
|
14235
|
+
"supports_tool_choice": false,
|
14236
|
+
"supports_response_schema": true
|
14154
14237
|
}
|
14155
14238
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.72
|
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=PEjSULeL-07i7YP8COkrhxkJc6Ii25op5dfynCJgOIU,509169
|
5
|
+
tokencostauto-0.1.72.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.72.dist-info/METADATA,sha256=hKbWnBHaPCESrbiCFfl4ZhA6iiomkMiH3X4tR0avPNI,204075
|
7
|
+
tokencostauto-0.1.72.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tokencostauto-0.1.72.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.72.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=CC8PYnTFWlm9eruHvpnsD6CW3EHXKG_1TU-f3s7Eods,506012
|
5
|
-
tokencostauto-0.1.68.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
-
tokencostauto-0.1.68.dist-info/METADATA,sha256=xa9ckosvihu7UyfTi1ao4b9dXNjzSAcBRGi9edjCeXk,204075
|
7
|
-
tokencostauto-0.1.68.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
-
tokencostauto-0.1.68.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
-
tokencostauto-0.1.68.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|