tokencostauto 0.1.338__tar.gz → 0.1.340__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.338
3
+ Version: 0.1.340
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.338"
14
+ version = "0.1.340"
15
15
 
16
16
  authors = [
17
17
  { name = "Trisha Pan", email = "trishaepan@gmail.com" },
@@ -25789,5 +25789,20 @@
25789
25789
  "supports_function_calling": true,
25790
25790
  "supports_tool_choice": true,
25791
25791
  "supports_web_search": true
25792
+ },
25793
+ "mistral/magistral-medium-2509": {
25794
+ "input_cost_per_token": 2e-06,
25795
+ "litellm_provider": "mistral",
25796
+ "max_input_tokens": 40000,
25797
+ "max_output_tokens": 40000,
25798
+ "max_tokens": 40000,
25799
+ "mode": "chat",
25800
+ "output_cost_per_token": 5e-06,
25801
+ "source": "https://mistral.ai/news/magistral",
25802
+ "supports_assistant_prefill": true,
25803
+ "supports_function_calling": true,
25804
+ "supports_reasoning": true,
25805
+ "supports_response_schema": true,
25806
+ "supports_tool_choice": true
25792
25807
  }
25793
25808
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.338
3
+ Version: 0.1.340
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