tokencostauto 0.1.387__py3-none-any.whl → 0.1.389__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.
@@ -24215,7 +24215,7 @@
24215
24215
  "input_cost_per_image_token": 2.5e-06,
24216
24216
  "input_cost_per_token": 2e-06,
24217
24217
  "litellm_provider": "openai",
24218
- "mode": "chat",
24218
+ "mode": "image_generation",
24219
24219
  "output_cost_per_image_token": 8e-06,
24220
24220
  "supported_endpoints": [
24221
24221
  "/v1/images/generations",
@@ -28766,6 +28766,7 @@
28766
28766
  "source": "https://docs.z.ai/guides/overview/pricing"
28767
28767
  },
28768
28768
  "amazon.nova-2-lite-v1:0": {
28769
+ "cache_read_input_token_cost": 7.5e-08,
28769
28770
  "input_cost_per_token": 3e-07,
28770
28771
  "litellm_provider": "bedrock_converse",
28771
28772
  "max_input_tokens": 1000000,
@@ -28782,7 +28783,8 @@
28782
28783
  "supports_vision": true
28783
28784
  },
28784
28785
  "apac.amazon.nova-2-lite-v1:0": {
28785
- "input_cost_per_token": 6e-08,
28786
+ "cache_read_input_token_cost": 8.25e-08,
28787
+ "input_cost_per_token": 3.3e-07,
28786
28788
  "litellm_provider": "bedrock_converse",
28787
28789
  "max_input_tokens": 1000000,
28788
28790
  "max_output_tokens": 64000,
@@ -28798,7 +28800,8 @@
28798
28800
  "supports_vision": true
28799
28801
  },
28800
28802
  "eu.amazon.nova-2-lite-v1:0": {
28801
- "input_cost_per_token": 6e-08,
28803
+ "cache_read_input_token_cost": 8.25e-08,
28804
+ "input_cost_per_token": 3.3e-07,
28802
28805
  "litellm_provider": "bedrock_converse",
28803
28806
  "max_input_tokens": 1000000,
28804
28807
  "max_output_tokens": 64000,
@@ -28814,7 +28817,8 @@
28814
28817
  "supports_vision": true
28815
28818
  },
28816
28819
  "us.amazon.nova-2-lite-v1:0": {
28817
- "input_cost_per_token": 6e-08,
28820
+ "cache_read_input_token_cost": 8.25e-08,
28821
+ "input_cost_per_token": 3.3e-07,
28818
28822
  "litellm_provider": "bedrock_converse",
28819
28823
  "max_input_tokens": 1000000,
28820
28824
  "max_output_tokens": 64000,
@@ -29149,5 +29153,225 @@
29149
29153
  "supports_prompt_caching": true,
29150
29154
  "supports_response_schema": true,
29151
29155
  "supports_vision": true
29156
+ },
29157
+ "google.gemma-3-12b-it": {
29158
+ "input_cost_per_token": 9e-08,
29159
+ "litellm_provider": "bedrock_converse",
29160
+ "max_input_tokens": 128000,
29161
+ "max_output_tokens": 8192,
29162
+ "max_tokens": 8192,
29163
+ "mode": "chat",
29164
+ "output_cost_per_token": 2.9e-07,
29165
+ "supports_system_messages": true,
29166
+ "supports_vision": true
29167
+ },
29168
+ "google.gemma-3-27b-it": {
29169
+ "input_cost_per_token": 2.3e-07,
29170
+ "litellm_provider": "bedrock_converse",
29171
+ "max_input_tokens": 128000,
29172
+ "max_output_tokens": 8192,
29173
+ "max_tokens": 8192,
29174
+ "mode": "chat",
29175
+ "output_cost_per_token": 3.8e-07,
29176
+ "supports_system_messages": true,
29177
+ "supports_vision": true
29178
+ },
29179
+ "google.gemma-3-4b-it": {
29180
+ "input_cost_per_token": 4e-08,
29181
+ "litellm_provider": "bedrock_converse",
29182
+ "max_input_tokens": 128000,
29183
+ "max_output_tokens": 8192,
29184
+ "max_tokens": 8192,
29185
+ "mode": "chat",
29186
+ "output_cost_per_token": 8e-08,
29187
+ "supports_system_messages": true,
29188
+ "supports_vision": true
29189
+ },
29190
+ "global.amazon.nova-2-lite-v1:0": {
29191
+ "cache_read_input_token_cost": 7.5e-08,
29192
+ "input_cost_per_token": 3e-07,
29193
+ "litellm_provider": "bedrock_converse",
29194
+ "max_input_tokens": 1000000,
29195
+ "max_output_tokens": 64000,
29196
+ "max_tokens": 64000,
29197
+ "mode": "chat",
29198
+ "output_cost_per_token": 2.5e-06,
29199
+ "supports_function_calling": true,
29200
+ "supports_pdf_input": true,
29201
+ "supports_prompt_caching": true,
29202
+ "supports_reasoning": true,
29203
+ "supports_response_schema": true,
29204
+ "supports_video_input": true,
29205
+ "supports_vision": true
29206
+ },
29207
+ "minimax.minimax-m2": {
29208
+ "input_cost_per_token": 3e-07,
29209
+ "litellm_provider": "bedrock_converse",
29210
+ "max_input_tokens": 128000,
29211
+ "max_output_tokens": 8192,
29212
+ "max_tokens": 8192,
29213
+ "mode": "chat",
29214
+ "output_cost_per_token": 1.2e-06,
29215
+ "supports_system_messages": true
29216
+ },
29217
+ "mistral.magistral-small-2509": {
29218
+ "input_cost_per_token": 5e-07,
29219
+ "litellm_provider": "bedrock_converse",
29220
+ "max_input_tokens": 128000,
29221
+ "max_output_tokens": 8192,
29222
+ "max_tokens": 8192,
29223
+ "mode": "chat",
29224
+ "output_cost_per_token": 1.5e-06,
29225
+ "supports_function_calling": true,
29226
+ "supports_reasoning": true,
29227
+ "supports_system_messages": true
29228
+ },
29229
+ "mistral.ministral-3-14b-instruct": {
29230
+ "input_cost_per_token": 2e-07,
29231
+ "litellm_provider": "bedrock_converse",
29232
+ "max_input_tokens": 128000,
29233
+ "max_output_tokens": 8192,
29234
+ "max_tokens": 8192,
29235
+ "mode": "chat",
29236
+ "output_cost_per_token": 2e-07,
29237
+ "supports_function_calling": true,
29238
+ "supports_system_messages": true
29239
+ },
29240
+ "mistral.ministral-3-3b-instruct": {
29241
+ "input_cost_per_token": 1e-07,
29242
+ "litellm_provider": "bedrock_converse",
29243
+ "max_input_tokens": 128000,
29244
+ "max_output_tokens": 8192,
29245
+ "max_tokens": 8192,
29246
+ "mode": "chat",
29247
+ "output_cost_per_token": 1e-07,
29248
+ "supports_function_calling": true,
29249
+ "supports_system_messages": true
29250
+ },
29251
+ "mistral.ministral-3-8b-instruct": {
29252
+ "input_cost_per_token": 1.5e-07,
29253
+ "litellm_provider": "bedrock_converse",
29254
+ "max_input_tokens": 128000,
29255
+ "max_output_tokens": 8192,
29256
+ "max_tokens": 8192,
29257
+ "mode": "chat",
29258
+ "output_cost_per_token": 1.5e-07,
29259
+ "supports_function_calling": true,
29260
+ "supports_system_messages": true
29261
+ },
29262
+ "mistral.mistral-large-3-675b-instruct": {
29263
+ "input_cost_per_token": 5e-07,
29264
+ "litellm_provider": "bedrock_converse",
29265
+ "max_input_tokens": 128000,
29266
+ "max_output_tokens": 8192,
29267
+ "max_tokens": 8192,
29268
+ "mode": "chat",
29269
+ "output_cost_per_token": 1.5e-06,
29270
+ "supports_function_calling": true,
29271
+ "supports_system_messages": true
29272
+ },
29273
+ "mistral.voxtral-mini-3b-2507": {
29274
+ "input_cost_per_token": 4e-08,
29275
+ "litellm_provider": "bedrock_converse",
29276
+ "max_input_tokens": 128000,
29277
+ "max_output_tokens": 8192,
29278
+ "max_tokens": 8192,
29279
+ "mode": "chat",
29280
+ "output_cost_per_token": 4e-08,
29281
+ "supports_audio_input": true,
29282
+ "supports_system_messages": true
29283
+ },
29284
+ "mistral.voxtral-small-24b-2507": {
29285
+ "input_cost_per_token": 1e-07,
29286
+ "litellm_provider": "bedrock_converse",
29287
+ "max_input_tokens": 128000,
29288
+ "max_output_tokens": 8192,
29289
+ "max_tokens": 8192,
29290
+ "mode": "chat",
29291
+ "output_cost_per_token": 3e-07,
29292
+ "supports_audio_input": true,
29293
+ "supports_system_messages": true
29294
+ },
29295
+ "moonshot.kimi-k2-thinking": {
29296
+ "input_cost_per_token": 6e-07,
29297
+ "litellm_provider": "bedrock_converse",
29298
+ "max_input_tokens": 128000,
29299
+ "max_output_tokens": 8192,
29300
+ "max_tokens": 8192,
29301
+ "mode": "chat",
29302
+ "output_cost_per_token": 2.5e-06,
29303
+ "supports_reasoning": true,
29304
+ "supports_system_messages": true
29305
+ },
29306
+ "nvidia.nemotron-nano-12b-v2": {
29307
+ "input_cost_per_token": 2e-07,
29308
+ "litellm_provider": "bedrock_converse",
29309
+ "max_input_tokens": 128000,
29310
+ "max_output_tokens": 8192,
29311
+ "max_tokens": 8192,
29312
+ "mode": "chat",
29313
+ "output_cost_per_token": 6e-07,
29314
+ "supports_system_messages": true,
29315
+ "supports_vision": true
29316
+ },
29317
+ "nvidia.nemotron-nano-9b-v2": {
29318
+ "input_cost_per_token": 6e-08,
29319
+ "litellm_provider": "bedrock_converse",
29320
+ "max_input_tokens": 128000,
29321
+ "max_output_tokens": 8192,
29322
+ "max_tokens": 8192,
29323
+ "mode": "chat",
29324
+ "output_cost_per_token": 2.3e-07,
29325
+ "supports_system_messages": true
29326
+ },
29327
+ "openai.gpt-oss-safeguard-120b": {
29328
+ "input_cost_per_token": 1.5e-07,
29329
+ "litellm_provider": "bedrock_converse",
29330
+ "max_input_tokens": 128000,
29331
+ "max_output_tokens": 8192,
29332
+ "max_tokens": 8192,
29333
+ "mode": "chat",
29334
+ "output_cost_per_token": 6e-07,
29335
+ "supports_system_messages": true
29336
+ },
29337
+ "openai.gpt-oss-safeguard-20b": {
29338
+ "input_cost_per_token": 7e-08,
29339
+ "litellm_provider": "bedrock_converse",
29340
+ "max_input_tokens": 128000,
29341
+ "max_output_tokens": 8192,
29342
+ "max_tokens": 8192,
29343
+ "mode": "chat",
29344
+ "output_cost_per_token": 2e-07,
29345
+ "supports_system_messages": true
29346
+ },
29347
+ "qwen.qwen3-next-80b-a3b": {
29348
+ "input_cost_per_token": 1.5e-07,
29349
+ "litellm_provider": "bedrock_converse",
29350
+ "max_input_tokens": 128000,
29351
+ "max_output_tokens": 8192,
29352
+ "max_tokens": 8192,
29353
+ "mode": "chat",
29354
+ "output_cost_per_token": 1.2e-06,
29355
+ "supports_function_calling": true,
29356
+ "supports_system_messages": true
29357
+ },
29358
+ "qwen.qwen3-vl-235b-a22b": {
29359
+ "input_cost_per_token": 5.3e-07,
29360
+ "litellm_provider": "bedrock_converse",
29361
+ "max_input_tokens": 128000,
29362
+ "max_output_tokens": 8192,
29363
+ "max_tokens": 8192,
29364
+ "mode": "chat",
29365
+ "output_cost_per_token": 2.66e-06,
29366
+ "supports_function_calling": true,
29367
+ "supports_system_messages": true,
29368
+ "supports_vision": true
29369
+ },
29370
+ "nvidia_nim/ranking/nvidia/llama-3.2-nv-rerankqa-1b-v2": {
29371
+ "input_cost_per_query": 0.0,
29372
+ "input_cost_per_token": 0.0,
29373
+ "litellm_provider": "nvidia_nim",
29374
+ "mode": "rerank",
29375
+ "output_cost_per_token": 0.0
29152
29376
  }
29153
29377
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.387
3
+ Version: 0.1.389
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=IHuAoIWI6txyZ5stNdLBXG2D0nQF9BlLZyE_X7-WsZ8,1047341
5
+ tokencostauto-0.1.389.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
+ tokencostauto-0.1.389.dist-info/METADATA,sha256=Q2FF_1jsxcq51Fspad4lxSD26aEunQVhg7m9AfEspL4,204076
7
+ tokencostauto-0.1.389.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ tokencostauto-0.1.389.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
+ tokencostauto-0.1.389.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=Jy-wdyOCG3P3HwXPK2do31qZyCqVIwF5JZkCJelknv0,1039594
5
- tokencostauto-0.1.387.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
- tokencostauto-0.1.387.dist-info/METADATA,sha256=eudnB0cPu0OMg79Ye0z0Dx3fH7-KMQ5N3lXQ8zSHTl8,204076
7
- tokencostauto-0.1.387.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- tokencostauto-0.1.387.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
- tokencostauto-0.1.387.dist-info/RECORD,,