tokencostauto 0.1.90__py3-none-any.whl → 0.1.93__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.
@@ -15185,5 +15185,207 @@
15185
15185
  "litellm_provider": "vertex_ai-image-models",
15186
15186
  "mode": "image_generation",
15187
15187
  "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing"
15188
+ },
15189
+ "gemini/gemini-2.5-pro": {
15190
+ "max_tokens": 65535,
15191
+ "max_input_tokens": 1048576,
15192
+ "max_output_tokens": 65535,
15193
+ "max_images_per_prompt": 3000,
15194
+ "max_videos_per_prompt": 10,
15195
+ "max_video_length": 1,
15196
+ "max_audio_length_hours": 8.4,
15197
+ "max_audio_per_prompt": 1,
15198
+ "max_pdf_size_mb": 30,
15199
+ "input_cost_per_token": 1.25e-06,
15200
+ "input_cost_per_token_above_200k_tokens": 2.5e-06,
15201
+ "output_cost_per_token": 1e-05,
15202
+ "output_cost_per_token_above_200k_tokens": 1.5e-05,
15203
+ "litellm_provider": "gemini",
15204
+ "mode": "chat",
15205
+ "rpm": 5,
15206
+ "tpm": 250000,
15207
+ "supports_system_messages": true,
15208
+ "supports_function_calling": true,
15209
+ "supports_vision": true,
15210
+ "supports_audio_input": true,
15211
+ "supports_video_input": true,
15212
+ "supports_pdf_input": true,
15213
+ "supports_response_schema": true,
15214
+ "supports_tool_choice": true,
15215
+ "supported_endpoints": [
15216
+ "/v1/chat/completions",
15217
+ "/v1/completions"
15218
+ ],
15219
+ "supported_modalities": [
15220
+ "text",
15221
+ "image",
15222
+ "audio",
15223
+ "video"
15224
+ ],
15225
+ "supported_output_modalities": [
15226
+ "text"
15227
+ ],
15228
+ "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing",
15229
+ "supports_web_search": true
15230
+ },
15231
+ "gemini-2.5-flash": {
15232
+ "max_tokens": 65535,
15233
+ "max_input_tokens": 1048576,
15234
+ "max_output_tokens": 65535,
15235
+ "max_images_per_prompt": 3000,
15236
+ "max_videos_per_prompt": 10,
15237
+ "max_video_length": 1,
15238
+ "max_audio_length_hours": 8.4,
15239
+ "max_audio_per_prompt": 1,
15240
+ "max_pdf_size_mb": 30,
15241
+ "input_cost_per_audio_token": 1e-06,
15242
+ "input_cost_per_token": 3e-07,
15243
+ "output_cost_per_token": 2.5e-06,
15244
+ "output_cost_per_reasoning_token": 2.5e-06,
15245
+ "litellm_provider": "vertex_ai-language-models",
15246
+ "mode": "chat",
15247
+ "supports_reasoning": true,
15248
+ "supports_system_messages": true,
15249
+ "supports_function_calling": true,
15250
+ "supports_vision": true,
15251
+ "supports_response_schema": true,
15252
+ "supports_audio_output": false,
15253
+ "supports_tool_choice": true,
15254
+ "supported_endpoints": [
15255
+ "/v1/chat/completions",
15256
+ "/v1/completions",
15257
+ "/v1/batch"
15258
+ ],
15259
+ "supported_modalities": [
15260
+ "text",
15261
+ "image",
15262
+ "audio",
15263
+ "video"
15264
+ ],
15265
+ "supported_output_modalities": [
15266
+ "text"
15267
+ ],
15268
+ "source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
15269
+ "supports_parallel_function_calling": true,
15270
+ "supports_web_search": true,
15271
+ "supports_url_context": true
15272
+ },
15273
+ "gemini-2.5-flash-lite-preview-06-17": {
15274
+ "max_tokens": 65535,
15275
+ "max_input_tokens": 1048576,
15276
+ "max_output_tokens": 65535,
15277
+ "max_images_per_prompt": 3000,
15278
+ "max_videos_per_prompt": 10,
15279
+ "max_video_length": 1,
15280
+ "max_audio_length_hours": 8.4,
15281
+ "max_audio_per_prompt": 1,
15282
+ "max_pdf_size_mb": 30,
15283
+ "input_cost_per_audio_token": 1e-06,
15284
+ "input_cost_per_token": 1e-07,
15285
+ "output_cost_per_token": 4e-07,
15286
+ "output_cost_per_reasoning_token": 4e-07,
15287
+ "litellm_provider": "vertex_ai-language-models",
15288
+ "mode": "chat",
15289
+ "supports_reasoning": true,
15290
+ "supports_system_messages": true,
15291
+ "supports_function_calling": true,
15292
+ "supports_vision": true,
15293
+ "supports_response_schema": true,
15294
+ "supports_audio_output": false,
15295
+ "supports_tool_choice": true,
15296
+ "supported_endpoints": [
15297
+ "/v1/chat/completions",
15298
+ "/v1/completions",
15299
+ "/v1/batch"
15300
+ ],
15301
+ "supported_modalities": [
15302
+ "text",
15303
+ "image",
15304
+ "audio",
15305
+ "video"
15306
+ ],
15307
+ "supported_output_modalities": [
15308
+ "text"
15309
+ ],
15310
+ "source": "https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview",
15311
+ "supports_parallel_function_calling": true,
15312
+ "supports_web_search": true,
15313
+ "supports_url_context": true
15314
+ },
15315
+ "openrouter/deepseek/deepseek-r1-0528": {
15316
+ "max_tokens": 8192,
15317
+ "max_input_tokens": 65336,
15318
+ "max_output_tokens": 8192,
15319
+ "input_cost_per_token": 5e-07,
15320
+ "input_cost_per_token_cache_hit": 1.4e-07,
15321
+ "output_cost_per_token": 2.15e-06,
15322
+ "litellm_provider": "openrouter",
15323
+ "mode": "chat",
15324
+ "supports_function_calling": true,
15325
+ "supports_assistant_prefill": true,
15326
+ "supports_reasoning": true,
15327
+ "supports_tool_choice": true,
15328
+ "supports_prompt_caching": true
15329
+ },
15330
+ "openrouter/google/gemini-2.5-pro": {
15331
+ "max_tokens": 8192,
15332
+ "max_input_tokens": 1048576,
15333
+ "max_output_tokens": 8192,
15334
+ "max_images_per_prompt": 3000,
15335
+ "max_videos_per_prompt": 10,
15336
+ "max_video_length": 1,
15337
+ "max_audio_length_hours": 8.4,
15338
+ "max_audio_per_prompt": 1,
15339
+ "max_pdf_size_mb": 30,
15340
+ "input_cost_per_audio_token": 7e-07,
15341
+ "input_cost_per_token": 1.25e-06,
15342
+ "output_cost_per_token": 1e-05,
15343
+ "litellm_provider": "openrouter",
15344
+ "mode": "chat",
15345
+ "supports_system_messages": true,
15346
+ "supports_function_calling": true,
15347
+ "supports_vision": true,
15348
+ "supports_response_schema": true,
15349
+ "supports_audio_output": true,
15350
+ "supports_tool_choice": true
15351
+ },
15352
+ "openrouter/google/gemini-2.5-flash": {
15353
+ "max_tokens": 8192,
15354
+ "max_input_tokens": 1048576,
15355
+ "max_output_tokens": 8192,
15356
+ "max_images_per_prompt": 3000,
15357
+ "max_videos_per_prompt": 10,
15358
+ "max_video_length": 1,
15359
+ "max_audio_length_hours": 8.4,
15360
+ "max_audio_per_prompt": 1,
15361
+ "max_pdf_size_mb": 30,
15362
+ "input_cost_per_audio_token": 7e-07,
15363
+ "input_cost_per_token": 3e-07,
15364
+ "output_cost_per_token": 2.5e-06,
15365
+ "litellm_provider": "openrouter",
15366
+ "mode": "chat",
15367
+ "supports_system_messages": true,
15368
+ "supports_function_calling": true,
15369
+ "supports_vision": true,
15370
+ "supports_response_schema": true,
15371
+ "supports_audio_output": true,
15372
+ "supports_tool_choice": true
15373
+ },
15374
+ "openrouter/anthropic/claude-sonnet-4": {
15375
+ "supports_computer_use": true,
15376
+ "max_tokens": 8192,
15377
+ "max_input_tokens": 200000,
15378
+ "max_output_tokens": 8192,
15379
+ "input_cost_per_token": 3e-06,
15380
+ "output_cost_per_token": 1.5e-05,
15381
+ "input_cost_per_image": 0.0048,
15382
+ "litellm_provider": "openrouter",
15383
+ "mode": "chat",
15384
+ "supports_function_calling": true,
15385
+ "supports_vision": true,
15386
+ "supports_reasoning": true,
15387
+ "tool_use_system_prompt_tokens": 159,
15388
+ "supports_assistant_prefill": true,
15389
+ "supports_tool_choice": true
15188
15390
  }
15189
15391
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.90
3
+ Version: 0.1.93
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=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,,
@@ -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=nxacuINHmDXjzNbeqYcONMld-sfRYK0TkWTnb25nxHE,542302
5
- tokencostauto-0.1.90.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
- tokencostauto-0.1.90.dist-info/METADATA,sha256=JlKemvSCaAXhU15oam-GZciechdJXPE7QXsc4F3QGDY,204075
7
- tokencostauto-0.1.90.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- tokencostauto-0.1.90.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
- tokencostauto-0.1.90.dist-info/RECORD,,