tokencostauto 0.1.414__py3-none-any.whl → 0.1.416__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 +145 -2
- {tokencostauto-0.1.414.dist-info → tokencostauto-0.1.416.dist-info}/METADATA +1 -1
- tokencostauto-0.1.416.dist-info/RECORD +9 -0
- tokencostauto-0.1.414.dist-info/RECORD +0 -9
- {tokencostauto-0.1.414.dist-info → tokencostauto-0.1.416.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.414.dist-info → tokencostauto-0.1.416.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.414.dist-info → tokencostauto-0.1.416.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -8693,6 +8693,7 @@
|
|
|
8693
8693
|
"output_cost_per_token": 3.5e-06,
|
|
8694
8694
|
"supports_function_calling": true,
|
|
8695
8695
|
"supports_parallel_function_calling": true,
|
|
8696
|
+
"supports_response_schema": true,
|
|
8696
8697
|
"supports_tool_choice": true
|
|
8697
8698
|
},
|
|
8698
8699
|
"deepinfra/meta-llama/Meta-Llama-3.1-405B-Instruct": {
|
|
@@ -13051,6 +13052,7 @@
|
|
|
13051
13052
|
"output_cost_per_token": 8.5e-07,
|
|
13052
13053
|
"supports_function_calling": true,
|
|
13053
13054
|
"supports_parallel_function_calling": true,
|
|
13055
|
+
"supports_response_schema": true,
|
|
13054
13056
|
"supports_tool_choice": true
|
|
13055
13057
|
},
|
|
13056
13058
|
"together_ai/meta-llama/Llama-4-Scout-17B-16E-Instruct": {
|
|
@@ -13060,6 +13062,7 @@
|
|
|
13060
13062
|
"output_cost_per_token": 5.9e-07,
|
|
13061
13063
|
"supports_function_calling": true,
|
|
13062
13064
|
"supports_parallel_function_calling": true,
|
|
13065
|
+
"supports_response_schema": true,
|
|
13063
13066
|
"supports_tool_choice": true
|
|
13064
13067
|
},
|
|
13065
13068
|
"together_ai/meta-llama/Llama-3.2-3B-Instruct-Turbo": {
|
|
@@ -13067,6 +13070,7 @@
|
|
|
13067
13070
|
"mode": "chat",
|
|
13068
13071
|
"supports_function_calling": true,
|
|
13069
13072
|
"supports_parallel_function_calling": true,
|
|
13073
|
+
"supports_response_schema": true,
|
|
13070
13074
|
"supports_tool_choice": true
|
|
13071
13075
|
},
|
|
13072
13076
|
"together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo": {
|
|
@@ -13074,6 +13078,7 @@
|
|
|
13074
13078
|
"mode": "chat",
|
|
13075
13079
|
"supports_function_calling": true,
|
|
13076
13080
|
"supports_parallel_function_calling": true,
|
|
13081
|
+
"supports_response_schema": true,
|
|
13077
13082
|
"supports_tool_choice": true
|
|
13078
13083
|
},
|
|
13079
13084
|
"together_ai/Qwen/Qwen2.5-72B-Instruct-Turbo": {
|
|
@@ -13081,6 +13086,7 @@
|
|
|
13081
13086
|
"mode": "chat",
|
|
13082
13087
|
"supports_function_calling": true,
|
|
13083
13088
|
"supports_parallel_function_calling": true,
|
|
13089
|
+
"supports_response_schema": true,
|
|
13084
13090
|
"supports_tool_choice": true
|
|
13085
13091
|
},
|
|
13086
13092
|
"together_ai/deepseek-ai/DeepSeek-V3": {
|
|
@@ -13093,6 +13099,7 @@
|
|
|
13093
13099
|
"output_cost_per_token": 1.25e-06,
|
|
13094
13100
|
"supports_function_calling": true,
|
|
13095
13101
|
"supports_parallel_function_calling": true,
|
|
13102
|
+
"supports_response_schema": true,
|
|
13096
13103
|
"supports_tool_choice": true
|
|
13097
13104
|
},
|
|
13098
13105
|
"together_ai/mistralai/Mistral-Small-24B-Instruct-2501": {
|
|
@@ -13527,7 +13534,8 @@
|
|
|
13527
13534
|
"output_cost_per_token": 3.4e-07,
|
|
13528
13535
|
"supports_function_calling": true,
|
|
13529
13536
|
"supports_response_schema": true,
|
|
13530
|
-
"supports_tool_choice": true
|
|
13537
|
+
"supports_tool_choice": true,
|
|
13538
|
+
"supports_vision": true
|
|
13531
13539
|
},
|
|
13532
13540
|
"groq/meta-llama/llama-4-maverick-17b-128e-instruct": {
|
|
13533
13541
|
"input_cost_per_token": 2e-07,
|
|
@@ -13539,7 +13547,8 @@
|
|
|
13539
13547
|
"output_cost_per_token": 6e-07,
|
|
13540
13548
|
"supports_function_calling": true,
|
|
13541
13549
|
"supports_response_schema": true,
|
|
13542
|
-
"supports_tool_choice": true
|
|
13550
|
+
"supports_tool_choice": true,
|
|
13551
|
+
"supports_vision": true
|
|
13543
13552
|
},
|
|
13544
13553
|
"groq/mistral-saba-24b": {
|
|
13545
13554
|
"input_cost_per_token": 7.9e-07,
|
|
@@ -16544,6 +16553,7 @@
|
|
|
16544
16553
|
"output_cost_per_token": 7e-06,
|
|
16545
16554
|
"supports_function_calling": true,
|
|
16546
16555
|
"supports_parallel_function_calling": true,
|
|
16556
|
+
"supports_response_schema": true,
|
|
16547
16557
|
"supports_tool_choice": true
|
|
16548
16558
|
},
|
|
16549
16559
|
"together_ai/moonshotai/Kimi-K2-Instruct": {
|
|
@@ -16554,6 +16564,7 @@
|
|
|
16554
16564
|
"source": "https://www.together.ai/models/kimi-k2-instruct",
|
|
16555
16565
|
"supports_function_calling": true,
|
|
16556
16566
|
"supports_parallel_function_calling": true,
|
|
16567
|
+
"supports_response_schema": true,
|
|
16557
16568
|
"supports_tool_choice": true
|
|
16558
16569
|
},
|
|
16559
16570
|
"azure_ai/grok-3": {
|
|
@@ -19147,6 +19158,7 @@
|
|
|
19147
19158
|
"source": "https://www.together.ai/models/qwen3-235b-a22b-instruct-2507-fp8",
|
|
19148
19159
|
"supports_function_calling": true,
|
|
19149
19160
|
"supports_parallel_function_calling": true,
|
|
19161
|
+
"supports_response_schema": true,
|
|
19150
19162
|
"supports_tool_choice": true
|
|
19151
19163
|
},
|
|
19152
19164
|
"together_ai/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
|
|
@@ -19158,6 +19170,7 @@
|
|
|
19158
19170
|
"source": "https://www.together.ai/models/qwen3-coder-480b-a35b-instruct",
|
|
19159
19171
|
"supports_function_calling": true,
|
|
19160
19172
|
"supports_parallel_function_calling": true,
|
|
19173
|
+
"supports_response_schema": true,
|
|
19161
19174
|
"supports_tool_choice": true
|
|
19162
19175
|
},
|
|
19163
19176
|
"together_ai/Qwen/Qwen3-235B-A22B-Thinking-2507": {
|
|
@@ -19169,6 +19182,7 @@
|
|
|
19169
19182
|
"source": "https://www.together.ai/models/qwen3-235b-a22b-thinking-2507",
|
|
19170
19183
|
"supports_function_calling": true,
|
|
19171
19184
|
"supports_parallel_function_calling": true,
|
|
19185
|
+
"supports_response_schema": true,
|
|
19172
19186
|
"supports_tool_choice": true
|
|
19173
19187
|
},
|
|
19174
19188
|
"together_ai/Qwen/Qwen3-235B-A22B-fp8-tput": {
|
|
@@ -19191,6 +19205,7 @@
|
|
|
19191
19205
|
"source": "https://www.together.ai/models/deepseek-r1-0528-throughput",
|
|
19192
19206
|
"supports_function_calling": true,
|
|
19193
19207
|
"supports_parallel_function_calling": true,
|
|
19208
|
+
"supports_response_schema": true,
|
|
19194
19209
|
"supports_tool_choice": true
|
|
19195
19210
|
},
|
|
19196
19211
|
"together_ai/openai/gpt-oss-120b": {
|
|
@@ -19202,6 +19217,7 @@
|
|
|
19202
19217
|
"source": "https://www.together.ai/models/gpt-oss-120b",
|
|
19203
19218
|
"supports_function_calling": true,
|
|
19204
19219
|
"supports_parallel_function_calling": true,
|
|
19220
|
+
"supports_response_schema": true,
|
|
19205
19221
|
"supports_tool_choice": true
|
|
19206
19222
|
},
|
|
19207
19223
|
"together_ai/OpenAI/gpt-oss-20B": {
|
|
@@ -19224,6 +19240,7 @@
|
|
|
19224
19240
|
"source": "https://www.together.ai/models/glm-4-5-air",
|
|
19225
19241
|
"supports_function_calling": true,
|
|
19226
19242
|
"supports_parallel_function_calling": true,
|
|
19243
|
+
"supports_response_schema": true,
|
|
19227
19244
|
"supports_tool_choice": true
|
|
19228
19245
|
},
|
|
19229
19246
|
"fireworks_ai/accounts/fireworks/models/deepseek-v3-0324": {
|
|
@@ -21874,6 +21891,7 @@
|
|
|
21874
21891
|
"source": "https://www.together.ai/models/gpt-oss-20b",
|
|
21875
21892
|
"supports_function_calling": true,
|
|
21876
21893
|
"supports_parallel_function_calling": true,
|
|
21894
|
+
"supports_response_schema": true,
|
|
21877
21895
|
"supports_tool_choice": true
|
|
21878
21896
|
},
|
|
21879
21897
|
"dashscope/qwen3-max-preview": {
|
|
@@ -24484,6 +24502,7 @@
|
|
|
24484
24502
|
"source": "https://www.together.ai/models/qwen3-next-80b-a3b-instruct",
|
|
24485
24503
|
"supports_function_calling": true,
|
|
24486
24504
|
"supports_parallel_function_calling": true,
|
|
24505
|
+
"supports_response_schema": true,
|
|
24487
24506
|
"supports_tool_choice": true
|
|
24488
24507
|
},
|
|
24489
24508
|
"together_ai/Qwen/Qwen3-Next-80B-A3B-Thinking": {
|
|
@@ -24495,6 +24514,7 @@
|
|
|
24495
24514
|
"source": "https://www.together.ai/models/qwen3-next-80b-a3b-thinking",
|
|
24496
24515
|
"supports_function_calling": true,
|
|
24497
24516
|
"supports_parallel_function_calling": true,
|
|
24517
|
+
"supports_response_schema": true,
|
|
24498
24518
|
"supports_tool_choice": true
|
|
24499
24519
|
},
|
|
24500
24520
|
"together_ai/baai/bge-base-en-v1.5": {
|
|
@@ -33063,5 +33083,128 @@
|
|
|
33063
33083
|
"supported_output_modalities": [
|
|
33064
33084
|
"video"
|
|
33065
33085
|
]
|
|
33086
|
+
},
|
|
33087
|
+
"azure_ai/gpt-oss-120b": {
|
|
33088
|
+
"input_cost_per_token": 1.5e-07,
|
|
33089
|
+
"output_cost_per_token": 6e-07,
|
|
33090
|
+
"litellm_provider": "azure_ai",
|
|
33091
|
+
"max_input_tokens": 131072,
|
|
33092
|
+
"max_output_tokens": 131072,
|
|
33093
|
+
"max_tokens": 131072,
|
|
33094
|
+
"mode": "chat",
|
|
33095
|
+
"source": "https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/",
|
|
33096
|
+
"supports_function_calling": true,
|
|
33097
|
+
"supports_parallel_function_calling": true,
|
|
33098
|
+
"supports_response_schema": true,
|
|
33099
|
+
"supports_tool_choice": true
|
|
33100
|
+
},
|
|
33101
|
+
"azure/gpt-image-1.5": {
|
|
33102
|
+
"cache_read_input_image_token_cost": 2e-06,
|
|
33103
|
+
"cache_read_input_token_cost": 1.25e-06,
|
|
33104
|
+
"input_cost_per_token": 5e-06,
|
|
33105
|
+
"input_cost_per_image_token": 8e-06,
|
|
33106
|
+
"litellm_provider": "azure",
|
|
33107
|
+
"mode": "image_generation",
|
|
33108
|
+
"output_cost_per_image_token": 3.2e-05,
|
|
33109
|
+
"supported_endpoints": [
|
|
33110
|
+
"/v1/images/generations",
|
|
33111
|
+
"/v1/images/edits"
|
|
33112
|
+
]
|
|
33113
|
+
},
|
|
33114
|
+
"azure/gpt-image-1.5-2025-12-16": {
|
|
33115
|
+
"cache_read_input_image_token_cost": 2e-06,
|
|
33116
|
+
"cache_read_input_token_cost": 1.25e-06,
|
|
33117
|
+
"input_cost_per_token": 5e-06,
|
|
33118
|
+
"input_cost_per_image_token": 8e-06,
|
|
33119
|
+
"litellm_provider": "azure",
|
|
33120
|
+
"mode": "image_generation",
|
|
33121
|
+
"output_cost_per_image_token": 3.2e-05,
|
|
33122
|
+
"supported_endpoints": [
|
|
33123
|
+
"/v1/images/generations",
|
|
33124
|
+
"/v1/images/edits"
|
|
33125
|
+
]
|
|
33126
|
+
},
|
|
33127
|
+
"groq/meta-llama/llama-guard-4-12b": {
|
|
33128
|
+
"input_cost_per_token": 2e-07,
|
|
33129
|
+
"litellm_provider": "groq",
|
|
33130
|
+
"max_input_tokens": 8192,
|
|
33131
|
+
"max_output_tokens": 8192,
|
|
33132
|
+
"max_tokens": 8192,
|
|
33133
|
+
"mode": "chat",
|
|
33134
|
+
"output_cost_per_token": 2e-07
|
|
33135
|
+
},
|
|
33136
|
+
"minimax/speech-02-hd": {
|
|
33137
|
+
"input_cost_per_character": 0.0001,
|
|
33138
|
+
"litellm_provider": "minimax",
|
|
33139
|
+
"mode": "audio_speech",
|
|
33140
|
+
"supported_endpoints": [
|
|
33141
|
+
"/v1/audio/speech"
|
|
33142
|
+
]
|
|
33143
|
+
},
|
|
33144
|
+
"minimax/speech-02-turbo": {
|
|
33145
|
+
"input_cost_per_character": 6e-05,
|
|
33146
|
+
"litellm_provider": "minimax",
|
|
33147
|
+
"mode": "audio_speech",
|
|
33148
|
+
"supported_endpoints": [
|
|
33149
|
+
"/v1/audio/speech"
|
|
33150
|
+
]
|
|
33151
|
+
},
|
|
33152
|
+
"minimax/speech-2.6-hd": {
|
|
33153
|
+
"input_cost_per_character": 0.0001,
|
|
33154
|
+
"litellm_provider": "minimax",
|
|
33155
|
+
"mode": "audio_speech",
|
|
33156
|
+
"supported_endpoints": [
|
|
33157
|
+
"/v1/audio/speech"
|
|
33158
|
+
]
|
|
33159
|
+
},
|
|
33160
|
+
"minimax/speech-2.6-turbo": {
|
|
33161
|
+
"input_cost_per_character": 6e-05,
|
|
33162
|
+
"litellm_provider": "minimax",
|
|
33163
|
+
"mode": "audio_speech",
|
|
33164
|
+
"supported_endpoints": [
|
|
33165
|
+
"/v1/audio/speech"
|
|
33166
|
+
]
|
|
33167
|
+
},
|
|
33168
|
+
"minimax/MiniMax-M2.1": {
|
|
33169
|
+
"input_cost_per_token": 3e-07,
|
|
33170
|
+
"output_cost_per_token": 1.2e-06,
|
|
33171
|
+
"cache_read_input_token_cost": 3e-08,
|
|
33172
|
+
"cache_creation_input_token_cost": 3.75e-07,
|
|
33173
|
+
"litellm_provider": "minimax",
|
|
33174
|
+
"mode": "chat",
|
|
33175
|
+
"supports_function_calling": true,
|
|
33176
|
+
"supports_tool_choice": true,
|
|
33177
|
+
"supports_prompt_caching": true,
|
|
33178
|
+
"supports_system_messages": true,
|
|
33179
|
+
"max_input_tokens": 1000000,
|
|
33180
|
+
"max_output_tokens": 8192
|
|
33181
|
+
},
|
|
33182
|
+
"minimax/MiniMax-M2.1-lightning": {
|
|
33183
|
+
"input_cost_per_token": 3e-07,
|
|
33184
|
+
"output_cost_per_token": 2.4e-06,
|
|
33185
|
+
"cache_read_input_token_cost": 3e-08,
|
|
33186
|
+
"cache_creation_input_token_cost": 3.75e-07,
|
|
33187
|
+
"litellm_provider": "minimax",
|
|
33188
|
+
"mode": "chat",
|
|
33189
|
+
"supports_function_calling": true,
|
|
33190
|
+
"supports_tool_choice": true,
|
|
33191
|
+
"supports_prompt_caching": true,
|
|
33192
|
+
"supports_system_messages": true,
|
|
33193
|
+
"max_input_tokens": 1000000,
|
|
33194
|
+
"max_output_tokens": 8192
|
|
33195
|
+
},
|
|
33196
|
+
"minimax/MiniMax-M2": {
|
|
33197
|
+
"input_cost_per_token": 3e-07,
|
|
33198
|
+
"output_cost_per_token": 1.2e-06,
|
|
33199
|
+
"cache_read_input_token_cost": 3e-08,
|
|
33200
|
+
"cache_creation_input_token_cost": 3.75e-07,
|
|
33201
|
+
"litellm_provider": "minimax",
|
|
33202
|
+
"mode": "chat",
|
|
33203
|
+
"supports_function_calling": true,
|
|
33204
|
+
"supports_tool_choice": true,
|
|
33205
|
+
"supports_prompt_caching": true,
|
|
33206
|
+
"supports_system_messages": true,
|
|
33207
|
+
"max_input_tokens": 200000,
|
|
33208
|
+
"max_output_tokens": 8192
|
|
33066
33209
|
}
|
|
33067
33210
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.416
|
|
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=DJhyIIeae4SHDuXQOYqTV4RuoSdcYHmpa77ssk_4ECU,1180294
|
|
5
|
+
tokencostauto-0.1.416.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
+
tokencostauto-0.1.416.dist-info/METADATA,sha256=BXGHbvH5gcoExN0eDL5PAUvp5cxpEyRY6d89-sAQQcE,204076
|
|
7
|
+
tokencostauto-0.1.416.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
tokencostauto-0.1.416.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
+
tokencostauto-0.1.416.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=d-O9CJSjsP-O7p9-mqsovcb4cE5weEkIi7xkor9Ftk8,1175240
|
|
5
|
-
tokencostauto-0.1.414.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.414.dist-info/METADATA,sha256=4VJNFlWKtnQJCV9kmzxGWtnaxdahGofYKNgpsXT88ic,204076
|
|
7
|
-
tokencostauto-0.1.414.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
tokencostauto-0.1.414.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.414.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|