tokencostauto 0.1.404__py3-none-any.whl → 0.1.406__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 +132 -0
- {tokencostauto-0.1.404.dist-info → tokencostauto-0.1.406.dist-info}/METADATA +1 -1
- tokencostauto-0.1.406.dist-info/RECORD +9 -0
- tokencostauto-0.1.404.dist-info/RECORD +0 -9
- {tokencostauto-0.1.404.dist-info → tokencostauto-0.1.406.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.404.dist-info → tokencostauto-0.1.406.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.404.dist-info → tokencostauto-0.1.406.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
|
@@ -32578,5 +32578,137 @@
|
|
|
32578
32578
|
"output_cost_per_token": 0.0,
|
|
32579
32579
|
"litellm_provider": "fireworks_ai",
|
|
32580
32580
|
"mode": "embedding"
|
|
32581
|
+
},
|
|
32582
|
+
"gpt-4o-transcribe-diarize": {
|
|
32583
|
+
"input_cost_per_audio_token": 6e-06,
|
|
32584
|
+
"input_cost_per_token": 2.5e-06,
|
|
32585
|
+
"litellm_provider": "openai",
|
|
32586
|
+
"max_input_tokens": 16000,
|
|
32587
|
+
"max_output_tokens": 2000,
|
|
32588
|
+
"mode": "audio_transcription",
|
|
32589
|
+
"output_cost_per_token": 1e-05,
|
|
32590
|
+
"supported_endpoints": [
|
|
32591
|
+
"/v1/audio/transcriptions"
|
|
32592
|
+
]
|
|
32593
|
+
},
|
|
32594
|
+
"gemini/gemini-3-flash-preview": {
|
|
32595
|
+
"cache_read_input_token_cost": 5e-08,
|
|
32596
|
+
"input_cost_per_audio_token": 1e-06,
|
|
32597
|
+
"input_cost_per_token": 5e-07,
|
|
32598
|
+
"litellm_provider": "gemini",
|
|
32599
|
+
"max_audio_length_hours": 8.4,
|
|
32600
|
+
"max_audio_per_prompt": 1,
|
|
32601
|
+
"max_images_per_prompt": 3000,
|
|
32602
|
+
"max_input_tokens": 1048576,
|
|
32603
|
+
"max_output_tokens": 65535,
|
|
32604
|
+
"max_pdf_size_mb": 30,
|
|
32605
|
+
"max_tokens": 65535,
|
|
32606
|
+
"max_video_length": 1,
|
|
32607
|
+
"max_videos_per_prompt": 10,
|
|
32608
|
+
"mode": "chat",
|
|
32609
|
+
"output_cost_per_reasoning_token": 3e-06,
|
|
32610
|
+
"output_cost_per_token": 3e-06,
|
|
32611
|
+
"rpm": 2000,
|
|
32612
|
+
"source": "https://ai.google.dev/pricing/gemini-3",
|
|
32613
|
+
"supported_endpoints": [
|
|
32614
|
+
"/v1/chat/completions",
|
|
32615
|
+
"/v1/completions",
|
|
32616
|
+
"/v1/batch"
|
|
32617
|
+
],
|
|
32618
|
+
"supported_modalities": [
|
|
32619
|
+
"text",
|
|
32620
|
+
"image",
|
|
32621
|
+
"audio",
|
|
32622
|
+
"video"
|
|
32623
|
+
],
|
|
32624
|
+
"supported_output_modalities": [
|
|
32625
|
+
"text"
|
|
32626
|
+
],
|
|
32627
|
+
"supports_audio_output": false,
|
|
32628
|
+
"supports_function_calling": true,
|
|
32629
|
+
"supports_parallel_function_calling": true,
|
|
32630
|
+
"supports_pdf_input": true,
|
|
32631
|
+
"supports_prompt_caching": true,
|
|
32632
|
+
"supports_reasoning": true,
|
|
32633
|
+
"supports_response_schema": true,
|
|
32634
|
+
"supports_system_messages": true,
|
|
32635
|
+
"supports_tool_choice": true,
|
|
32636
|
+
"supports_url_context": true,
|
|
32637
|
+
"supports_vision": true,
|
|
32638
|
+
"supports_web_search": true,
|
|
32639
|
+
"tpm": 800000
|
|
32640
|
+
},
|
|
32641
|
+
"gemini-3-flash-preview": {
|
|
32642
|
+
"cache_read_input_token_cost": 5e-08,
|
|
32643
|
+
"input_cost_per_audio_token": 1e-06,
|
|
32644
|
+
"input_cost_per_token": 5e-07,
|
|
32645
|
+
"litellm_provider": "vertex_ai-language-models",
|
|
32646
|
+
"max_audio_length_hours": 8.4,
|
|
32647
|
+
"max_audio_per_prompt": 1,
|
|
32648
|
+
"max_images_per_prompt": 3000,
|
|
32649
|
+
"max_input_tokens": 1048576,
|
|
32650
|
+
"max_output_tokens": 65535,
|
|
32651
|
+
"max_pdf_size_mb": 30,
|
|
32652
|
+
"max_tokens": 65535,
|
|
32653
|
+
"max_video_length": 1,
|
|
32654
|
+
"max_videos_per_prompt": 10,
|
|
32655
|
+
"mode": "chat",
|
|
32656
|
+
"output_cost_per_reasoning_token": 3e-06,
|
|
32657
|
+
"output_cost_per_token": 3e-06,
|
|
32658
|
+
"source": "https://ai.google.dev/pricing/gemini-3",
|
|
32659
|
+
"supported_endpoints": [
|
|
32660
|
+
"/v1/chat/completions",
|
|
32661
|
+
"/v1/completions",
|
|
32662
|
+
"/v1/batch"
|
|
32663
|
+
],
|
|
32664
|
+
"supported_modalities": [
|
|
32665
|
+
"text",
|
|
32666
|
+
"image",
|
|
32667
|
+
"audio",
|
|
32668
|
+
"video"
|
|
32669
|
+
],
|
|
32670
|
+
"supported_output_modalities": [
|
|
32671
|
+
"text"
|
|
32672
|
+
],
|
|
32673
|
+
"supports_audio_output": false,
|
|
32674
|
+
"supports_function_calling": true,
|
|
32675
|
+
"supports_parallel_function_calling": true,
|
|
32676
|
+
"supports_pdf_input": true,
|
|
32677
|
+
"supports_prompt_caching": true,
|
|
32678
|
+
"supports_reasoning": true,
|
|
32679
|
+
"supports_response_schema": true,
|
|
32680
|
+
"supports_system_messages": true,
|
|
32681
|
+
"supports_tool_choice": true,
|
|
32682
|
+
"supports_url_context": true,
|
|
32683
|
+
"supports_vision": true,
|
|
32684
|
+
"supports_web_search": true
|
|
32685
|
+
},
|
|
32686
|
+
"gpt-image-1.5": {
|
|
32687
|
+
"cache_read_input_image_token_cost": 2e-06,
|
|
32688
|
+
"cache_read_input_token_cost": 1.25e-06,
|
|
32689
|
+
"input_cost_per_token": 5e-06,
|
|
32690
|
+
"litellm_provider": "openai",
|
|
32691
|
+
"mode": "image_generation",
|
|
32692
|
+
"output_cost_per_token": 1e-05,
|
|
32693
|
+
"input_cost_per_image_token": 8e-06,
|
|
32694
|
+
"output_cost_per_image_token": 3.2e-05,
|
|
32695
|
+
"supported_endpoints": [
|
|
32696
|
+
"/v1/images/generations"
|
|
32697
|
+
],
|
|
32698
|
+
"supports_vision": true
|
|
32699
|
+
},
|
|
32700
|
+
"gpt-image-1.5-2025-12-16": {
|
|
32701
|
+
"cache_read_input_image_token_cost": 2e-06,
|
|
32702
|
+
"cache_read_input_token_cost": 1.25e-06,
|
|
32703
|
+
"input_cost_per_token": 5e-06,
|
|
32704
|
+
"litellm_provider": "openai",
|
|
32705
|
+
"mode": "image_generation",
|
|
32706
|
+
"output_cost_per_token": 1e-05,
|
|
32707
|
+
"input_cost_per_image_token": 8e-06,
|
|
32708
|
+
"output_cost_per_image_token": 3.2e-05,
|
|
32709
|
+
"supported_endpoints": [
|
|
32710
|
+
"/v1/images/generations"
|
|
32711
|
+
],
|
|
32712
|
+
"supports_vision": true
|
|
32581
32713
|
}
|
|
32582
32714
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.406
|
|
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=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,,
|
|
@@ -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=yMJ3xvLn07G099uEWmMtIgM5iCspy1j9C7o-7JuuU7Y,1159721
|
|
5
|
-
tokencostauto-0.1.404.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
|
6
|
-
tokencostauto-0.1.404.dist-info/METADATA,sha256=_P8DrC2jLAZz8Xg7vS66JX9lQJu287AiBMiIUjKJ3Ck,204076
|
|
7
|
-
tokencostauto-0.1.404.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
tokencostauto-0.1.404.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
|
9
|
-
tokencostauto-0.1.404.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|