tokencostauto 0.1.64__py3-none-any.whl → 0.1.68__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 +36 -0
- {tokencostauto-0.1.64.dist-info → tokencostauto-0.1.68.dist-info}/METADATA +1 -1
- tokencostauto-0.1.68.dist-info/RECORD +9 -0
- tokencostauto-0.1.64.dist-info/RECORD +0 -9
- {tokencostauto-0.1.64.dist-info → tokencostauto-0.1.68.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.64.dist-info → tokencostauto-0.1.68.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.64.dist-info → tokencostauto-0.1.68.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
@@ -14115,5 +14115,41 @@
|
|
14115
14115
|
"supports_function_calling": true,
|
14116
14116
|
"supports_assistant_prefill": true,
|
14117
14117
|
"supports_tool_choice": true
|
14118
|
+
},
|
14119
|
+
"embed-v4.0": {
|
14120
|
+
"max_tokens": 1024,
|
14121
|
+
"max_input_tokens": 1024,
|
14122
|
+
"input_cost_per_token": 1.2e-07,
|
14123
|
+
"input_cost_per_image": 4.7e-07,
|
14124
|
+
"output_cost_per_token": 0.0,
|
14125
|
+
"litellm_provider": "cohere",
|
14126
|
+
"mode": "embedding",
|
14127
|
+
"supports_image_input": true,
|
14128
|
+
"supports_embedding_image_input": true,
|
14129
|
+
"metadata": {
|
14130
|
+
"notes": "'supports_image_input' is a deprecated field. Use 'supports_embedding_image_input' instead."
|
14131
|
+
}
|
14132
|
+
},
|
14133
|
+
"cerebras/qwen-3-32b": {
|
14134
|
+
"max_tokens": 128000,
|
14135
|
+
"max_input_tokens": 128000,
|
14136
|
+
"max_output_tokens": 128000,
|
14137
|
+
"input_cost_per_token": 4e-07,
|
14138
|
+
"output_cost_per_token": 8e-07,
|
14139
|
+
"litellm_provider": "cerebras",
|
14140
|
+
"mode": "chat",
|
14141
|
+
"supports_function_calling": true,
|
14142
|
+
"supports_tool_choice": true,
|
14143
|
+
"source": "https://inference-docs.cerebras.ai/support/pricing"
|
14144
|
+
},
|
14145
|
+
"gemini-embedding-001": {
|
14146
|
+
"max_tokens": 2048,
|
14147
|
+
"max_input_tokens": 2048,
|
14148
|
+
"output_vector_size": 3072,
|
14149
|
+
"input_cost_per_token": 1.5e-07,
|
14150
|
+
"output_cost_per_token": 0,
|
14151
|
+
"litellm_provider": "vertex_ai-embedding-models",
|
14152
|
+
"mode": "embedding",
|
14153
|
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models"
|
14118
14154
|
}
|
14119
14155
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.68
|
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=CC8PYnTFWlm9eruHvpnsD6CW3EHXKG_1TU-f3s7Eods,506012
|
5
|
+
tokencostauto-0.1.68.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.68.dist-info/METADATA,sha256=xa9ckosvihu7UyfTi1ao4b9dXNjzSAcBRGi9edjCeXk,204075
|
7
|
+
tokencostauto-0.1.68.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tokencostauto-0.1.68.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.68.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=hT3fLBDov4gSzNcC1B7Rwz9ZTQUtGBNaG6DUrG6rpDI,504683
|
5
|
-
tokencostauto-0.1.64.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
-
tokencostauto-0.1.64.dist-info/METADATA,sha256=P34SoXraQBUl_xXruhb6b38wv2-YyVQ--6L7386G4hc,204075
|
7
|
-
tokencostauto-0.1.64.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
-
tokencostauto-0.1.64.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
-
tokencostauto-0.1.64.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|