tokencostauto 0.1.357__py3-none-any.whl → 0.1.359__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.
@@ -27582,5 +27582,259 @@
27582
27582
  "mode": "image_generation",
27583
27583
  "output_cost_per_image": 0.04,
27584
27584
  "source": "https://cloud.google.com/vertex-ai/generative-ai/docs/image/edit-insert-objects"
27585
+ },
27586
+ "cerebras/gpt-oss-120b": {
27587
+ "input_cost_per_token": 2.5e-07,
27588
+ "litellm_provider": "cerebras",
27589
+ "max_input_tokens": 131072,
27590
+ "max_output_tokens": 32768,
27591
+ "max_tokens": 32768,
27592
+ "mode": "chat",
27593
+ "output_cost_per_token": 6.9e-07,
27594
+ "source": "https://www.cerebras.ai/blog/openai-gpt-oss-120b-runs-fastest-on-cerebras",
27595
+ "supports_function_calling": true,
27596
+ "supports_parallel_function_calling": true,
27597
+ "supports_reasoning": true,
27598
+ "supports_response_schema": true,
27599
+ "supports_tool_choice": true
27600
+ },
27601
+ "gemini-3-pro-image-preview": {
27602
+ "input_cost_per_image": 0.0011,
27603
+ "input_cost_per_token": 2e-06,
27604
+ "input_cost_per_token_batches": 1e-06,
27605
+ "litellm_provider": "vertex_ai-language-models",
27606
+ "max_input_tokens": 65536,
27607
+ "max_output_tokens": 32768,
27608
+ "max_tokens": 65536,
27609
+ "mode": "image_generation",
27610
+ "output_cost_per_image": 0.134,
27611
+ "output_cost_per_token": 1.2e-05,
27612
+ "output_cost_per_token_batches": 6e-06,
27613
+ "source": "https://ai.google.dev/gemini-api/docs/pricing",
27614
+ "supported_endpoints": [
27615
+ "/v1/chat/completions",
27616
+ "/v1/completions",
27617
+ "/v1/batch"
27618
+ ],
27619
+ "supported_modalities": [
27620
+ "text",
27621
+ "image"
27622
+ ],
27623
+ "supported_output_modalities": [
27624
+ "text",
27625
+ "image"
27626
+ ],
27627
+ "supports_function_calling": false,
27628
+ "supports_prompt_caching": true,
27629
+ "supports_response_schema": true,
27630
+ "supports_system_messages": true,
27631
+ "supports_vision": true,
27632
+ "supports_web_search": true
27633
+ },
27634
+ "gemini/gemini-3-pro-image-preview": {
27635
+ "input_cost_per_image": 0.0011,
27636
+ "input_cost_per_token": 2e-06,
27637
+ "input_cost_per_token_batches": 1e-06,
27638
+ "litellm_provider": "gemini",
27639
+ "max_input_tokens": 65536,
27640
+ "max_output_tokens": 32768,
27641
+ "max_tokens": 65536,
27642
+ "mode": "image_generation",
27643
+ "output_cost_per_image": 0.134,
27644
+ "output_cost_per_token": 1.2e-05,
27645
+ "output_cost_per_token_batches": 6e-06,
27646
+ "source": "https://ai.google.dev/gemini-api/docs/pricing",
27647
+ "supported_endpoints": [
27648
+ "/v1/chat/completions",
27649
+ "/v1/completions",
27650
+ "/v1/batch"
27651
+ ],
27652
+ "supported_modalities": [
27653
+ "text",
27654
+ "image"
27655
+ ],
27656
+ "supported_output_modalities": [
27657
+ "text",
27658
+ "image"
27659
+ ],
27660
+ "supports_function_calling": false,
27661
+ "supports_prompt_caching": true,
27662
+ "supports_response_schema": true,
27663
+ "supports_system_messages": true,
27664
+ "supports_vision": true,
27665
+ "supports_web_search": true
27666
+ },
27667
+ "openrouter/google/gemini-3-pro-preview": {
27668
+ "cache_read_input_token_cost": 2e-07,
27669
+ "cache_read_input_token_cost_above_200k_tokens": 4e-07,
27670
+ "cache_creation_input_token_cost_above_200k_tokens": 2.5e-07,
27671
+ "input_cost_per_token": 2e-06,
27672
+ "input_cost_per_token_above_200k_tokens": 4e-06,
27673
+ "input_cost_per_token_batches": 1e-06,
27674
+ "litellm_provider": "openrouter",
27675
+ "max_audio_length_hours": 8.4,
27676
+ "max_audio_per_prompt": 1,
27677
+ "max_images_per_prompt": 3000,
27678
+ "max_input_tokens": 1048576,
27679
+ "max_output_tokens": 65535,
27680
+ "max_pdf_size_mb": 30,
27681
+ "max_tokens": 65535,
27682
+ "max_video_length": 1,
27683
+ "max_videos_per_prompt": 10,
27684
+ "mode": "chat",
27685
+ "output_cost_per_token": 1.2e-05,
27686
+ "output_cost_per_token_above_200k_tokens": 1.8e-05,
27687
+ "output_cost_per_token_batches": 6e-06,
27688
+ "supported_endpoints": [
27689
+ "/v1/chat/completions",
27690
+ "/v1/completions",
27691
+ "/v1/batch"
27692
+ ],
27693
+ "supported_modalities": [
27694
+ "text",
27695
+ "image",
27696
+ "audio",
27697
+ "video"
27698
+ ],
27699
+ "supported_output_modalities": [
27700
+ "text"
27701
+ ],
27702
+ "supports_audio_input": true,
27703
+ "supports_function_calling": true,
27704
+ "supports_pdf_input": true,
27705
+ "supports_prompt_caching": true,
27706
+ "supports_reasoning": true,
27707
+ "supports_response_schema": true,
27708
+ "supports_system_messages": true,
27709
+ "supports_tool_choice": true,
27710
+ "supports_video_input": true,
27711
+ "supports_vision": true,
27712
+ "supports_web_search": true
27713
+ },
27714
+ "together_ai/zai-org/GLM-4.6": {
27715
+ "input_cost_per_token": 6e-07,
27716
+ "litellm_provider": "together_ai",
27717
+ "max_input_tokens": 200000,
27718
+ "max_output_tokens": 200000,
27719
+ "max_tokens": 200000,
27720
+ "mode": "chat",
27721
+ "output_cost_per_token": 2.2e-06,
27722
+ "source": "https://www.together.ai/models/glm-4-6",
27723
+ "supports_function_calling": true,
27724
+ "supports_parallel_function_calling": true,
27725
+ "supports_reasoning": true,
27726
+ "supports_tool_choice": true
27727
+ },
27728
+ "vertex_ai/gemini-3-pro-image-preview": {
27729
+ "input_cost_per_image": 0.0011,
27730
+ "input_cost_per_token": 2e-06,
27731
+ "input_cost_per_token_batches": 1e-06,
27732
+ "litellm_provider": "vertex_ai-language-models",
27733
+ "max_input_tokens": 65536,
27734
+ "max_output_tokens": 32768,
27735
+ "max_tokens": 65536,
27736
+ "mode": "image_generation",
27737
+ "output_cost_per_image": 0.134,
27738
+ "output_cost_per_token": 1.2e-05,
27739
+ "output_cost_per_token_batches": 6e-06,
27740
+ "source": "https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/3-pro-image"
27741
+ },
27742
+ "xai/grok-4-1-fast": {
27743
+ "cache_read_input_token_cost": 5e-08,
27744
+ "input_cost_per_token": 2e-07,
27745
+ "input_cost_per_token_above_128k_tokens": 4e-07,
27746
+ "litellm_provider": "xai",
27747
+ "max_input_tokens": 2000000.0,
27748
+ "max_output_tokens": 2000000.0,
27749
+ "max_tokens": 2000000.0,
27750
+ "mode": "chat",
27751
+ "output_cost_per_token": 5e-07,
27752
+ "output_cost_per_token_above_128k_tokens": 1e-06,
27753
+ "source": "https://docs.x.ai/docs/models/grok-4-1-fast-reasoning",
27754
+ "supports_audio_input": true,
27755
+ "supports_function_calling": true,
27756
+ "supports_reasoning": true,
27757
+ "supports_response_schema": true,
27758
+ "supports_tool_choice": true,
27759
+ "supports_vision": true,
27760
+ "supports_web_search": true
27761
+ },
27762
+ "xai/grok-4-1-fast-reasoning": {
27763
+ "cache_read_input_token_cost": 5e-08,
27764
+ "input_cost_per_token": 2e-07,
27765
+ "input_cost_per_token_above_128k_tokens": 4e-07,
27766
+ "litellm_provider": "xai",
27767
+ "max_input_tokens": 2000000.0,
27768
+ "max_output_tokens": 2000000.0,
27769
+ "max_tokens": 2000000.0,
27770
+ "mode": "chat",
27771
+ "output_cost_per_token": 5e-07,
27772
+ "output_cost_per_token_above_128k_tokens": 1e-06,
27773
+ "source": "https://docs.x.ai/docs/models/grok-4-1-fast-reasoning",
27774
+ "supports_audio_input": true,
27775
+ "supports_function_calling": true,
27776
+ "supports_reasoning": true,
27777
+ "supports_response_schema": true,
27778
+ "supports_tool_choice": true,
27779
+ "supports_vision": true,
27780
+ "supports_web_search": true
27781
+ },
27782
+ "xai/grok-4-1-fast-reasoning-latest": {
27783
+ "cache_read_input_token_cost": 5e-08,
27784
+ "input_cost_per_token": 2e-07,
27785
+ "input_cost_per_token_above_128k_tokens": 4e-07,
27786
+ "litellm_provider": "xai",
27787
+ "max_input_tokens": 2000000.0,
27788
+ "max_output_tokens": 2000000.0,
27789
+ "max_tokens": 2000000.0,
27790
+ "mode": "chat",
27791
+ "output_cost_per_token": 5e-07,
27792
+ "output_cost_per_token_above_128k_tokens": 1e-06,
27793
+ "source": "https://docs.x.ai/docs/models/grok-4-1-fast-reasoning",
27794
+ "supports_audio_input": true,
27795
+ "supports_function_calling": true,
27796
+ "supports_reasoning": true,
27797
+ "supports_response_schema": true,
27798
+ "supports_tool_choice": true,
27799
+ "supports_vision": true,
27800
+ "supports_web_search": true
27801
+ },
27802
+ "xai/grok-4-1-fast-non-reasoning": {
27803
+ "cache_read_input_token_cost": 5e-08,
27804
+ "input_cost_per_token": 2e-07,
27805
+ "input_cost_per_token_above_128k_tokens": 4e-07,
27806
+ "litellm_provider": "xai",
27807
+ "max_input_tokens": 2000000.0,
27808
+ "max_output_tokens": 2000000.0,
27809
+ "max_tokens": 2000000.0,
27810
+ "mode": "chat",
27811
+ "output_cost_per_token": 5e-07,
27812
+ "output_cost_per_token_above_128k_tokens": 1e-06,
27813
+ "source": "https://docs.x.ai/docs/models/grok-4-1-fast-non-reasoning",
27814
+ "supports_audio_input": true,
27815
+ "supports_function_calling": true,
27816
+ "supports_response_schema": true,
27817
+ "supports_tool_choice": true,
27818
+ "supports_vision": true,
27819
+ "supports_web_search": true
27820
+ },
27821
+ "xai/grok-4-1-fast-non-reasoning-latest": {
27822
+ "cache_read_input_token_cost": 5e-08,
27823
+ "input_cost_per_token": 2e-07,
27824
+ "input_cost_per_token_above_128k_tokens": 4e-07,
27825
+ "litellm_provider": "xai",
27826
+ "max_input_tokens": 2000000.0,
27827
+ "max_output_tokens": 2000000.0,
27828
+ "max_tokens": 2000000.0,
27829
+ "mode": "chat",
27830
+ "output_cost_per_token": 5e-07,
27831
+ "output_cost_per_token_above_128k_tokens": 1e-06,
27832
+ "source": "https://docs.x.ai/docs/models/grok-4-1-fast-non-reasoning",
27833
+ "supports_audio_input": true,
27834
+ "supports_function_calling": true,
27835
+ "supports_response_schema": true,
27836
+ "supports_tool_choice": true,
27837
+ "supports_vision": true,
27838
+ "supports_web_search": true
27585
27839
  }
27586
27840
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.357
3
+ Version: 0.1.359
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=xKn3KixDcaBUPEiu4bU-SsGyKuKSzKrO3bShsv2_fN4,988335
5
+ tokencostauto-0.1.359.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
+ tokencostauto-0.1.359.dist-info/METADATA,sha256=0EhAJ8xBit7MZQWQd4XLYjVJNa-0LKq8DnBIRLmmDl8,204076
7
+ tokencostauto-0.1.359.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ tokencostauto-0.1.359.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
+ tokencostauto-0.1.359.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=JvsWh4wOQXAEHc_G7_LQrG5Lso2c0ee9p5SH2zUW36s,978816
5
- tokencostauto-0.1.357.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
- tokencostauto-0.1.357.dist-info/METADATA,sha256=_eTMoLGudJXRLm0jQZIyV_3f4JeFp2sC8P7N6E4Tbl0,204076
7
- tokencostauto-0.1.357.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- tokencostauto-0.1.357.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
- tokencostauto-0.1.357.dist-info/RECORD,,