tokencostauto 0.1.68__py3-none-any.whl → 0.1.70__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 +100 -22
- {tokencostauto-0.1.68.dist-info → tokencostauto-0.1.70.dist-info}/METADATA +1 -1
- tokencostauto-0.1.70.dist-info/RECORD +9 -0
- tokencostauto-0.1.68.dist-info/RECORD +0 -9
- {tokencostauto-0.1.68.dist-info → tokencostauto-0.1.70.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.68.dist-info → tokencostauto-0.1.70.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.68.dist-info → tokencostauto-0.1.70.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,
|
@@ -9468,10 +9468,10 @@
|
|
9468
9468
|
"output_cost_per_token": 1e-07,
|
9469
9469
|
"litellm_provider": "fireworks_ai",
|
9470
9470
|
"mode": "chat",
|
9471
|
-
"supports_function_calling":
|
9471
|
+
"supports_function_calling": false,
|
9472
9472
|
"supports_response_schema": true,
|
9473
9473
|
"source": "https://fireworks.ai/pricing",
|
9474
|
-
"supports_tool_choice":
|
9474
|
+
"supports_tool_choice": false
|
9475
9475
|
},
|
9476
9476
|
"assemblyai/nano": {
|
9477
9477
|
"mode": "audio_transcription",
|
@@ -12947,7 +12947,7 @@
|
|
12947
12947
|
"mode": "chat",
|
12948
12948
|
"supports_response_schema": true,
|
12949
12949
|
"source": "https://fireworks.ai/pricing",
|
12950
|
-
"supports_tool_choice":
|
12950
|
+
"supports_tool_choice": false
|
12951
12951
|
},
|
12952
12952
|
"fireworks_ai/accounts/fireworks/models/deepseek-r1-basic": {
|
12953
12953
|
"max_tokens": 20480,
|
@@ -12959,7 +12959,7 @@
|
|
12959
12959
|
"mode": "chat",
|
12960
12960
|
"supports_response_schema": true,
|
12961
12961
|
"source": "https://fireworks.ai/pricing",
|
12962
|
-
"supports_tool_choice":
|
12962
|
+
"supports_tool_choice": false
|
12963
12963
|
},
|
12964
12964
|
"fireworks_ai/accounts/fireworks/models/llama-v3p1-405b-instruct": {
|
12965
12965
|
"max_tokens": 16384,
|
@@ -12971,7 +12971,8 @@
|
|
12971
12971
|
"mode": "chat",
|
12972
12972
|
"supports_response_schema": true,
|
12973
12973
|
"source": "https://fireworks.ai/pricing",
|
12974
|
-
"supports_tool_choice": true
|
12974
|
+
"supports_tool_choice": true,
|
12975
|
+
"supports_function_calling": true
|
12975
12976
|
},
|
12976
12977
|
"fireworks_ai/accounts/fireworks/models/llama4-maverick-instruct-basic": {
|
12977
12978
|
"max_tokens": 131072,
|
@@ -12983,7 +12984,7 @@
|
|
12983
12984
|
"mode": "chat",
|
12984
12985
|
"supports_response_schema": true,
|
12985
12986
|
"source": "https://fireworks.ai/pricing",
|
12986
|
-
"supports_tool_choice":
|
12987
|
+
"supports_tool_choice": false
|
12987
12988
|
},
|
12988
12989
|
"fireworks_ai/accounts/fireworks/models/llama4-scout-instruct-basic": {
|
12989
12990
|
"max_tokens": 131072,
|
@@ -12995,7 +12996,7 @@
|
|
12995
12996
|
"mode": "chat",
|
12996
12997
|
"supports_response_schema": true,
|
12997
12998
|
"source": "https://fireworks.ai/pricing",
|
12998
|
-
"supports_tool_choice":
|
12999
|
+
"supports_tool_choice": false
|
12999
13000
|
},
|
13000
13001
|
"fireworks-ai-up-to-4b": {
|
13001
13002
|
"input_cost_per_token": 2e-07,
|
@@ -14151,5 +14152,82 @@
|
|
14151
14152
|
"litellm_provider": "vertex_ai-embedding-models",
|
14152
14153
|
"mode": "embedding",
|
14153
14154
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models"
|
14155
|
+
},
|
14156
|
+
"claude-4-opus-20250514": {
|
14157
|
+
"max_tokens": 32000,
|
14158
|
+
"max_input_tokens": 200000,
|
14159
|
+
"max_output_tokens": 32000,
|
14160
|
+
"input_cost_per_token": 1.5e-05,
|
14161
|
+
"output_cost_per_token": 7.5e-05,
|
14162
|
+
"search_context_cost_per_query": {
|
14163
|
+
"search_context_size_low": 0.01,
|
14164
|
+
"search_context_size_medium": 0.01,
|
14165
|
+
"search_context_size_high": 0.01
|
14166
|
+
},
|
14167
|
+
"cache_creation_input_token_cost": 1.875e-05,
|
14168
|
+
"cache_read_input_token_cost": 1.5e-06,
|
14169
|
+
"litellm_provider": "anthropic",
|
14170
|
+
"mode": "chat",
|
14171
|
+
"supports_function_calling": true,
|
14172
|
+
"supports_vision": true,
|
14173
|
+
"tool_use_system_prompt_tokens": 159,
|
14174
|
+
"supports_assistant_prefill": true,
|
14175
|
+
"supports_pdf_input": true,
|
14176
|
+
"supports_prompt_caching": true,
|
14177
|
+
"supports_response_schema": true,
|
14178
|
+
"supports_tool_choice": true,
|
14179
|
+
"supports_reasoning": true,
|
14180
|
+
"supports_computer_use": true
|
14181
|
+
},
|
14182
|
+
"claude-4-sonnet-20250514": {
|
14183
|
+
"max_tokens": 64000,
|
14184
|
+
"max_input_tokens": 200000,
|
14185
|
+
"max_output_tokens": 64000,
|
14186
|
+
"input_cost_per_token": 3e-06,
|
14187
|
+
"output_cost_per_token": 1.5e-05,
|
14188
|
+
"search_context_cost_per_query": {
|
14189
|
+
"search_context_size_low": 0.01,
|
14190
|
+
"search_context_size_medium": 0.01,
|
14191
|
+
"search_context_size_high": 0.01
|
14192
|
+
},
|
14193
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
14194
|
+
"cache_read_input_token_cost": 3e-07,
|
14195
|
+
"litellm_provider": "anthropic",
|
14196
|
+
"mode": "chat",
|
14197
|
+
"supports_function_calling": true,
|
14198
|
+
"supports_vision": true,
|
14199
|
+
"tool_use_system_prompt_tokens": 159,
|
14200
|
+
"supports_assistant_prefill": true,
|
14201
|
+
"supports_pdf_input": true,
|
14202
|
+
"supports_prompt_caching": true,
|
14203
|
+
"supports_response_schema": true,
|
14204
|
+
"supports_tool_choice": true,
|
14205
|
+
"supports_reasoning": true,
|
14206
|
+
"supports_computer_use": true
|
14207
|
+
},
|
14208
|
+
"fireworks_ai/accounts/fireworks/models/llama-v3p2-90b-vision-instruct": {
|
14209
|
+
"max_tokens": 16384,
|
14210
|
+
"max_input_tokens": 16384,
|
14211
|
+
"max_output_tokens": 16384,
|
14212
|
+
"input_cost_per_token": 9e-07,
|
14213
|
+
"output_cost_per_token": 9e-07,
|
14214
|
+
"litellm_provider": "fireworks_ai",
|
14215
|
+
"mode": "chat",
|
14216
|
+
"supports_tool_choice": false,
|
14217
|
+
"supports_vision": true,
|
14218
|
+
"supports_response_schema": true,
|
14219
|
+
"source": "https://fireworks.ai/pricing"
|
14220
|
+
},
|
14221
|
+
"fireworks_ai/accounts/fireworks/models/deepseek-r1-0528": {
|
14222
|
+
"max_tokens": 160000,
|
14223
|
+
"max_input_tokens": 160000,
|
14224
|
+
"max_output_tokens": 160000,
|
14225
|
+
"input_cost_per_token": 3e-06,
|
14226
|
+
"output_cost_per_token": 8e-06,
|
14227
|
+
"litellm_provider": "fireworks_ai",
|
14228
|
+
"mode": "chat",
|
14229
|
+
"source": "https://fireworks.ai/pricing",
|
14230
|
+
"supports_tool_choice": false,
|
14231
|
+
"supports_response_schema": true
|
14154
14232
|
}
|
14155
14233
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.70
|
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=kuqC0IoONV2-vUvHiZAWozNoSgnPJBQT1A9M7ypVLxM,508979
|
5
|
+
tokencostauto-0.1.70.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.70.dist-info/METADATA,sha256=DFUJbE1PvHk7pTgKrsF0MI0u_tCIfntYSEtK20e_ZDo,204075
|
7
|
+
tokencostauto-0.1.70.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tokencostauto-0.1.70.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.70.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
|