tokencostauto 0.1.333__py3-none-any.whl → 0.1.336__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.
- tokencostauto/model_prices.json +67 -1
- {tokencostauto-0.1.333.dist-info → tokencostauto-0.1.336.dist-info}/METADATA +1 -1
- tokencostauto-0.1.336.dist-info/RECORD +9 -0
- tokencostauto-0.1.333.dist-info/RECORD +0 -9
- {tokencostauto-0.1.333.dist-info → tokencostauto-0.1.336.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.333.dist-info → tokencostauto-0.1.336.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.333.dist-info → tokencostauto-0.1.336.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -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",
|
|
@@ -25709,5 +25709,71 @@
|
|
|
25709
25709
|
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#partner-models",
|
|
25710
25710
|
"supports_function_calling": true,
|
|
25711
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
|
+
]
|
|
25712
25778
|
}
|
|
25713
25779
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.336
|
|
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=91qlOz1j-wg-HV61DEUFyQSa5I-sIN7pCV2JoiKlIaE,918499
|
|
5
|
+
tokencostauto-0.1.336.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
+
tokencostauto-0.1.336.dist-info/METADATA,sha256=NxDICby3LnwmKAr2dVgF_rpe4ScE-1WCfl5lgEZ__mA,204076
|
|
7
|
+
tokencostauto-0.1.336.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
tokencostauto-0.1.336.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
+
tokencostauto-0.1.336.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=T7zCCyguwblm08JQ9fG5MlQOUyMXIf73qu6JI66f8ac,916370
|
|
5
|
-
tokencostauto-0.1.333.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.333.dist-info/METADATA,sha256=dS_Y50VwoZJ-wBWLr60WmkKuASXB1XsBUPMEcf_wVds,204076
|
|
7
|
-
tokencostauto-0.1.333.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
tokencostauto-0.1.333.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.333.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|