tokencostauto 0.1.93__py3-none-any.whl → 0.1.97__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 +300 -29
- {tokencostauto-0.1.93.dist-info → tokencostauto-0.1.97.dist-info}/METADATA +1 -1
- tokencostauto-0.1.97.dist-info/RECORD +9 -0
- tokencostauto-0.1.93.dist-info/RECORD +0 -9
- {tokencostauto-0.1.93.dist-info → tokencostauto-0.1.97.dist-info}/WHEEL +0 -0
- {tokencostauto-0.1.93.dist-info → tokencostauto-0.1.97.dist-info}/licenses/LICENSE +0 -0
- {tokencostauto-0.1.93.dist-info → tokencostauto-0.1.97.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
|
],
|
@@ -12267,7 +12267,8 @@
|
|
12267
12267
|
"text"
|
12268
12268
|
],
|
12269
12269
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
12270
|
-
"supports_web_search": true
|
12270
|
+
"supports_web_search": true,
|
12271
|
+
"supports_pdf_input": true
|
12271
12272
|
},
|
12272
12273
|
"gemini-2.5-flash-preview-04-17": {
|
12273
12274
|
"max_tokens": 65535,
|
@@ -12308,7 +12309,8 @@
|
|
12308
12309
|
],
|
12309
12310
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
12310
12311
|
"supports_parallel_function_calling": true,
|
12311
|
-
"supports_web_search": true
|
12312
|
+
"supports_web_search": true,
|
12313
|
+
"supports_pdf_input": true
|
12312
12314
|
},
|
12313
12315
|
"gemini-2.0-flash": {
|
12314
12316
|
"max_tokens": 8192,
|
@@ -12457,7 +12459,8 @@
|
|
12457
12459
|
],
|
12458
12460
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
12459
12461
|
"supports_parallel_function_calling": true,
|
12460
|
-
"supports_web_search": true
|
12462
|
+
"supports_web_search": true,
|
12463
|
+
"supports_pdf_input": true
|
12461
12464
|
},
|
12462
12465
|
"gemini-2.5-pro-preview-03-25": {
|
12463
12466
|
"max_tokens": 65535,
|
@@ -12499,7 +12502,8 @@
|
|
12499
12502
|
],
|
12500
12503
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
12501
12504
|
"supports_parallel_function_calling": true,
|
12502
|
-
"supports_web_search": true
|
12505
|
+
"supports_web_search": true,
|
12506
|
+
"supports_pdf_input": true
|
12503
12507
|
},
|
12504
12508
|
"gemini/gemini-2.0-flash-lite": {
|
12505
12509
|
"max_input_tokens": 1048576,
|
@@ -12571,7 +12575,8 @@
|
|
12571
12575
|
],
|
12572
12576
|
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",
|
12573
12577
|
"supports_web_search": true,
|
12574
|
-
"supports_url_context": true
|
12578
|
+
"supports_url_context": true,
|
12579
|
+
"supports_pdf_input": true
|
12575
12580
|
},
|
12576
12581
|
"gemini/gemini-2.5-pro-preview-03-25": {
|
12577
12582
|
"max_tokens": 65535,
|
@@ -12608,7 +12613,8 @@
|
|
12608
12613
|
"text"
|
12609
12614
|
],
|
12610
12615
|
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",
|
12611
|
-
"supports_web_search": true
|
12616
|
+
"supports_web_search": true,
|
12617
|
+
"supports_pdf_input": true
|
12612
12618
|
},
|
12613
12619
|
"vertex_ai/meta/llama-4-scout-17b-16e-instruct-maas": {
|
12614
12620
|
"max_tokens": 10000000.0,
|
@@ -13608,9 +13614,9 @@
|
|
13608
13614
|
"max_audio_per_prompt": 1,
|
13609
13615
|
"max_pdf_size_mb": 30,
|
13610
13616
|
"input_cost_per_audio_token": 1e-06,
|
13611
|
-
"input_cost_per_token":
|
13612
|
-
"output_cost_per_token":
|
13613
|
-
"output_cost_per_reasoning_token":
|
13617
|
+
"input_cost_per_token": 3e-07,
|
13618
|
+
"output_cost_per_token": 2.5e-06,
|
13619
|
+
"output_cost_per_reasoning_token": 2.5e-06,
|
13614
13620
|
"litellm_provider": "gemini",
|
13615
13621
|
"mode": "chat",
|
13616
13622
|
"rpm": 10,
|
@@ -13637,7 +13643,8 @@
|
|
13637
13643
|
],
|
13638
13644
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
13639
13645
|
"supports_web_search": true,
|
13640
|
-
"supports_url_context": true
|
13646
|
+
"supports_url_context": true,
|
13647
|
+
"supports_pdf_input": true
|
13641
13648
|
},
|
13642
13649
|
"gemini-2.5-flash-preview-05-20": {
|
13643
13650
|
"max_tokens": 65535,
|
@@ -13650,9 +13657,9 @@
|
|
13650
13657
|
"max_audio_per_prompt": 1,
|
13651
13658
|
"max_pdf_size_mb": 30,
|
13652
13659
|
"input_cost_per_audio_token": 1e-06,
|
13653
|
-
"input_cost_per_token":
|
13654
|
-
"output_cost_per_token":
|
13655
|
-
"output_cost_per_reasoning_token":
|
13660
|
+
"input_cost_per_token": 3e-07,
|
13661
|
+
"output_cost_per_token": 2.5e-06,
|
13662
|
+
"output_cost_per_reasoning_token": 2.5e-06,
|
13656
13663
|
"litellm_provider": "vertex_ai-language-models",
|
13657
13664
|
"mode": "chat",
|
13658
13665
|
"supports_reasoning": true,
|
@@ -13679,7 +13686,8 @@
|
|
13679
13686
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
13680
13687
|
"supports_parallel_function_calling": true,
|
13681
13688
|
"supports_web_search": true,
|
13682
|
-
"supports_url_context": true
|
13689
|
+
"supports_url_context": true,
|
13690
|
+
"supports_pdf_input": true
|
13683
13691
|
},
|
13684
13692
|
"gemini-2.0-flash-preview-image-generation": {
|
13685
13693
|
"max_tokens": 8192,
|
@@ -14362,7 +14370,8 @@
|
|
14362
14370
|
],
|
14363
14371
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
14364
14372
|
"supports_parallel_function_calling": true,
|
14365
|
-
"supports_web_search": true
|
14373
|
+
"supports_web_search": true,
|
14374
|
+
"supports_pdf_input": true
|
14366
14375
|
},
|
14367
14376
|
"gemini/gemini-2.5-pro-preview-06-05": {
|
14368
14377
|
"max_tokens": 65535,
|
@@ -14400,7 +14409,8 @@
|
|
14400
14409
|
],
|
14401
14410
|
"source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-pro-preview",
|
14402
14411
|
"supports_web_search": true,
|
14403
|
-
"supports_url_context": true
|
14412
|
+
"supports_url_context": true,
|
14413
|
+
"supports_pdf_input": true
|
14404
14414
|
},
|
14405
14415
|
"gpt-4o-audio-preview-2025-06-03": {
|
14406
14416
|
"max_tokens": 16384,
|
@@ -15202,8 +15212,8 @@
|
|
15202
15212
|
"output_cost_per_token_above_200k_tokens": 1.5e-05,
|
15203
15213
|
"litellm_provider": "gemini",
|
15204
15214
|
"mode": "chat",
|
15205
|
-
"rpm":
|
15206
|
-
"tpm":
|
15215
|
+
"rpm": 2000,
|
15216
|
+
"tpm": 800000,
|
15207
15217
|
"supports_system_messages": true,
|
15208
15218
|
"supports_function_calling": true,
|
15209
15219
|
"supports_vision": true,
|
@@ -15212,6 +15222,7 @@
|
|
15212
15222
|
"supports_pdf_input": true,
|
15213
15223
|
"supports_response_schema": true,
|
15214
15224
|
"supports_tool_choice": true,
|
15225
|
+
"supports_reasoning": true,
|
15215
15226
|
"supported_endpoints": [
|
15216
15227
|
"/v1/chat/completions",
|
15217
15228
|
"/v1/completions"
|
@@ -15268,7 +15279,8 @@
|
|
15268
15279
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
15269
15280
|
"supports_parallel_function_calling": true,
|
15270
15281
|
"supports_web_search": true,
|
15271
|
-
"supports_url_context": true
|
15282
|
+
"supports_url_context": true,
|
15283
|
+
"supports_pdf_input": true
|
15272
15284
|
},
|
15273
15285
|
"gemini-2.5-flash-lite-preview-06-17": {
|
15274
15286
|
"max_tokens": 65535,
|
@@ -15280,7 +15292,7 @@
|
|
15280
15292
|
"max_audio_length_hours": 8.4,
|
15281
15293
|
"max_audio_per_prompt": 1,
|
15282
15294
|
"max_pdf_size_mb": 30,
|
15283
|
-
"input_cost_per_audio_token":
|
15295
|
+
"input_cost_per_audio_token": 5e-07,
|
15284
15296
|
"input_cost_per_token": 1e-07,
|
15285
15297
|
"output_cost_per_token": 4e-07,
|
15286
15298
|
"output_cost_per_reasoning_token": 4e-07,
|
@@ -15310,7 +15322,8 @@
|
|
15310
15322
|
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
15311
15323
|
"supports_parallel_function_calling": true,
|
15312
15324
|
"supports_web_search": true,
|
15313
|
-
"supports_url_context": true
|
15325
|
+
"supports_url_context": true,
|
15326
|
+
"supports_pdf_input": true
|
15314
15327
|
},
|
15315
15328
|
"openrouter/deepseek/deepseek-r1-0528": {
|
15316
15329
|
"max_tokens": 8192,
|
@@ -15387,5 +15400,263 @@
|
|
15387
15400
|
"tool_use_system_prompt_tokens": 159,
|
15388
15401
|
"supports_assistant_prefill": true,
|
15389
15402
|
"supports_tool_choice": true
|
15403
|
+
},
|
15404
|
+
"gemini/gemini-2.5-flash": {
|
15405
|
+
"max_tokens": 65535,
|
15406
|
+
"max_input_tokens": 1048576,
|
15407
|
+
"max_output_tokens": 65535,
|
15408
|
+
"max_images_per_prompt": 3000,
|
15409
|
+
"max_videos_per_prompt": 10,
|
15410
|
+
"max_video_length": 1,
|
15411
|
+
"max_audio_length_hours": 8.4,
|
15412
|
+
"max_audio_per_prompt": 1,
|
15413
|
+
"max_pdf_size_mb": 30,
|
15414
|
+
"input_cost_per_audio_token": 1e-06,
|
15415
|
+
"input_cost_per_token": 3e-07,
|
15416
|
+
"output_cost_per_token": 2.5e-06,
|
15417
|
+
"output_cost_per_reasoning_token": 2.5e-06,
|
15418
|
+
"litellm_provider": "gemini",
|
15419
|
+
"mode": "chat",
|
15420
|
+
"supports_reasoning": true,
|
15421
|
+
"supports_system_messages": true,
|
15422
|
+
"supports_function_calling": true,
|
15423
|
+
"supports_vision": true,
|
15424
|
+
"supports_response_schema": true,
|
15425
|
+
"supports_audio_output": false,
|
15426
|
+
"supports_tool_choice": true,
|
15427
|
+
"supported_endpoints": [
|
15428
|
+
"/v1/chat/completions",
|
15429
|
+
"/v1/completions",
|
15430
|
+
"/v1/batch"
|
15431
|
+
],
|
15432
|
+
"supported_modalities": [
|
15433
|
+
"text",
|
15434
|
+
"image",
|
15435
|
+
"audio",
|
15436
|
+
"video"
|
15437
|
+
],
|
15438
|
+
"supported_output_modalities": [
|
15439
|
+
"text"
|
15440
|
+
],
|
15441
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
|
15442
|
+
"supports_parallel_function_calling": true,
|
15443
|
+
"supports_web_search": true,
|
15444
|
+
"supports_url_context": true,
|
15445
|
+
"tpm": 8000000,
|
15446
|
+
"rpm": 100000,
|
15447
|
+
"supports_pdf_input": true
|
15448
|
+
},
|
15449
|
+
"gemini/gemini-2.5-flash-lite-preview-06-17": {
|
15450
|
+
"max_tokens": 65535,
|
15451
|
+
"max_input_tokens": 1048576,
|
15452
|
+
"max_output_tokens": 65535,
|
15453
|
+
"max_images_per_prompt": 3000,
|
15454
|
+
"max_videos_per_prompt": 10,
|
15455
|
+
"max_video_length": 1,
|
15456
|
+
"max_audio_length_hours": 8.4,
|
15457
|
+
"max_audio_per_prompt": 1,
|
15458
|
+
"max_pdf_size_mb": 30,
|
15459
|
+
"input_cost_per_audio_token": 5e-07,
|
15460
|
+
"input_cost_per_token": 1e-07,
|
15461
|
+
"output_cost_per_token": 4e-07,
|
15462
|
+
"output_cost_per_reasoning_token": 4e-07,
|
15463
|
+
"litellm_provider": "gemini",
|
15464
|
+
"mode": "chat",
|
15465
|
+
"rpm": 15,
|
15466
|
+
"tpm": 250000,
|
15467
|
+
"supports_reasoning": true,
|
15468
|
+
"supports_system_messages": true,
|
15469
|
+
"supports_function_calling": true,
|
15470
|
+
"supports_vision": true,
|
15471
|
+
"supports_response_schema": true,
|
15472
|
+
"supports_audio_output": false,
|
15473
|
+
"supports_tool_choice": true,
|
15474
|
+
"supported_endpoints": [
|
15475
|
+
"/v1/chat/completions",
|
15476
|
+
"/v1/completions",
|
15477
|
+
"/v1/batch"
|
15478
|
+
],
|
15479
|
+
"supported_modalities": [
|
15480
|
+
"text",
|
15481
|
+
"image",
|
15482
|
+
"audio",
|
15483
|
+
"video"
|
15484
|
+
],
|
15485
|
+
"supported_output_modalities": [
|
15486
|
+
"text"
|
15487
|
+
],
|
15488
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-lite",
|
15489
|
+
"supports_parallel_function_calling": true,
|
15490
|
+
"supports_web_search": true,
|
15491
|
+
"supports_url_context": true,
|
15492
|
+
"supports_pdf_input": true
|
15493
|
+
},
|
15494
|
+
"gemini-2.5-pro": {
|
15495
|
+
"max_tokens": 65535,
|
15496
|
+
"max_input_tokens": 1048576,
|
15497
|
+
"max_output_tokens": 65535,
|
15498
|
+
"max_images_per_prompt": 3000,
|
15499
|
+
"max_videos_per_prompt": 10,
|
15500
|
+
"max_video_length": 1,
|
15501
|
+
"max_audio_length_hours": 8.4,
|
15502
|
+
"max_audio_per_prompt": 1,
|
15503
|
+
"max_pdf_size_mb": 30,
|
15504
|
+
"input_cost_per_token": 1.25e-06,
|
15505
|
+
"input_cost_per_token_above_200k_tokens": 2.5e-06,
|
15506
|
+
"output_cost_per_token": 1e-05,
|
15507
|
+
"output_cost_per_token_above_200k_tokens": 1.5e-05,
|
15508
|
+
"litellm_provider": "vertex_ai-language-models",
|
15509
|
+
"mode": "chat",
|
15510
|
+
"supports_system_messages": true,
|
15511
|
+
"supports_function_calling": true,
|
15512
|
+
"supports_vision": true,
|
15513
|
+
"supports_audio_input": true,
|
15514
|
+
"supports_video_input": true,
|
15515
|
+
"supports_pdf_input": true,
|
15516
|
+
"supports_response_schema": true,
|
15517
|
+
"supports_tool_choice": true,
|
15518
|
+
"supports_reasoning": true,
|
15519
|
+
"supported_endpoints": [
|
15520
|
+
"/v1/chat/completions",
|
15521
|
+
"/v1/completions"
|
15522
|
+
],
|
15523
|
+
"supported_modalities": [
|
15524
|
+
"text",
|
15525
|
+
"image",
|
15526
|
+
"audio",
|
15527
|
+
"video"
|
15528
|
+
],
|
15529
|
+
"supported_output_modalities": [
|
15530
|
+
"text"
|
15531
|
+
],
|
15532
|
+
"source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",
|
15533
|
+
"supports_web_search": true
|
15534
|
+
},
|
15535
|
+
"apac.amazon.nova-micro-v1:0": {
|
15536
|
+
"max_tokens": 10000,
|
15537
|
+
"max_input_tokens": 300000,
|
15538
|
+
"max_output_tokens": 10000,
|
15539
|
+
"input_cost_per_token": 3.7e-08,
|
15540
|
+
"output_cost_per_token": 1.48e-07,
|
15541
|
+
"litellm_provider": "bedrock_converse",
|
15542
|
+
"mode": "chat",
|
15543
|
+
"supports_function_calling": true,
|
15544
|
+
"supports_prompt_caching": true,
|
15545
|
+
"supports_response_schema": true
|
15546
|
+
},
|
15547
|
+
"apac.amazon.nova-lite-v1:0": {
|
15548
|
+
"max_tokens": 10000,
|
15549
|
+
"max_input_tokens": 128000,
|
15550
|
+
"max_output_tokens": 10000,
|
15551
|
+
"input_cost_per_token": 6.3e-08,
|
15552
|
+
"output_cost_per_token": 2.52e-07,
|
15553
|
+
"litellm_provider": "bedrock_converse",
|
15554
|
+
"mode": "chat",
|
15555
|
+
"supports_function_calling": true,
|
15556
|
+
"supports_vision": true,
|
15557
|
+
"supports_pdf_input": true,
|
15558
|
+
"supports_prompt_caching": true,
|
15559
|
+
"supports_response_schema": true
|
15560
|
+
},
|
15561
|
+
"apac.amazon.nova-pro-v1:0": {
|
15562
|
+
"max_tokens": 10000,
|
15563
|
+
"max_input_tokens": 300000,
|
15564
|
+
"max_output_tokens": 10000,
|
15565
|
+
"input_cost_per_token": 8.4e-07,
|
15566
|
+
"output_cost_per_token": 3.36e-06,
|
15567
|
+
"litellm_provider": "bedrock_converse",
|
15568
|
+
"mode": "chat",
|
15569
|
+
"supports_function_calling": true,
|
15570
|
+
"supports_vision": true,
|
15571
|
+
"supports_pdf_input": true,
|
15572
|
+
"supports_prompt_caching": true,
|
15573
|
+
"supports_response_schema": true
|
15574
|
+
},
|
15575
|
+
"apac.anthropic.claude-3-haiku-20240307-v1:0": {
|
15576
|
+
"max_tokens": 4096,
|
15577
|
+
"max_input_tokens": 200000,
|
15578
|
+
"max_output_tokens": 4096,
|
15579
|
+
"input_cost_per_token": 2.5e-07,
|
15580
|
+
"output_cost_per_token": 1.25e-06,
|
15581
|
+
"litellm_provider": "bedrock",
|
15582
|
+
"mode": "chat",
|
15583
|
+
"supports_function_calling": true,
|
15584
|
+
"supports_response_schema": true,
|
15585
|
+
"supports_vision": true,
|
15586
|
+
"supports_pdf_input": true,
|
15587
|
+
"supports_tool_choice": true
|
15588
|
+
},
|
15589
|
+
"apac.anthropic.claude-3-sonnet-20240229-v1:0": {
|
15590
|
+
"max_tokens": 4096,
|
15591
|
+
"max_input_tokens": 200000,
|
15592
|
+
"max_output_tokens": 4096,
|
15593
|
+
"input_cost_per_token": 3e-06,
|
15594
|
+
"output_cost_per_token": 1.5e-05,
|
15595
|
+
"litellm_provider": "bedrock",
|
15596
|
+
"mode": "chat",
|
15597
|
+
"supports_function_calling": true,
|
15598
|
+
"supports_response_schema": true,
|
15599
|
+
"supports_vision": true,
|
15600
|
+
"supports_pdf_input": true,
|
15601
|
+
"supports_tool_choice": true
|
15602
|
+
},
|
15603
|
+
"apac.anthropic.claude-3-5-sonnet-20240620-v1:0": {
|
15604
|
+
"max_tokens": 4096,
|
15605
|
+
"max_input_tokens": 200000,
|
15606
|
+
"max_output_tokens": 4096,
|
15607
|
+
"input_cost_per_token": 3e-06,
|
15608
|
+
"output_cost_per_token": 1.5e-05,
|
15609
|
+
"litellm_provider": "bedrock",
|
15610
|
+
"mode": "chat",
|
15611
|
+
"supports_function_calling": true,
|
15612
|
+
"supports_response_schema": true,
|
15613
|
+
"supports_vision": true,
|
15614
|
+
"supports_pdf_input": true,
|
15615
|
+
"supports_tool_choice": true
|
15616
|
+
},
|
15617
|
+
"apac.anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
15618
|
+
"max_tokens": 8192,
|
15619
|
+
"max_input_tokens": 200000,
|
15620
|
+
"max_output_tokens": 8192,
|
15621
|
+
"input_cost_per_token": 3e-06,
|
15622
|
+
"output_cost_per_token": 1.5e-05,
|
15623
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
15624
|
+
"cache_read_input_token_cost": 3e-07,
|
15625
|
+
"litellm_provider": "bedrock",
|
15626
|
+
"mode": "chat",
|
15627
|
+
"supports_function_calling": true,
|
15628
|
+
"supports_vision": true,
|
15629
|
+
"supports_assistant_prefill": true,
|
15630
|
+
"supports_computer_use": true,
|
15631
|
+
"supports_pdf_input": true,
|
15632
|
+
"supports_prompt_caching": true,
|
15633
|
+
"supports_response_schema": true,
|
15634
|
+
"supports_tool_choice": true
|
15635
|
+
},
|
15636
|
+
"apac.anthropic.claude-sonnet-4-20250514-v1:0": {
|
15637
|
+
"max_tokens": 64000,
|
15638
|
+
"max_input_tokens": 200000,
|
15639
|
+
"max_output_tokens": 64000,
|
15640
|
+
"input_cost_per_token": 3e-06,
|
15641
|
+
"output_cost_per_token": 1.5e-05,
|
15642
|
+
"search_context_cost_per_query": {
|
15643
|
+
"search_context_size_low": 0.01,
|
15644
|
+
"search_context_size_medium": 0.01,
|
15645
|
+
"search_context_size_high": 0.01
|
15646
|
+
},
|
15647
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
15648
|
+
"cache_read_input_token_cost": 3e-07,
|
15649
|
+
"litellm_provider": "bedrock_converse",
|
15650
|
+
"mode": "chat",
|
15651
|
+
"supports_function_calling": true,
|
15652
|
+
"supports_vision": true,
|
15653
|
+
"tool_use_system_prompt_tokens": 159,
|
15654
|
+
"supports_assistant_prefill": true,
|
15655
|
+
"supports_pdf_input": true,
|
15656
|
+
"supports_prompt_caching": true,
|
15657
|
+
"supports_response_schema": true,
|
15658
|
+
"supports_tool_choice": true,
|
15659
|
+
"supports_reasoning": true,
|
15660
|
+
"supports_computer_use": true
|
15390
15661
|
}
|
15391
15662
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: tokencostauto
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.97
|
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=GC6JCcBcvdJCFZ_IOYljbU6N_SXwCsTAMKysk4MNpzY,558806
|
5
|
+
tokencostauto-0.1.97.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
|
6
|
+
tokencostauto-0.1.97.dist-info/METADATA,sha256=VI4ni3MeR56Oi9h70YB9R2lFiJrVCpNccnt9e37TBMA,204075
|
7
|
+
tokencostauto-0.1.97.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
tokencostauto-0.1.97.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
|
9
|
+
tokencostauto-0.1.97.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
|