tokencostauto 0.1.340__py3-none-any.whl → 0.1.342__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.
@@ -17812,15 +17812,16 @@
17812
17812
  "supports_tool_choice": true
17813
17813
  },
17814
17814
  "openrouter/qwen/qwen3-coder": {
17815
- "input_cost_per_token": 1e-06,
17815
+ "input_cost_per_token": 2.2e-07,
17816
17816
  "litellm_provider": "openrouter",
17817
- "max_input_tokens": 1000000,
17818
- "max_output_tokens": 1000000,
17819
- "max_tokens": 1000000,
17817
+ "max_input_tokens": 262100,
17818
+ "max_output_tokens": 262100,
17819
+ "max_tokens": 262100,
17820
17820
  "mode": "chat",
17821
- "output_cost_per_token": 5e-06,
17821
+ "output_cost_per_token": 9.5e-07,
17822
17822
  "source": "https://openrouter.ai/qwen/qwen3-coder",
17823
- "supports_tool_choice": true
17823
+ "supports_tool_choice": true,
17824
+ "supports_function_calling": true
17824
17825
  },
17825
17826
  "gemini/imagen-4.0-generate-preview-06-06": {
17826
17827
  "output_cost_per_image": 0.04,
@@ -25804,5 +25805,151 @@
25804
25805
  "supports_reasoning": true,
25805
25806
  "supports_response_schema": true,
25806
25807
  "supports_tool_choice": true
25808
+ },
25809
+ "openrouter/deepseek/deepseek-v3.2-exp": {
25810
+ "input_cost_per_token": 2e-07,
25811
+ "input_cost_per_token_cache_hit": 2e-08,
25812
+ "litellm_provider": "openrouter",
25813
+ "max_input_tokens": 163840,
25814
+ "max_output_tokens": 163840,
25815
+ "max_tokens": 8192,
25816
+ "mode": "chat",
25817
+ "output_cost_per_token": 4e-07,
25818
+ "supports_assistant_prefill": true,
25819
+ "supports_function_calling": true,
25820
+ "supports_prompt_caching": true,
25821
+ "supports_reasoning": false,
25822
+ "supports_tool_choice": true
25823
+ },
25824
+ "openrouter/minimax/minimax-m2": {
25825
+ "input_cost_per_token": 2.55e-07,
25826
+ "litellm_provider": "openrouter",
25827
+ "max_input_tokens": 204800,
25828
+ "max_output_tokens": 204800,
25829
+ "max_tokens": 32768,
25830
+ "mode": "chat",
25831
+ "output_cost_per_token": 1.02e-06,
25832
+ "supports_function_calling": true,
25833
+ "supports_prompt_caching": false,
25834
+ "supports_reasoning": true,
25835
+ "supports_tool_choice": true
25836
+ },
25837
+ "openrouter/z-ai/glm-4.6": {
25838
+ "input_cost_per_token": 4e-07,
25839
+ "litellm_provider": "openrouter",
25840
+ "max_input_tokens": 202800,
25841
+ "max_output_tokens": 131000,
25842
+ "max_tokens": 202800,
25843
+ "mode": "chat",
25844
+ "output_cost_per_token": 1.75e-06,
25845
+ "source": "https://openrouter.ai/z-ai/glm-4.6",
25846
+ "supports_function_calling": true,
25847
+ "supports_reasoning": true,
25848
+ "supports_tool_choice": true
25849
+ },
25850
+ "openrouter/z-ai/glm-4.6:exacto": {
25851
+ "input_cost_per_token": 4.5e-07,
25852
+ "litellm_provider": "openrouter",
25853
+ "max_input_tokens": 202800,
25854
+ "max_output_tokens": 131000,
25855
+ "max_tokens": 202800,
25856
+ "mode": "chat",
25857
+ "output_cost_per_token": 1.9e-06,
25858
+ "source": "https://openrouter.ai/z-ai/glm-4.6:exacto",
25859
+ "supports_function_calling": true,
25860
+ "supports_reasoning": true,
25861
+ "supports_tool_choice": true
25862
+ },
25863
+ "runwayml/gen4_turbo": {
25864
+ "litellm_provider": "runwayml",
25865
+ "mode": "video_generation",
25866
+ "output_cost_per_video_per_second": 0.05,
25867
+ "source": "https://docs.dev.runwayml.com/guides/pricing/",
25868
+ "supported_modalities": [
25869
+ "text",
25870
+ "image"
25871
+ ],
25872
+ "supported_output_modalities": [
25873
+ "video"
25874
+ ],
25875
+ "supported_resolutions": [
25876
+ "1280x720",
25877
+ "720x1280"
25878
+ ],
25879
+ "comment": "5 credits per second @ $0.01 per credit = $0.05 per second"
25880
+ },
25881
+ "runwayml/gen4_aleph": {
25882
+ "litellm_provider": "runwayml",
25883
+ "mode": "video_generation",
25884
+ "output_cost_per_video_per_second": 0.15,
25885
+ "source": "https://docs.dev.runwayml.com/guides/pricing/",
25886
+ "supported_modalities": [
25887
+ "text",
25888
+ "image"
25889
+ ],
25890
+ "supported_output_modalities": [
25891
+ "video"
25892
+ ],
25893
+ "supported_resolutions": [
25894
+ "1280x720",
25895
+ "720x1280"
25896
+ ],
25897
+ "comment": "15 credits per second @ $0.01 per credit = $0.15 per second"
25898
+ },
25899
+ "runwayml/gen3a_turbo": {
25900
+ "litellm_provider": "runwayml",
25901
+ "mode": "video_generation",
25902
+ "output_cost_per_video_per_second": 0.05,
25903
+ "source": "https://docs.dev.runwayml.com/guides/pricing/",
25904
+ "supported_modalities": [
25905
+ "text",
25906
+ "image"
25907
+ ],
25908
+ "supported_output_modalities": [
25909
+ "video"
25910
+ ],
25911
+ "supported_resolutions": [
25912
+ "1280x720",
25913
+ "720x1280"
25914
+ ],
25915
+ "comment": "5 credits per second @ $0.01 per credit = $0.05 per second"
25916
+ },
25917
+ "runwayml/gen4_image": {
25918
+ "litellm_provider": "runwayml",
25919
+ "mode": "image_generation",
25920
+ "input_cost_per_image": 0.05,
25921
+ "output_cost_per_image": 0.05,
25922
+ "source": "https://docs.dev.runwayml.com/guides/pricing/",
25923
+ "supported_modalities": [
25924
+ "text",
25925
+ "image"
25926
+ ],
25927
+ "supported_output_modalities": [
25928
+ "image"
25929
+ ],
25930
+ "supported_resolutions": [
25931
+ "1280x720",
25932
+ "1920x1080"
25933
+ ],
25934
+ "comment": "5 credits per 720p image or 8 credits per 1080p image @ $0.01 per credit. Using 5 credits ($0.05) as base cost"
25935
+ },
25936
+ "runwayml/gen4_image_turbo": {
25937
+ "litellm_provider": "runwayml",
25938
+ "mode": "image_generation",
25939
+ "input_cost_per_image": 0.02,
25940
+ "output_cost_per_image": 0.02,
25941
+ "source": "https://docs.dev.runwayml.com/guides/pricing/",
25942
+ "supported_modalities": [
25943
+ "text",
25944
+ "image"
25945
+ ],
25946
+ "supported_output_modalities": [
25947
+ "image"
25948
+ ],
25949
+ "supported_resolutions": [
25950
+ "1280x720",
25951
+ "1920x1080"
25952
+ ],
25953
+ "comment": "2 credits per image (any resolution) @ $0.01 per credit = $0.02 per image"
25807
25954
  }
25808
25955
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.340
3
+ Version: 0.1.342
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=NL71BolPmAxHcm1401fS_A4YKIMkf8ql3ViW3oP0S-A,924511
5
+ tokencostauto-0.1.342.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
+ tokencostauto-0.1.342.dist-info/METADATA,sha256=_LLcTHY9wGDgTcKZf16yMmo6ZJARFuAVe_iCOk-ui0E,204076
7
+ tokencostauto-0.1.342.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ tokencostauto-0.1.342.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
+ tokencostauto-0.1.342.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=jtSVcUmZ3sxxVqADpOQyz23r2TtF8nc7JvD2rrZ0AQ0,919592
5
- tokencostauto-0.1.340.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
- tokencostauto-0.1.340.dist-info/METADATA,sha256=YoDxwuCV01jnvpBleffZ8P0waxnJhEdLYtdXPx0bRy0,204076
7
- tokencostauto-0.1.340.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- tokencostauto-0.1.340.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
- tokencostauto-0.1.340.dist-info/RECORD,,