tokencostauto 0.1.41__py3-none-any.whl → 0.1.43__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.
@@ -8724,15 +8724,17 @@
8724
8724
  "supports_tool_choice": true
8725
8725
  },
8726
8726
  "sambanova/Meta-Llama-3.1-8B-Instruct": {
8727
- "max_tokens": 16000,
8728
- "max_input_tokens": 16000,
8729
- "max_output_tokens": 16000,
8727
+ "max_tokens": 16384,
8728
+ "max_input_tokens": 16384,
8729
+ "max_output_tokens": 16384,
8730
8730
  "input_cost_per_token": 1e-07,
8731
8731
  "output_cost_per_token": 2e-07,
8732
8732
  "litellm_provider": "sambanova",
8733
- "supports_function_calling": true,
8734
8733
  "mode": "chat",
8735
- "supports_tool_choice": true
8734
+ "supports_function_calling": true,
8735
+ "supports_tool_choice": true,
8736
+ "supports_response_schema": true,
8737
+ "source": "https://cloud.sambanova.ai/plans/pricing"
8736
8738
  },
8737
8739
  "sambanova/Meta-Llama-3.1-70B-Instruct": {
8738
8740
  "max_tokens": 128000,
@@ -8746,48 +8748,50 @@
8746
8748
  "supports_tool_choice": true
8747
8749
  },
8748
8750
  "sambanova/Meta-Llama-3.1-405B-Instruct": {
8749
- "max_tokens": 16000,
8750
- "max_input_tokens": 16000,
8751
- "max_output_tokens": 16000,
8751
+ "max_tokens": 16384,
8752
+ "max_input_tokens": 16384,
8753
+ "max_output_tokens": 16384,
8752
8754
  "input_cost_per_token": 5e-06,
8753
8755
  "output_cost_per_token": 1e-05,
8754
8756
  "litellm_provider": "sambanova",
8755
- "supports_function_calling": true,
8756
8757
  "mode": "chat",
8757
- "supports_tool_choice": true
8758
+ "supports_function_calling": true,
8759
+ "supports_tool_choice": true,
8760
+ "supports_response_schema": true,
8761
+ "source": "https://cloud.sambanova.ai/plans/pricing"
8758
8762
  },
8759
8763
  "sambanova/Meta-Llama-3.2-1B-Instruct": {
8760
- "max_tokens": 16000,
8761
- "max_input_tokens": 16000,
8762
- "max_output_tokens": 16000,
8763
- "input_cost_per_token": 4e-07,
8764
- "output_cost_per_token": 8e-07,
8764
+ "max_tokens": 16384,
8765
+ "max_input_tokens": 16384,
8766
+ "max_output_tokens": 16384,
8767
+ "input_cost_per_token": 4e-08,
8768
+ "output_cost_per_token": 8e-08,
8765
8769
  "litellm_provider": "sambanova",
8766
- "supports_function_calling": true,
8767
8770
  "mode": "chat",
8768
- "supports_tool_choice": true
8771
+ "source": "https://cloud.sambanova.ai/plans/pricing"
8769
8772
  },
8770
8773
  "sambanova/Meta-Llama-3.2-3B-Instruct": {
8771
- "max_tokens": 4000,
8772
- "max_input_tokens": 4000,
8773
- "max_output_tokens": 4000,
8774
- "input_cost_per_token": 8e-07,
8775
- "output_cost_per_token": 1.6e-06,
8774
+ "max_tokens": 4096,
8775
+ "max_input_tokens": 4096,
8776
+ "max_output_tokens": 4096,
8777
+ "input_cost_per_token": 8e-08,
8778
+ "output_cost_per_token": 1.6e-07,
8776
8779
  "litellm_provider": "sambanova",
8777
- "supports_function_calling": true,
8778
8780
  "mode": "chat",
8779
- "supports_tool_choice": true
8781
+ "source": "https://cloud.sambanova.ai/plans/pricing"
8780
8782
  },
8781
8783
  "sambanova/Meta-Llama-3.3-70B-Instruct": {
8782
- "max_tokens": 128000,
8783
- "max_input_tokens": 128000,
8784
- "max_output_tokens": 128000,
8784
+ "max_tokens": 131072,
8785
+ "max_input_tokens": 131072,
8786
+ "max_output_tokens": 131072,
8785
8787
  "input_cost_per_token": 6e-07,
8786
8788
  "output_cost_per_token": 1.2e-06,
8787
8789
  "litellm_provider": "sambanova",
8788
- "supports_function_calling": true,
8789
8790
  "mode": "chat",
8790
- "supports_tool_choice": true
8791
+ "supports_function_calling": true,
8792
+ "supports_response_schema": true,
8793
+ "supports_tool_choice": true,
8794
+ "source": "https://cloud.sambanova.ai/plans/pricing"
8791
8795
  },
8792
8796
  "sambanova/Qwen2.5-Coder-32B-Instruct": {
8793
8797
  "max_tokens": 8000,
@@ -13359,5 +13363,115 @@
13359
13363
  "max_output_tokens": 4096,
13360
13364
  "litellm_provider": "featherless_ai",
13361
13365
  "mode": "chat"
13366
+ },
13367
+ "sambanova/Llama-4-Maverick-17B-128E-Instruct": {
13368
+ "max_tokens": 131072,
13369
+ "max_input_tokens": 131072,
13370
+ "max_output_tokens": 131072,
13371
+ "input_cost_per_token": 6.3e-07,
13372
+ "output_cost_per_token": 1.8e-06,
13373
+ "litellm_provider": "sambanova",
13374
+ "mode": "chat",
13375
+ "supports_function_calling": true,
13376
+ "supports_tool_choice": true,
13377
+ "supports_response_schema": true,
13378
+ "supports_vision": true,
13379
+ "source": "https://cloud.sambanova.ai/plans/pricing",
13380
+ "metadata": {
13381
+ "notes": "For vision models, images are converted to 6432 input tokens and are billed at that amount"
13382
+ }
13383
+ },
13384
+ "sambanova/Llama-4-Scout-17B-16E-Instruct": {
13385
+ "max_tokens": 8192,
13386
+ "max_input_tokens": 8192,
13387
+ "max_output_tokens": 8192,
13388
+ "input_cost_per_token": 4e-07,
13389
+ "output_cost_per_token": 7e-07,
13390
+ "litellm_provider": "sambanova",
13391
+ "mode": "chat",
13392
+ "supports_function_calling": true,
13393
+ "supports_tool_choice": true,
13394
+ "supports_response_schema": true,
13395
+ "source": "https://cloud.sambanova.ai/plans/pricing",
13396
+ "metadata": {
13397
+ "notes": "For vision models, images are converted to 6432 input tokens and are billed at that amount"
13398
+ }
13399
+ },
13400
+ "sambanova/Meta-Llama-Guard-3-8B": {
13401
+ "max_tokens": 16384,
13402
+ "max_input_tokens": 16384,
13403
+ "max_output_tokens": 16384,
13404
+ "input_cost_per_token": 3e-07,
13405
+ "output_cost_per_token": 3e-07,
13406
+ "litellm_provider": "sambanova",
13407
+ "mode": "chat",
13408
+ "source": "https://cloud.sambanova.ai/plans/pricing"
13409
+ },
13410
+ "sambanova/Qwen3-32B": {
13411
+ "max_tokens": 8192,
13412
+ "max_input_tokens": 8192,
13413
+ "max_output_tokens": 8192,
13414
+ "input_cost_per_token": 4e-07,
13415
+ "output_cost_per_token": 8e-07,
13416
+ "litellm_provider": "sambanova",
13417
+ "supports_function_calling": true,
13418
+ "supports_tool_choice": true,
13419
+ "supports_reasoning": true,
13420
+ "mode": "chat",
13421
+ "source": "https://cloud.sambanova.ai/plans/pricing"
13422
+ },
13423
+ "sambanova/QwQ-32B": {
13424
+ "max_tokens": 16384,
13425
+ "max_input_tokens": 16384,
13426
+ "max_output_tokens": 16384,
13427
+ "input_cost_per_token": 5e-07,
13428
+ "output_cost_per_token": 1e-06,
13429
+ "litellm_provider": "sambanova",
13430
+ "mode": "chat",
13431
+ "source": "https://cloud.sambanova.ai/plans/pricing"
13432
+ },
13433
+ "sambanova/Qwen2-Audio-7B-Instruct": {
13434
+ "max_tokens": 4096,
13435
+ "max_input_tokens": 4096,
13436
+ "max_output_tokens": 4096,
13437
+ "input_cost_per_token": 5e-07,
13438
+ "output_cost_per_token": 0.0001,
13439
+ "litellm_provider": "sambanova",
13440
+ "mode": "chat",
13441
+ "supports_audio_input": true,
13442
+ "source": "https://cloud.sambanova.ai/plans/pricing"
13443
+ },
13444
+ "sambanova/DeepSeek-R1-Distill-Llama-70B": {
13445
+ "max_tokens": 131072,
13446
+ "max_input_tokens": 131072,
13447
+ "max_output_tokens": 131072,
13448
+ "input_cost_per_token": 7e-07,
13449
+ "output_cost_per_token": 1.4e-06,
13450
+ "litellm_provider": "sambanova",
13451
+ "mode": "chat",
13452
+ "source": "https://cloud.sambanova.ai/plans/pricing"
13453
+ },
13454
+ "sambanova/DeepSeek-R1": {
13455
+ "max_tokens": 32768,
13456
+ "max_input_tokens": 32768,
13457
+ "max_output_tokens": 32768,
13458
+ "input_cost_per_token": 5e-06,
13459
+ "output_cost_per_token": 7e-06,
13460
+ "litellm_provider": "sambanova",
13461
+ "mode": "chat",
13462
+ "source": "https://cloud.sambanova.ai/plans/pricing"
13463
+ },
13464
+ "sambanova/DeepSeek-V3-0324": {
13465
+ "max_tokens": 32768,
13466
+ "max_input_tokens": 32768,
13467
+ "max_output_tokens": 32768,
13468
+ "input_cost_per_token": 3e-06,
13469
+ "output_cost_per_token": 4.5e-06,
13470
+ "litellm_provider": "sambanova",
13471
+ "mode": "chat",
13472
+ "supports_function_calling": true,
13473
+ "supports_tool_choice": true,
13474
+ "supports_reasoning": true,
13475
+ "source": "https://cloud.sambanova.ai/plans/pricing"
13362
13476
  }
13363
13477
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.41
3
+ Version: 0.1.43
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=gt3GkHjXhzl4awKMyPgvkfp3MitcYn5W4kvk-1e9Ios,480813
5
+ tokencostauto-0.1.43.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
+ tokencostauto-0.1.43.dist-info/METADATA,sha256=0QopAZNXfADex9BgjajDrBIkdKwmlAIWtk1HTaRO724,204075
7
+ tokencostauto-0.1.43.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
8
+ tokencostauto-0.1.43.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
+ tokencostauto-0.1.43.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=9wavH0y79yuAHHv2HQM1mfvUMIAimeHnyoR_1uUaJQo,476520
5
- tokencostauto-0.1.41.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
- tokencostauto-0.1.41.dist-info/METADATA,sha256=_RbP9pylWTStnTMhW94ncTYTpq-jknrfmFYi8-fJ7rs,204075
7
- tokencostauto-0.1.41.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
8
- tokencostauto-0.1.41.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
- tokencostauto-0.1.41.dist-info/RECORD,,