tokencostauto 0.1.395__tar.gz → 0.1.398__tar.gz
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-0.1.395/tokencostauto.egg-info → tokencostauto-0.1.398}/PKG-INFO +1 -1
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/pyproject.toml +1 -1
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/tokencostauto/model_prices.json +192 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/LICENSE +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/MANIFEST.in +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/README.md +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/setup.cfg +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.395 → tokencostauto-0.1.398}/tokencostauto.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.398
|
|
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
|
|
@@ -31808,5 +31808,197 @@
|
|
|
31808
31808
|
"supports_function_calling": true,
|
|
31809
31809
|
"supports_response_schema": true,
|
|
31810
31810
|
"supports_tool_choice": true
|
|
31811
|
+
},
|
|
31812
|
+
"azure/gpt-5.2": {
|
|
31813
|
+
"cache_read_input_token_cost": 1.75e-07,
|
|
31814
|
+
"input_cost_per_token": 1.75e-06,
|
|
31815
|
+
"litellm_provider": "azure",
|
|
31816
|
+
"max_input_tokens": 400000,
|
|
31817
|
+
"max_output_tokens": 128000,
|
|
31818
|
+
"max_tokens": 128000,
|
|
31819
|
+
"mode": "chat",
|
|
31820
|
+
"output_cost_per_token": 1.4e-05,
|
|
31821
|
+
"supported_endpoints": [
|
|
31822
|
+
"/v1/chat/completions",
|
|
31823
|
+
"/v1/batch",
|
|
31824
|
+
"/v1/responses"
|
|
31825
|
+
],
|
|
31826
|
+
"supported_modalities": [
|
|
31827
|
+
"text",
|
|
31828
|
+
"image"
|
|
31829
|
+
],
|
|
31830
|
+
"supported_output_modalities": [
|
|
31831
|
+
"text",
|
|
31832
|
+
"image"
|
|
31833
|
+
],
|
|
31834
|
+
"supports_function_calling": true,
|
|
31835
|
+
"supports_native_streaming": true,
|
|
31836
|
+
"supports_parallel_function_calling": true,
|
|
31837
|
+
"supports_pdf_input": true,
|
|
31838
|
+
"supports_prompt_caching": true,
|
|
31839
|
+
"supports_reasoning": true,
|
|
31840
|
+
"supports_response_schema": true,
|
|
31841
|
+
"supports_system_messages": true,
|
|
31842
|
+
"supports_tool_choice": true,
|
|
31843
|
+
"supports_vision": true
|
|
31844
|
+
},
|
|
31845
|
+
"azure/gpt-5.2-2025-12-11": {
|
|
31846
|
+
"cache_read_input_token_cost": 1.75e-07,
|
|
31847
|
+
"cache_read_input_token_cost_priority": 3.5e-07,
|
|
31848
|
+
"input_cost_per_token": 1.75e-06,
|
|
31849
|
+
"input_cost_per_token_priority": 3.5e-06,
|
|
31850
|
+
"litellm_provider": "azure",
|
|
31851
|
+
"max_input_tokens": 400000,
|
|
31852
|
+
"max_output_tokens": 128000,
|
|
31853
|
+
"max_tokens": 128000,
|
|
31854
|
+
"mode": "chat",
|
|
31855
|
+
"output_cost_per_token": 1.4e-05,
|
|
31856
|
+
"output_cost_per_token_priority": 2.8e-05,
|
|
31857
|
+
"supported_endpoints": [
|
|
31858
|
+
"/v1/chat/completions",
|
|
31859
|
+
"/v1/batch",
|
|
31860
|
+
"/v1/responses"
|
|
31861
|
+
],
|
|
31862
|
+
"supported_modalities": [
|
|
31863
|
+
"text",
|
|
31864
|
+
"image"
|
|
31865
|
+
],
|
|
31866
|
+
"supported_output_modalities": [
|
|
31867
|
+
"text",
|
|
31868
|
+
"image"
|
|
31869
|
+
],
|
|
31870
|
+
"supports_function_calling": true,
|
|
31871
|
+
"supports_native_streaming": true,
|
|
31872
|
+
"supports_parallel_function_calling": true,
|
|
31873
|
+
"supports_pdf_input": true,
|
|
31874
|
+
"supports_prompt_caching": true,
|
|
31875
|
+
"supports_reasoning": true,
|
|
31876
|
+
"supports_response_schema": true,
|
|
31877
|
+
"supports_system_messages": true,
|
|
31878
|
+
"supports_tool_choice": true,
|
|
31879
|
+
"supports_service_tier": true,
|
|
31880
|
+
"supports_vision": true
|
|
31881
|
+
},
|
|
31882
|
+
"azure/gpt-5.2-chat-2025-12-11": {
|
|
31883
|
+
"cache_read_input_token_cost": 1.75e-07,
|
|
31884
|
+
"cache_read_input_token_cost_priority": 3.5e-07,
|
|
31885
|
+
"input_cost_per_token": 1.75e-06,
|
|
31886
|
+
"input_cost_per_token_priority": 3.5e-06,
|
|
31887
|
+
"litellm_provider": "azure",
|
|
31888
|
+
"max_input_tokens": 128000,
|
|
31889
|
+
"max_output_tokens": 16384,
|
|
31890
|
+
"max_tokens": 16384,
|
|
31891
|
+
"mode": "chat",
|
|
31892
|
+
"output_cost_per_token": 1.4e-05,
|
|
31893
|
+
"output_cost_per_token_priority": 2.8e-05,
|
|
31894
|
+
"supported_endpoints": [
|
|
31895
|
+
"/v1/chat/completions",
|
|
31896
|
+
"/v1/responses"
|
|
31897
|
+
],
|
|
31898
|
+
"supported_modalities": [
|
|
31899
|
+
"text",
|
|
31900
|
+
"image"
|
|
31901
|
+
],
|
|
31902
|
+
"supported_output_modalities": [
|
|
31903
|
+
"text"
|
|
31904
|
+
],
|
|
31905
|
+
"supports_function_calling": true,
|
|
31906
|
+
"supports_native_streaming": true,
|
|
31907
|
+
"supports_parallel_function_calling": true,
|
|
31908
|
+
"supports_pdf_input": true,
|
|
31909
|
+
"supports_prompt_caching": true,
|
|
31910
|
+
"supports_reasoning": true,
|
|
31911
|
+
"supports_response_schema": true,
|
|
31912
|
+
"supports_system_messages": true,
|
|
31913
|
+
"supports_tool_choice": true,
|
|
31914
|
+
"supports_vision": true
|
|
31915
|
+
},
|
|
31916
|
+
"azure/gpt-5.2-pro": {
|
|
31917
|
+
"input_cost_per_token": 2.1e-05,
|
|
31918
|
+
"litellm_provider": "azure",
|
|
31919
|
+
"max_input_tokens": 400000,
|
|
31920
|
+
"max_output_tokens": 128000,
|
|
31921
|
+
"max_tokens": 128000,
|
|
31922
|
+
"mode": "responses",
|
|
31923
|
+
"output_cost_per_token": 0.000168,
|
|
31924
|
+
"supported_endpoints": [
|
|
31925
|
+
"/v1/batch",
|
|
31926
|
+
"/v1/responses"
|
|
31927
|
+
],
|
|
31928
|
+
"supported_modalities": [
|
|
31929
|
+
"text",
|
|
31930
|
+
"image"
|
|
31931
|
+
],
|
|
31932
|
+
"supported_output_modalities": [
|
|
31933
|
+
"text"
|
|
31934
|
+
],
|
|
31935
|
+
"supports_function_calling": true,
|
|
31936
|
+
"supports_native_streaming": true,
|
|
31937
|
+
"supports_parallel_function_calling": true,
|
|
31938
|
+
"supports_pdf_input": true,
|
|
31939
|
+
"supports_prompt_caching": true,
|
|
31940
|
+
"supports_reasoning": true,
|
|
31941
|
+
"supports_response_schema": true,
|
|
31942
|
+
"supports_system_messages": true,
|
|
31943
|
+
"supports_tool_choice": true,
|
|
31944
|
+
"supports_vision": true,
|
|
31945
|
+
"supports_web_search": true
|
|
31946
|
+
},
|
|
31947
|
+
"azure/gpt-5.2-pro-2025-12-11": {
|
|
31948
|
+
"input_cost_per_token": 2.1e-05,
|
|
31949
|
+
"litellm_provider": "azure",
|
|
31950
|
+
"max_input_tokens": 400000,
|
|
31951
|
+
"max_output_tokens": 128000,
|
|
31952
|
+
"max_tokens": 128000,
|
|
31953
|
+
"mode": "responses",
|
|
31954
|
+
"output_cost_per_token": 0.000168,
|
|
31955
|
+
"supported_endpoints": [
|
|
31956
|
+
"/v1/batch",
|
|
31957
|
+
"/v1/responses"
|
|
31958
|
+
],
|
|
31959
|
+
"supported_modalities": [
|
|
31960
|
+
"text",
|
|
31961
|
+
"image"
|
|
31962
|
+
],
|
|
31963
|
+
"supported_output_modalities": [
|
|
31964
|
+
"text"
|
|
31965
|
+
],
|
|
31966
|
+
"supports_function_calling": true,
|
|
31967
|
+
"supports_native_streaming": true,
|
|
31968
|
+
"supports_parallel_function_calling": true,
|
|
31969
|
+
"supports_pdf_input": true,
|
|
31970
|
+
"supports_prompt_caching": true,
|
|
31971
|
+
"supports_reasoning": true,
|
|
31972
|
+
"supports_response_schema": true,
|
|
31973
|
+
"supports_system_messages": true,
|
|
31974
|
+
"supports_tool_choice": true,
|
|
31975
|
+
"supports_vision": true,
|
|
31976
|
+
"supports_web_search": true
|
|
31977
|
+
},
|
|
31978
|
+
"eu.anthropic.claude-opus-4-5-20251101-v1:0": {
|
|
31979
|
+
"cache_creation_input_token_cost": 6.25e-06,
|
|
31980
|
+
"cache_read_input_token_cost": 5e-07,
|
|
31981
|
+
"input_cost_per_token": 5e-06,
|
|
31982
|
+
"litellm_provider": "bedrock_converse",
|
|
31983
|
+
"max_input_tokens": 200000,
|
|
31984
|
+
"max_output_tokens": 64000,
|
|
31985
|
+
"max_tokens": 64000,
|
|
31986
|
+
"mode": "chat",
|
|
31987
|
+
"output_cost_per_token": 2.5e-05,
|
|
31988
|
+
"search_context_cost_per_query": {
|
|
31989
|
+
"search_context_size_high": 0.01,
|
|
31990
|
+
"search_context_size_low": 0.01,
|
|
31991
|
+
"search_context_size_medium": 0.01
|
|
31992
|
+
},
|
|
31993
|
+
"supports_assistant_prefill": true,
|
|
31994
|
+
"supports_computer_use": true,
|
|
31995
|
+
"supports_function_calling": true,
|
|
31996
|
+
"supports_pdf_input": true,
|
|
31997
|
+
"supports_prompt_caching": true,
|
|
31998
|
+
"supports_reasoning": true,
|
|
31999
|
+
"supports_response_schema": true,
|
|
32000
|
+
"supports_tool_choice": true,
|
|
32001
|
+
"supports_vision": true,
|
|
32002
|
+
"tool_use_system_prompt_tokens": 159
|
|
31811
32003
|
}
|
|
31812
32004
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.398
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|