tokencostauto 0.1.331__tar.gz → 0.1.335__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.331/tokencostauto.egg-info → tokencostauto-0.1.335}/PKG-INFO +1 -1
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/pyproject.toml +1 -1
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/tokencostauto/model_prices.json +88 -6
- {tokencostauto-0.1.331 → tokencostauto-0.1.335/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/LICENSE +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/MANIFEST.in +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/README.md +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/setup.cfg +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.331 → tokencostauto-0.1.335}/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.335
|
|
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
|
|
@@ -15602,7 +15602,7 @@
|
|
|
15602
15602
|
"tool_use_system_prompt_tokens": 159
|
|
15603
15603
|
},
|
|
15604
15604
|
"gemini/gemini-2.5-flash": {
|
|
15605
|
-
"cache_read_input_token_cost":
|
|
15605
|
+
"cache_read_input_token_cost": 3e-08,
|
|
15606
15606
|
"input_cost_per_audio_token": 1e-06,
|
|
15607
15607
|
"input_cost_per_token": 3e-07,
|
|
15608
15608
|
"litellm_provider": "gemini",
|
|
@@ -24877,19 +24877,21 @@
|
|
|
24877
24877
|
"supports_vision": false
|
|
24878
24878
|
},
|
|
24879
24879
|
"global.anthropic.claude-haiku-4-5-20251001-v1:0": {
|
|
24880
|
-
"cache_creation_input_token_cost": 1.
|
|
24881
|
-
"cache_read_input_token_cost": 1e-07,
|
|
24882
|
-
"input_cost_per_token": 1e-06,
|
|
24880
|
+
"cache_creation_input_token_cost": 1.375e-06,
|
|
24881
|
+
"cache_read_input_token_cost": 1.1e-07,
|
|
24882
|
+
"input_cost_per_token": 1.1e-06,
|
|
24883
24883
|
"litellm_provider": "bedrock_converse",
|
|
24884
24884
|
"max_input_tokens": 200000,
|
|
24885
24885
|
"max_output_tokens": 8192,
|
|
24886
24886
|
"max_tokens": 8192,
|
|
24887
24887
|
"mode": "chat",
|
|
24888
|
-
"output_cost_per_token": 5e-06,
|
|
24888
|
+
"output_cost_per_token": 5.5e-06,
|
|
24889
|
+
"source": "https://aws.amazon.com/about-aws/whats-new/2025/10/claude-4-5-haiku-anthropic-amazon-bedrock",
|
|
24889
24890
|
"supports_assistant_prefill": true,
|
|
24890
24891
|
"supports_function_calling": true,
|
|
24891
24892
|
"supports_pdf_input": true,
|
|
24892
24893
|
"supports_prompt_caching": true,
|
|
24894
|
+
"supports_reasoning": true,
|
|
24893
24895
|
"supports_response_schema": true,
|
|
24894
24896
|
"supports_tool_choice": true,
|
|
24895
24897
|
"supports_vision": true,
|
|
@@ -25460,6 +25462,7 @@
|
|
|
25460
25462
|
"mode": "chat",
|
|
25461
25463
|
"output_cost_per_audio_token": 1.2e-05,
|
|
25462
25464
|
"output_cost_per_token": 2e-06,
|
|
25465
|
+
"rpm": 100000,
|
|
25463
25466
|
"source": "https://ai.google.dev/gemini-api/docs/pricing",
|
|
25464
25467
|
"supported_endpoints": [
|
|
25465
25468
|
"/v1/chat/completions",
|
|
@@ -25486,7 +25489,8 @@
|
|
|
25486
25489
|
"supports_tool_choice": true,
|
|
25487
25490
|
"supports_url_context": true,
|
|
25488
25491
|
"supports_vision": true,
|
|
25489
|
-
"supports_web_search": true
|
|
25492
|
+
"supports_web_search": true,
|
|
25493
|
+
"tpm": 8000000
|
|
25490
25494
|
},
|
|
25491
25495
|
"azure/gpt-image-1-mini": {
|
|
25492
25496
|
"input_cost_per_pixel": 8.0566406e-09,
|
|
@@ -25693,5 +25697,83 @@
|
|
|
25693
25697
|
"supports_system_messages": true,
|
|
25694
25698
|
"supports_tool_choice": true,
|
|
25695
25699
|
"supports_vision": true
|
|
25700
|
+
},
|
|
25701
|
+
"vertex_ai/minimaxai/minimax-m2-maas": {
|
|
25702
|
+
"input_cost_per_token": 3e-07,
|
|
25703
|
+
"litellm_provider": "vertex_ai-minimax_models",
|
|
25704
|
+
"max_input_tokens": 196608,
|
|
25705
|
+
"max_output_tokens": 196608,
|
|
25706
|
+
"max_tokens": 196608,
|
|
25707
|
+
"mode": "chat",
|
|
25708
|
+
"output_cost_per_token": 1.2e-06,
|
|
25709
|
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#partner-models",
|
|
25710
|
+
"supports_function_calling": true,
|
|
25711
|
+
"supports_tool_choice": true
|
|
25712
|
+
},
|
|
25713
|
+
"cohere/embed-v4.0": {
|
|
25714
|
+
"input_cost_per_token": 1.2e-07,
|
|
25715
|
+
"litellm_provider": "cohere",
|
|
25716
|
+
"max_input_tokens": 128000,
|
|
25717
|
+
"max_tokens": 128000,
|
|
25718
|
+
"mode": "embedding",
|
|
25719
|
+
"output_cost_per_token": 0.0,
|
|
25720
|
+
"output_vector_size": 1536,
|
|
25721
|
+
"supports_embedding_image_input": true
|
|
25722
|
+
},
|
|
25723
|
+
"gemini/veo-3.1-fast-generate-preview": {
|
|
25724
|
+
"litellm_provider": "gemini",
|
|
25725
|
+
"max_input_tokens": 1024,
|
|
25726
|
+
"max_tokens": 1024,
|
|
25727
|
+
"mode": "video_generation",
|
|
25728
|
+
"output_cost_per_second": 0.15,
|
|
25729
|
+
"source": "https://ai.google.dev/gemini-api/docs/video",
|
|
25730
|
+
"supported_modalities": [
|
|
25731
|
+
"text"
|
|
25732
|
+
],
|
|
25733
|
+
"supported_output_modalities": [
|
|
25734
|
+
"video"
|
|
25735
|
+
]
|
|
25736
|
+
},
|
|
25737
|
+
"gemini/veo-3.1-generate-preview": {
|
|
25738
|
+
"litellm_provider": "gemini",
|
|
25739
|
+
"max_input_tokens": 1024,
|
|
25740
|
+
"max_tokens": 1024,
|
|
25741
|
+
"mode": "video_generation",
|
|
25742
|
+
"output_cost_per_second": 0.4,
|
|
25743
|
+
"source": "https://ai.google.dev/gemini-api/docs/video",
|
|
25744
|
+
"supported_modalities": [
|
|
25745
|
+
"text"
|
|
25746
|
+
],
|
|
25747
|
+
"supported_output_modalities": [
|
|
25748
|
+
"video"
|
|
25749
|
+
]
|
|
25750
|
+
},
|
|
25751
|
+
"vertex_ai/veo-3.1-generate-preview": {
|
|
25752
|
+
"litellm_provider": "vertex_ai-video-models",
|
|
25753
|
+
"max_input_tokens": 1024,
|
|
25754
|
+
"max_tokens": 1024,
|
|
25755
|
+
"mode": "video_generation",
|
|
25756
|
+
"output_cost_per_second": 0.4,
|
|
25757
|
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/veo",
|
|
25758
|
+
"supported_modalities": [
|
|
25759
|
+
"text"
|
|
25760
|
+
],
|
|
25761
|
+
"supported_output_modalities": [
|
|
25762
|
+
"video"
|
|
25763
|
+
]
|
|
25764
|
+
},
|
|
25765
|
+
"vertex_ai/veo-3.1-fast-generate-preview": {
|
|
25766
|
+
"litellm_provider": "vertex_ai-video-models",
|
|
25767
|
+
"max_input_tokens": 1024,
|
|
25768
|
+
"max_tokens": 1024,
|
|
25769
|
+
"mode": "video_generation",
|
|
25770
|
+
"output_cost_per_second": 0.15,
|
|
25771
|
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/veo",
|
|
25772
|
+
"supported_modalities": [
|
|
25773
|
+
"text"
|
|
25774
|
+
],
|
|
25775
|
+
"supported_output_modalities": [
|
|
25776
|
+
"video"
|
|
25777
|
+
]
|
|
25696
25778
|
}
|
|
25697
25779
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.335
|
|
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
|