tokencostauto 0.1.93__py3-none-any.whl → 0.1.95__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 +105 -17
- {tokencostauto-0.1.93.dist-info → tokencostauto-0.1.95.dist-info}/METADATA +1 -1
- tokencostauto-0.1.95.dist-info/RECORD +9 -0
- tokencostauto-0.1.93.dist-info/RECORD +0 -9
- {tokencostauto-0.1.93.dist-info → tokencostauto-0.1.95.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.93.dist-info → tokencostauto-0.1.95.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.93.dist-info → tokencostauto-0.1.95.dist-info}/top_level.txt +0 -0
tokencostauto/model_prices.json
CHANGED
@@ -12085,9 +12085,9 @@
|
|
12085
12085
|
"max_output_tokens": 4028,
|
12086
12086
|
"litellm_provider": "meta_llama",
|
12087
12087
|
"mode": "chat",
|
12088
|
-
"supports_function_calling":
|
12088
|
+
"supports_function_calling": true,
|
12089
12089
|
"source": "https://llama.developer.meta.com/docs/models",
|
12090
|
-
"supports_tool_choice":
|
12090
|
+
"supports_tool_choice": true,
|
12091
12091
|
"supported_modalities": [
|
12092
12092
|
"text",
|
12093
12093
|
"image"
|
@@ -12102,9 +12102,9 @@
|
|
12102
12102
|
"max_output_tokens": 4028,
|
12103
12103
|
"litellm_provider": "meta_llama",
|
12104
12104
|
"mode": "chat",
|
12105
|
-
"supports_function_calling":
|
12105
|
+
"supports_function_calling": true,
|
12106
12106
|
"source": "https://llama.developer.meta.com/docs/models",
|
12107
|
-
"supports_tool_choice":
|
12107
|
+
"supports_tool_choice": true,
|
12108
12108
|
"supported_modalities": [
|
12109
12109
|
"text",
|
12110
12110
|
"image"
|
@@ -12119,9 +12119,9 @@
|
|
12119
12119
|
"max_output_tokens": 4028,
|
12120
12120
|
"litellm_provider": "meta_llama",
|
12121
12121
|
"mode": "chat",
|
12122
|
-
"supports_function_calling":
|
12122
|
+
"supports_function_calling": true,
|
12123
12123
|
"source": "https://llama.developer.meta.com/docs/models",
|
12124
|
-
"supports_tool_choice":
|
12124
|
+
"supports_tool_choice": true,
|
12125
12125
|
"supported_modalities": [
|
12126
12126
|
"text"
|
12127
12127
|
],
|
@@ -12135,9 +12135,9 @@
|
|
12135
12135
|
"max_output_tokens": 4028,
|
12136
12136
|
"litellm_provider": "meta_llama",
|
12137
12137
|
"mode": "chat",
|
12138
|
-
"supports_function_calling":
|
12138
|
+
"supports_function_calling": true,
|
12139
12139
|
"source": "https://llama.developer.meta.com/docs/models",
|
12140
|
-
"supports_tool_choice":
|
12140
|
+
"supports_tool_choice": true,
|
12141
12141
|
"supported_modalities": [
|
12142
12142
|
"text"
|
12143
12143
|
],
|
@@ -13608,9 +13608,9 @@
|
|
13608
13608
|
"max_audio_per_prompt": 1,
|
13609
13609
|
"max_pdf_size_mb": 30,
|
13610
13610
|
"input_cost_per_audio_token": 1e-06,
|
13611
|
-
"input_cost_per_token":
|
13612
|
-
"output_cost_per_token":
|
13613
|
-
"output_cost_per_reasoning_token":
|
13611
|
+
"input_cost_per_token": 3e-07,
|
13612
|
+
"output_cost_per_token": 2.5e-06,
|
13613
|
+
"output_cost_per_reasoning_token": 2.5e-06,
|
13614
13614
|
"litellm_provider": "gemini",
|
13615
13615
|
"mode": "chat",
|
13616
13616
|
"rpm": 10,
|
@@ -13650,9 +13650,9 @@
|
|
13650
13650
|
"max_audio_per_prompt": 1,
|
13651
13651
|
"max_pdf_size_mb": 30,
|
13652
13652
|
"input_cost_per_audio_token": 1e-06,
|
13653
|
-
"input_cost_per_token":
|
13654
|
-
"output_cost_per_token":
|
13655
|
-
"output_cost_per_reasoning_token":
|
13653
|
+
"input_cost_per_token": 3e-07,
|
13654
|
+
"output_cost_per_token": 2.5e-06,
|
13655
|
+
"output_cost_per_reasoning_token": 2.5e-06,
|
13656
13656
|
"litellm_provider": "vertex_ai-language-models",
|
13657
13657
|
"mode": "chat",
|
13658
13658
|
"supports_reasoning": true,
|
@@ -15202,8 +15202,8 @@
|
|
15202
15202
|
"output_cost_per_token_above_200k_tokens": 1.5e-05,
|
15203
15203
|
"litellm_provider": "gemini",
|
15204
15204
|
"mode": "chat",
|
15205
|
-
"rpm":
|
15206
|
-
"tpm":
|
15205
|
+
"rpm": 2000,
|
15206
|
+
"tpm": 800000,
|
15207
15207
|
"supports_system_messages": true,
|
15208
15208
|
"supports_function_calling": true,
|
15209
15209
|
"supports_vision": true,
|
@@ -15280,7 +15280,7 @@
|
|
15280
15280
|
"max_audio_length_hours": 8.4,
|
15281
15281
|
"max_audio_per_prompt": 1,
|
15282
15282
|
"max_pdf_size_mb": 30,
|
15283
|
-
"input_cost_per_audio_token":
|
15283
|
+
"input_cost_per_audio_token": 5e-07,
|
15284
15284
|
"input_cost_per_token": 1e-07,
|
15285
15285
|
"output_cost_per_token": 4e-07,
|
15286
15286
|
"output_cost_per_reasoning_token": 4e-07,
|
@@ -15387,5 +15387,93 @@
|
|
15387
15387
|
"tool_use_system_prompt_tokens": 159,
|
15388
15388
|
"supports_assistant_prefill": true,
|
15389
15389
|
"supports_tool_choice": true
|
15390
|
+
},
|
15391
|
+
"gemini/gemini-2.5-flash": {
|
15392
|
+
"max_tokens": 65535,
|
15393
|
+
"max_input_tokens": 1048576,
|
15394
|
+
"max_output_tokens": 65535,
|
15395
|
+
"max_images_per_prompt": 3000,
|
15396
|
+
"max_videos_per_prompt": 10,
|
15397
|
+
"max_video_length": 1,
|
15398
|
+
"max_audio_length_hours": 8.4,
|
15399
|
+
"max_audio_per_prompt": 1,
|
15400
|
+
"max_pdf_size_mb": 30,
|
15401
|
+
"input_cost_per_audio_token": 1e-06,
|
15402
|
+
"input_cost_per_token": 3e-07,
|
15403
|
+
"output_cost_per_token": 2.5e-06,
|
15404
|
+
"output_cost_per_reasoning_token": 2.5e-06,
|
15405
|
+
"litellm_provider": "gemini",
|
15406
|
+
"mode": "chat",
|
15407
|
+
"supports_reasoning": true,
|
15408
|
+
"supports_system_messages": true,
|
15409
|
+
"supports_function_calling": true,
|
15410
|
+
"supports_vision": true,
|
15411
|
+
"supports_response_schema": true,
|
15412
|
+
"supports_audio_output": false,
|
15413
|
+
"supports_tool_choice": true,
|
15414
|
+
"supported_endpoints": [
|
15415
|
+
"/v1/chat/completions",
|
15416
|
+
"/v1/completions",
|
15417
|
+
"/v1/batch"
|
15418
|
+
],
|
15419
|
+
"supported_modalities": [
|
15420
|
+
"text",
|
15421
|
+
"image",
|
15422
|
+
"audio",
|
15423
|
+
"video"
|
15424
|
+
],
|
15425
|
+
"supported_output_modalities": [
|
15426
|
+
"text"
|
15427
|
+
],
|
15428
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
15429
|
+
"supports_parallel_function_calling": true,
|
15430
|
+
"supports_web_search": true,
|
15431
|
+
"supports_url_context": true,
|
15432
|
+
"tpm": 8000000,
|
15433
|
+
"rpm": 100000
|
15434
|
+
},
|
15435
|
+
"gemini/gemini-2.5-flash-lite-preview-06-17": {
|
15436
|
+
"max_tokens": 65535,
|
15437
|
+
"max_input_tokens": 1048576,
|
15438
|
+
"max_output_tokens": 65535,
|
15439
|
+
"max_images_per_prompt": 3000,
|
15440
|
+
"max_videos_per_prompt": 10,
|
15441
|
+
"max_video_length": 1,
|
15442
|
+
"max_audio_length_hours": 8.4,
|
15443
|
+
"max_audio_per_prompt": 1,
|
15444
|
+
"max_pdf_size_mb": 30,
|
15445
|
+
"input_cost_per_audio_token": 5e-07,
|
15446
|
+
"input_cost_per_token": 1e-07,
|
15447
|
+
"output_cost_per_token": 4e-07,
|
15448
|
+
"output_cost_per_reasoning_token": 4e-07,
|
15449
|
+
"litellm_provider": "gemini",
|
15450
|
+
"mode": "chat",
|
15451
|
+
"rpm": 15,
|
15452
|
+
"tpm": 250000,
|
15453
|
+
"supports_reasoning": true,
|
15454
|
+
"supports_system_messages": true,
|
15455
|
+
"supports_function_calling": true,
|
15456
|
+
"supports_vision": true,
|
15457
|
+
"supports_response_schema": true,
|
15458
|
+
"supports_audio_output": false,
|
15459
|
+
"supports_tool_choice": true,
|
15460
|
+
"supported_endpoints": [
|
15461
|
+
"/v1/chat/completions",
|
15462
|
+
"/v1/completions",
|
15463
|
+
"/v1/batch"
|
15464
|
+
],
|
15465
|
+
"supported_modalities": [
|
15466
|
+
"text",
|
15467
|
+
"image",
|
15468
|
+
"audio",
|
15469
|
+
"video"
|
15470
|
+
],
|
15471
|
+
"supported_output_modalities": [
|
15472
|
+
"text"
|
15473
|
+
],
|
15474
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-lite",
|
15475
|
+
"supports_parallel_function_calling": true,
|
15476
|
+
"supports_web_search": true,
|
15477
|
+
"supports_url_context": true
|
15390
15478
|
}
|
15391
15479
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.95
|
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=SsYzn5lHWD9m7X35Y9r0-fT-u46mClNfAaCiwe7HLAA,552246
|
5
|
+
tokencostauto-0.1.95.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.95.dist-info/METADATA,sha256=d5pI0kLcxV2gZmxckvwyNep5UTYDqQoD7wFXmQ5gZ0c,204075
|
7
|
+
tokencostauto-0.1.95.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tokencostauto-0.1.95.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.95.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=je9ylK4y61vjTBjIP8GK1U8NZ0fgdM6ZQFv3_tTqZ80,549314
|
5
|
-
tokencostauto-0.1.93.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
-
tokencostauto-0.1.93.dist-info/METADATA,sha256=yenZb7X_4ybGtAXe6qQjKe1zsthcDrL6-Byfm7FXoPM,204075
|
7
|
-
tokencostauto-0.1.93.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
-
tokencostauto-0.1.93.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
-
tokencostauto-0.1.93.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|