tokencostauto 0.1.85__tar.gz → 0.1.87__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.85/tokencostauto.egg-info → tokencostauto-0.1.87}/PKG-INFO +1 -1
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/pyproject.toml +1 -1
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/tokencostauto/model_prices.json +90 -3
- {tokencostauto-0.1.85 → tokencostauto-0.1.87/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/LICENSE +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/MANIFEST.in +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/README.md +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/setup.cfg +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.85 → tokencostauto-0.1.87}/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.87
|
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
|
@@ -14497,11 +14497,11 @@
|
|
14497
14497
|
"max_tokens": 40000,
|
14498
14498
|
"max_input_tokens": 40000,
|
14499
14499
|
"max_output_tokens": 40000,
|
14500
|
-
"input_cost_per_token":
|
14501
|
-
"output_cost_per_token":
|
14500
|
+
"input_cost_per_token": 5e-07,
|
14501
|
+
"output_cost_per_token": 1.5e-06,
|
14502
14502
|
"litellm_provider": "mistral",
|
14503
14503
|
"mode": "chat",
|
14504
|
-
"source": "https://mistral.ai/
|
14504
|
+
"source": "https://mistral.ai/pricing#api-pricing",
|
14505
14505
|
"supports_function_calling": true,
|
14506
14506
|
"supports_assistant_prefill": true,
|
14507
14507
|
"supports_tool_choice": true,
|
@@ -15080,5 +15080,92 @@
|
|
15080
15080
|
"supported_endpoints": [
|
15081
15081
|
"/v1/audio/transcriptions"
|
15082
15082
|
]
|
15083
|
+
},
|
15084
|
+
"mistral/magistral-medium-latest": {
|
15085
|
+
"max_tokens": 40000,
|
15086
|
+
"max_input_tokens": 40000,
|
15087
|
+
"max_output_tokens": 40000,
|
15088
|
+
"input_cost_per_token": 2e-06,
|
15089
|
+
"output_cost_per_token": 5e-06,
|
15090
|
+
"litellm_provider": "mistral",
|
15091
|
+
"mode": "chat",
|
15092
|
+
"source": "https://mistral.ai/news/magistral",
|
15093
|
+
"supports_function_calling": true,
|
15094
|
+
"supports_assistant_prefill": true,
|
15095
|
+
"supports_tool_choice": true,
|
15096
|
+
"supports_reasoning": true
|
15097
|
+
},
|
15098
|
+
"mistral/magistral-small-latest": {
|
15099
|
+
"max_tokens": 40000,
|
15100
|
+
"max_input_tokens": 40000,
|
15101
|
+
"max_output_tokens": 40000,
|
15102
|
+
"input_cost_per_token": 5e-07,
|
15103
|
+
"output_cost_per_token": 1.5e-06,
|
15104
|
+
"litellm_provider": "mistral",
|
15105
|
+
"mode": "chat",
|
15106
|
+
"source": "https://mistral.ai/pricing#api-pricing",
|
15107
|
+
"supports_function_calling": true,
|
15108
|
+
"supports_assistant_prefill": true,
|
15109
|
+
"supports_tool_choice": true,
|
15110
|
+
"supports_reasoning": true
|
15111
|
+
},
|
15112
|
+
"xai/grok-3-latest": {
|
15113
|
+
"max_tokens": 131072,
|
15114
|
+
"max_input_tokens": 131072,
|
15115
|
+
"max_output_tokens": 131072,
|
15116
|
+
"input_cost_per_token": 3e-06,
|
15117
|
+
"output_cost_per_token": 1.5e-05,
|
15118
|
+
"litellm_provider": "xai",
|
15119
|
+
"mode": "chat",
|
15120
|
+
"supports_function_calling": true,
|
15121
|
+
"supports_tool_choice": true,
|
15122
|
+
"supports_response_schema": false,
|
15123
|
+
"source": "https://x.ai/api#pricing",
|
15124
|
+
"supports_web_search": true
|
15125
|
+
},
|
15126
|
+
"xai/grok-3-mini": {
|
15127
|
+
"max_tokens": 131072,
|
15128
|
+
"max_input_tokens": 131072,
|
15129
|
+
"max_output_tokens": 131072,
|
15130
|
+
"input_cost_per_token": 3e-07,
|
15131
|
+
"output_cost_per_token": 5e-07,
|
15132
|
+
"litellm_provider": "xai",
|
15133
|
+
"mode": "chat",
|
15134
|
+
"supports_function_calling": true,
|
15135
|
+
"supports_tool_choice": true,
|
15136
|
+
"supports_reasoning": true,
|
15137
|
+
"supports_response_schema": false,
|
15138
|
+
"source": "https://x.ai/api#pricing",
|
15139
|
+
"supports_web_search": true
|
15140
|
+
},
|
15141
|
+
"xai/grok-3-mini-latest": {
|
15142
|
+
"max_tokens": 131072,
|
15143
|
+
"max_input_tokens": 131072,
|
15144
|
+
"max_output_tokens": 131072,
|
15145
|
+
"input_cost_per_token": 3e-07,
|
15146
|
+
"output_cost_per_token": 5e-07,
|
15147
|
+
"litellm_provider": "xai",
|
15148
|
+
"mode": "chat",
|
15149
|
+
"supports_function_calling": true,
|
15150
|
+
"supports_tool_choice": true,
|
15151
|
+
"supports_reasoning": true,
|
15152
|
+
"supports_response_schema": false,
|
15153
|
+
"source": "https://x.ai/api#pricing",
|
15154
|
+
"supports_web_search": true
|
15155
|
+
},
|
15156
|
+
"xai/grok-3-mini-fast": {
|
15157
|
+
"max_tokens": 131072,
|
15158
|
+
"max_input_tokens": 131072,
|
15159
|
+
"max_output_tokens": 131072,
|
15160
|
+
"input_cost_per_token": 6e-07,
|
15161
|
+
"output_cost_per_token": 4e-06,
|
15162
|
+
"litellm_provider": "xai",
|
15163
|
+
"mode": "chat",
|
15164
|
+
"supports_function_calling": true,
|
15165
|
+
"supports_tool_choice": true,
|
15166
|
+
"supports_reasoning": true,
|
15167
|
+
"supports_response_schema": false,
|
15168
|
+
"source": "https://x.ai/api#pricing",
|
15169
|
+
"supports_web_search": true
|
15083
15170
|
}
|
15084
15171
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.87
|
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
|