tokencostauto 0.1.55__py3-none-any.whl → 0.1.58__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 +33 -3
- {tokencostauto-0.1.55.dist-info → tokencostauto-0.1.58.dist-info}/METADATA +1 -1
- tokencostauto-0.1.58.dist-info/RECORD +9 -0
- {tokencostauto-0.1.55.dist-info → tokencostauto-0.1.58.dist-info}/WHEEL +1 -1
- tokencostauto-0.1.55.dist-info/RECORD +0 -9
- {tokencostauto-0.1.55.dist-info → tokencostauto-0.1.58.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.55.dist-info → tokencostauto-0.1.58.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
@@ -1455,12 +1455,13 @@
|
|
1455
1455
|
},
|
1456
1456
|
"mistral/mistral-medium-latest": {
|
1457
1457
|
"max_tokens": 8191,
|
1458
|
-
"max_input_tokens":
|
1458
|
+
"max_input_tokens": 131072,
|
1459
1459
|
"max_output_tokens": 8191,
|
1460
|
-
"input_cost_per_token":
|
1461
|
-
"output_cost_per_token":
|
1460
|
+
"input_cost_per_token": 4e-07,
|
1461
|
+
"output_cost_per_token": 2e-06,
|
1462
1462
|
"litellm_provider": "mistral",
|
1463
1463
|
"mode": "chat",
|
1464
|
+
"supports_function_calling": true,
|
1464
1465
|
"supports_assistant_prefill": true,
|
1465
1466
|
"supports_tool_choice": true
|
1466
1467
|
},
|
@@ -14056,5 +14057,34 @@
|
|
14056
14057
|
"supports_function_calling": true,
|
14057
14058
|
"supports_assistant_prefill": true,
|
14058
14059
|
"supports_tool_choice": true
|
14060
|
+
},
|
14061
|
+
"gpt-4o-mini-audio-preview": {
|
14062
|
+
"max_tokens": 16384,
|
14063
|
+
"max_input_tokens": 128000,
|
14064
|
+
"max_output_tokens": 16384,
|
14065
|
+
"input_cost_per_token": 1.5e-07,
|
14066
|
+
"input_cost_per_audio_token": 1e-05,
|
14067
|
+
"output_cost_per_token": 6e-07,
|
14068
|
+
"output_cost_per_audio_token": 2e-05,
|
14069
|
+
"litellm_provider": "openai",
|
14070
|
+
"mode": "chat",
|
14071
|
+
"supports_function_calling": true,
|
14072
|
+
"supports_parallel_function_calling": true,
|
14073
|
+
"supports_audio_input": true,
|
14074
|
+
"supports_audio_output": true,
|
14075
|
+
"supports_system_messages": true,
|
14076
|
+
"supports_tool_choice": true
|
14077
|
+
},
|
14078
|
+
"mistral/mistral-medium-2505": {
|
14079
|
+
"max_tokens": 8191,
|
14080
|
+
"max_input_tokens": 131072,
|
14081
|
+
"max_output_tokens": 8191,
|
14082
|
+
"input_cost_per_token": 4e-07,
|
14083
|
+
"output_cost_per_token": 2e-06,
|
14084
|
+
"litellm_provider": "mistral",
|
14085
|
+
"mode": "chat",
|
14086
|
+
"supports_function_calling": true,
|
14087
|
+
"supports_assistant_prefill": true,
|
14088
|
+
"supports_tool_choice": true
|
14059
14089
|
}
|
14060
14090
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.58
|
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=3rbPGU-YWGf9Yly0qFEcS8WnZH_2NKeWkFgwJelhhcg,503135
|
5
|
+
tokencostauto-0.1.58.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.58.dist-info/METADATA,sha256=9yL2ZWcAXnNcbihu0lIIgFwh_hKT2p3u8QqAm3WF7Bs,204075
|
7
|
+
tokencostauto-0.1.58.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tokencostauto-0.1.58.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.58.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=l6MfFUgti3etZPNO7lV5gRD_j4al-Pg20CUIiQzkCwg,502058
|
5
|
-
tokencostauto-0.1.55.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
-
tokencostauto-0.1.55.dist-info/METADATA,sha256=zSyKZw_b3AVy1I7bw94F5VCL8TaHAnUDkIUPZo1CXxM,204075
|
7
|
-
tokencostauto-0.1.55.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
8
|
-
tokencostauto-0.1.55.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
-
tokencostauto-0.1.55.dist-info/RECORD,,
|
File without changes
|
File without changes
|