tokencostauto 0.1.464__tar.gz → 0.1.474__tar.gz
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-0.1.464/tokencostauto.egg-info → tokencostauto-0.1.474}/PKG-INFO +1 -1
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/pyproject.toml +1 -1
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/tokencostauto/model_prices.json +166 -6
- {tokencostauto-0.1.464 → tokencostauto-0.1.474/tokencostauto.egg-info}/PKG-INFO +1 -1
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/LICENSE +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/MANIFEST.in +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/README.md +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/setup.cfg +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/tests/test_costs.py +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/tokencostauto/__init__.py +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/tokencostauto/constants.py +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/tokencostauto/costs.py +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/tokencostauto.egg-info/SOURCES.txt +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/tokencostauto.egg-info/dependency_links.txt +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/tokencostauto.egg-info/requires.txt +0 -0
- {tokencostauto-0.1.464 → tokencostauto-0.1.474}/tokencostauto.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.474
|
|
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
|
|
@@ -9117,6 +9117,7 @@
|
|
|
9117
9117
|
},
|
|
9118
9118
|
"gemini/gemini-2.0-flash": {
|
|
9119
9119
|
"cache_read_input_token_cost": 2.5e-08,
|
|
9120
|
+
"deprecation_date": "2026-03-31",
|
|
9120
9121
|
"input_cost_per_audio_token": 7e-07,
|
|
9121
9122
|
"input_cost_per_token": 1e-07,
|
|
9122
9123
|
"litellm_provider": "gemini",
|
|
@@ -9157,7 +9158,7 @@
|
|
|
9157
9158
|
},
|
|
9158
9159
|
"gemini-2.0-flash-001": {
|
|
9159
9160
|
"cache_read_input_token_cost": 3.75e-08,
|
|
9160
|
-
"deprecation_date": "2026-
|
|
9161
|
+
"deprecation_date": "2026-03-31",
|
|
9161
9162
|
"input_cost_per_audio_token": 1e-06,
|
|
9162
9163
|
"input_cost_per_token": 1.5e-07,
|
|
9163
9164
|
"litellm_provider": "vertex_ai-language-models",
|
|
@@ -9294,6 +9295,7 @@
|
|
|
9294
9295
|
},
|
|
9295
9296
|
"gemini/gemini-2.0-flash-001": {
|
|
9296
9297
|
"cache_read_input_token_cost": 2.5e-08,
|
|
9298
|
+
"deprecation_date": "2026-03-31",
|
|
9297
9299
|
"input_cost_per_audio_token": 7e-07,
|
|
9298
9300
|
"input_cost_per_token": 1e-07,
|
|
9299
9301
|
"litellm_provider": "gemini",
|
|
@@ -9683,6 +9685,7 @@
|
|
|
9683
9685
|
"supports_web_search": true
|
|
9684
9686
|
},
|
|
9685
9687
|
"openrouter/google/gemini-2.0-flash-001": {
|
|
9688
|
+
"deprecation_date": "2026-03-31",
|
|
9686
9689
|
"input_cost_per_audio_token": 7e-07,
|
|
9687
9690
|
"input_cost_per_token": 1e-07,
|
|
9688
9691
|
"litellm_provider": "openrouter",
|
|
@@ -12114,6 +12117,7 @@
|
|
|
12114
12117
|
"supports_tool_choice": true
|
|
12115
12118
|
},
|
|
12116
12119
|
"xai/grok-3-beta": {
|
|
12120
|
+
"cache_read_input_token_cost": 7.5e-07,
|
|
12117
12121
|
"input_cost_per_token": 3e-06,
|
|
12118
12122
|
"litellm_provider": "xai",
|
|
12119
12123
|
"max_input_tokens": 131072,
|
|
@@ -12128,6 +12132,7 @@
|
|
|
12128
12132
|
"supports_web_search": true
|
|
12129
12133
|
},
|
|
12130
12134
|
"xai/grok-3-fast-beta": {
|
|
12135
|
+
"cache_read_input_token_cost": 1.25e-06,
|
|
12131
12136
|
"input_cost_per_token": 5e-06,
|
|
12132
12137
|
"litellm_provider": "xai",
|
|
12133
12138
|
"max_input_tokens": 131072,
|
|
@@ -12142,6 +12147,7 @@
|
|
|
12142
12147
|
"supports_web_search": true
|
|
12143
12148
|
},
|
|
12144
12149
|
"xai/grok-3-fast-latest": {
|
|
12150
|
+
"cache_read_input_token_cost": 1.25e-06,
|
|
12145
12151
|
"input_cost_per_token": 5e-06,
|
|
12146
12152
|
"litellm_provider": "xai",
|
|
12147
12153
|
"max_input_tokens": 131072,
|
|
@@ -12156,6 +12162,7 @@
|
|
|
12156
12162
|
"supports_web_search": true
|
|
12157
12163
|
},
|
|
12158
12164
|
"xai/grok-3-mini-beta": {
|
|
12165
|
+
"cache_read_input_token_cost": 7.5e-08,
|
|
12159
12166
|
"input_cost_per_token": 3e-07,
|
|
12160
12167
|
"litellm_provider": "xai",
|
|
12161
12168
|
"max_input_tokens": 131072,
|
|
@@ -12171,6 +12178,7 @@
|
|
|
12171
12178
|
"supports_web_search": true
|
|
12172
12179
|
},
|
|
12173
12180
|
"xai/grok-3-mini-fast-beta": {
|
|
12181
|
+
"cache_read_input_token_cost": 1.5e-07,
|
|
12174
12182
|
"input_cost_per_token": 6e-07,
|
|
12175
12183
|
"litellm_provider": "xai",
|
|
12176
12184
|
"max_input_tokens": 131072,
|
|
@@ -12186,6 +12194,7 @@
|
|
|
12186
12194
|
"supports_web_search": true
|
|
12187
12195
|
},
|
|
12188
12196
|
"xai/grok-3-mini-fast-latest": {
|
|
12197
|
+
"cache_read_input_token_cost": 1.5e-07,
|
|
12189
12198
|
"input_cost_per_token": 6e-07,
|
|
12190
12199
|
"litellm_provider": "xai",
|
|
12191
12200
|
"max_input_tokens": 131072,
|
|
@@ -12462,6 +12471,7 @@
|
|
|
12462
12471
|
},
|
|
12463
12472
|
"gemini-2.0-flash": {
|
|
12464
12473
|
"cache_read_input_token_cost": 2.5e-08,
|
|
12474
|
+
"deprecation_date": "2026-03-31",
|
|
12465
12475
|
"input_cost_per_audio_token": 7e-07,
|
|
12466
12476
|
"input_cost_per_token": 1e-07,
|
|
12467
12477
|
"litellm_provider": "vertex_ai-language-models",
|
|
@@ -12501,6 +12511,7 @@
|
|
|
12501
12511
|
},
|
|
12502
12512
|
"gemini-2.0-flash-lite": {
|
|
12503
12513
|
"cache_read_input_token_cost": 1.875e-08,
|
|
12514
|
+
"deprecation_date": "2026-03-31",
|
|
12504
12515
|
"input_cost_per_audio_token": 7.5e-08,
|
|
12505
12516
|
"input_cost_per_token": 7.5e-08,
|
|
12506
12517
|
"litellm_provider": "vertex_ai-language-models",
|
|
@@ -12536,7 +12547,7 @@
|
|
|
12536
12547
|
},
|
|
12537
12548
|
"gemini-2.0-flash-lite-001": {
|
|
12538
12549
|
"cache_read_input_token_cost": 1.875e-08,
|
|
12539
|
-
"deprecation_date": "2026-
|
|
12550
|
+
"deprecation_date": "2026-03-31",
|
|
12540
12551
|
"input_cost_per_audio_token": 7.5e-08,
|
|
12541
12552
|
"input_cost_per_token": 7.5e-08,
|
|
12542
12553
|
"litellm_provider": "vertex_ai-language-models",
|
|
@@ -12669,6 +12680,7 @@
|
|
|
12669
12680
|
},
|
|
12670
12681
|
"gemini/gemini-2.0-flash-lite": {
|
|
12671
12682
|
"cache_read_input_token_cost": 1.875e-08,
|
|
12683
|
+
"deprecation_date": "2026-03-31",
|
|
12672
12684
|
"input_cost_per_audio_token": 7.5e-08,
|
|
12673
12685
|
"input_cost_per_token": 7.5e-08,
|
|
12674
12686
|
"litellm_provider": "gemini",
|
|
@@ -13742,6 +13754,7 @@
|
|
|
13742
13754
|
"supports_tool_choice": true
|
|
13743
13755
|
},
|
|
13744
13756
|
"xai/grok-3": {
|
|
13757
|
+
"cache_read_input_token_cost": 7.5e-07,
|
|
13745
13758
|
"input_cost_per_token": 3e-06,
|
|
13746
13759
|
"litellm_provider": "xai",
|
|
13747
13760
|
"max_input_tokens": 131072,
|
|
@@ -15374,6 +15387,7 @@
|
|
|
15374
15387
|
"supports_tool_choice": true
|
|
15375
15388
|
},
|
|
15376
15389
|
"xai/grok-3-latest": {
|
|
15390
|
+
"cache_read_input_token_cost": 7.5e-07,
|
|
15377
15391
|
"input_cost_per_token": 3e-06,
|
|
15378
15392
|
"litellm_provider": "xai",
|
|
15379
15393
|
"max_input_tokens": 131072,
|
|
@@ -15388,6 +15402,7 @@
|
|
|
15388
15402
|
"supports_web_search": true
|
|
15389
15403
|
},
|
|
15390
15404
|
"xai/grok-3-mini": {
|
|
15405
|
+
"cache_read_input_token_cost": 7.5e-08,
|
|
15391
15406
|
"input_cost_per_token": 3e-07,
|
|
15392
15407
|
"litellm_provider": "xai",
|
|
15393
15408
|
"max_input_tokens": 131072,
|
|
@@ -15403,6 +15418,7 @@
|
|
|
15403
15418
|
"supports_web_search": true
|
|
15404
15419
|
},
|
|
15405
15420
|
"xai/grok-3-mini-latest": {
|
|
15421
|
+
"cache_read_input_token_cost": 7.5e-08,
|
|
15406
15422
|
"input_cost_per_token": 3e-07,
|
|
15407
15423
|
"litellm_provider": "xai",
|
|
15408
15424
|
"max_input_tokens": 131072,
|
|
@@ -15418,6 +15434,7 @@
|
|
|
15418
15434
|
"supports_web_search": true
|
|
15419
15435
|
},
|
|
15420
15436
|
"xai/grok-3-mini-fast": {
|
|
15437
|
+
"cache_read_input_token_cost": 1.5e-07,
|
|
15421
15438
|
"input_cost_per_token": 6e-07,
|
|
15422
15439
|
"litellm_provider": "xai",
|
|
15423
15440
|
"max_input_tokens": 131072,
|
|
@@ -20111,6 +20128,7 @@
|
|
|
20111
20128
|
"supports_tool_choice": true
|
|
20112
20129
|
},
|
|
20113
20130
|
"deepinfra/google/gemini-2.0-flash-001": {
|
|
20131
|
+
"deprecation_date": "2026-03-31",
|
|
20114
20132
|
"max_tokens": 1000000,
|
|
20115
20133
|
"max_input_tokens": 1000000,
|
|
20116
20134
|
"max_output_tokens": 1000000,
|
|
@@ -21283,6 +21301,7 @@
|
|
|
21283
21301
|
"output_cost_per_token": 0.0
|
|
21284
21302
|
},
|
|
21285
21303
|
"vercel_ai_gateway/google/gemini-2.0-flash-lite": {
|
|
21304
|
+
"deprecation_date": "2026-03-31",
|
|
21286
21305
|
"input_cost_per_token": 7.5e-08,
|
|
21287
21306
|
"litellm_provider": "vercel_ai_gateway",
|
|
21288
21307
|
"max_input_tokens": 1048576,
|
|
@@ -21571,6 +21590,7 @@
|
|
|
21571
21590
|
"output_cost_per_token": 1.5e-05
|
|
21572
21591
|
},
|
|
21573
21592
|
"vercel_ai_gateway/google/gemini-2.0-flash": {
|
|
21593
|
+
"deprecation_date": "2026-03-31",
|
|
21574
21594
|
"input_cost_per_token": 1.5e-07,
|
|
21575
21595
|
"litellm_provider": "vercel_ai_gateway",
|
|
21576
21596
|
"max_input_tokens": 1048576,
|
|
@@ -25959,7 +25979,7 @@
|
|
|
25959
25979
|
"mode": "chat",
|
|
25960
25980
|
"output_cost_per_token": 1.02e-06,
|
|
25961
25981
|
"supports_function_calling": true,
|
|
25962
|
-
"supports_prompt_caching":
|
|
25982
|
+
"supports_prompt_caching": true,
|
|
25963
25983
|
"supports_reasoning": true,
|
|
25964
25984
|
"supports_tool_choice": true
|
|
25965
25985
|
},
|
|
@@ -25973,6 +25993,7 @@
|
|
|
25973
25993
|
"output_cost_per_token": 1.75e-06,
|
|
25974
25994
|
"source": "https://openrouter.ai/z-ai/glm-4.6",
|
|
25975
25995
|
"supports_function_calling": true,
|
|
25996
|
+
"supports_prompt_caching": true,
|
|
25976
25997
|
"supports_reasoning": true,
|
|
25977
25998
|
"supports_tool_choice": true
|
|
25978
25999
|
},
|
|
@@ -25986,6 +26007,7 @@
|
|
|
25986
26007
|
"output_cost_per_token": 1.9e-06,
|
|
25987
26008
|
"source": "https://openrouter.ai/z-ai/glm-4.6:exacto",
|
|
25988
26009
|
"supports_function_calling": true,
|
|
26010
|
+
"supports_prompt_caching": true,
|
|
25989
26011
|
"supports_reasoning": true,
|
|
25990
26012
|
"supports_tool_choice": true
|
|
25991
26013
|
},
|
|
@@ -28785,6 +28807,8 @@
|
|
|
28785
28807
|
]
|
|
28786
28808
|
},
|
|
28787
28809
|
"zai/glm-4.6": {
|
|
28810
|
+
"cache_creation_input_token_cost": 0,
|
|
28811
|
+
"cache_read_input_token_cost": 1.1e-07,
|
|
28788
28812
|
"input_cost_per_token": 6e-07,
|
|
28789
28813
|
"output_cost_per_token": 2.2e-06,
|
|
28790
28814
|
"litellm_provider": "zai",
|
|
@@ -28792,6 +28816,8 @@
|
|
|
28792
28816
|
"max_output_tokens": 128000,
|
|
28793
28817
|
"mode": "chat",
|
|
28794
28818
|
"supports_function_calling": true,
|
|
28819
|
+
"supports_prompt_caching": true,
|
|
28820
|
+
"supports_reasoning": true,
|
|
28795
28821
|
"supports_tool_choice": true,
|
|
28796
28822
|
"source": "https://docs.z.ai/guides/overview/pricing"
|
|
28797
28823
|
},
|
|
@@ -31659,6 +31685,9 @@
|
|
|
31659
31685
|
"output_cost_per_token": 0.0
|
|
31660
31686
|
},
|
|
31661
31687
|
"azure_ai/claude-haiku-4-5": {
|
|
31688
|
+
"cache_creation_input_token_cost": 1.25e-06,
|
|
31689
|
+
"cache_creation_input_token_cost_above_1hr": 2e-06,
|
|
31690
|
+
"cache_read_input_token_cost": 1e-07,
|
|
31662
31691
|
"input_cost_per_token": 1e-06,
|
|
31663
31692
|
"litellm_provider": "azure_ai",
|
|
31664
31693
|
"max_input_tokens": 200000,
|
|
@@ -31677,6 +31706,9 @@
|
|
|
31677
31706
|
"supports_vision": true
|
|
31678
31707
|
},
|
|
31679
31708
|
"azure_ai/claude-opus-4-1": {
|
|
31709
|
+
"cache_creation_input_token_cost": 1.875e-05,
|
|
31710
|
+
"cache_creation_input_token_cost_above_1hr": 3e-05,
|
|
31711
|
+
"cache_read_input_token_cost": 1.5e-06,
|
|
31680
31712
|
"input_cost_per_token": 1.5e-05,
|
|
31681
31713
|
"litellm_provider": "azure_ai",
|
|
31682
31714
|
"max_input_tokens": 200000,
|
|
@@ -31695,6 +31727,9 @@
|
|
|
31695
31727
|
"supports_vision": true
|
|
31696
31728
|
},
|
|
31697
31729
|
"azure_ai/claude-sonnet-4-5": {
|
|
31730
|
+
"cache_creation_input_token_cost": 3.75e-06,
|
|
31731
|
+
"cache_creation_input_token_cost_above_1hr": 6e-06,
|
|
31732
|
+
"cache_read_input_token_cost": 3e-07,
|
|
31698
31733
|
"input_cost_per_token": 3e-06,
|
|
31699
31734
|
"litellm_provider": "azure_ai",
|
|
31700
31735
|
"max_input_tokens": 200000,
|
|
@@ -33240,6 +33275,7 @@
|
|
|
33240
33275
|
"supports_function_calling": true,
|
|
33241
33276
|
"supports_tool_choice": true,
|
|
33242
33277
|
"supports_prompt_caching": true,
|
|
33278
|
+
"supports_reasoning": true,
|
|
33243
33279
|
"supports_system_messages": true,
|
|
33244
33280
|
"max_input_tokens": 1000000,
|
|
33245
33281
|
"max_output_tokens": 8192
|
|
@@ -33254,6 +33290,7 @@
|
|
|
33254
33290
|
"supports_function_calling": true,
|
|
33255
33291
|
"supports_tool_choice": true,
|
|
33256
33292
|
"supports_prompt_caching": true,
|
|
33293
|
+
"supports_reasoning": true,
|
|
33257
33294
|
"supports_system_messages": true,
|
|
33258
33295
|
"max_input_tokens": 1000000,
|
|
33259
33296
|
"max_output_tokens": 8192
|
|
@@ -33268,6 +33305,7 @@
|
|
|
33268
33305
|
"supports_function_calling": true,
|
|
33269
33306
|
"supports_tool_choice": true,
|
|
33270
33307
|
"supports_prompt_caching": true,
|
|
33308
|
+
"supports_reasoning": true,
|
|
33271
33309
|
"supports_system_messages": true,
|
|
33272
33310
|
"max_input_tokens": 200000,
|
|
33273
33311
|
"max_output_tokens": 8192
|
|
@@ -33670,6 +33708,7 @@
|
|
|
33670
33708
|
"max_output_tokens": 128000,
|
|
33671
33709
|
"mode": "chat",
|
|
33672
33710
|
"supports_function_calling": true,
|
|
33711
|
+
"supports_prompt_caching": true,
|
|
33673
33712
|
"supports_reasoning": true,
|
|
33674
33713
|
"supports_tool_choice": true,
|
|
33675
33714
|
"source": "https://docs.z.ai/guides/overview/pricing"
|
|
@@ -35382,6 +35421,9 @@
|
|
|
35382
35421
|
"supports_system_messages": true
|
|
35383
35422
|
},
|
|
35384
35423
|
"azure_ai/claude-opus-4-5": {
|
|
35424
|
+
"cache_creation_input_token_cost": 6.25e-06,
|
|
35425
|
+
"cache_creation_input_token_cost_above_1hr": 1e-05,
|
|
35426
|
+
"cache_read_input_token_cost": 5e-07,
|
|
35385
35427
|
"input_cost_per_token": 5e-06,
|
|
35386
35428
|
"litellm_provider": "azure_ai",
|
|
35387
35429
|
"max_input_tokens": 200000,
|
|
@@ -35502,8 +35544,11 @@
|
|
|
35502
35544
|
"max_input_tokens": 400000,
|
|
35503
35545
|
"max_output_tokens": 128000,
|
|
35504
35546
|
"max_tokens": 128000,
|
|
35505
|
-
"mode": "
|
|
35547
|
+
"mode": "responses",
|
|
35506
35548
|
"output_cost_per_token": 1.4e-05,
|
|
35549
|
+
"supported_endpoints": [
|
|
35550
|
+
"/v1/responses"
|
|
35551
|
+
],
|
|
35507
35552
|
"supported_modalities": [
|
|
35508
35553
|
"text",
|
|
35509
35554
|
"image"
|
|
@@ -35521,10 +35566,9 @@
|
|
|
35521
35566
|
"max_input_tokens": 128000,
|
|
35522
35567
|
"max_output_tokens": 16384,
|
|
35523
35568
|
"max_tokens": 16384,
|
|
35524
|
-
"mode": "
|
|
35569
|
+
"mode": "responses",
|
|
35525
35570
|
"output_cost_per_token": 1.4e-05,
|
|
35526
35571
|
"supported_endpoints": [
|
|
35527
|
-
"/v1/chat/completions",
|
|
35528
35572
|
"/v1/responses"
|
|
35529
35573
|
],
|
|
35530
35574
|
"supported_modalities": [
|
|
@@ -36012,5 +36056,121 @@
|
|
|
36012
36056
|
"supports_system_messages": true,
|
|
36013
36057
|
"supports_tool_choice": true,
|
|
36014
36058
|
"supports_vision": false
|
|
36059
|
+
},
|
|
36060
|
+
"deepseek-v3-2-251201": {
|
|
36061
|
+
"input_cost_per_token": 0.0,
|
|
36062
|
+
"litellm_provider": "volcengine",
|
|
36063
|
+
"max_input_tokens": 98304,
|
|
36064
|
+
"max_output_tokens": 32768,
|
|
36065
|
+
"max_tokens": 32768,
|
|
36066
|
+
"mode": "chat",
|
|
36067
|
+
"output_cost_per_token": 0.0,
|
|
36068
|
+
"supports_assistant_prefill": true,
|
|
36069
|
+
"supports_function_calling": true,
|
|
36070
|
+
"supports_prompt_caching": true,
|
|
36071
|
+
"supports_reasoning": true,
|
|
36072
|
+
"supports_tool_choice": true
|
|
36073
|
+
},
|
|
36074
|
+
"glm-4-7-251222": {
|
|
36075
|
+
"input_cost_per_token": 0.0,
|
|
36076
|
+
"litellm_provider": "volcengine",
|
|
36077
|
+
"max_input_tokens": 204800,
|
|
36078
|
+
"max_output_tokens": 131072,
|
|
36079
|
+
"max_tokens": 131072,
|
|
36080
|
+
"mode": "chat",
|
|
36081
|
+
"output_cost_per_token": 0.0,
|
|
36082
|
+
"supports_assistant_prefill": true,
|
|
36083
|
+
"supports_function_calling": true,
|
|
36084
|
+
"supports_prompt_caching": true,
|
|
36085
|
+
"supports_reasoning": true,
|
|
36086
|
+
"supports_tool_choice": true
|
|
36087
|
+
},
|
|
36088
|
+
"kimi-k2-thinking-251104": {
|
|
36089
|
+
"input_cost_per_token": 0.0,
|
|
36090
|
+
"litellm_provider": "volcengine",
|
|
36091
|
+
"max_input_tokens": 229376,
|
|
36092
|
+
"max_output_tokens": 32768,
|
|
36093
|
+
"max_tokens": 32768,
|
|
36094
|
+
"mode": "chat",
|
|
36095
|
+
"output_cost_per_token": 0.0,
|
|
36096
|
+
"supports_assistant_prefill": true,
|
|
36097
|
+
"supports_function_calling": true,
|
|
36098
|
+
"supports_prompt_caching": true,
|
|
36099
|
+
"supports_reasoning": true,
|
|
36100
|
+
"supports_tool_choice": true
|
|
36101
|
+
},
|
|
36102
|
+
"gemini-robotics-er-1.5-preview": {
|
|
36103
|
+
"cache_read_input_token_cost": 0,
|
|
36104
|
+
"input_cost_per_token": 3e-07,
|
|
36105
|
+
"input_cost_per_audio_token": 1e-06,
|
|
36106
|
+
"litellm_provider": "gemini",
|
|
36107
|
+
"max_input_tokens": 1048576,
|
|
36108
|
+
"max_output_tokens": 65535,
|
|
36109
|
+
"max_tokens": 65535,
|
|
36110
|
+
"mode": "chat",
|
|
36111
|
+
"output_cost_per_token": 2.5e-06,
|
|
36112
|
+
"output_cost_per_reasoning_token": 2.5e-06,
|
|
36113
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-robotics-er-1-5-preview",
|
|
36114
|
+
"supported_endpoints": [
|
|
36115
|
+
"/v1/chat/completions",
|
|
36116
|
+
"/v1/completions"
|
|
36117
|
+
],
|
|
36118
|
+
"supported_modalities": [
|
|
36119
|
+
"text",
|
|
36120
|
+
"image",
|
|
36121
|
+
"video",
|
|
36122
|
+
"audio"
|
|
36123
|
+
],
|
|
36124
|
+
"supported_output_modalities": [
|
|
36125
|
+
"text"
|
|
36126
|
+
],
|
|
36127
|
+
"supports_audio_output": false,
|
|
36128
|
+
"supports_function_calling": true,
|
|
36129
|
+
"supports_parallel_function_calling": true,
|
|
36130
|
+
"supports_prompt_caching": false,
|
|
36131
|
+
"supports_reasoning": true,
|
|
36132
|
+
"supports_response_schema": true,
|
|
36133
|
+
"supports_system_messages": true,
|
|
36134
|
+
"supports_tool_choice": true,
|
|
36135
|
+
"supports_url_context": true,
|
|
36136
|
+
"supports_vision": true,
|
|
36137
|
+
"supports_web_search": true
|
|
36138
|
+
},
|
|
36139
|
+
"gemini/gemini-robotics-er-1.5-preview": {
|
|
36140
|
+
"cache_read_input_token_cost": 0,
|
|
36141
|
+
"input_cost_per_token": 3e-07,
|
|
36142
|
+
"input_cost_per_audio_token": 1e-06,
|
|
36143
|
+
"litellm_provider": "gemini",
|
|
36144
|
+
"max_input_tokens": 1048576,
|
|
36145
|
+
"max_output_tokens": 65535,
|
|
36146
|
+
"max_tokens": 65535,
|
|
36147
|
+
"mode": "chat",
|
|
36148
|
+
"output_cost_per_token": 2.5e-06,
|
|
36149
|
+
"output_cost_per_reasoning_token": 2.5e-06,
|
|
36150
|
+
"source": "https://ai.google.dev/gemini-api/docs/models#gemini-robotics-er-1-5-preview",
|
|
36151
|
+
"supported_endpoints": [
|
|
36152
|
+
"/v1/chat/completions",
|
|
36153
|
+
"/v1/completions"
|
|
36154
|
+
],
|
|
36155
|
+
"supported_modalities": [
|
|
36156
|
+
"text",
|
|
36157
|
+
"image",
|
|
36158
|
+
"video",
|
|
36159
|
+
"audio"
|
|
36160
|
+
],
|
|
36161
|
+
"supported_output_modalities": [
|
|
36162
|
+
"text"
|
|
36163
|
+
],
|
|
36164
|
+
"supports_audio_output": false,
|
|
36165
|
+
"supports_function_calling": true,
|
|
36166
|
+
"supports_parallel_function_calling": true,
|
|
36167
|
+
"supports_prompt_caching": false,
|
|
36168
|
+
"supports_reasoning": true,
|
|
36169
|
+
"supports_response_schema": true,
|
|
36170
|
+
"supports_system_messages": true,
|
|
36171
|
+
"supports_tool_choice": true,
|
|
36172
|
+
"supports_url_context": true,
|
|
36173
|
+
"supports_vision": true,
|
|
36174
|
+
"supports_web_search": true
|
|
36015
36175
|
}
|
|
36016
36176
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tokencostauto
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.474
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|