tokencostauto 0.1.45__py3-none-any.whl → 0.1.49__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.
- tokencostauto/model_prices.json +539 -0
- {tokencostauto-0.1.45.dist-info → tokencostauto-0.1.49.dist-info}/METADATA +1 -1
- tokencostauto-0.1.49.dist-info/RECORD +9 -0
- tokencostauto-0.1.45.dist-info/RECORD +0 -9
- {tokencostauto-0.1.45.dist-info → tokencostauto-0.1.49.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.45.dist-info → tokencostauto-0.1.49.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.45.dist-info → tokencostauto-0.1.49.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
@@ -13492,5 +13492,544 @@
|
|
13492
13492
|
"supports_tool_choice": true,
|
13493
13493
|
"supports_reasoning": true,
|
13494
13494
|
"source": "https://cloud.sambanova.ai/plans/pricing"
|
13495
|
+
},
|
13496
|
+
"xai/grok-3": {
|
13497
|
+
"max_tokens": 131072,
|
13498
|
+
"max_input_tokens": 131072,
|
13499
|
+
"max_output_tokens": 131072,
|
13500
|
+
"input_cost_per_token": 3e-06,
|
13501
|
+
"output_cost_per_token": 1.5e-05,
|
13502
|
+
"litellm_provider": "xai",
|
13503
|
+
"mode": "chat",
|
13504
|
+
"supports_function_calling": true,
|
13505
|
+
"supports_tool_choice": true,
|
13506
|
+
"supports_response_schema": false,
|
13507
|
+
"source": "https://x.ai/api#pricing"
|
13508
|
+
},
|
13509
|
+
"gemini/gemini-2.5-flash-preview-tts": {
|
13510
|
+
"max_tokens": 65535,
|
13511
|
+
"max_input_tokens": 1048576,
|
13512
|
+
"max_output_tokens": 65535,
|
13513
|
+
"max_images_per_prompt": 3000,
|
13514
|
+
"max_videos_per_prompt": 10,
|
13515
|
+
"max_video_length": 1,
|
13516
|
+
"max_audio_length_hours": 8.4,
|
13517
|
+
"max_audio_per_prompt": 1,
|
13518
|
+
"max_pdf_size_mb": 30,
|
13519
|
+
"input_cost_per_audio_token": 1e-06,
|
13520
|
+
"input_cost_per_token": 1.5e-07,
|
13521
|
+
"output_cost_per_token": 6e-07,
|
13522
|
+
"output_cost_per_reasoning_token": 3.5e-06,
|
13523
|
+
"litellm_provider": "gemini",
|
13524
|
+
"mode": "chat",
|
13525
|
+
"rpm": 10,
|
13526
|
+
"tpm": 250000,
|
13527
|
+
"supports_system_messages": true,
|
13528
|
+
"supports_function_calling": true,
|
13529
|
+
"supports_vision": true,
|
13530
|
+
"supports_reasoning": true,
|
13531
|
+
"supports_response_schema": true,
|
13532
|
+
"supports_audio_output": false,
|
13533
|
+
"supports_tool_choice": true,
|
13534
|
+
"supported_endpoints": [
|
13535
|
+
"/v1/chat/completions",
|
13536
|
+
"/v1/completions"
|
13537
|
+
],
|
13538
|
+
"supported_modalities": [
|
13539
|
+
"text"
|
13540
|
+
],
|
13541
|
+
"supported_output_modalities": [
|
13542
|
+
"audio"
|
13543
|
+
],
|
13544
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview"
|
13545
|
+
},
|
13546
|
+
"gemini/gemini-2.5-flash-preview-05-20": {
|
13547
|
+
"max_tokens": 65535,
|
13548
|
+
"max_input_tokens": 1048576,
|
13549
|
+
"max_output_tokens": 65535,
|
13550
|
+
"max_images_per_prompt": 3000,
|
13551
|
+
"max_videos_per_prompt": 10,
|
13552
|
+
"max_video_length": 1,
|
13553
|
+
"max_audio_length_hours": 8.4,
|
13554
|
+
"max_audio_per_prompt": 1,
|
13555
|
+
"max_pdf_size_mb": 30,
|
13556
|
+
"input_cost_per_audio_token": 1e-06,
|
13557
|
+
"input_cost_per_token": 1.5e-07,
|
13558
|
+
"output_cost_per_token": 6e-07,
|
13559
|
+
"output_cost_per_reasoning_token": 3.5e-06,
|
13560
|
+
"litellm_provider": "gemini",
|
13561
|
+
"mode": "chat",
|
13562
|
+
"rpm": 10,
|
13563
|
+
"tpm": 250000,
|
13564
|
+
"supports_system_messages": true,
|
13565
|
+
"supports_function_calling": true,
|
13566
|
+
"supports_vision": true,
|
13567
|
+
"supports_reasoning": true,
|
13568
|
+
"supports_response_schema": true,
|
13569
|
+
"supports_audio_output": false,
|
13570
|
+
"supports_tool_choice": true,
|
13571
|
+
"supported_endpoints": [
|
13572
|
+
"/v1/chat/completions",
|
13573
|
+
"/v1/completions"
|
13574
|
+
],
|
13575
|
+
"supported_modalities": [
|
13576
|
+
"text",
|
13577
|
+
"image",
|
13578
|
+
"audio",
|
13579
|
+
"video"
|
13580
|
+
],
|
13581
|
+
"supported_output_modalities": [
|
13582
|
+
"text"
|
13583
|
+
],
|
13584
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview"
|
13585
|
+
},
|
13586
|
+
"gemini-2.5-flash-preview-05-20": {
|
13587
|
+
"max_tokens": 65535,
|
13588
|
+
"max_input_tokens": 1048576,
|
13589
|
+
"max_output_tokens": 65535,
|
13590
|
+
"max_images_per_prompt": 3000,
|
13591
|
+
"max_videos_per_prompt": 10,
|
13592
|
+
"max_video_length": 1,
|
13593
|
+
"max_audio_length_hours": 8.4,
|
13594
|
+
"max_audio_per_prompt": 1,
|
13595
|
+
"max_pdf_size_mb": 30,
|
13596
|
+
"input_cost_per_audio_token": 1e-06,
|
13597
|
+
"input_cost_per_token": 1.5e-07,
|
13598
|
+
"output_cost_per_token": 6e-07,
|
13599
|
+
"output_cost_per_reasoning_token": 3.5e-06,
|
13600
|
+
"litellm_provider": "vertex_ai-language-models",
|
13601
|
+
"mode": "chat",
|
13602
|
+
"supports_reasoning": true,
|
13603
|
+
"supports_system_messages": true,
|
13604
|
+
"supports_function_calling": true,
|
13605
|
+
"supports_vision": true,
|
13606
|
+
"supports_response_schema": true,
|
13607
|
+
"supports_audio_output": false,
|
13608
|
+
"supports_tool_choice": true,
|
13609
|
+
"supported_endpoints": [
|
13610
|
+
"/v1/chat/completions",
|
13611
|
+
"/v1/completions",
|
13612
|
+
"/v1/batch"
|
13613
|
+
],
|
13614
|
+
"supported_modalities": [
|
13615
|
+
"text",
|
13616
|
+
"image",
|
13617
|
+
"audio",
|
13618
|
+
"video"
|
13619
|
+
],
|
13620
|
+
"supported_output_modalities": [
|
13621
|
+
"text"
|
13622
|
+
],
|
13623
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview"
|
13624
|
+
},
|
13625
|
+
"gemini-2.0-flash-preview-image-generation": {
|
13626
|
+
"max_tokens": 8192,
|
13627
|
+
"max_input_tokens": 1048576,
|
13628
|
+
"max_output_tokens": 8192,
|
13629
|
+
"max_images_per_prompt": 3000,
|
13630
|
+
"max_videos_per_prompt": 10,
|
13631
|
+
"max_video_length": 1,
|
13632
|
+
"max_audio_length_hours": 8.4,
|
13633
|
+
"max_audio_per_prompt": 1,
|
13634
|
+
"max_pdf_size_mb": 30,
|
13635
|
+
"input_cost_per_audio_token": 7e-07,
|
13636
|
+
"input_cost_per_token": 1e-07,
|
13637
|
+
"output_cost_per_token": 4e-07,
|
13638
|
+
"litellm_provider": "vertex_ai-language-models",
|
13639
|
+
"mode": "chat",
|
13640
|
+
"supports_system_messages": true,
|
13641
|
+
"supports_function_calling": true,
|
13642
|
+
"supports_vision": true,
|
13643
|
+
"supports_response_schema": true,
|
13644
|
+
"supports_audio_output": true,
|
13645
|
+
"supports_audio_input": true,
|
13646
|
+
"supported_modalities": [
|
13647
|
+
"text",
|
13648
|
+
"image",
|
13649
|
+
"audio",
|
13650
|
+
"video"
|
13651
|
+
],
|
13652
|
+
"supported_output_modalities": [
|
13653
|
+
"text",
|
13654
|
+
"image"
|
13655
|
+
],
|
13656
|
+
"supports_tool_choice": true,
|
13657
|
+
"source": "https://ai.google.dev/pricing#2_0flash"
|
13658
|
+
},
|
13659
|
+
"gemini-2.5-pro-preview-tts": {
|
13660
|
+
"max_tokens": 65535,
|
13661
|
+
"max_input_tokens": 1048576,
|
13662
|
+
"max_output_tokens": 65535,
|
13663
|
+
"max_images_per_prompt": 3000,
|
13664
|
+
"max_videos_per_prompt": 10,
|
13665
|
+
"max_video_length": 1,
|
13666
|
+
"max_audio_length_hours": 8.4,
|
13667
|
+
"max_audio_per_prompt": 1,
|
13668
|
+
"max_pdf_size_mb": 30,
|
13669
|
+
"input_cost_per_audio_token": 7e-07,
|
13670
|
+
"input_cost_per_token": 1.25e-06,
|
13671
|
+
"input_cost_per_token_above_200k_tokens": 2.5e-06,
|
13672
|
+
"output_cost_per_token": 1e-05,
|
13673
|
+
"output_cost_per_token_above_200k_tokens": 1.5e-05,
|
13674
|
+
"litellm_provider": "vertex_ai-language-models",
|
13675
|
+
"mode": "chat",
|
13676
|
+
"supports_system_messages": true,
|
13677
|
+
"supports_function_calling": true,
|
13678
|
+
"supports_vision": true,
|
13679
|
+
"supports_response_schema": true,
|
13680
|
+
"supports_audio_output": false,
|
13681
|
+
"supports_tool_choice": true,
|
13682
|
+
"supported_modalities": [
|
13683
|
+
"text"
|
13684
|
+
],
|
13685
|
+
"supported_output_modalities": [
|
13686
|
+
"audio"
|
13687
|
+
],
|
13688
|
+
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview"
|
13689
|
+
},
|
13690
|
+
"gemini/gemini-2.0-flash-preview-image-generation": {
|
13691
|
+
"max_tokens": 8192,
|
13692
|
+
"max_input_tokens": 1048576,
|
13693
|
+
"max_output_tokens": 8192,
|
13694
|
+
"max_images_per_prompt": 3000,
|
13695
|
+
"max_videos_per_prompt": 10,
|
13696
|
+
"max_video_length": 1,
|
13697
|
+
"max_audio_length_hours": 8.4,
|
13698
|
+
"max_audio_per_prompt": 1,
|
13699
|
+
"max_pdf_size_mb": 30,
|
13700
|
+
"input_cost_per_audio_token": 7e-07,
|
13701
|
+
"input_cost_per_token": 1e-07,
|
13702
|
+
"output_cost_per_token": 4e-07,
|
13703
|
+
"litellm_provider": "gemini",
|
13704
|
+
"mode": "chat",
|
13705
|
+
"rpm": 10000,
|
13706
|
+
"tpm": 10000000,
|
13707
|
+
"supports_system_messages": true,
|
13708
|
+
"supports_function_calling": true,
|
13709
|
+
"supports_vision": true,
|
13710
|
+
"supports_response_schema": true,
|
13711
|
+
"supports_audio_output": true,
|
13712
|
+
"supports_audio_input": true,
|
13713
|
+
"supported_modalities": [
|
13714
|
+
"text",
|
13715
|
+
"image",
|
13716
|
+
"audio",
|
13717
|
+
"video"
|
13718
|
+
],
|
13719
|
+
"supported_output_modalities": [
|
13720
|
+
"text",
|
13721
|
+
"image"
|
13722
|
+
],
|
13723
|
+
"supports_tool_choice": true,
|
13724
|
+
"source": "https://ai.google.dev/pricing#2_0flash"
|
13725
|
+
},
|
13726
|
+
"gemini/gemini-2.5-pro-preview-tts": {
|
13727
|
+
"max_tokens": 65535,
|
13728
|
+
"max_input_tokens": 1048576,
|
13729
|
+
"max_output_tokens": 65535,
|
13730
|
+
"max_images_per_prompt": 3000,
|
13731
|
+
"max_videos_per_prompt": 10,
|
13732
|
+
"max_video_length": 1,
|
13733
|
+
"max_audio_length_hours": 8.4,
|
13734
|
+
"max_audio_per_prompt": 1,
|
13735
|
+
"max_pdf_size_mb": 30,
|
13736
|
+
"input_cost_per_audio_token": 7e-07,
|
13737
|
+
"input_cost_per_token": 1.25e-06,
|
13738
|
+
"input_cost_per_token_above_200k_tokens": 2.5e-06,
|
13739
|
+
"output_cost_per_token": 1e-05,
|
13740
|
+
"output_cost_per_token_above_200k_tokens": 1.5e-05,
|
13741
|
+
"litellm_provider": "gemini",
|
13742
|
+
"mode": "chat",
|
13743
|
+
"rpm": 10000,
|
13744
|
+
"tpm": 10000000,
|
13745
|
+
"supports_system_messages": true,
|
13746
|
+
"supports_function_calling": true,
|
13747
|
+
"supports_vision": true,
|
13748
|
+
"supports_response_schema": true,
|
13749
|
+
"supports_audio_output": false,
|
13750
|
+
"supports_tool_choice": true,
|
13751
|
+
"supported_modalities": [
|
13752
|
+
"text"
|
13753
|
+
],
|
13754
|
+
"supported_output_modalities": [
|
13755
|
+
"audio"
|
13756
|
+
],
|
13757
|
+
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview"
|
13758
|
+
},
|
13759
|
+
"claude-opus-4-20250514": {
|
13760
|
+
"max_tokens": 128000,
|
13761
|
+
"max_input_tokens": 200000,
|
13762
|
+
"max_output_tokens": 128000,
|
13763
|
+
"input_cost_per_token": 1.5e-05,
|
13764
|
+
"output_cost_per_token": 7.5e-05,
|
13765
|
+
"search_context_cost_per_query": {
|
13766
|
+
"search_context_size_low": 0.01,
|
13767
|
+
"search_context_size_medium": 0.01,
|
13768
|
+
"search_context_size_high": 0.01
|
13769
|
+
},
|
13770
|
+
"cache_creation_input_token_cost": 1.875e-05,
|
13771
|
+
"cache_read_input_token_cost": 1.5e-06,
|
13772
|
+
"litellm_provider": "anthropic",
|
13773
|
+
"mode": "chat",
|
13774
|
+
"supports_function_calling": true,
|
13775
|
+
"supports_vision": true,
|
13776
|
+
"tool_use_system_prompt_tokens": 159,
|
13777
|
+
"supports_assistant_prefill": true,
|
13778
|
+
"supports_pdf_input": true,
|
13779
|
+
"supports_prompt_caching": true,
|
13780
|
+
"supports_response_schema": true,
|
13781
|
+
"supports_tool_choice": true,
|
13782
|
+
"supports_reasoning": true,
|
13783
|
+
"supports_computer_use": true
|
13784
|
+
},
|
13785
|
+
"claude-sonnet-4-20250514": {
|
13786
|
+
"max_tokens": 128000,
|
13787
|
+
"max_input_tokens": 200000,
|
13788
|
+
"max_output_tokens": 128000,
|
13789
|
+
"input_cost_per_token": 3e-06,
|
13790
|
+
"output_cost_per_token": 1.5e-05,
|
13791
|
+
"search_context_cost_per_query": {
|
13792
|
+
"search_context_size_low": 0.01,
|
13793
|
+
"search_context_size_medium": 0.01,
|
13794
|
+
"search_context_size_high": 0.01
|
13795
|
+
},
|
13796
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
13797
|
+
"cache_read_input_token_cost": 3e-07,
|
13798
|
+
"litellm_provider": "anthropic",
|
13799
|
+
"mode": "chat",
|
13800
|
+
"supports_function_calling": true,
|
13801
|
+
"supports_vision": true,
|
13802
|
+
"tool_use_system_prompt_tokens": 159,
|
13803
|
+
"supports_assistant_prefill": true,
|
13804
|
+
"supports_pdf_input": true,
|
13805
|
+
"supports_prompt_caching": true,
|
13806
|
+
"supports_response_schema": true,
|
13807
|
+
"supports_tool_choice": true,
|
13808
|
+
"supports_reasoning": true,
|
13809
|
+
"supports_computer_use": true
|
13810
|
+
},
|
13811
|
+
"vertex_ai/claude-opus-4@20250514": {
|
13812
|
+
"max_tokens": 128000,
|
13813
|
+
"max_input_tokens": 200000,
|
13814
|
+
"max_output_tokens": 128000,
|
13815
|
+
"input_cost_per_token": 1.5e-05,
|
13816
|
+
"output_cost_per_token": 7.5e-05,
|
13817
|
+
"search_context_cost_per_query": {
|
13818
|
+
"search_context_size_low": 0.01,
|
13819
|
+
"search_context_size_medium": 0.01,
|
13820
|
+
"search_context_size_high": 0.01
|
13821
|
+
},
|
13822
|
+
"cache_creation_input_token_cost": 1.875e-05,
|
13823
|
+
"cache_read_input_token_cost": 1.5e-06,
|
13824
|
+
"litellm_provider": "vertex_ai-anthropic_models",
|
13825
|
+
"mode": "chat",
|
13826
|
+
"supports_function_calling": true,
|
13827
|
+
"supports_vision": true,
|
13828
|
+
"tool_use_system_prompt_tokens": 159,
|
13829
|
+
"supports_assistant_prefill": true,
|
13830
|
+
"supports_pdf_input": true,
|
13831
|
+
"supports_prompt_caching": true,
|
13832
|
+
"supports_response_schema": true,
|
13833
|
+
"supports_tool_choice": true,
|
13834
|
+
"supports_reasoning": true,
|
13835
|
+
"supports_computer_use": true
|
13836
|
+
},
|
13837
|
+
"vertex_ai/claude-sonnet-4@20250514": {
|
13838
|
+
"max_tokens": 128000,
|
13839
|
+
"max_input_tokens": 200000,
|
13840
|
+
"max_output_tokens": 128000,
|
13841
|
+
"input_cost_per_token": 3e-06,
|
13842
|
+
"output_cost_per_token": 1.5e-05,
|
13843
|
+
"search_context_cost_per_query": {
|
13844
|
+
"search_context_size_low": 0.01,
|
13845
|
+
"search_context_size_medium": 0.01,
|
13846
|
+
"search_context_size_high": 0.01
|
13847
|
+
},
|
13848
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
13849
|
+
"cache_read_input_token_cost": 3e-07,
|
13850
|
+
"litellm_provider": "vertex_ai-anthropic_models",
|
13851
|
+
"mode": "chat",
|
13852
|
+
"supports_function_calling": true,
|
13853
|
+
"supports_vision": true,
|
13854
|
+
"tool_use_system_prompt_tokens": 159,
|
13855
|
+
"supports_assistant_prefill": true,
|
13856
|
+
"supports_pdf_input": true,
|
13857
|
+
"supports_prompt_caching": true,
|
13858
|
+
"supports_response_schema": true,
|
13859
|
+
"supports_tool_choice": true,
|
13860
|
+
"supports_reasoning": true,
|
13861
|
+
"supports_computer_use": true
|
13862
|
+
},
|
13863
|
+
"anthropic.claude-opus-4-20250514-v1:0": {
|
13864
|
+
"max_tokens": 128000,
|
13865
|
+
"max_input_tokens": 200000,
|
13866
|
+
"max_output_tokens": 128000,
|
13867
|
+
"input_cost_per_token": 1.5e-05,
|
13868
|
+
"output_cost_per_token": 7.5e-05,
|
13869
|
+
"search_context_cost_per_query": {
|
13870
|
+
"search_context_size_low": 0.01,
|
13871
|
+
"search_context_size_medium": 0.01,
|
13872
|
+
"search_context_size_high": 0.01
|
13873
|
+
},
|
13874
|
+
"cache_creation_input_token_cost": 1.875e-05,
|
13875
|
+
"cache_read_input_token_cost": 1.5e-06,
|
13876
|
+
"litellm_provider": "bedrock_converse",
|
13877
|
+
"mode": "chat",
|
13878
|
+
"supports_function_calling": true,
|
13879
|
+
"supports_vision": true,
|
13880
|
+
"tool_use_system_prompt_tokens": 159,
|
13881
|
+
"supports_assistant_prefill": true,
|
13882
|
+
"supports_pdf_input": true,
|
13883
|
+
"supports_prompt_caching": true,
|
13884
|
+
"supports_response_schema": true,
|
13885
|
+
"supports_tool_choice": true,
|
13886
|
+
"supports_reasoning": true,
|
13887
|
+
"supports_computer_use": true
|
13888
|
+
},
|
13889
|
+
"anthropic.claude-sonnet-4-20250514-v1:0": {
|
13890
|
+
"max_tokens": 128000,
|
13891
|
+
"max_input_tokens": 200000,
|
13892
|
+
"max_output_tokens": 128000,
|
13893
|
+
"input_cost_per_token": 3e-06,
|
13894
|
+
"output_cost_per_token": 1.5e-05,
|
13895
|
+
"search_context_cost_per_query": {
|
13896
|
+
"search_context_size_low": 0.01,
|
13897
|
+
"search_context_size_medium": 0.01,
|
13898
|
+
"search_context_size_high": 0.01
|
13899
|
+
},
|
13900
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
13901
|
+
"cache_read_input_token_cost": 3e-07,
|
13902
|
+
"litellm_provider": "bedrock_converse",
|
13903
|
+
"mode": "chat",
|
13904
|
+
"supports_function_calling": true,
|
13905
|
+
"supports_vision": true,
|
13906
|
+
"tool_use_system_prompt_tokens": 159,
|
13907
|
+
"supports_assistant_prefill": true,
|
13908
|
+
"supports_pdf_input": true,
|
13909
|
+
"supports_prompt_caching": true,
|
13910
|
+
"supports_response_schema": true,
|
13911
|
+
"supports_tool_choice": true,
|
13912
|
+
"supports_reasoning": true,
|
13913
|
+
"supports_computer_use": true
|
13914
|
+
},
|
13915
|
+
"us.anthropic.claude-opus-4-20250514-v1:0": {
|
13916
|
+
"max_tokens": 128000,
|
13917
|
+
"max_input_tokens": 200000,
|
13918
|
+
"max_output_tokens": 128000,
|
13919
|
+
"input_cost_per_token": 1.5e-05,
|
13920
|
+
"output_cost_per_token": 7.5e-05,
|
13921
|
+
"search_context_cost_per_query": {
|
13922
|
+
"search_context_size_low": 0.01,
|
13923
|
+
"search_context_size_medium": 0.01,
|
13924
|
+
"search_context_size_high": 0.01
|
13925
|
+
},
|
13926
|
+
"cache_creation_input_token_cost": 1.875e-05,
|
13927
|
+
"cache_read_input_token_cost": 1.5e-06,
|
13928
|
+
"litellm_provider": "bedrock_converse",
|
13929
|
+
"mode": "chat",
|
13930
|
+
"supports_function_calling": true,
|
13931
|
+
"supports_vision": true,
|
13932
|
+
"tool_use_system_prompt_tokens": 159,
|
13933
|
+
"supports_assistant_prefill": true,
|
13934
|
+
"supports_pdf_input": true,
|
13935
|
+
"supports_prompt_caching": true,
|
13936
|
+
"supports_response_schema": true,
|
13937
|
+
"supports_tool_choice": true,
|
13938
|
+
"supports_reasoning": true,
|
13939
|
+
"supports_computer_use": true
|
13940
|
+
},
|
13941
|
+
"us.anthropic.claude-sonnet-4-20250514-v1:0": {
|
13942
|
+
"max_tokens": 128000,
|
13943
|
+
"max_input_tokens": 200000,
|
13944
|
+
"max_output_tokens": 128000,
|
13945
|
+
"input_cost_per_token": 3e-06,
|
13946
|
+
"output_cost_per_token": 1.5e-05,
|
13947
|
+
"search_context_cost_per_query": {
|
13948
|
+
"search_context_size_low": 0.01,
|
13949
|
+
"search_context_size_medium": 0.01,
|
13950
|
+
"search_context_size_high": 0.01
|
13951
|
+
},
|
13952
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
13953
|
+
"cache_read_input_token_cost": 3e-07,
|
13954
|
+
"litellm_provider": "bedrock_converse",
|
13955
|
+
"mode": "chat",
|
13956
|
+
"supports_function_calling": true,
|
13957
|
+
"supports_vision": true,
|
13958
|
+
"tool_use_system_prompt_tokens": 159,
|
13959
|
+
"supports_assistant_prefill": true,
|
13960
|
+
"supports_pdf_input": true,
|
13961
|
+
"supports_prompt_caching": true,
|
13962
|
+
"supports_response_schema": true,
|
13963
|
+
"supports_tool_choice": true,
|
13964
|
+
"supports_reasoning": true,
|
13965
|
+
"supports_computer_use": true
|
13966
|
+
},
|
13967
|
+
"eu.anthropic.claude-opus-4-20250514-v1:0": {
|
13968
|
+
"max_tokens": 128000,
|
13969
|
+
"max_input_tokens": 200000,
|
13970
|
+
"max_output_tokens": 128000,
|
13971
|
+
"input_cost_per_token": 1.5e-05,
|
13972
|
+
"output_cost_per_token": 7.5e-05,
|
13973
|
+
"search_context_cost_per_query": {
|
13974
|
+
"search_context_size_low": 0.01,
|
13975
|
+
"search_context_size_medium": 0.01,
|
13976
|
+
"search_context_size_high": 0.01
|
13977
|
+
},
|
13978
|
+
"cache_creation_input_token_cost": 1.875e-05,
|
13979
|
+
"cache_read_input_token_cost": 1.5e-06,
|
13980
|
+
"litellm_provider": "bedrock_converse",
|
13981
|
+
"mode": "chat",
|
13982
|
+
"supports_function_calling": true,
|
13983
|
+
"supports_vision": true,
|
13984
|
+
"tool_use_system_prompt_tokens": 159,
|
13985
|
+
"supports_assistant_prefill": true,
|
13986
|
+
"supports_pdf_input": true,
|
13987
|
+
"supports_prompt_caching": true,
|
13988
|
+
"supports_response_schema": true,
|
13989
|
+
"supports_tool_choice": true,
|
13990
|
+
"supports_reasoning": true,
|
13991
|
+
"supports_computer_use": true
|
13992
|
+
},
|
13993
|
+
"eu.anthropic.claude-sonnet-4-20250514-v1:0": {
|
13994
|
+
"max_tokens": 128000,
|
13995
|
+
"max_input_tokens": 200000,
|
13996
|
+
"max_output_tokens": 128000,
|
13997
|
+
"input_cost_per_token": 3e-06,
|
13998
|
+
"output_cost_per_token": 1.5e-05,
|
13999
|
+
"search_context_cost_per_query": {
|
14000
|
+
"search_context_size_low": 0.01,
|
14001
|
+
"search_context_size_medium": 0.01,
|
14002
|
+
"search_context_size_high": 0.01
|
14003
|
+
},
|
14004
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
14005
|
+
"cache_read_input_token_cost": 3e-07,
|
14006
|
+
"litellm_provider": "bedrock_converse",
|
14007
|
+
"mode": "chat",
|
14008
|
+
"supports_function_calling": true,
|
14009
|
+
"supports_vision": true,
|
14010
|
+
"tool_use_system_prompt_tokens": 159,
|
14011
|
+
"supports_assistant_prefill": true,
|
14012
|
+
"supports_pdf_input": true,
|
14013
|
+
"supports_prompt_caching": true,
|
14014
|
+
"supports_response_schema": true,
|
14015
|
+
"supports_tool_choice": true,
|
14016
|
+
"supports_reasoning": true,
|
14017
|
+
"supports_computer_use": true
|
14018
|
+
},
|
14019
|
+
"databricks/databricks-llama-4-maverick": {
|
14020
|
+
"max_tokens": 128000,
|
14021
|
+
"max_input_tokens": 128000,
|
14022
|
+
"max_output_tokens": 128000,
|
14023
|
+
"input_cost_per_token": 5e-06,
|
14024
|
+
"input_dbu_cost_per_token": 7.143e-05,
|
14025
|
+
"output_cost_per_token": 1.5e-05,
|
14026
|
+
"output_dbu_cost_per_token": 0.00021429,
|
14027
|
+
"litellm_provider": "databricks",
|
14028
|
+
"mode": "chat",
|
14029
|
+
"source": "https://www.databricks.com/product/pricing/foundation-model-serving",
|
14030
|
+
"metadata": {
|
14031
|
+
"notes": "Databricks documentation now provides both DBU costs (_dbu_cost_per_token) and dollar costs(_cost_per_token)."
|
14032
|
+
},
|
14033
|
+
"supports_tool_choice": true
|
13495
14034
|
}
|
13496
14035
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.49
|
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=2pxtl_-l1ENJdrcGEXEglkN96gR2h_CNUU99HVxcoWc,501196
|
5
|
+
tokencostauto-0.1.49.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.49.dist-info/METADATA,sha256=R9jkk6Mx-RLDjNLOlhWbeUFz_pZO1WVjPgJK5aZKPlA,204075
|
7
|
+
tokencostauto-0.1.49.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
8
|
+
tokencostauto-0.1.49.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.49.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=daBX_R3upEm3qKffxLRbCbvEUV0O_tV2zAihAZk_1Ik,481554
|
5
|
-
tokencostauto-0.1.45.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
-
tokencostauto-0.1.45.dist-info/METADATA,sha256=p1YnDxA8s9nFXYxVeqj1foigM4p9epkVPG49Nrq3C2Q,204075
|
7
|
-
tokencostauto-0.1.45.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
8
|
-
tokencostauto-0.1.45.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
-
tokencostauto-0.1.45.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|