tokencostauto 0.1.395__py3-none-any.whl → 0.1.398__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.
@@ -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.395
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
@@ -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=sp6s3KKEr8vaFjsBCvd4MvE0CDlmrVRaRKgJyAkOgI4,1140425
5
+ tokencostauto-0.1.398.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
+ tokencostauto-0.1.398.dist-info/METADATA,sha256=4A76TC9nlF0qG9bTlRTMLxbClTy-lAJt7Aa_-aeiMZg,204076
7
+ tokencostauto-0.1.398.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ tokencostauto-0.1.398.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
+ tokencostauto-0.1.398.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=W1wXA9f1EH7VQTX9UtycVg6T4CU5OS0AXq-9MXEoK0I,1133989
5
- tokencostauto-0.1.395.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
- tokencostauto-0.1.395.dist-info/METADATA,sha256=y12h-IzXHAUAGGFK7I4KmXxBsLmb1QlpYp_XTKCLefU,204076
7
- tokencostauto-0.1.395.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- tokencostauto-0.1.395.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
- tokencostauto-0.1.395.dist-info/RECORD,,