tokencostauto 0.1.353__tar.gz → 0.1.355__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.353/tokencostauto.egg-info → tokencostauto-0.1.355}/PKG-INFO +1 -1
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/pyproject.toml +1 -1
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/tokencostauto/model_prices.json +275 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/LICENSE +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/MANIFEST.in +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/README.md +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/setup.cfg +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.353 → tokencostauto-0.1.355}/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.355
|
|
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
|
|
@@ -26735,5 +26735,280 @@
|
|
|
26735
26735
|
"supported_output_modalities": [
|
|
26736
26736
|
"video"
|
|
26737
26737
|
]
|
|
26738
|
+
},
|
|
26739
|
+
"azure/gpt-audio-2025-08-28": {
|
|
26740
|
+
"input_cost_per_audio_token": 4e-05,
|
|
26741
|
+
"input_cost_per_token": 2.5e-06,
|
|
26742
|
+
"litellm_provider": "azure",
|
|
26743
|
+
"max_input_tokens": 128000,
|
|
26744
|
+
"max_output_tokens": 16384,
|
|
26745
|
+
"max_tokens": 16384,
|
|
26746
|
+
"mode": "chat",
|
|
26747
|
+
"output_cost_per_audio_token": 8e-05,
|
|
26748
|
+
"output_cost_per_token": 1e-05,
|
|
26749
|
+
"supported_endpoints": [
|
|
26750
|
+
"/v1/chat/completions"
|
|
26751
|
+
],
|
|
26752
|
+
"supported_modalities": [
|
|
26753
|
+
"text",
|
|
26754
|
+
"audio"
|
|
26755
|
+
],
|
|
26756
|
+
"supported_output_modalities": [
|
|
26757
|
+
"text",
|
|
26758
|
+
"audio"
|
|
26759
|
+
],
|
|
26760
|
+
"supports_function_calling": true,
|
|
26761
|
+
"supports_native_streaming": true,
|
|
26762
|
+
"supports_parallel_function_calling": true,
|
|
26763
|
+
"supports_prompt_caching": false,
|
|
26764
|
+
"supports_reasoning": false,
|
|
26765
|
+
"supports_response_schema": false,
|
|
26766
|
+
"supports_system_messages": true,
|
|
26767
|
+
"supports_tool_choice": true,
|
|
26768
|
+
"supports_vision": false
|
|
26769
|
+
},
|
|
26770
|
+
"azure/gpt-audio-mini-2025-10-06": {
|
|
26771
|
+
"input_cost_per_audio_token": 1e-05,
|
|
26772
|
+
"input_cost_per_token": 6e-07,
|
|
26773
|
+
"litellm_provider": "azure",
|
|
26774
|
+
"max_input_tokens": 128000,
|
|
26775
|
+
"max_output_tokens": 16384,
|
|
26776
|
+
"max_tokens": 16384,
|
|
26777
|
+
"mode": "chat",
|
|
26778
|
+
"output_cost_per_audio_token": 2e-05,
|
|
26779
|
+
"output_cost_per_token": 2.4e-06,
|
|
26780
|
+
"supported_endpoints": [
|
|
26781
|
+
"/v1/chat/completions"
|
|
26782
|
+
],
|
|
26783
|
+
"supported_modalities": [
|
|
26784
|
+
"text",
|
|
26785
|
+
"audio"
|
|
26786
|
+
],
|
|
26787
|
+
"supported_output_modalities": [
|
|
26788
|
+
"text",
|
|
26789
|
+
"audio"
|
|
26790
|
+
],
|
|
26791
|
+
"supports_function_calling": true,
|
|
26792
|
+
"supports_native_streaming": true,
|
|
26793
|
+
"supports_parallel_function_calling": true,
|
|
26794
|
+
"supports_prompt_caching": false,
|
|
26795
|
+
"supports_reasoning": false,
|
|
26796
|
+
"supports_response_schema": false,
|
|
26797
|
+
"supports_system_messages": true,
|
|
26798
|
+
"supports_tool_choice": true,
|
|
26799
|
+
"supports_vision": false
|
|
26800
|
+
},
|
|
26801
|
+
"azure/gpt-realtime-2025-08-28": {
|
|
26802
|
+
"cache_creation_input_audio_token_cost": 4e-06,
|
|
26803
|
+
"cache_read_input_token_cost": 4e-06,
|
|
26804
|
+
"input_cost_per_audio_token": 3.2e-05,
|
|
26805
|
+
"input_cost_per_image": 5e-06,
|
|
26806
|
+
"input_cost_per_token": 4e-06,
|
|
26807
|
+
"litellm_provider": "azure",
|
|
26808
|
+
"max_input_tokens": 32000,
|
|
26809
|
+
"max_output_tokens": 4096,
|
|
26810
|
+
"max_tokens": 4096,
|
|
26811
|
+
"mode": "chat",
|
|
26812
|
+
"output_cost_per_audio_token": 6.4e-05,
|
|
26813
|
+
"output_cost_per_token": 1.6e-05,
|
|
26814
|
+
"supported_endpoints": [
|
|
26815
|
+
"/v1/realtime"
|
|
26816
|
+
],
|
|
26817
|
+
"supported_modalities": [
|
|
26818
|
+
"text",
|
|
26819
|
+
"image",
|
|
26820
|
+
"audio"
|
|
26821
|
+
],
|
|
26822
|
+
"supported_output_modalities": [
|
|
26823
|
+
"text",
|
|
26824
|
+
"audio"
|
|
26825
|
+
],
|
|
26826
|
+
"supports_audio_input": true,
|
|
26827
|
+
"supports_audio_output": true,
|
|
26828
|
+
"supports_function_calling": true,
|
|
26829
|
+
"supports_parallel_function_calling": true,
|
|
26830
|
+
"supports_system_messages": true,
|
|
26831
|
+
"supports_tool_choice": true
|
|
26832
|
+
},
|
|
26833
|
+
"azure/gpt-realtime-mini-2025-10-06": {
|
|
26834
|
+
"cache_creation_input_audio_token_cost": 3e-07,
|
|
26835
|
+
"cache_read_input_token_cost": 6e-08,
|
|
26836
|
+
"input_cost_per_audio_token": 1e-05,
|
|
26837
|
+
"input_cost_per_image": 8e-07,
|
|
26838
|
+
"input_cost_per_token": 6e-07,
|
|
26839
|
+
"litellm_provider": "azure",
|
|
26840
|
+
"max_input_tokens": 32000,
|
|
26841
|
+
"max_output_tokens": 4096,
|
|
26842
|
+
"max_tokens": 4096,
|
|
26843
|
+
"mode": "chat",
|
|
26844
|
+
"output_cost_per_audio_token": 2e-05,
|
|
26845
|
+
"output_cost_per_token": 2.4e-06,
|
|
26846
|
+
"supported_endpoints": [
|
|
26847
|
+
"/v1/realtime"
|
|
26848
|
+
],
|
|
26849
|
+
"supported_modalities": [
|
|
26850
|
+
"text",
|
|
26851
|
+
"image",
|
|
26852
|
+
"audio"
|
|
26853
|
+
],
|
|
26854
|
+
"supported_output_modalities": [
|
|
26855
|
+
"text",
|
|
26856
|
+
"audio"
|
|
26857
|
+
],
|
|
26858
|
+
"supports_audio_input": true,
|
|
26859
|
+
"supports_audio_output": true,
|
|
26860
|
+
"supports_function_calling": true,
|
|
26861
|
+
"supports_parallel_function_calling": true,
|
|
26862
|
+
"supports_system_messages": true,
|
|
26863
|
+
"supports_tool_choice": true
|
|
26864
|
+
},
|
|
26865
|
+
"azure/gpt-4o-transcribe-diarize": {
|
|
26866
|
+
"input_cost_per_audio_token": 6e-06,
|
|
26867
|
+
"input_cost_per_token": 2.5e-06,
|
|
26868
|
+
"litellm_provider": "azure",
|
|
26869
|
+
"max_input_tokens": 16000,
|
|
26870
|
+
"max_output_tokens": 2000,
|
|
26871
|
+
"mode": "audio_transcription",
|
|
26872
|
+
"output_cost_per_token": 1e-05,
|
|
26873
|
+
"supported_endpoints": [
|
|
26874
|
+
"/v1/audio/transcriptions"
|
|
26875
|
+
]
|
|
26876
|
+
},
|
|
26877
|
+
"azure/gpt-5.1-2025-11-13": {
|
|
26878
|
+
"cache_read_input_token_cost": 1.25e-07,
|
|
26879
|
+
"cache_read_input_token_cost_priority": 2.5e-07,
|
|
26880
|
+
"input_cost_per_token": 1.25e-06,
|
|
26881
|
+
"input_cost_per_token_priority": 2.5e-06,
|
|
26882
|
+
"litellm_provider": "azure",
|
|
26883
|
+
"max_input_tokens": 272000,
|
|
26884
|
+
"max_output_tokens": 128000,
|
|
26885
|
+
"max_tokens": 128000,
|
|
26886
|
+
"mode": "chat",
|
|
26887
|
+
"output_cost_per_token": 1e-05,
|
|
26888
|
+
"output_cost_per_token_priority": 2e-05,
|
|
26889
|
+
"supported_endpoints": [
|
|
26890
|
+
"/v1/chat/completions",
|
|
26891
|
+
"/v1/responses"
|
|
26892
|
+
],
|
|
26893
|
+
"supported_modalities": [
|
|
26894
|
+
"text",
|
|
26895
|
+
"image"
|
|
26896
|
+
],
|
|
26897
|
+
"supported_output_modalities": [
|
|
26898
|
+
"text",
|
|
26899
|
+
"image"
|
|
26900
|
+
],
|
|
26901
|
+
"supports_function_calling": true,
|
|
26902
|
+
"supports_native_streaming": true,
|
|
26903
|
+
"supports_parallel_function_calling": true,
|
|
26904
|
+
"supports_pdf_input": true,
|
|
26905
|
+
"supports_prompt_caching": true,
|
|
26906
|
+
"supports_reasoning": true,
|
|
26907
|
+
"supports_response_schema": true,
|
|
26908
|
+
"supports_system_messages": true,
|
|
26909
|
+
"supports_tool_choice": true,
|
|
26910
|
+
"supports_service_tier": true,
|
|
26911
|
+
"supports_vision": true
|
|
26912
|
+
},
|
|
26913
|
+
"azure/gpt-5.1-chat-2025-11-13": {
|
|
26914
|
+
"cache_read_input_token_cost": 1.25e-07,
|
|
26915
|
+
"cache_read_input_token_cost_priority": 2.5e-07,
|
|
26916
|
+
"input_cost_per_token": 1.25e-06,
|
|
26917
|
+
"input_cost_per_token_priority": 2.5e-06,
|
|
26918
|
+
"litellm_provider": "azure",
|
|
26919
|
+
"max_input_tokens": 128000,
|
|
26920
|
+
"max_output_tokens": 16384,
|
|
26921
|
+
"max_tokens": 16384,
|
|
26922
|
+
"mode": "chat",
|
|
26923
|
+
"output_cost_per_token": 1e-05,
|
|
26924
|
+
"output_cost_per_token_priority": 2e-05,
|
|
26925
|
+
"supported_endpoints": [
|
|
26926
|
+
"/v1/chat/completions",
|
|
26927
|
+
"/v1/responses"
|
|
26928
|
+
],
|
|
26929
|
+
"supported_modalities": [
|
|
26930
|
+
"text",
|
|
26931
|
+
"image"
|
|
26932
|
+
],
|
|
26933
|
+
"supported_output_modalities": [
|
|
26934
|
+
"text",
|
|
26935
|
+
"image"
|
|
26936
|
+
],
|
|
26937
|
+
"supports_function_calling": false,
|
|
26938
|
+
"supports_native_streaming": true,
|
|
26939
|
+
"supports_parallel_function_calling": false,
|
|
26940
|
+
"supports_pdf_input": true,
|
|
26941
|
+
"supports_prompt_caching": true,
|
|
26942
|
+
"supports_reasoning": true,
|
|
26943
|
+
"supports_response_schema": true,
|
|
26944
|
+
"supports_system_messages": true,
|
|
26945
|
+
"supports_tool_choice": false,
|
|
26946
|
+
"supports_vision": true
|
|
26947
|
+
},
|
|
26948
|
+
"azure/gpt-5.1-codex-2025-11-13": {
|
|
26949
|
+
"cache_read_input_token_cost": 1.25e-07,
|
|
26950
|
+
"cache_read_input_token_cost_priority": 2.5e-07,
|
|
26951
|
+
"input_cost_per_token": 1.25e-06,
|
|
26952
|
+
"input_cost_per_token_priority": 2.5e-06,
|
|
26953
|
+
"litellm_provider": "azure",
|
|
26954
|
+
"max_input_tokens": 272000,
|
|
26955
|
+
"max_output_tokens": 128000,
|
|
26956
|
+
"max_tokens": 128000,
|
|
26957
|
+
"mode": "responses",
|
|
26958
|
+
"output_cost_per_token": 1e-05,
|
|
26959
|
+
"output_cost_per_token_priority": 2e-05,
|
|
26960
|
+
"supported_endpoints": [
|
|
26961
|
+
"/v1/responses"
|
|
26962
|
+
],
|
|
26963
|
+
"supported_modalities": [
|
|
26964
|
+
"text",
|
|
26965
|
+
"image"
|
|
26966
|
+
],
|
|
26967
|
+
"supported_output_modalities": [
|
|
26968
|
+
"text"
|
|
26969
|
+
],
|
|
26970
|
+
"supports_function_calling": true,
|
|
26971
|
+
"supports_native_streaming": true,
|
|
26972
|
+
"supports_parallel_function_calling": true,
|
|
26973
|
+
"supports_pdf_input": true,
|
|
26974
|
+
"supports_prompt_caching": true,
|
|
26975
|
+
"supports_reasoning": true,
|
|
26976
|
+
"supports_response_schema": true,
|
|
26977
|
+
"supports_system_messages": false,
|
|
26978
|
+
"supports_tool_choice": true,
|
|
26979
|
+
"supports_vision": true
|
|
26980
|
+
},
|
|
26981
|
+
"azure/gpt-5.1-codex-mini-2025-11-13": {
|
|
26982
|
+
"cache_read_input_token_cost": 2.5e-08,
|
|
26983
|
+
"cache_read_input_token_cost_priority": 4.5e-08,
|
|
26984
|
+
"input_cost_per_token": 2.5e-07,
|
|
26985
|
+
"input_cost_per_token_priority": 4.5e-07,
|
|
26986
|
+
"litellm_provider": "azure",
|
|
26987
|
+
"max_input_tokens": 272000,
|
|
26988
|
+
"max_output_tokens": 128000,
|
|
26989
|
+
"max_tokens": 128000,
|
|
26990
|
+
"mode": "responses",
|
|
26991
|
+
"output_cost_per_token": 2e-06,
|
|
26992
|
+
"output_cost_per_token_priority": 3.6e-06,
|
|
26993
|
+
"supported_endpoints": [
|
|
26994
|
+
"/v1/responses"
|
|
26995
|
+
],
|
|
26996
|
+
"supported_modalities": [
|
|
26997
|
+
"text",
|
|
26998
|
+
"image"
|
|
26999
|
+
],
|
|
27000
|
+
"supported_output_modalities": [
|
|
27001
|
+
"text"
|
|
27002
|
+
],
|
|
27003
|
+
"supports_function_calling": true,
|
|
27004
|
+
"supports_native_streaming": true,
|
|
27005
|
+
"supports_parallel_function_calling": true,
|
|
27006
|
+
"supports_pdf_input": true,
|
|
27007
|
+
"supports_prompt_caching": true,
|
|
27008
|
+
"supports_reasoning": true,
|
|
27009
|
+
"supports_response_schema": true,
|
|
27010
|
+
"supports_system_messages": false,
|
|
27011
|
+
"supports_tool_choice": true,
|
|
27012
|
+
"supports_vision": true
|
|
26738
27013
|
}
|
|
26739
27014
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.355
|
|
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
|