tokencostauto 0.1.359__tar.gz → 0.1.361__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.359
3
+ Version: 0.1.361
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
@@ -11,7 +11,7 @@ tokencostauto = ["model_prices.json"]
11
11
  [project]
12
12
 
13
13
  name = "tokencostauto"
14
- version = "0.1.359"
14
+ version = "0.1.361"
15
15
 
16
16
  authors = [
17
17
  { name = "Trisha Pan", email = "trishaepan@gmail.com" },
@@ -27572,10 +27572,52 @@
27572
27572
  "supports_web_search": true
27573
27573
  },
27574
27574
  "vertex_ai/gemini-2.5-flash-image": {
27575
+ "cache_read_input_token_cost": 3e-08,
27576
+ "input_cost_per_audio_token": 1e-06,
27577
+ "input_cost_per_token": 3e-07,
27575
27578
  "litellm_provider": "vertex_ai-language-models",
27579
+ "max_audio_length_hours": 8.4,
27580
+ "max_audio_per_prompt": 1,
27581
+ "max_images_per_prompt": 3000,
27582
+ "max_input_tokens": 32768,
27583
+ "max_output_tokens": 32768,
27584
+ "max_tokens": 32768,
27585
+ "max_pdf_size_mb": 30,
27586
+ "max_video_length": 1,
27587
+ "max_videos_per_prompt": 10,
27576
27588
  "mode": "image_generation",
27577
27589
  "output_cost_per_image": 0.039,
27578
- "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/image-generation#edit-an-image"
27590
+ "output_cost_per_reasoning_token": 2.5e-06,
27591
+ "output_cost_per_token": 2.5e-06,
27592
+ "rpm": 100000,
27593
+ "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/image-generation#edit-an-image",
27594
+ "supported_endpoints": [
27595
+ "/v1/chat/completions",
27596
+ "/v1/completions",
27597
+ "/v1/batch"
27598
+ ],
27599
+ "supported_modalities": [
27600
+ "text",
27601
+ "image",
27602
+ "audio",
27603
+ "video"
27604
+ ],
27605
+ "supported_output_modalities": [
27606
+ "text",
27607
+ "image"
27608
+ ],
27609
+ "supports_audio_output": false,
27610
+ "supports_function_calling": true,
27611
+ "supports_parallel_function_calling": true,
27612
+ "supports_pdf_input": true,
27613
+ "supports_prompt_caching": true,
27614
+ "supports_response_schema": true,
27615
+ "supports_system_messages": true,
27616
+ "supports_tool_choice": true,
27617
+ "supports_url_context": true,
27618
+ "supports_vision": true,
27619
+ "supports_web_search": false,
27620
+ "tpm": 8000000
27579
27621
  },
27580
27622
  "vertex_ai/imagen-3.0-capability-001": {
27581
27623
  "litellm_provider": "vertex_ai-image-models",
@@ -27642,6 +27684,8 @@
27642
27684
  "mode": "image_generation",
27643
27685
  "output_cost_per_image": 0.134,
27644
27686
  "output_cost_per_token": 1.2e-05,
27687
+ "rpm": 1000,
27688
+ "tpm": 4000000,
27645
27689
  "output_cost_per_token_batches": 6e-06,
27646
27690
  "source": "https://ai.google.dev/gemini-api/docs/pricing",
27647
27691
  "supported_endpoints": [
@@ -27836,5 +27880,96 @@
27836
27880
  "supports_tool_choice": true,
27837
27881
  "supports_vision": true,
27838
27882
  "supports_web_search": true
27883
+ },
27884
+ "anthropic.claude-sonnet-4-5-20250929-v1:0": {
27885
+ "cache_creation_input_token_cost": 3.75e-06,
27886
+ "cache_read_input_token_cost": 3e-07,
27887
+ "input_cost_per_token": 3e-06,
27888
+ "input_cost_per_token_above_200k_tokens": 6e-06,
27889
+ "output_cost_per_token_above_200k_tokens": 2.25e-05,
27890
+ "cache_creation_input_token_cost_above_200k_tokens": 7.5e-06,
27891
+ "cache_read_input_token_cost_above_200k_tokens": 6e-07,
27892
+ "litellm_provider": "bedrock_converse",
27893
+ "max_input_tokens": 200000,
27894
+ "max_output_tokens": 64000,
27895
+ "max_tokens": 64000,
27896
+ "mode": "chat",
27897
+ "output_cost_per_token": 1.5e-05,
27898
+ "search_context_cost_per_query": {
27899
+ "search_context_size_high": 0.01,
27900
+ "search_context_size_low": 0.01,
27901
+ "search_context_size_medium": 0.01
27902
+ },
27903
+ "supports_assistant_prefill": true,
27904
+ "supports_computer_use": true,
27905
+ "supports_function_calling": true,
27906
+ "supports_pdf_input": true,
27907
+ "supports_prompt_caching": true,
27908
+ "supports_reasoning": true,
27909
+ "supports_response_schema": true,
27910
+ "supports_tool_choice": true,
27911
+ "supports_vision": true,
27912
+ "tool_use_system_prompt_tokens": 159
27913
+ },
27914
+ "bedrock/us-gov-east-1/claude-sonnet-4-5-20250929-v1:0": {
27915
+ "input_cost_per_token": 3.3e-06,
27916
+ "litellm_provider": "bedrock",
27917
+ "max_input_tokens": 200000,
27918
+ "max_output_tokens": 4096,
27919
+ "max_tokens": 4096,
27920
+ "mode": "chat",
27921
+ "output_cost_per_token": 1.65e-05,
27922
+ "supports_assistant_prefill": true,
27923
+ "supports_computer_use": true,
27924
+ "supports_function_calling": true,
27925
+ "supports_pdf_input": true,
27926
+ "supports_prompt_caching": true,
27927
+ "supports_reasoning": true,
27928
+ "supports_response_schema": true,
27929
+ "supports_tool_choice": true,
27930
+ "supports_vision": true
27931
+ },
27932
+ "bedrock/us-gov-west-1/claude-sonnet-4-5-20250929-v1:0": {
27933
+ "input_cost_per_token": 3.3e-06,
27934
+ "litellm_provider": "bedrock",
27935
+ "max_input_tokens": 200000,
27936
+ "max_output_tokens": 4096,
27937
+ "max_tokens": 4096,
27938
+ "mode": "chat",
27939
+ "output_cost_per_token": 1.65e-05,
27940
+ "supports_assistant_prefill": true,
27941
+ "supports_computer_use": true,
27942
+ "supports_function_calling": true,
27943
+ "supports_pdf_input": true,
27944
+ "supports_prompt_caching": true,
27945
+ "supports_reasoning": true,
27946
+ "supports_response_schema": true,
27947
+ "supports_tool_choice": true,
27948
+ "supports_vision": true
27949
+ },
27950
+ "claude-sonnet-4-5-20250929-v1:0": {
27951
+ "cache_creation_input_token_cost": 3.75e-06,
27952
+ "cache_read_input_token_cost": 3e-07,
27953
+ "input_cost_per_token": 3e-06,
27954
+ "input_cost_per_token_above_200k_tokens": 6e-06,
27955
+ "output_cost_per_token_above_200k_tokens": 2.25e-05,
27956
+ "cache_creation_input_token_cost_above_200k_tokens": 7.5e-06,
27957
+ "cache_read_input_token_cost_above_200k_tokens": 6e-07,
27958
+ "litellm_provider": "bedrock",
27959
+ "max_input_tokens": 200000,
27960
+ "max_output_tokens": 64000,
27961
+ "max_tokens": 64000,
27962
+ "mode": "chat",
27963
+ "output_cost_per_token": 1.5e-05,
27964
+ "supports_assistant_prefill": true,
27965
+ "supports_computer_use": true,
27966
+ "supports_function_calling": true,
27967
+ "supports_pdf_input": true,
27968
+ "supports_prompt_caching": true,
27969
+ "supports_reasoning": true,
27970
+ "supports_response_schema": true,
27971
+ "supports_tool_choice": true,
27972
+ "supports_vision": true,
27973
+ "tool_use_system_prompt_tokens": 159
27839
27974
  }
27840
27975
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.359
3
+ Version: 0.1.361
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