tokencostauto 0.1.382__py3-none-any.whl → 0.1.386__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 -0
- {tokencostauto-0.1.382.dist-info → tokencostauto-0.1.386.dist-info}/METADATA +1 -1
- tokencostauto-0.1.386.dist-info/RECORD +9 -0
- tokencostauto-0.1.382.dist-info/RECORD +0 -9
- {tokencostauto-0.1.382.dist-info → tokencostauto-0.1.386.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.382.dist-info → tokencostauto-0.1.386.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.382.dist-info → tokencostauto-0.1.386.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -27651,6 +27651,7 @@
|
|
|
27651
27651
|
"max_tokens": 65536,
|
|
27652
27652
|
"mode": "image_generation",
|
|
27653
27653
|
"output_cost_per_image": 0.134,
|
|
27654
|
+
"output_cost_per_image_token": 0.00012,
|
|
27654
27655
|
"output_cost_per_token": 1.2e-05,
|
|
27655
27656
|
"output_cost_per_token_batches": 6e-06,
|
|
27656
27657
|
"source": "https://ai.google.dev/gemini-api/docs/pricing",
|
|
@@ -27684,6 +27685,7 @@
|
|
|
27684
27685
|
"max_tokens": 65536,
|
|
27685
27686
|
"mode": "image_generation",
|
|
27686
27687
|
"output_cost_per_image": 0.134,
|
|
27688
|
+
"output_cost_per_image_token": 0.00012,
|
|
27687
27689
|
"output_cost_per_token": 1.2e-05,
|
|
27688
27690
|
"rpm": 1000,
|
|
27689
27691
|
"tpm": 4000000,
|
|
@@ -27780,6 +27782,7 @@
|
|
|
27780
27782
|
"max_tokens": 65536,
|
|
27781
27783
|
"mode": "image_generation",
|
|
27782
27784
|
"output_cost_per_image": 0.134,
|
|
27785
|
+
"output_cost_per_image_token": 0.00012,
|
|
27783
27786
|
"output_cost_per_token": 1.2e-05,
|
|
27784
27787
|
"output_cost_per_token_batches": 6e-06,
|
|
27785
27788
|
"source": "https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/3-pro-image"
|
|
@@ -29004,5 +29007,147 @@
|
|
|
29004
29007
|
"supports_function_calling": true,
|
|
29005
29008
|
"supports_tool_choice": true,
|
|
29006
29009
|
"supports_web_search": true
|
|
29010
|
+
},
|
|
29011
|
+
"azure/gpt-5.1-codex-max": {
|
|
29012
|
+
"cache_read_input_token_cost": 1.25e-07,
|
|
29013
|
+
"input_cost_per_token": 1.25e-06,
|
|
29014
|
+
"litellm_provider": "azure",
|
|
29015
|
+
"max_input_tokens": 400000,
|
|
29016
|
+
"max_output_tokens": 128000,
|
|
29017
|
+
"max_tokens": 128000,
|
|
29018
|
+
"mode": "responses",
|
|
29019
|
+
"output_cost_per_token": 1e-05,
|
|
29020
|
+
"supported_endpoints": [
|
|
29021
|
+
"/v1/responses"
|
|
29022
|
+
],
|
|
29023
|
+
"supported_modalities": [
|
|
29024
|
+
"text",
|
|
29025
|
+
"image"
|
|
29026
|
+
],
|
|
29027
|
+
"supported_output_modalities": [
|
|
29028
|
+
"text"
|
|
29029
|
+
],
|
|
29030
|
+
"supports_function_calling": true,
|
|
29031
|
+
"supports_native_streaming": true,
|
|
29032
|
+
"supports_parallel_function_calling": true,
|
|
29033
|
+
"supports_pdf_input": true,
|
|
29034
|
+
"supports_prompt_caching": true,
|
|
29035
|
+
"supports_reasoning": true,
|
|
29036
|
+
"supports_response_schema": true,
|
|
29037
|
+
"supports_system_messages": false,
|
|
29038
|
+
"supports_tool_choice": true,
|
|
29039
|
+
"supports_vision": true
|
|
29040
|
+
},
|
|
29041
|
+
"azure_ai/mistral-large-3": {
|
|
29042
|
+
"input_cost_per_token": 5e-07,
|
|
29043
|
+
"litellm_provider": "azure_ai",
|
|
29044
|
+
"max_input_tokens": 256000,
|
|
29045
|
+
"max_output_tokens": 8191,
|
|
29046
|
+
"max_tokens": 8191,
|
|
29047
|
+
"mode": "chat",
|
|
29048
|
+
"output_cost_per_token": 1.5e-06,
|
|
29049
|
+
"source": "https://azure.microsoft.com/en-us/blog/introducing-mistral-large-3-in-microsoft-foundry-open-capable-and-ready-for-production-workloads/",
|
|
29050
|
+
"supports_function_calling": true,
|
|
29051
|
+
"supports_tool_choice": true,
|
|
29052
|
+
"supports_vision": true
|
|
29053
|
+
},
|
|
29054
|
+
"gpt-5.1-codex-max": {
|
|
29055
|
+
"cache_read_input_token_cost": 1.25e-07,
|
|
29056
|
+
"input_cost_per_token": 1.25e-06,
|
|
29057
|
+
"litellm_provider": "openai",
|
|
29058
|
+
"max_input_tokens": 400000,
|
|
29059
|
+
"max_output_tokens": 128000,
|
|
29060
|
+
"max_tokens": 128000,
|
|
29061
|
+
"mode": "responses",
|
|
29062
|
+
"output_cost_per_token": 1e-05,
|
|
29063
|
+
"supported_endpoints": [
|
|
29064
|
+
"/v1/responses"
|
|
29065
|
+
],
|
|
29066
|
+
"supported_modalities": [
|
|
29067
|
+
"text",
|
|
29068
|
+
"image"
|
|
29069
|
+
],
|
|
29070
|
+
"supported_output_modalities": [
|
|
29071
|
+
"text"
|
|
29072
|
+
],
|
|
29073
|
+
"supports_function_calling": true,
|
|
29074
|
+
"supports_native_streaming": true,
|
|
29075
|
+
"supports_parallel_function_calling": true,
|
|
29076
|
+
"supports_pdf_input": true,
|
|
29077
|
+
"supports_prompt_caching": true,
|
|
29078
|
+
"supports_reasoning": true,
|
|
29079
|
+
"supports_response_schema": true,
|
|
29080
|
+
"supports_system_messages": false,
|
|
29081
|
+
"supports_tool_choice": true,
|
|
29082
|
+
"supports_vision": true
|
|
29083
|
+
},
|
|
29084
|
+
"mistral/mistral-large-3": {
|
|
29085
|
+
"input_cost_per_token": 5e-07,
|
|
29086
|
+
"litellm_provider": "mistral",
|
|
29087
|
+
"max_input_tokens": 256000,
|
|
29088
|
+
"max_output_tokens": 8191,
|
|
29089
|
+
"max_tokens": 8191,
|
|
29090
|
+
"mode": "chat",
|
|
29091
|
+
"output_cost_per_token": 1.5e-06,
|
|
29092
|
+
"source": "https://docs.mistral.ai/models/mistral-large-3-25-12",
|
|
29093
|
+
"supports_assistant_prefill": true,
|
|
29094
|
+
"supports_function_calling": true,
|
|
29095
|
+
"supports_response_schema": true,
|
|
29096
|
+
"supports_tool_choice": true,
|
|
29097
|
+
"supports_vision": true
|
|
29098
|
+
},
|
|
29099
|
+
"amazon-nova/nova-micro-v1": {
|
|
29100
|
+
"input_cost_per_token": 3.5e-08,
|
|
29101
|
+
"litellm_provider": "amazon_nova",
|
|
29102
|
+
"max_input_tokens": 128000,
|
|
29103
|
+
"max_output_tokens": 10000,
|
|
29104
|
+
"max_tokens": 10000,
|
|
29105
|
+
"mode": "chat",
|
|
29106
|
+
"output_cost_per_token": 1.4e-07,
|
|
29107
|
+
"supports_function_calling": true,
|
|
29108
|
+
"supports_prompt_caching": true,
|
|
29109
|
+
"supports_response_schema": true
|
|
29110
|
+
},
|
|
29111
|
+
"amazon-nova/nova-lite-v1": {
|
|
29112
|
+
"input_cost_per_token": 6e-08,
|
|
29113
|
+
"litellm_provider": "amazon_nova",
|
|
29114
|
+
"max_input_tokens": 300000,
|
|
29115
|
+
"max_output_tokens": 10000,
|
|
29116
|
+
"max_tokens": 10000,
|
|
29117
|
+
"mode": "chat",
|
|
29118
|
+
"output_cost_per_token": 2.4e-07,
|
|
29119
|
+
"supports_function_calling": true,
|
|
29120
|
+
"supports_pdf_input": true,
|
|
29121
|
+
"supports_prompt_caching": true,
|
|
29122
|
+
"supports_response_schema": true,
|
|
29123
|
+
"supports_vision": true
|
|
29124
|
+
},
|
|
29125
|
+
"amazon-nova/nova-premier-v1": {
|
|
29126
|
+
"input_cost_per_token": 2.5e-06,
|
|
29127
|
+
"litellm_provider": "amazon_nova",
|
|
29128
|
+
"max_input_tokens": 1000000,
|
|
29129
|
+
"max_output_tokens": 10000,
|
|
29130
|
+
"max_tokens": 10000,
|
|
29131
|
+
"mode": "chat",
|
|
29132
|
+
"output_cost_per_token": 1.25e-05,
|
|
29133
|
+
"supports_function_calling": true,
|
|
29134
|
+
"supports_pdf_input": true,
|
|
29135
|
+
"supports_prompt_caching": false,
|
|
29136
|
+
"supports_response_schema": true,
|
|
29137
|
+
"supports_vision": true
|
|
29138
|
+
},
|
|
29139
|
+
"amazon-nova/nova-pro-v1": {
|
|
29140
|
+
"input_cost_per_token": 8e-07,
|
|
29141
|
+
"litellm_provider": "amazon_nova",
|
|
29142
|
+
"max_input_tokens": 300000,
|
|
29143
|
+
"max_output_tokens": 10000,
|
|
29144
|
+
"max_tokens": 10000,
|
|
29145
|
+
"mode": "chat",
|
|
29146
|
+
"output_cost_per_token": 3.2e-06,
|
|
29147
|
+
"supports_function_calling": true,
|
|
29148
|
+
"supports_pdf_input": true,
|
|
29149
|
+
"supports_prompt_caching": true,
|
|
29150
|
+
"supports_response_schema": true,
|
|
29151
|
+
"supports_vision": true
|
|
29007
29152
|
}
|
|
29008
29153
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.386
|
|
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=Jy-wdyOCG3P3HwXPK2do31qZyCqVIwF5JZkCJelknv0,1039594
|
|
5
|
+
tokencostauto-0.1.386.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
+
tokencostauto-0.1.386.dist-info/METADATA,sha256=JvcJw4VlGD8L1NVD9_nEp22iQhR_4vkgyw3iXzkkCnY,204076
|
|
7
|
+
tokencostauto-0.1.386.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
tokencostauto-0.1.386.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
+
tokencostauto-0.1.386.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=vLkEe-bTrCJhAUW76kYRPf2Laf-45ZikEgPmos2cHvE,1034518
|
|
5
|
-
tokencostauto-0.1.382.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.382.dist-info/METADATA,sha256=MF_iYgT9C7EvXzk3AeIReKQl3dbb0zTdmd25sYyEGs8,204076
|
|
7
|
-
tokencostauto-0.1.382.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
tokencostauto-0.1.382.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.382.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|