tokencostauto 0.1.32__py3-none-any.whl → 0.1.34__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.
@@ -1709,10 +1709,7 @@
1709
1709
  "input_cost_per_token": 5e-08,
1710
1710
  "output_cost_per_token": 8e-08,
1711
1711
  "litellm_provider": "groq",
1712
- "mode": "chat",
1713
- "supports_function_calling": true,
1714
- "supports_response_schema": true,
1715
- "supports_tool_choice": true
1712
+ "mode": "chat"
1716
1713
  },
1717
1714
  "groq/llama3-70b-8192": {
1718
1715
  "max_tokens": 8192,
@@ -1721,14 +1718,11 @@
1721
1718
  "input_cost_per_token": 5.9e-07,
1722
1719
  "output_cost_per_token": 7.9e-07,
1723
1720
  "litellm_provider": "groq",
1724
- "mode": "chat",
1725
- "supports_function_calling": true,
1726
- "supports_response_schema": true,
1727
- "supports_tool_choice": true
1721
+ "mode": "chat"
1728
1722
  },
1729
1723
  "groq/llama-3.1-8b-instant": {
1730
1724
  "max_tokens": 8192,
1731
- "max_input_tokens": 8192,
1725
+ "max_input_tokens": 128000,
1732
1726
  "max_output_tokens": 8192,
1733
1727
  "input_cost_per_token": 5e-08,
1734
1728
  "output_cost_per_token": 8e-08,
@@ -1748,7 +1742,8 @@
1748
1742
  "mode": "chat",
1749
1743
  "supports_function_calling": true,
1750
1744
  "supports_response_schema": true,
1751
- "supports_tool_choice": true
1745
+ "supports_tool_choice": true,
1746
+ "deprecation_date": "2025-01-24"
1752
1747
  },
1753
1748
  "groq/llama-3.1-405b-reasoning": {
1754
1749
  "max_tokens": 8192,
@@ -1772,7 +1767,8 @@
1772
1767
  "mode": "chat",
1773
1768
  "supports_function_calling": true,
1774
1769
  "supports_response_schema": true,
1775
- "supports_tool_choice": true
1770
+ "supports_tool_choice": true,
1771
+ "deprecation_date": "2025-03-20"
1776
1772
  },
1777
1773
  "groq/gemma-7b-it": {
1778
1774
  "max_tokens": 8192,
@@ -1784,7 +1780,8 @@
1784
1780
  "mode": "chat",
1785
1781
  "supports_function_calling": true,
1786
1782
  "supports_response_schema": true,
1787
- "supports_tool_choice": true
1783
+ "supports_tool_choice": true,
1784
+ "deprecation_date": "2024-12-18"
1788
1785
  },
1789
1786
  "groq/gemma2-9b-it": {
1790
1787
  "max_tokens": 8192,
@@ -1794,9 +1791,9 @@
1794
1791
  "output_cost_per_token": 2e-07,
1795
1792
  "litellm_provider": "groq",
1796
1793
  "mode": "chat",
1797
- "supports_function_calling": true,
1794
+ "supports_function_calling": false,
1798
1795
  "supports_response_schema": true,
1799
- "supports_tool_choice": true
1796
+ "supports_tool_choice": false
1800
1797
  },
1801
1798
  "groq/llama3-groq-70b-8192-tool-use-preview": {
1802
1799
  "max_tokens": 8192,
@@ -1808,7 +1805,8 @@
1808
1805
  "mode": "chat",
1809
1806
  "supports_function_calling": true,
1810
1807
  "supports_response_schema": true,
1811
- "supports_tool_choice": true
1808
+ "supports_tool_choice": true,
1809
+ "deprecation_date": "2025-1-6"
1812
1810
  },
1813
1811
  "groq/llama3-groq-8b-8192-tool-use-preview": {
1814
1812
  "max_tokens": 8192,
@@ -1820,7 +1818,8 @@
1820
1818
  "mode": "chat",
1821
1819
  "supports_function_calling": true,
1822
1820
  "supports_response_schema": true,
1823
- "supports_tool_choice": true
1821
+ "supports_tool_choice": true,
1822
+ "deprecation_date": "2025-1-6"
1824
1823
  },
1825
1824
  "cerebras/llama3.1-8b": {
1826
1825
  "max_tokens": 128000,
@@ -7701,7 +7700,8 @@
7701
7700
  "mode": "chat",
7702
7701
  "supports_function_calling": true,
7703
7702
  "supports_response_schema": true,
7704
- "supports_tool_choice": true
7703
+ "supports_tool_choice": true,
7704
+ "deprecation_date": "2025-04-14"
7705
7705
  },
7706
7706
  "groq/llama-3.2-3b-preview": {
7707
7707
  "max_tokens": 8192,
@@ -7713,7 +7713,8 @@
7713
7713
  "mode": "chat",
7714
7714
  "supports_function_calling": true,
7715
7715
  "supports_response_schema": true,
7716
- "supports_tool_choice": true
7716
+ "supports_tool_choice": true,
7717
+ "deprecation_date": "2025-04-14"
7717
7718
  },
7718
7719
  "groq/llama-3.2-11b-text-preview": {
7719
7720
  "max_tokens": 8192,
@@ -7725,7 +7726,8 @@
7725
7726
  "mode": "chat",
7726
7727
  "supports_function_calling": true,
7727
7728
  "supports_response_schema": true,
7728
- "supports_tool_choice": true
7729
+ "supports_tool_choice": true,
7730
+ "deprecation_date": "2024-10-28"
7729
7731
  },
7730
7732
  "groq/llama-3.2-11b-vision-preview": {
7731
7733
  "max_tokens": 8192,
@@ -7738,7 +7740,8 @@
7738
7740
  "supports_function_calling": true,
7739
7741
  "supports_response_schema": true,
7740
7742
  "supports_vision": true,
7741
- "supports_tool_choice": true
7743
+ "supports_tool_choice": true,
7744
+ "deprecation_date": "2025-04-14"
7742
7745
  },
7743
7746
  "groq/llama-3.2-90b-text-preview": {
7744
7747
  "max_tokens": 8192,
@@ -7750,7 +7753,8 @@
7750
7753
  "mode": "chat",
7751
7754
  "supports_function_calling": true,
7752
7755
  "supports_response_schema": true,
7753
- "supports_tool_choice": true
7756
+ "supports_tool_choice": true,
7757
+ "deprecation_date": "2024-11-25"
7754
7758
  },
7755
7759
  "groq/llama-3.2-90b-vision-preview": {
7756
7760
  "max_tokens": 8192,
@@ -7763,7 +7767,8 @@
7763
7767
  "supports_function_calling": true,
7764
7768
  "supports_response_schema": true,
7765
7769
  "supports_vision": true,
7766
- "supports_tool_choice": true
7770
+ "supports_tool_choice": true,
7771
+ "deprecation_date": "2025-04-14"
7767
7772
  },
7768
7773
  "vertex_ai/claude-3-sonnet": {
7769
7774
  "max_tokens": 4096,
@@ -8224,9 +8229,9 @@
8224
8229
  "supports_prompt_caching": true
8225
8230
  },
8226
8231
  "groq/llama-3.3-70b-versatile": {
8227
- "max_tokens": 8192,
8232
+ "max_tokens": 32768,
8228
8233
  "max_input_tokens": 128000,
8229
- "max_output_tokens": 8192,
8234
+ "max_output_tokens": 32768,
8230
8235
  "input_cost_per_token": 5.9e-07,
8231
8236
  "output_cost_per_token": 7.9e-07,
8232
8237
  "litellm_provider": "groq",
@@ -8243,7 +8248,8 @@
8243
8248
  "output_cost_per_token": 9.9e-07,
8244
8249
  "litellm_provider": "groq",
8245
8250
  "mode": "chat",
8246
- "supports_tool_choice": true
8251
+ "supports_tool_choice": true,
8252
+ "deprecation_date": "2025-04-14"
8247
8253
  },
8248
8254
  "friendliai/meta-llama-3.1-8b-instruct": {
8249
8255
  "max_tokens": 8192,
@@ -8964,17 +8970,16 @@
8964
8970
  "supports_tool_choice": true
8965
8971
  },
8966
8972
  "groq/deepseek-r1-distill-llama-70b": {
8967
- "max_tokens": 131072,
8968
- "max_input_tokens": 131072,
8969
- "max_output_tokens": 131072,
8973
+ "max_tokens": 128000,
8974
+ "max_input_tokens": 128000,
8975
+ "max_output_tokens": 128000,
8970
8976
  "input_cost_per_token": 7.5e-07,
8971
8977
  "output_cost_per_token": 9.9e-07,
8972
8978
  "litellm_provider": "groq",
8973
8979
  "mode": "chat",
8974
- "supports_system_messages": false,
8975
- "supports_function_calling": false,
8980
+ "supports_function_calling": true,
8981
+ "supports_response_schema": true,
8976
8982
  "supports_reasoning": true,
8977
- "supports_response_schema": false,
8978
8983
  "supports_tool_choice": true
8979
8984
  },
8980
8985
  "gemini/gemini-2.0-flash": {
@@ -11953,22 +11958,22 @@
11953
11958
  "source": "https://x.ai/api#pricing"
11954
11959
  },
11955
11960
  "groq/whisper-large-v3": {
11956
- "mode": "audio_transcription",
11957
11961
  "input_cost_per_second": 3.083e-05,
11958
- "output_cost_per_second": 0,
11959
- "litellm_provider": "groq"
11962
+ "output_cost_per_second": 0.0,
11963
+ "litellm_provider": "groq",
11964
+ "mode": "audio_transcription"
11960
11965
  },
11961
11966
  "groq/whisper-large-v3-turbo": {
11962
- "mode": "audio_transcription",
11963
11967
  "input_cost_per_second": 1.111e-05,
11964
- "output_cost_per_second": 0,
11965
- "litellm_provider": "groq"
11968
+ "output_cost_per_second": 0.0,
11969
+ "litellm_provider": "groq",
11970
+ "mode": "audio_transcription"
11966
11971
  },
11967
11972
  "groq/distil-whisper-large-v3-en": {
11968
- "mode": "audio_transcription",
11969
11973
  "input_cost_per_second": 5.56e-06,
11970
- "output_cost_per_second": 0,
11971
- "litellm_provider": "groq"
11974
+ "output_cost_per_second": 0.0,
11975
+ "litellm_provider": "groq",
11976
+ "mode": "audio_transcription"
11972
11977
  },
11973
11978
  "meta_llama/Llama-4-Scout-17B-16E-Instruct-FP8": {
11974
11979
  "max_tokens": 128000,
@@ -13222,5 +13227,68 @@
13222
13227
  "supports_pdf_input": true,
13223
13228
  "supports_tool_choice": true,
13224
13229
  "supports_reasoning": true
13230
+ },
13231
+ "groq/llama-guard-3-8b": {
13232
+ "max_tokens": 8192,
13233
+ "max_input_tokens": 8192,
13234
+ "max_output_tokens": 8192,
13235
+ "input_cost_per_token": 2e-07,
13236
+ "output_cost_per_token": 2e-07,
13237
+ "litellm_provider": "groq",
13238
+ "mode": "chat"
13239
+ },
13240
+ "groq/meta-llama/llama-4-scout-17b-16e-instruct": {
13241
+ "max_tokens": 8192,
13242
+ "max_input_tokens": 131072,
13243
+ "max_output_tokens": 8192,
13244
+ "input_cost_per_token": 1.1e-07,
13245
+ "output_cost_per_token": 3.4e-07,
13246
+ "litellm_provider": "groq",
13247
+ "mode": "chat",
13248
+ "supports_function_calling": true,
13249
+ "supports_response_schema": true,
13250
+ "supports_tool_choice": true
13251
+ },
13252
+ "groq/meta-llama/llama-4-maverick-17b-128e-instruct": {
13253
+ "max_tokens": 8192,
13254
+ "max_input_tokens": 131072,
13255
+ "max_output_tokens": 8192,
13256
+ "input_cost_per_token": 2e-07,
13257
+ "output_cost_per_token": 6e-07,
13258
+ "litellm_provider": "groq",
13259
+ "mode": "chat",
13260
+ "supports_function_calling": true,
13261
+ "supports_response_schema": true,
13262
+ "supports_tool_choice": true
13263
+ },
13264
+ "groq/mistral-saba-24b": {
13265
+ "max_tokens": 32000,
13266
+ "max_input_tokens": 32000,
13267
+ "max_output_tokens": 32000,
13268
+ "input_cost_per_token": 7.9e-07,
13269
+ "output_cost_per_token": 7.9e-07,
13270
+ "litellm_provider": "groq",
13271
+ "mode": "chat"
13272
+ },
13273
+ "groq/qwen-qwq-32b": {
13274
+ "max_tokens": 128000,
13275
+ "max_input_tokens": 128000,
13276
+ "max_output_tokens": 128000,
13277
+ "input_cost_per_token": 2.9e-07,
13278
+ "output_cost_per_token": 3.9e-07,
13279
+ "litellm_provider": "groq",
13280
+ "mode": "chat",
13281
+ "supports_function_calling": true,
13282
+ "supports_response_schema": true,
13283
+ "supports_reasoning": true,
13284
+ "supports_tool_choice": true
13285
+ },
13286
+ "groq/playai-tts": {
13287
+ "max_tokens": 10000,
13288
+ "max_input_tokens": 10000,
13289
+ "max_output_tokens": 10000,
13290
+ "input_cost_per_character": 5e-05,
13291
+ "litellm_provider": "groq",
13292
+ "mode": "audio_speech"
13225
13293
  }
13226
13294
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.32
3
+ Version: 0.1.34
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=MObPkJtQQYPMm9Y8pggd_4IsEgnVYSgoCd2G7E5-ryc,473920
5
+ tokencostauto-0.1.34.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
+ tokencostauto-0.1.34.dist-info/METADATA,sha256=zllg5W3Gmp4Vp3Bi0InKmaorQMF0qcEqNS13GFPMIhc,204075
7
+ tokencostauto-0.1.34.dist-info/WHEEL,sha256=QZxptf4Y1BKFRCEDxD4h2V0mBFQOVFLFEpvxHmIs52A,91
8
+ tokencostauto-0.1.34.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
+ tokencostauto-0.1.34.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.4.0)
2
+ Generator: setuptools (80.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -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=InjmBIw79wgw6mXtQixVp0GzP33cKJLv_9yuN5LeD5A,471612
5
- tokencostauto-0.1.32.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
- tokencostauto-0.1.32.dist-info/METADATA,sha256=wrKjPG1aE3gw7t2OO8-4JNiDsancCUyxEI6Ma5okzpc,204075
7
- tokencostauto-0.1.32.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
8
- tokencostauto-0.1.32.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
- tokencostauto-0.1.32.dist-info/RECORD,,