tokencostauto 0.1.472__py3-none-any.whl → 0.1.476__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.
@@ -12117,6 +12117,7 @@
12117
12117
  "supports_tool_choice": true
12118
12118
  },
12119
12119
  "xai/grok-3-beta": {
12120
+ "cache_read_input_token_cost": 7.5e-07,
12120
12121
  "input_cost_per_token": 3e-06,
12121
12122
  "litellm_provider": "xai",
12122
12123
  "max_input_tokens": 131072,
@@ -12131,6 +12132,7 @@
12131
12132
  "supports_web_search": true
12132
12133
  },
12133
12134
  "xai/grok-3-fast-beta": {
12135
+ "cache_read_input_token_cost": 1.25e-06,
12134
12136
  "input_cost_per_token": 5e-06,
12135
12137
  "litellm_provider": "xai",
12136
12138
  "max_input_tokens": 131072,
@@ -12145,6 +12147,7 @@
12145
12147
  "supports_web_search": true
12146
12148
  },
12147
12149
  "xai/grok-3-fast-latest": {
12150
+ "cache_read_input_token_cost": 1.25e-06,
12148
12151
  "input_cost_per_token": 5e-06,
12149
12152
  "litellm_provider": "xai",
12150
12153
  "max_input_tokens": 131072,
@@ -12159,6 +12162,7 @@
12159
12162
  "supports_web_search": true
12160
12163
  },
12161
12164
  "xai/grok-3-mini-beta": {
12165
+ "cache_read_input_token_cost": 7.5e-08,
12162
12166
  "input_cost_per_token": 3e-07,
12163
12167
  "litellm_provider": "xai",
12164
12168
  "max_input_tokens": 131072,
@@ -12174,6 +12178,7 @@
12174
12178
  "supports_web_search": true
12175
12179
  },
12176
12180
  "xai/grok-3-mini-fast-beta": {
12181
+ "cache_read_input_token_cost": 1.5e-07,
12177
12182
  "input_cost_per_token": 6e-07,
12178
12183
  "litellm_provider": "xai",
12179
12184
  "max_input_tokens": 131072,
@@ -12189,6 +12194,7 @@
12189
12194
  "supports_web_search": true
12190
12195
  },
12191
12196
  "xai/grok-3-mini-fast-latest": {
12197
+ "cache_read_input_token_cost": 1.5e-07,
12192
12198
  "input_cost_per_token": 6e-07,
12193
12199
  "litellm_provider": "xai",
12194
12200
  "max_input_tokens": 131072,
@@ -13748,6 +13754,7 @@
13748
13754
  "supports_tool_choice": true
13749
13755
  },
13750
13756
  "xai/grok-3": {
13757
+ "cache_read_input_token_cost": 7.5e-07,
13751
13758
  "input_cost_per_token": 3e-06,
13752
13759
  "litellm_provider": "xai",
13753
13760
  "max_input_tokens": 131072,
@@ -15380,6 +15387,7 @@
15380
15387
  "supports_tool_choice": true
15381
15388
  },
15382
15389
  "xai/grok-3-latest": {
15390
+ "cache_read_input_token_cost": 7.5e-07,
15383
15391
  "input_cost_per_token": 3e-06,
15384
15392
  "litellm_provider": "xai",
15385
15393
  "max_input_tokens": 131072,
@@ -15394,6 +15402,7 @@
15394
15402
  "supports_web_search": true
15395
15403
  },
15396
15404
  "xai/grok-3-mini": {
15405
+ "cache_read_input_token_cost": 7.5e-08,
15397
15406
  "input_cost_per_token": 3e-07,
15398
15407
  "litellm_provider": "xai",
15399
15408
  "max_input_tokens": 131072,
@@ -15409,6 +15418,7 @@
15409
15418
  "supports_web_search": true
15410
15419
  },
15411
15420
  "xai/grok-3-mini-latest": {
15421
+ "cache_read_input_token_cost": 7.5e-08,
15412
15422
  "input_cost_per_token": 3e-07,
15413
15423
  "litellm_provider": "xai",
15414
15424
  "max_input_tokens": 131072,
@@ -15424,6 +15434,7 @@
15424
15434
  "supports_web_search": true
15425
15435
  },
15426
15436
  "xai/grok-3-mini-fast": {
15437
+ "cache_read_input_token_cost": 1.5e-07,
15427
15438
  "input_cost_per_token": 6e-07,
15428
15439
  "litellm_provider": "xai",
15429
15440
  "max_input_tokens": 131072,
@@ -18690,7 +18701,7 @@
18690
18701
  "supports_reasoning": true,
18691
18702
  "supports_response_schema": true,
18692
18703
  "supports_system_messages": true,
18693
- "supports_tool_choice": false,
18704
+ "supports_tool_choice": true,
18694
18705
  "supports_vision": true
18695
18706
  },
18696
18707
  "azure/gpt-5-chat-latest": {
@@ -18722,7 +18733,7 @@
18722
18733
  "supports_reasoning": true,
18723
18734
  "supports_response_schema": true,
18724
18735
  "supports_system_messages": true,
18725
- "supports_tool_choice": false,
18736
+ "supports_tool_choice": true,
18726
18737
  "supports_vision": true
18727
18738
  },
18728
18739
  "groq/openai/gpt-oss-20b": {
@@ -25968,7 +25979,7 @@
25968
25979
  "mode": "chat",
25969
25980
  "output_cost_per_token": 1.02e-06,
25970
25981
  "supports_function_calling": true,
25971
- "supports_prompt_caching": false,
25982
+ "supports_prompt_caching": true,
25972
25983
  "supports_reasoning": true,
25973
25984
  "supports_tool_choice": true
25974
25985
  },
@@ -25982,6 +25993,7 @@
25982
25993
  "output_cost_per_token": 1.75e-06,
25983
25994
  "source": "https://openrouter.ai/z-ai/glm-4.6",
25984
25995
  "supports_function_calling": true,
25996
+ "supports_prompt_caching": true,
25985
25997
  "supports_reasoning": true,
25986
25998
  "supports_tool_choice": true
25987
25999
  },
@@ -25995,6 +26007,7 @@
25995
26007
  "output_cost_per_token": 1.9e-06,
25996
26008
  "source": "https://openrouter.ai/z-ai/glm-4.6:exacto",
25997
26009
  "supports_function_calling": true,
26010
+ "supports_prompt_caching": true,
25998
26011
  "supports_reasoning": true,
25999
26012
  "supports_tool_choice": true
26000
26013
  },
@@ -28794,6 +28807,8 @@
28794
28807
  ]
28795
28808
  },
28796
28809
  "zai/glm-4.6": {
28810
+ "cache_creation_input_token_cost": 0,
28811
+ "cache_read_input_token_cost": 1.1e-07,
28797
28812
  "input_cost_per_token": 6e-07,
28798
28813
  "output_cost_per_token": 2.2e-06,
28799
28814
  "litellm_provider": "zai",
@@ -28801,6 +28816,8 @@
28801
28816
  "max_output_tokens": 128000,
28802
28817
  "mode": "chat",
28803
28818
  "supports_function_calling": true,
28819
+ "supports_prompt_caching": true,
28820
+ "supports_reasoning": true,
28804
28821
  "supports_tool_choice": true,
28805
28822
  "source": "https://docs.z.ai/guides/overview/pricing"
28806
28823
  },
@@ -33258,6 +33275,7 @@
33258
33275
  "supports_function_calling": true,
33259
33276
  "supports_tool_choice": true,
33260
33277
  "supports_prompt_caching": true,
33278
+ "supports_reasoning": true,
33261
33279
  "supports_system_messages": true,
33262
33280
  "max_input_tokens": 1000000,
33263
33281
  "max_output_tokens": 8192
@@ -33272,6 +33290,7 @@
33272
33290
  "supports_function_calling": true,
33273
33291
  "supports_tool_choice": true,
33274
33292
  "supports_prompt_caching": true,
33293
+ "supports_reasoning": true,
33275
33294
  "supports_system_messages": true,
33276
33295
  "max_input_tokens": 1000000,
33277
33296
  "max_output_tokens": 8192
@@ -33286,6 +33305,7 @@
33286
33305
  "supports_function_calling": true,
33287
33306
  "supports_tool_choice": true,
33288
33307
  "supports_prompt_caching": true,
33308
+ "supports_reasoning": true,
33289
33309
  "supports_system_messages": true,
33290
33310
  "max_input_tokens": 200000,
33291
33311
  "max_output_tokens": 8192
@@ -33688,6 +33708,7 @@
33688
33708
  "max_output_tokens": 128000,
33689
33709
  "mode": "chat",
33690
33710
  "supports_function_calling": true,
33711
+ "supports_prompt_caching": true,
33691
33712
  "supports_reasoning": true,
33692
33713
  "supports_tool_choice": true,
33693
33714
  "source": "https://docs.z.ai/guides/overview/pricing"
@@ -35523,8 +35544,11 @@
35523
35544
  "max_input_tokens": 400000,
35524
35545
  "max_output_tokens": 128000,
35525
35546
  "max_tokens": 128000,
35526
- "mode": "chat",
35547
+ "mode": "responses",
35527
35548
  "output_cost_per_token": 1.4e-05,
35549
+ "supported_endpoints": [
35550
+ "/v1/responses"
35551
+ ],
35528
35552
  "supported_modalities": [
35529
35553
  "text",
35530
35554
  "image"
@@ -35542,10 +35566,9 @@
35542
35566
  "max_input_tokens": 128000,
35543
35567
  "max_output_tokens": 16384,
35544
35568
  "max_tokens": 16384,
35545
- "mode": "chat",
35569
+ "mode": "responses",
35546
35570
  "output_cost_per_token": 1.4e-05,
35547
35571
  "supported_endpoints": [
35548
- "/v1/chat/completions",
35549
35572
  "/v1/responses"
35550
35573
  ],
35551
35574
  "supported_modalities": [
@@ -36077,6 +36100,42 @@
36077
36100
  "supports_tool_choice": true
36078
36101
  },
36079
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": "vertex_ai-language-models",
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
+ },
36138
+ "gemini/gemini-robotics-er-1.5-preview": {
36080
36139
  "cache_read_input_token_cost": 0,
36081
36140
  "input_cost_per_token": 3e-07,
36082
36141
  "input_cost_per_audio_token": 1e-06,
@@ -36112,5 +36171,71 @@
36112
36171
  "supports_url_context": true,
36113
36172
  "supports_vision": true,
36114
36173
  "supports_web_search": true
36174
+ },
36175
+ "openrouter/xiaomi/mimo-v2-flash": {
36176
+ "input_cost_per_token": 9e-08,
36177
+ "output_cost_per_token": 2.9e-07,
36178
+ "cache_creation_input_token_cost": 0.0,
36179
+ "cache_read_input_token_cost": 0.0,
36180
+ "litellm_provider": "openrouter",
36181
+ "max_input_tokens": 262144,
36182
+ "max_output_tokens": 16384,
36183
+ "max_tokens": 16384,
36184
+ "mode": "chat",
36185
+ "supports_function_calling": true,
36186
+ "supports_tool_choice": true,
36187
+ "supports_reasoning": true,
36188
+ "supports_vision": false,
36189
+ "supports_prompt_caching": false
36190
+ },
36191
+ "openrouter/z-ai/glm-4.7": {
36192
+ "input_cost_per_token": 4e-07,
36193
+ "output_cost_per_token": 1.5e-06,
36194
+ "cache_creation_input_token_cost": 0.0,
36195
+ "cache_read_input_token_cost": 0.0,
36196
+ "litellm_provider": "openrouter",
36197
+ "max_input_tokens": 202752,
36198
+ "max_output_tokens": 64000,
36199
+ "max_tokens": 64000,
36200
+ "mode": "chat",
36201
+ "supports_function_calling": true,
36202
+ "supports_tool_choice": true,
36203
+ "supports_reasoning": true,
36204
+ "supports_vision": true,
36205
+ "supports_prompt_caching": false,
36206
+ "supports_assistant_prefill": true
36207
+ },
36208
+ "openrouter/z-ai/glm-4.7-flash": {
36209
+ "input_cost_per_token": 7e-08,
36210
+ "output_cost_per_token": 4e-07,
36211
+ "cache_creation_input_token_cost": 0.0,
36212
+ "cache_read_input_token_cost": 0.0,
36213
+ "litellm_provider": "openrouter",
36214
+ "max_input_tokens": 200000,
36215
+ "max_output_tokens": 32000,
36216
+ "max_tokens": 32000,
36217
+ "mode": "chat",
36218
+ "supports_function_calling": true,
36219
+ "supports_tool_choice": true,
36220
+ "supports_reasoning": true,
36221
+ "supports_vision": true,
36222
+ "supports_prompt_caching": false
36223
+ },
36224
+ "openrouter/minimax/minimax-m2.1": {
36225
+ "input_cost_per_token": 2.7e-07,
36226
+ "output_cost_per_token": 1.2e-06,
36227
+ "cache_creation_input_token_cost": 0.0,
36228
+ "cache_read_input_token_cost": 0.0,
36229
+ "litellm_provider": "openrouter",
36230
+ "max_input_tokens": 204000,
36231
+ "max_output_tokens": 64000,
36232
+ "max_tokens": 64000,
36233
+ "mode": "chat",
36234
+ "supports_function_calling": true,
36235
+ "supports_tool_choice": true,
36236
+ "supports_reasoning": true,
36237
+ "supports_vision": true,
36238
+ "supports_prompt_caching": false,
36239
+ "supports_computer_use": false
36115
36240
  }
36116
36241
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tokencostauto
3
- Version: 0.1.472
3
+ Version: 0.1.476
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=HlCkleOggNiqxUOJHa3IzCQo8d_wWJz60Opm6Y_2Vao,1285403
5
+ tokencostauto-0.1.476.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
+ tokencostauto-0.1.476.dist-info/METADATA,sha256=oRVheuCeQ6nhEKKvfTm2OEZRXnYUx5HtEf1IEi7GPO4,204076
7
+ tokencostauto-0.1.476.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
8
+ tokencostauto-0.1.476.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
+ tokencostauto-0.1.476.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=TqBRmUuikdXPSTrrfqk5w6Ct5GysEZlBH8tSem6p6f8,1280770
5
- tokencostauto-0.1.472.dist-info/licenses/LICENSE,sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U,1065
6
- tokencostauto-0.1.472.dist-info/METADATA,sha256=d1Yar8aHvhfRHJQSR56zEsMVczA91y0k2EKWoz_hNL4,204076
7
- tokencostauto-0.1.472.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
8
- tokencostauto-0.1.472.dist-info/top_level.txt,sha256=szZQTUJRotfIaeZCDsOgvofIkLt2ak88RP13oI51-TU,14
9
- tokencostauto-0.1.472.dist-info/RECORD,,