tokencostauto 0.1.102__py3-none-any.whl → 0.1.106__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.
@@ -1398,7 +1398,8 @@
1398
1398
  "litellm_provider": "mistral",
1399
1399
  "mode": "chat",
1400
1400
  "supports_assistant_prefill": true,
1401
- "supports_tool_choice": true
1401
+ "supports_tool_choice": true,
1402
+ "supports_response_schema": true
1402
1403
  },
1403
1404
  "mistral/mistral-small": {
1404
1405
  "max_tokens": 8191,
@@ -1410,7 +1411,8 @@
1410
1411
  "supports_function_calling": true,
1411
1412
  "mode": "chat",
1412
1413
  "supports_assistant_prefill": true,
1413
- "supports_tool_choice": true
1414
+ "supports_tool_choice": true,
1415
+ "supports_response_schema": true
1414
1416
  },
1415
1417
  "mistral/mistral-small-latest": {
1416
1418
  "max_tokens": 8191,
@@ -1422,7 +1424,8 @@
1422
1424
  "supports_function_calling": true,
1423
1425
  "mode": "chat",
1424
1426
  "supports_assistant_prefill": true,
1425
- "supports_tool_choice": true
1427
+ "supports_tool_choice": true,
1428
+ "supports_response_schema": true
1426
1429
  },
1427
1430
  "mistral/mistral-medium": {
1428
1431
  "max_tokens": 8191,
@@ -1433,7 +1436,8 @@
1433
1436
  "litellm_provider": "mistral",
1434
1437
  "mode": "chat",
1435
1438
  "supports_assistant_prefill": true,
1436
- "supports_tool_choice": true
1439
+ "supports_tool_choice": true,
1440
+ "supports_response_schema": true
1437
1441
  },
1438
1442
  "mistral/mistral-medium-latest": {
1439
1443
  "max_tokens": 8191,
@@ -1445,7 +1449,8 @@
1445
1449
  "mode": "chat",
1446
1450
  "supports_function_calling": true,
1447
1451
  "supports_assistant_prefill": true,
1448
- "supports_tool_choice": true
1452
+ "supports_tool_choice": true,
1453
+ "supports_response_schema": true
1449
1454
  },
1450
1455
  "mistral/mistral-medium-2312": {
1451
1456
  "max_tokens": 8191,
@@ -1456,7 +1461,8 @@
1456
1461
  "litellm_provider": "mistral",
1457
1462
  "mode": "chat",
1458
1463
  "supports_assistant_prefill": true,
1459
- "supports_tool_choice": true
1464
+ "supports_tool_choice": true,
1465
+ "supports_response_schema": true
1460
1466
  },
1461
1467
  "mistral/mistral-large-latest": {
1462
1468
  "max_tokens": 128000,
@@ -1468,7 +1474,8 @@
1468
1474
  "mode": "chat",
1469
1475
  "supports_function_calling": true,
1470
1476
  "supports_assistant_prefill": true,
1471
- "supports_tool_choice": true
1477
+ "supports_tool_choice": true,
1478
+ "supports_response_schema": true
1472
1479
  },
1473
1480
  "mistral/mistral-large-2402": {
1474
1481
  "max_tokens": 8191,
@@ -1480,7 +1487,8 @@
1480
1487
  "mode": "chat",
1481
1488
  "supports_function_calling": true,
1482
1489
  "supports_assistant_prefill": true,
1483
- "supports_tool_choice": true
1490
+ "supports_tool_choice": true,
1491
+ "supports_response_schema": true
1484
1492
  },
1485
1493
  "mistral/mistral-large-2407": {
1486
1494
  "max_tokens": 128000,
@@ -1492,7 +1500,8 @@
1492
1500
  "mode": "chat",
1493
1501
  "supports_function_calling": true,
1494
1502
  "supports_assistant_prefill": true,
1495
- "supports_tool_choice": true
1503
+ "supports_tool_choice": true,
1504
+ "supports_response_schema": true
1496
1505
  },
1497
1506
  "mistral/pixtral-12b-2409": {
1498
1507
  "max_tokens": 128000,
@@ -1505,7 +1514,8 @@
1505
1514
  "supports_function_calling": true,
1506
1515
  "supports_assistant_prefill": true,
1507
1516
  "supports_vision": true,
1508
- "supports_tool_choice": true
1517
+ "supports_tool_choice": true,
1518
+ "supports_response_schema": true
1509
1519
  },
1510
1520
  "mistral/open-mistral-7b": {
1511
1521
  "max_tokens": 8191,
@@ -1516,7 +1526,8 @@
1516
1526
  "litellm_provider": "mistral",
1517
1527
  "mode": "chat",
1518
1528
  "supports_assistant_prefill": true,
1519
- "supports_tool_choice": true
1529
+ "supports_tool_choice": true,
1530
+ "supports_response_schema": true
1520
1531
  },
1521
1532
  "mistral/open-mixtral-8x7b": {
1522
1533
  "max_tokens": 8191,
@@ -1528,7 +1539,8 @@
1528
1539
  "mode": "chat",
1529
1540
  "supports_function_calling": true,
1530
1541
  "supports_assistant_prefill": true,
1531
- "supports_tool_choice": true
1542
+ "supports_tool_choice": true,
1543
+ "supports_response_schema": true
1532
1544
  },
1533
1545
  "mistral/open-mixtral-8x22b": {
1534
1546
  "max_tokens": 8191,
@@ -1540,7 +1552,8 @@
1540
1552
  "mode": "chat",
1541
1553
  "supports_function_calling": true,
1542
1554
  "supports_assistant_prefill": true,
1543
- "supports_tool_choice": true
1555
+ "supports_tool_choice": true,
1556
+ "supports_response_schema": true
1544
1557
  },
1545
1558
  "mistral/codestral-latest": {
1546
1559
  "max_tokens": 8191,
@@ -1551,7 +1564,8 @@
1551
1564
  "litellm_provider": "mistral",
1552
1565
  "mode": "chat",
1553
1566
  "supports_assistant_prefill": true,
1554
- "supports_tool_choice": true
1567
+ "supports_tool_choice": true,
1568
+ "supports_response_schema": true
1555
1569
  },
1556
1570
  "mistral/codestral-2405": {
1557
1571
  "max_tokens": 8191,
@@ -1562,7 +1576,8 @@
1562
1576
  "litellm_provider": "mistral",
1563
1577
  "mode": "chat",
1564
1578
  "supports_assistant_prefill": true,
1565
- "supports_tool_choice": true
1579
+ "supports_tool_choice": true,
1580
+ "supports_response_schema": true
1566
1581
  },
1567
1582
  "mistral/open-mistral-nemo": {
1568
1583
  "max_tokens": 128000,
@@ -1574,7 +1589,8 @@
1574
1589
  "mode": "chat",
1575
1590
  "source": "https://mistral.ai/technology/",
1576
1591
  "supports_assistant_prefill": true,
1577
- "supports_tool_choice": true
1592
+ "supports_tool_choice": true,
1593
+ "supports_response_schema": true
1578
1594
  },
1579
1595
  "mistral/open-mistral-nemo-2407": {
1580
1596
  "max_tokens": 128000,
@@ -1586,7 +1602,8 @@
1586
1602
  "mode": "chat",
1587
1603
  "source": "https://mistral.ai/technology/",
1588
1604
  "supports_assistant_prefill": true,
1589
- "supports_tool_choice": true
1605
+ "supports_tool_choice": true,
1606
+ "supports_response_schema": true
1590
1607
  },
1591
1608
  "mistral/open-codestral-mamba": {
1592
1609
  "max_tokens": 256000,
@@ -8219,7 +8236,8 @@
8219
8236
  "mode": "chat",
8220
8237
  "supports_function_calling": true,
8221
8238
  "supports_assistant_prefill": true,
8222
- "supports_tool_choice": true
8239
+ "supports_tool_choice": true,
8240
+ "supports_response_schema": true
8223
8241
  },
8224
8242
  "mistral/pixtral-large-latest": {
8225
8243
  "max_tokens": 128000,
@@ -8232,7 +8250,8 @@
8232
8250
  "supports_function_calling": true,
8233
8251
  "supports_assistant_prefill": true,
8234
8252
  "supports_vision": true,
8235
- "supports_tool_choice": true
8253
+ "supports_tool_choice": true,
8254
+ "supports_response_schema": true
8236
8255
  },
8237
8256
  "mistral/pixtral-large-2411": {
8238
8257
  "max_tokens": 128000,
@@ -8245,7 +8264,8 @@
8245
8264
  "supports_function_calling": true,
8246
8265
  "supports_assistant_prefill": true,
8247
8266
  "supports_vision": true,
8248
- "supports_tool_choice": true
8267
+ "supports_tool_choice": true,
8268
+ "supports_response_schema": true
8249
8269
  },
8250
8270
  "deepseek/deepseek-chat": {
8251
8271
  "max_tokens": 8192,
@@ -14129,7 +14149,8 @@
14129
14149
  "source": "https://mistral.ai/news/devstral",
14130
14150
  "supports_function_calling": true,
14131
14151
  "supports_assistant_prefill": true,
14132
- "supports_tool_choice": true
14152
+ "supports_tool_choice": true,
14153
+ "supports_response_schema": true
14133
14154
  },
14134
14155
  "gpt-4o-mini-audio-preview": {
14135
14156
  "max_tokens": 16384,
@@ -14158,7 +14179,8 @@
14158
14179
  "mode": "chat",
14159
14180
  "supports_function_calling": true,
14160
14181
  "supports_assistant_prefill": true,
14161
- "supports_tool_choice": true
14182
+ "supports_tool_choice": true,
14183
+ "supports_response_schema": true
14162
14184
  },
14163
14185
  "embed-v4.0": {
14164
14186
  "max_tokens": 1024,
@@ -14502,7 +14524,8 @@
14502
14524
  "supports_function_calling": true,
14503
14525
  "supports_assistant_prefill": true,
14504
14526
  "supports_tool_choice": true,
14505
- "supports_reasoning": true
14527
+ "supports_reasoning": true,
14528
+ "supports_response_schema": true
14506
14529
  },
14507
14530
  "mistral/magistral-small-2506": {
14508
14531
  "max_tokens": 40000,
@@ -14516,7 +14539,8 @@
14516
14539
  "supports_function_calling": true,
14517
14540
  "supports_assistant_prefill": true,
14518
14541
  "supports_tool_choice": true,
14519
- "supports_reasoning": true
14542
+ "supports_reasoning": true,
14543
+ "supports_response_schema": true
14520
14544
  },
14521
14545
  "vertex_ai/claude-opus-4": {
14522
14546
  "max_tokens": 32000,
@@ -15104,7 +15128,8 @@
15104
15128
  "supports_function_calling": true,
15105
15129
  "supports_assistant_prefill": true,
15106
15130
  "supports_tool_choice": true,
15107
- "supports_reasoning": true
15131
+ "supports_reasoning": true,
15132
+ "supports_response_schema": true
15108
15133
  },
15109
15134
  "mistral/magistral-small-latest": {
15110
15135
  "max_tokens": 40000,
@@ -15118,7 +15143,8 @@
15118
15143
  "supports_function_calling": true,
15119
15144
  "supports_assistant_prefill": true,
15120
15145
  "supports_tool_choice": true,
15121
- "supports_reasoning": true
15146
+ "supports_reasoning": true,
15147
+ "supports_response_schema": true
15122
15148
  },
15123
15149
  "xai/grok-3-latest": {
15124
15150
  "max_tokens": 131072,
@@ -15704,5 +15730,65 @@
15704
15730
  "litellm_provider": "openrouter",
15705
15731
  "mode": "chat",
15706
15732
  "supports_tool_choice": true
15733
+ },
15734
+ "azure/o3-pro": {
15735
+ "max_tokens": 100000,
15736
+ "max_input_tokens": 200000,
15737
+ "max_output_tokens": 100000,
15738
+ "input_cost_per_token": 2e-05,
15739
+ "output_cost_per_token": 8e-05,
15740
+ "input_cost_per_token_batches": 1e-05,
15741
+ "output_cost_per_token_batches": 4e-05,
15742
+ "litellm_provider": "azure",
15743
+ "mode": "chat",
15744
+ "supported_endpoints": [
15745
+ "/v1/chat/completions",
15746
+ "/v1/batch",
15747
+ "/v1/responses"
15748
+ ],
15749
+ "supported_modalities": [
15750
+ "text",
15751
+ "image"
15752
+ ],
15753
+ "supported_output_modalities": [
15754
+ "text"
15755
+ ],
15756
+ "supports_function_calling": true,
15757
+ "supports_parallel_function_calling": false,
15758
+ "supports_vision": true,
15759
+ "supports_prompt_caching": false,
15760
+ "supports_response_schema": true,
15761
+ "supports_reasoning": true,
15762
+ "supports_tool_choice": true
15763
+ },
15764
+ "azure/o3-pro-2025-06-10": {
15765
+ "max_tokens": 100000,
15766
+ "max_input_tokens": 200000,
15767
+ "max_output_tokens": 100000,
15768
+ "input_cost_per_token": 2e-05,
15769
+ "output_cost_per_token": 8e-05,
15770
+ "input_cost_per_token_batches": 1e-05,
15771
+ "output_cost_per_token_batches": 4e-05,
15772
+ "litellm_provider": "azure",
15773
+ "mode": "chat",
15774
+ "supported_endpoints": [
15775
+ "/v1/chat/completions",
15776
+ "/v1/batch",
15777
+ "/v1/responses"
15778
+ ],
15779
+ "supported_modalities": [
15780
+ "text",
15781
+ "image"
15782
+ ],
15783
+ "supported_output_modalities": [
15784
+ "text"
15785
+ ],
15786
+ "supports_function_calling": true,
15787
+ "supports_parallel_function_calling": false,
15788
+ "supports_vision": true,
15789
+ "supports_prompt_caching": false,
15790
+ "supports_response_schema": true,
15791
+ "supports_reasoning": true,
15792
+ "supports_tool_choice": true
15707
15793
  }
15708
15794
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.102
3
+ Version: 0.1.106
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=jeUABrE3vSsl3QkRGdDx4chDQnGgPxoBMCQokFTUqIs,563313
5
+ tokencostauto-0.1.106.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
+ tokencostauto-0.1.106.dist-info/METADATA,sha256=rO_RecAn1BMFxJsnqjp-zUKJfYAaNYu3HHffr-m3kZU,204076
7
+ tokencostauto-0.1.106.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ tokencostauto-0.1.106.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
+ tokencostauto-0.1.106.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=0enP45Gt0ojxiC9jMFnAS-n4Yxi4_LAh_nWaAl1lE3k,560326
5
- tokencostauto-0.1.102.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
- tokencostauto-0.1.102.dist-info/METADATA,sha256=bd62PmFU7KXLe-l0n6xJcqky5CHcs0R0H3TZlHj5XAQ,204076
7
- tokencostauto-0.1.102.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- tokencostauto-0.1.102.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
- tokencostauto-0.1.102.dist-info/RECORD,,