tokencostauto 0.1.406__py3-none-any.whl → 0.1.410__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.
@@ -20412,6 +20412,7 @@
20412
20412
  "max_videos_per_prompt": 10,
20413
20413
  "mode": "image_generation",
20414
20414
  "output_cost_per_image": 0.039,
20415
+ "output_cost_per_image_token": 3e-05,
20415
20416
  "output_cost_per_reasoning_token": 3e-05,
20416
20417
  "output_cost_per_token": 3e-05,
20417
20418
  "rpm": 100000,
@@ -20460,6 +20461,7 @@
20460
20461
  "max_videos_per_prompt": 10,
20461
20462
  "mode": "image_generation",
20462
20463
  "output_cost_per_image": 0.039,
20464
+ "output_cost_per_image_token": 3e-05,
20463
20465
  "output_cost_per_reasoning_token": 3e-05,
20464
20466
  "output_cost_per_token": 3e-05,
20465
20467
  "rpm": 100000,
@@ -24682,6 +24684,7 @@
24682
24684
  "max_videos_per_prompt": 10,
24683
24685
  "mode": "image_generation",
24684
24686
  "output_cost_per_image": 0.039,
24687
+ "output_cost_per_image_token": 3e-05,
24685
24688
  "output_cost_per_reasoning_token": 2.5e-06,
24686
24689
  "output_cost_per_token": 2.5e-06,
24687
24690
  "rpm": 100000,
@@ -24731,6 +24734,7 @@
24731
24734
  "max_videos_per_prompt": 10,
24732
24735
  "mode": "image_generation",
24733
24736
  "output_cost_per_image": 0.039,
24737
+ "output_cost_per_image_token": 3e-05,
24734
24738
  "output_cost_per_reasoning_token": 2.5e-06,
24735
24739
  "output_cost_per_token": 2.5e-06,
24736
24740
  "rpm": 100000,
@@ -27605,6 +27609,7 @@
27605
27609
  "max_videos_per_prompt": 10,
27606
27610
  "mode": "image_generation",
27607
27611
  "output_cost_per_image": 0.039,
27612
+ "output_cost_per_image_token": 3e-05,
27608
27613
  "output_cost_per_reasoning_token": 2.5e-06,
27609
27614
  "output_cost_per_token": 2.5e-06,
27610
27615
  "rpm": 100000,
@@ -29457,7 +29462,8 @@
29457
29462
  "input_cost_per_token": 4.5e-07,
29458
29463
  "output_cost_per_token": 1.8e-06,
29459
29464
  "litellm_provider": "fireworks_ai",
29460
- "mode": "chat"
29465
+ "mode": "chat",
29466
+ "supports_reasoning": true
29461
29467
  },
29462
29468
  "fireworks_ai/accounts/fireworks/models/flux-kontext-pro": {
29463
29469
  "max_tokens": 4096,
@@ -31159,7 +31165,8 @@
31159
31165
  "input_cost_per_token": 9e-07,
31160
31166
  "output_cost_per_token": 9e-07,
31161
31167
  "litellm_provider": "fireworks_ai",
31162
- "mode": "chat"
31168
+ "mode": "chat",
31169
+ "supports_reasoning": true
31163
31170
  },
31164
31171
  "fireworks_ai/accounts/fireworks/models/qwen3-4b": {
31165
31172
  "max_tokens": 40960,
@@ -31186,7 +31193,8 @@
31186
31193
  "input_cost_per_token": 2e-07,
31187
31194
  "output_cost_per_token": 2e-07,
31188
31195
  "litellm_provider": "fireworks_ai",
31189
- "mode": "chat"
31196
+ "mode": "chat",
31197
+ "supports_reasoning": true
31190
31198
  },
31191
31199
  "fireworks_ai/accounts/fireworks/models/qwen3-coder-30b-a3b-instruct": {
31192
31200
  "max_tokens": 262144,
@@ -32122,7 +32130,7 @@
32122
32130
  "input_cost_per_token": 0,
32123
32131
  "litellm_provider": "openrouter",
32124
32132
  "max_input_tokens": 262144,
32125
- "max_output_tokens": null,
32133
+ "max_output_tokens": 262144,
32126
32134
  "max_tokens": 262144,
32127
32135
  "mode": "chat",
32128
32136
  "output_cost_per_token": 0,
@@ -32150,7 +32158,7 @@
32150
32158
  "input_cost_per_token": 1e-07,
32151
32159
  "litellm_provider": "openrouter",
32152
32160
  "max_input_tokens": 131072,
32153
- "max_output_tokens": null,
32161
+ "max_output_tokens": 131072,
32154
32162
  "max_tokens": 131072,
32155
32163
  "mode": "chat",
32156
32164
  "output_cost_per_token": 1e-07,
@@ -32164,7 +32172,7 @@
32164
32172
  "input_cost_per_token": 1.5e-07,
32165
32173
  "litellm_provider": "openrouter",
32166
32174
  "max_input_tokens": 262144,
32167
- "max_output_tokens": null,
32175
+ "max_output_tokens": 262144,
32168
32176
  "max_tokens": 262144,
32169
32177
  "mode": "chat",
32170
32178
  "output_cost_per_token": 1.5e-07,
@@ -32178,7 +32186,7 @@
32178
32186
  "input_cost_per_token": 2e-07,
32179
32187
  "litellm_provider": "openrouter",
32180
32188
  "max_input_tokens": 262144,
32181
- "max_output_tokens": null,
32189
+ "max_output_tokens": 262144,
32182
32190
  "max_tokens": 262144,
32183
32191
  "mode": "chat",
32184
32192
  "output_cost_per_token": 2e-07,
@@ -32192,7 +32200,7 @@
32192
32200
  "input_cost_per_token": 5e-07,
32193
32201
  "litellm_provider": "openrouter",
32194
32202
  "max_input_tokens": 262144,
32195
- "max_output_tokens": null,
32203
+ "max_output_tokens": 262144,
32196
32204
  "max_tokens": 262144,
32197
32205
  "mode": "chat",
32198
32206
  "output_cost_per_token": 1.5e-06,
@@ -32282,7 +32290,7 @@
32282
32290
  "max_tokens": 16000,
32283
32291
  "mode": "chat",
32284
32292
  "supported_endpoints": [
32285
- "/chat/completions"
32293
+ "/v1/chat/completions"
32286
32294
  ],
32287
32295
  "supports_function_calling": true,
32288
32296
  "supports_parallel_function_calling": true,
@@ -32295,7 +32303,7 @@
32295
32303
  "max_tokens": 16000,
32296
32304
  "mode": "chat",
32297
32305
  "supported_endpoints": [
32298
- "/chat/completions"
32306
+ "/v1/chat/completions"
32299
32307
  ],
32300
32308
  "supports_function_calling": true,
32301
32309
  "supports_parallel_function_calling": true,
@@ -32308,7 +32316,7 @@
32308
32316
  "max_tokens": 16000,
32309
32317
  "mode": "chat",
32310
32318
  "supported_endpoints": [
32311
- "/chat/completions"
32319
+ "/v1/chat/completions"
32312
32320
  ],
32313
32321
  "supports_vision": true
32314
32322
  },
@@ -32319,7 +32327,7 @@
32319
32327
  "max_tokens": 16000,
32320
32328
  "mode": "chat",
32321
32329
  "supported_endpoints": [
32322
- "/chat/completions"
32330
+ "/v1/chat/completions"
32323
32331
  ],
32324
32332
  "supports_function_calling": true,
32325
32333
  "supports_parallel_function_calling": true,
@@ -32332,7 +32340,7 @@
32332
32340
  "max_tokens": 16000,
32333
32341
  "mode": "chat",
32334
32342
  "supported_endpoints": [
32335
- "/chat/completions"
32343
+ "/v1/chat/completions"
32336
32344
  ],
32337
32345
  "supports_function_calling": true,
32338
32346
  "supports_parallel_function_calling": true,
@@ -32489,8 +32497,8 @@
32489
32497
  "max_tokens": 128000,
32490
32498
  "mode": "chat",
32491
32499
  "supported_endpoints": [
32492
- "/chat/completions",
32493
- "/responses"
32500
+ "/v1/chat/completions",
32501
+ "/v1/responses"
32494
32502
  ],
32495
32503
  "supports_function_calling": true,
32496
32504
  "supports_parallel_function_calling": true,
@@ -32515,8 +32523,8 @@
32515
32523
  "max_tokens": 64000,
32516
32524
  "mode": "chat",
32517
32525
  "supported_endpoints": [
32518
- "/chat/completions",
32519
- "/responses"
32526
+ "/v1/chat/completions",
32527
+ "/v1/responses"
32520
32528
  ],
32521
32529
  "supports_function_calling": true,
32522
32530
  "supports_parallel_function_calling": true,
@@ -32530,7 +32538,7 @@
32530
32538
  "max_tokens": 128000,
32531
32539
  "mode": "responses",
32532
32540
  "supported_endpoints": [
32533
- "/responses"
32541
+ "/v1/responses"
32534
32542
  ],
32535
32543
  "supports_function_calling": true,
32536
32544
  "supports_parallel_function_calling": true,
@@ -32544,8 +32552,8 @@
32544
32552
  "max_tokens": 64000,
32545
32553
  "mode": "chat",
32546
32554
  "supported_endpoints": [
32547
- "/chat/completions",
32548
- "/responses"
32555
+ "/v1/chat/completions",
32556
+ "/v1/responses"
32549
32557
  ],
32550
32558
  "supports_function_calling": true,
32551
32559
  "supports_parallel_function_calling": true,
@@ -32695,7 +32703,8 @@
32695
32703
  "supported_endpoints": [
32696
32704
  "/v1/images/generations"
32697
32705
  ],
32698
- "supports_vision": true
32706
+ "supports_vision": true,
32707
+ "supports_pdf_input": true
32699
32708
  },
32700
32709
  "gpt-image-1.5-2025-12-16": {
32701
32710
  "cache_read_input_image_token_cost": 2e-06,
@@ -32709,6 +32718,258 @@
32709
32718
  "supported_endpoints": [
32710
32719
  "/v1/images/generations"
32711
32720
  ],
32712
- "supports_vision": true
32721
+ "supports_vision": true,
32722
+ "supports_pdf_input": true
32723
+ },
32724
+ "vertex_ai/gemini-3-flash-preview": {
32725
+ "cache_read_input_token_cost": 5e-08,
32726
+ "input_cost_per_token": 5e-07,
32727
+ "input_cost_per_audio_token": 1e-06,
32728
+ "litellm_provider": "vertex_ai",
32729
+ "max_audio_length_hours": 8.4,
32730
+ "max_audio_per_prompt": 1,
32731
+ "max_images_per_prompt": 3000,
32732
+ "max_input_tokens": 1048576,
32733
+ "max_output_tokens": 65535,
32734
+ "max_pdf_size_mb": 30,
32735
+ "max_tokens": 65535,
32736
+ "max_video_length": 1,
32737
+ "max_videos_per_prompt": 10,
32738
+ "mode": "chat",
32739
+ "output_cost_per_token": 3e-06,
32740
+ "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",
32741
+ "supported_endpoints": [
32742
+ "/v1/chat/completions",
32743
+ "/v1/completions",
32744
+ "/v1/batch"
32745
+ ],
32746
+ "supported_modalities": [
32747
+ "text",
32748
+ "image",
32749
+ "audio",
32750
+ "video"
32751
+ ],
32752
+ "supported_output_modalities": [
32753
+ "text"
32754
+ ],
32755
+ "supports_audio_input": true,
32756
+ "supports_function_calling": true,
32757
+ "supports_pdf_input": true,
32758
+ "supports_prompt_caching": true,
32759
+ "supports_reasoning": true,
32760
+ "supports_response_schema": true,
32761
+ "supports_system_messages": true,
32762
+ "supports_tool_choice": true,
32763
+ "supports_video_input": true,
32764
+ "supports_vision": true,
32765
+ "supports_web_search": true
32766
+ },
32767
+ "linkup/search": {
32768
+ "input_cost_per_query": 0.00587,
32769
+ "litellm_provider": "linkup",
32770
+ "mode": "search"
32771
+ },
32772
+ "linkup/search-deep": {
32773
+ "input_cost_per_query": 0.05867,
32774
+ "litellm_provider": "linkup",
32775
+ "mode": "search"
32776
+ },
32777
+ "stability/inpaint": {
32778
+ "litellm_provider": "stability",
32779
+ "mode": "image_edit",
32780
+ "output_cost_per_image": 0.005,
32781
+ "supported_endpoints": [
32782
+ "/v1/images/edits"
32783
+ ]
32784
+ },
32785
+ "stability/outpaint": {
32786
+ "litellm_provider": "stability",
32787
+ "mode": "image_edit",
32788
+ "output_cost_per_image": 0.004,
32789
+ "supported_endpoints": [
32790
+ "/v1/images/edits"
32791
+ ]
32792
+ },
32793
+ "stability/erase": {
32794
+ "litellm_provider": "stability",
32795
+ "mode": "image_edit",
32796
+ "output_cost_per_image": 0.005,
32797
+ "supported_endpoints": [
32798
+ "/v1/images/edits"
32799
+ ]
32800
+ },
32801
+ "stability/search-and-replace": {
32802
+ "litellm_provider": "stability",
32803
+ "mode": "image_edit",
32804
+ "output_cost_per_image": 0.005,
32805
+ "supported_endpoints": [
32806
+ "/v1/images/edits"
32807
+ ]
32808
+ },
32809
+ "stability/search-and-recolor": {
32810
+ "litellm_provider": "stability",
32811
+ "mode": "image_edit",
32812
+ "output_cost_per_image": 0.005,
32813
+ "supported_endpoints": [
32814
+ "/v1/images/edits"
32815
+ ]
32816
+ },
32817
+ "stability/remove-background": {
32818
+ "litellm_provider": "stability",
32819
+ "mode": "image_edit",
32820
+ "output_cost_per_image": 0.005,
32821
+ "supported_endpoints": [
32822
+ "/v1/images/edits"
32823
+ ]
32824
+ },
32825
+ "stability/replace-background-and-relight": {
32826
+ "litellm_provider": "stability",
32827
+ "mode": "image_edit",
32828
+ "output_cost_per_image": 0.008,
32829
+ "supported_endpoints": [
32830
+ "/v1/images/edits"
32831
+ ]
32832
+ },
32833
+ "stability/sketch": {
32834
+ "litellm_provider": "stability",
32835
+ "mode": "image_edit",
32836
+ "output_cost_per_image": 0.005,
32837
+ "supported_endpoints": [
32838
+ "/v1/images/edits"
32839
+ ]
32840
+ },
32841
+ "stability/structure": {
32842
+ "litellm_provider": "stability",
32843
+ "mode": "image_edit",
32844
+ "output_cost_per_image": 0.005,
32845
+ "supported_endpoints": [
32846
+ "/v1/images/edits"
32847
+ ]
32848
+ },
32849
+ "stability/style": {
32850
+ "litellm_provider": "stability",
32851
+ "mode": "image_edit",
32852
+ "output_cost_per_image": 0.005,
32853
+ "supported_endpoints": [
32854
+ "/v1/images/edits"
32855
+ ]
32856
+ },
32857
+ "stability/style-transfer": {
32858
+ "litellm_provider": "stability",
32859
+ "mode": "image_edit",
32860
+ "output_cost_per_image": 0.008,
32861
+ "supported_endpoints": [
32862
+ "/v1/images/edits"
32863
+ ]
32864
+ },
32865
+ "stability/fast": {
32866
+ "litellm_provider": "stability",
32867
+ "mode": "image_edit",
32868
+ "output_cost_per_image": 0.002,
32869
+ "supported_endpoints": [
32870
+ "/v1/images/edits"
32871
+ ]
32872
+ },
32873
+ "stability/conservative": {
32874
+ "litellm_provider": "stability",
32875
+ "mode": "image_edit",
32876
+ "output_cost_per_image": 0.04,
32877
+ "supported_endpoints": [
32878
+ "/v1/images/edits"
32879
+ ]
32880
+ },
32881
+ "stability/creative": {
32882
+ "litellm_provider": "stability",
32883
+ "mode": "image_edit",
32884
+ "output_cost_per_image": 0.06,
32885
+ "supported_endpoints": [
32886
+ "/v1/images/edits"
32887
+ ]
32888
+ },
32889
+ "stability.stable-conservative-upscale-v1:0": {
32890
+ "litellm_provider": "bedrock",
32891
+ "max_input_tokens": 77,
32892
+ "mode": "image_edit",
32893
+ "output_cost_per_image": 0.4
32894
+ },
32895
+ "stability.stable-creative-upscale-v1:0": {
32896
+ "litellm_provider": "bedrock",
32897
+ "max_input_tokens": 77,
32898
+ "mode": "image_edit",
32899
+ "output_cost_per_image": 0.6
32900
+ },
32901
+ "stability.stable-fast-upscale-v1:0": {
32902
+ "litellm_provider": "bedrock",
32903
+ "max_input_tokens": 77,
32904
+ "mode": "image_edit",
32905
+ "output_cost_per_image": 0.03
32906
+ },
32907
+ "stability.stable-outpaint-v1:0": {
32908
+ "litellm_provider": "bedrock",
32909
+ "max_input_tokens": 77,
32910
+ "mode": "image_edit",
32911
+ "output_cost_per_image": 0.06
32912
+ },
32913
+ "stability.stable-image-control-sketch-v1:0": {
32914
+ "litellm_provider": "bedrock",
32915
+ "max_input_tokens": 77,
32916
+ "mode": "image_edit",
32917
+ "output_cost_per_image": 0.07
32918
+ },
32919
+ "stability.stable-image-control-structure-v1:0": {
32920
+ "litellm_provider": "bedrock",
32921
+ "max_input_tokens": 77,
32922
+ "mode": "image_edit",
32923
+ "output_cost_per_image": 0.07
32924
+ },
32925
+ "stability.stable-image-erase-object-v1:0": {
32926
+ "litellm_provider": "bedrock",
32927
+ "max_input_tokens": 77,
32928
+ "mode": "image_edit",
32929
+ "output_cost_per_image": 0.07
32930
+ },
32931
+ "stability.stable-image-inpaint-v1:0": {
32932
+ "litellm_provider": "bedrock",
32933
+ "max_input_tokens": 77,
32934
+ "mode": "image_edit",
32935
+ "output_cost_per_image": 0.07
32936
+ },
32937
+ "stability.stable-image-remove-background-v1:0": {
32938
+ "litellm_provider": "bedrock",
32939
+ "max_input_tokens": 77,
32940
+ "mode": "image_edit",
32941
+ "output_cost_per_image": 0.07
32942
+ },
32943
+ "stability.stable-image-search-recolor-v1:0": {
32944
+ "litellm_provider": "bedrock",
32945
+ "max_input_tokens": 77,
32946
+ "mode": "image_edit",
32947
+ "output_cost_per_image": 0.07
32948
+ },
32949
+ "stability.stable-image-search-replace-v1:0": {
32950
+ "litellm_provider": "bedrock",
32951
+ "max_input_tokens": 77,
32952
+ "mode": "image_edit",
32953
+ "output_cost_per_image": 0.07
32954
+ },
32955
+ "stability.stable-image-style-guide-v1:0": {
32956
+ "litellm_provider": "bedrock",
32957
+ "max_input_tokens": 77,
32958
+ "mode": "image_edit",
32959
+ "output_cost_per_image": 0.07
32960
+ },
32961
+ "stability.stable-style-transfer-v1:0": {
32962
+ "litellm_provider": "bedrock",
32963
+ "max_input_tokens": 77,
32964
+ "mode": "image_edit",
32965
+ "output_cost_per_image": 0.08
32966
+ },
32967
+ "vertex_ai/deepseek-ai/deepseek-ocr-maas": {
32968
+ "litellm_provider": "vertex_ai",
32969
+ "mode": "ocr",
32970
+ "input_cost_per_token": 3e-07,
32971
+ "output_cost_per_token": 1.2e-06,
32972
+ "ocr_cost_per_page": 0.0003,
32973
+ "source": "https://cloud.google.com/vertex-ai/pricing"
32713
32974
  }
32714
32975
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.406
3
+ Version: 0.1.410
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=Dj-yHwTyoUgfDOKGP-OKIZTEmqDjqUE3o_Qy8gqSbHk,1172314
5
+ tokencostauto-0.1.410.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
+ tokencostauto-0.1.410.dist-info/METADATA,sha256=ZsF08GIFxZ1J-0J9D_IimqVZQaNwFGAqp9ZnztpWnmo,204076
7
+ tokencostauto-0.1.410.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ tokencostauto-0.1.410.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
+ tokencostauto-0.1.410.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=smCQM7I07ZAb9tOvuR_C9fIcvz0CRwIyfLQMv-hloLo,1164189
5
- tokencostauto-0.1.406.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
- tokencostauto-0.1.406.dist-info/METADATA,sha256=C8k3_QrLl0nyYopOS3IHG-XvZLG5yq4-4z6bAGUcamo,204076
7
- tokencostauto-0.1.406.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- tokencostauto-0.1.406.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
- tokencostauto-0.1.406.dist-info/RECORD,,