@usabledev/usable-chat 1.159.0 → 1.161.0
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.
- package/cli.js +488 -751
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -45080,20 +45080,10 @@ var init_model_pricing = __esm({
|
|
|
45080
45080
|
output: 125e-8,
|
|
45081
45081
|
multiplier: 2
|
|
45082
45082
|
},
|
|
45083
|
-
"anthropic/claude-
|
|
45084
|
-
input:
|
|
45085
|
-
output:
|
|
45086
|
-
multiplier:
|
|
45087
|
-
},
|
|
45088
|
-
"anthropic/claude-3.7-sonnet": {
|
|
45089
|
-
input: 3e-6,
|
|
45090
|
-
output: 15e-6,
|
|
45091
|
-
multiplier: 24
|
|
45092
|
-
},
|
|
45093
|
-
"anthropic/claude-3.7-sonnet:thinking": {
|
|
45094
|
-
input: 3e-6,
|
|
45095
|
-
output: 15e-6,
|
|
45096
|
-
multiplier: 24
|
|
45083
|
+
"anthropic/claude-fable-5": {
|
|
45084
|
+
input: 1e-5,
|
|
45085
|
+
output: 5e-5,
|
|
45086
|
+
multiplier: 80
|
|
45097
45087
|
},
|
|
45098
45088
|
"anthropic/claude-haiku-4.5": {
|
|
45099
45089
|
input: 1e-6,
|
|
@@ -45125,6 +45115,11 @@ var init_model_pricing = __esm({
|
|
|
45125
45115
|
output: 25e-6,
|
|
45126
45116
|
multiplier: 40
|
|
45127
45117
|
},
|
|
45118
|
+
"anthropic/claude-opus-4.8": {
|
|
45119
|
+
input: 5e-6,
|
|
45120
|
+
output: 25e-6,
|
|
45121
|
+
multiplier: 40
|
|
45122
|
+
},
|
|
45128
45123
|
"anthropic/claude-sonnet-4": {
|
|
45129
45124
|
input: 3e-6,
|
|
45130
45125
|
output: 15e-6,
|
|
@@ -45167,7 +45162,7 @@ var init_model_pricing = __esm({
|
|
|
45167
45162
|
multiplier: 4
|
|
45168
45163
|
},
|
|
45169
45164
|
"deepseek/deepseek-r1-distill-llama-70b": {
|
|
45170
|
-
input:
|
|
45165
|
+
input: 8e-7,
|
|
45171
45166
|
output: 8e-7,
|
|
45172
45167
|
multiplier: 2
|
|
45173
45168
|
},
|
|
@@ -45187,26 +45182,16 @@ var init_model_pricing = __esm({
|
|
|
45187
45182
|
multiplier: 1
|
|
45188
45183
|
},
|
|
45189
45184
|
"deepseek/deepseek-v4-flash": {
|
|
45190
|
-
input:
|
|
45191
|
-
output:
|
|
45185
|
+
input: 1e-7,
|
|
45186
|
+
output: 2e-7,
|
|
45192
45187
|
multiplier: 1
|
|
45193
45188
|
},
|
|
45194
45189
|
"deepseek/deepseek-v4-pro": {
|
|
45195
|
-
input:
|
|
45196
|
-
output:
|
|
45197
|
-
multiplier:
|
|
45190
|
+
input: 13e-7,
|
|
45191
|
+
output: 26e-7,
|
|
45192
|
+
multiplier: 5
|
|
45198
45193
|
},
|
|
45199
45194
|
// Google Models
|
|
45200
|
-
"google/gemini-2.0-flash-001": {
|
|
45201
|
-
input: 1e-7,
|
|
45202
|
-
output: 4e-7,
|
|
45203
|
-
multiplier: 1
|
|
45204
|
-
},
|
|
45205
|
-
"google/gemini-2.0-flash-lite-001": {
|
|
45206
|
-
input: 75e-9,
|
|
45207
|
-
output: 3e-7,
|
|
45208
|
-
multiplier: 1
|
|
45209
|
-
},
|
|
45210
45195
|
"google/gemini-2.5-flash": {
|
|
45211
45196
|
input: 3e-7,
|
|
45212
45197
|
output: 25e-7,
|
|
@@ -45247,16 +45232,31 @@ var init_model_pricing = __esm({
|
|
|
45247
45232
|
output: 3e-6,
|
|
45248
45233
|
multiplier: 5
|
|
45249
45234
|
},
|
|
45235
|
+
"google/gemini-3-pro-image": {
|
|
45236
|
+
input: 2e-6,
|
|
45237
|
+
output: 12e-6,
|
|
45238
|
+
multiplier: 19
|
|
45239
|
+
},
|
|
45250
45240
|
"google/gemini-3-pro-image-preview": {
|
|
45251
45241
|
input: 2e-6,
|
|
45252
45242
|
output: 12e-6,
|
|
45253
45243
|
multiplier: 19
|
|
45254
45244
|
},
|
|
45245
|
+
"google/gemini-3.1-flash-image": {
|
|
45246
|
+
input: 5e-7,
|
|
45247
|
+
output: 3e-6,
|
|
45248
|
+
multiplier: 5
|
|
45249
|
+
},
|
|
45255
45250
|
"google/gemini-3.1-flash-image-preview": {
|
|
45256
45251
|
input: 5e-7,
|
|
45257
45252
|
output: 3e-6,
|
|
45258
45253
|
multiplier: 5
|
|
45259
45254
|
},
|
|
45255
|
+
"google/gemini-3.1-flash-lite": {
|
|
45256
|
+
input: 25e-8,
|
|
45257
|
+
output: 15e-7,
|
|
45258
|
+
multiplier: 2
|
|
45259
|
+
},
|
|
45260
45260
|
"google/gemini-3.1-flash-lite-preview": {
|
|
45261
45261
|
input: 25e-8,
|
|
45262
45262
|
output: 15e-7,
|
|
@@ -45272,9 +45272,14 @@ var init_model_pricing = __esm({
|
|
|
45272
45272
|
output: 12e-6,
|
|
45273
45273
|
multiplier: 19
|
|
45274
45274
|
},
|
|
45275
|
+
"google/gemini-3.5-flash": {
|
|
45276
|
+
input: 15e-7,
|
|
45277
|
+
output: 9e-6,
|
|
45278
|
+
multiplier: 14
|
|
45279
|
+
},
|
|
45275
45280
|
"google/gemma-3-12b-it": {
|
|
45276
|
-
input:
|
|
45277
|
-
output:
|
|
45281
|
+
input: 5e-8,
|
|
45282
|
+
output: 15e-8,
|
|
45278
45283
|
multiplier: 1
|
|
45279
45284
|
},
|
|
45280
45285
|
"google/gemma-3-27b-it": {
|
|
@@ -45283,8 +45288,8 @@ var init_model_pricing = __esm({
|
|
|
45283
45288
|
multiplier: 1
|
|
45284
45289
|
},
|
|
45285
45290
|
"google/gemma-3-4b-it": {
|
|
45286
|
-
input:
|
|
45287
|
-
output:
|
|
45291
|
+
input: 5e-8,
|
|
45292
|
+
output: 1e-7,
|
|
45288
45293
|
multiplier: 1
|
|
45289
45294
|
},
|
|
45290
45295
|
"google/gemma-3n-e4b-it": {
|
|
@@ -45298,8 +45303,8 @@ var init_model_pricing = __esm({
|
|
|
45298
45303
|
multiplier: 1
|
|
45299
45304
|
},
|
|
45300
45305
|
"google/gemma-4-31b-it": {
|
|
45301
|
-
input:
|
|
45302
|
-
output:
|
|
45306
|
+
input: 12e-8,
|
|
45307
|
+
output: 37e-8,
|
|
45303
45308
|
multiplier: 1
|
|
45304
45309
|
},
|
|
45305
45310
|
"google/lyria-3-clip-preview": {
|
|
@@ -45313,14 +45318,9 @@ var init_model_pricing = __esm({
|
|
|
45313
45318
|
multiplier: 1
|
|
45314
45319
|
},
|
|
45315
45320
|
// Meta-llama Models
|
|
45316
|
-
"meta-llama/llama-3-70b-instruct": {
|
|
45317
|
-
input: 51e-8,
|
|
45318
|
-
output: 74e-8,
|
|
45319
|
-
multiplier: 2
|
|
45320
|
-
},
|
|
45321
45321
|
"meta-llama/llama-3-8b-instruct": {
|
|
45322
|
-
input:
|
|
45323
|
-
output:
|
|
45322
|
+
input: 14e-8,
|
|
45323
|
+
output: 14e-8,
|
|
45324
45324
|
multiplier: 1
|
|
45325
45325
|
},
|
|
45326
45326
|
"meta-llama/llama-3.1-70b-instruct": {
|
|
@@ -45330,12 +45330,12 @@ var init_model_pricing = __esm({
|
|
|
45330
45330
|
},
|
|
45331
45331
|
"meta-llama/llama-3.1-8b-instruct": {
|
|
45332
45332
|
input: 2e-8,
|
|
45333
|
-
output:
|
|
45333
|
+
output: 3e-8,
|
|
45334
45334
|
multiplier: 1
|
|
45335
45335
|
},
|
|
45336
45336
|
"meta-llama/llama-3.2-11b-vision-instruct": {
|
|
45337
|
-
input:
|
|
45338
|
-
output:
|
|
45337
|
+
input: 345e-9,
|
|
45338
|
+
output: 345e-9,
|
|
45339
45339
|
multiplier: 1
|
|
45340
45340
|
},
|
|
45341
45341
|
"meta-llama/llama-3.3-70b-instruct": {
|
|
@@ -45349,7 +45349,7 @@ var init_model_pricing = __esm({
|
|
|
45349
45349
|
multiplier: 1
|
|
45350
45350
|
},
|
|
45351
45351
|
"meta-llama/llama-4-scout": {
|
|
45352
|
-
input:
|
|
45352
|
+
input: 1e-7,
|
|
45353
45353
|
output: 3e-7,
|
|
45354
45354
|
multiplier: 1
|
|
45355
45355
|
},
|
|
@@ -45369,16 +45369,6 @@ var init_model_pricing = __esm({
|
|
|
45369
45369
|
output: 2e-6,
|
|
45370
45370
|
multiplier: 3
|
|
45371
45371
|
},
|
|
45372
|
-
"mistralai/devstral-medium": {
|
|
45373
|
-
input: 4e-7,
|
|
45374
|
-
output: 2e-6,
|
|
45375
|
-
multiplier: 3
|
|
45376
|
-
},
|
|
45377
|
-
"mistralai/devstral-small": {
|
|
45378
|
-
input: 1e-7,
|
|
45379
|
-
output: 3e-7,
|
|
45380
|
-
multiplier: 1
|
|
45381
|
-
},
|
|
45382
45372
|
"mistralai/ministral-14b-2512": {
|
|
45383
45373
|
input: 2e-7,
|
|
45384
45374
|
output: 2e-7,
|
|
@@ -45404,11 +45394,6 @@ var init_model_pricing = __esm({
|
|
|
45404
45394
|
output: 6e-6,
|
|
45405
45395
|
multiplier: 11
|
|
45406
45396
|
},
|
|
45407
|
-
"mistralai/mistral-large-2411": {
|
|
45408
|
-
input: 2e-6,
|
|
45409
|
-
output: 6e-6,
|
|
45410
|
-
multiplier: 11
|
|
45411
|
-
},
|
|
45412
45397
|
"mistralai/mistral-large-2512": {
|
|
45413
45398
|
input: 5e-7,
|
|
45414
45399
|
output: 15e-7,
|
|
@@ -45459,16 +45444,6 @@ var init_model_pricing = __esm({
|
|
|
45459
45444
|
output: 6e-6,
|
|
45460
45445
|
multiplier: 11
|
|
45461
45446
|
},
|
|
45462
|
-
"mistralai/mixtral-8x7b-instruct": {
|
|
45463
|
-
input: 54e-8,
|
|
45464
|
-
output: 54e-8,
|
|
45465
|
-
multiplier: 1
|
|
45466
|
-
},
|
|
45467
|
-
"mistralai/pixtral-large-2411": {
|
|
45468
|
-
input: 2e-6,
|
|
45469
|
-
output: 6e-6,
|
|
45470
|
-
multiplier: 11
|
|
45471
|
-
},
|
|
45472
45447
|
"mistralai/voxtral-small-24b-2507": {
|
|
45473
45448
|
input: 1e-7,
|
|
45474
45449
|
output: 3e-7,
|
|
@@ -45481,9 +45456,9 @@ var init_model_pricing = __esm({
|
|
|
45481
45456
|
multiplier: 4
|
|
45482
45457
|
},
|
|
45483
45458
|
"moonshotai/kimi-k2-0905": {
|
|
45484
|
-
input:
|
|
45485
|
-
output:
|
|
45486
|
-
multiplier:
|
|
45459
|
+
input: 6e-7,
|
|
45460
|
+
output: 25e-7,
|
|
45461
|
+
multiplier: 4
|
|
45487
45462
|
},
|
|
45488
45463
|
"moonshotai/kimi-k2-thinking": {
|
|
45489
45464
|
input: 6e-7,
|
|
@@ -45500,14 +45475,14 @@ var init_model_pricing = __esm({
|
|
|
45500
45475
|
output: 35e-7,
|
|
45501
45476
|
multiplier: 6
|
|
45502
45477
|
},
|
|
45503
|
-
|
|
45504
|
-
|
|
45505
|
-
|
|
45506
|
-
|
|
45507
|
-
multiplier: 3
|
|
45478
|
+
"moonshotai/kimi-k2.7-code": {
|
|
45479
|
+
input: 74e-8,
|
|
45480
|
+
output: 35e-7,
|
|
45481
|
+
multiplier: 6
|
|
45508
45482
|
},
|
|
45483
|
+
// Nvidia Models
|
|
45509
45484
|
"nvidia/llama-3.3-nemotron-super-49b-v1.5": {
|
|
45510
|
-
input:
|
|
45485
|
+
input: 4e-7,
|
|
45511
45486
|
output: 4e-7,
|
|
45512
45487
|
multiplier: 1
|
|
45513
45488
|
},
|
|
@@ -45521,15 +45496,10 @@ var init_model_pricing = __esm({
|
|
|
45521
45496
|
output: 5e-7,
|
|
45522
45497
|
multiplier: 1
|
|
45523
45498
|
},
|
|
45524
|
-
"nvidia/nemotron-
|
|
45525
|
-
input:
|
|
45526
|
-
output:
|
|
45527
|
-
multiplier:
|
|
45528
|
-
},
|
|
45529
|
-
"nvidia/nemotron-nano-9b-v2": {
|
|
45530
|
-
input: 4e-8,
|
|
45531
|
-
output: 16e-8,
|
|
45532
|
-
multiplier: 1
|
|
45499
|
+
"nvidia/nemotron-3-ultra-550b-a55b": {
|
|
45500
|
+
input: 5e-7,
|
|
45501
|
+
output: 22e-7,
|
|
45502
|
+
multiplier: 4
|
|
45533
45503
|
},
|
|
45534
45504
|
// Openai Models
|
|
45535
45505
|
"openai/gpt-3.5-turbo": {
|
|
@@ -45557,16 +45527,6 @@ var init_model_pricing = __esm({
|
|
|
45557
45527
|
output: 6e-5,
|
|
45558
45528
|
multiplier: 120
|
|
45559
45529
|
},
|
|
45560
|
-
"openai/gpt-4-0314": {
|
|
45561
|
-
input: 3e-5,
|
|
45562
|
-
output: 6e-5,
|
|
45563
|
-
multiplier: 120
|
|
45564
|
-
},
|
|
45565
|
-
"openai/gpt-4-1106-preview": {
|
|
45566
|
-
input: 1e-5,
|
|
45567
|
-
output: 3e-5,
|
|
45568
|
-
multiplier: 53
|
|
45569
|
-
},
|
|
45570
45530
|
"openai/gpt-4-turbo": {
|
|
45571
45531
|
input: 1e-5,
|
|
45572
45532
|
output: 3e-5,
|
|
@@ -45612,11 +45572,6 @@ var init_model_pricing = __esm({
|
|
|
45612
45572
|
output: 1e-5,
|
|
45613
45573
|
multiplier: 17
|
|
45614
45574
|
},
|
|
45615
|
-
"openai/gpt-4o-audio-preview": {
|
|
45616
|
-
input: 25e-7,
|
|
45617
|
-
output: 1e-5,
|
|
45618
|
-
multiplier: 17
|
|
45619
|
-
},
|
|
45620
45575
|
"openai/gpt-4o-mini": {
|
|
45621
45576
|
input: 15e-8,
|
|
45622
45577
|
output: 6e-7,
|
|
@@ -45858,11 +45813,6 @@ var init_model_pricing = __esm({
|
|
|
45858
45813
|
output: 3e-7,
|
|
45859
45814
|
multiplier: 1
|
|
45860
45815
|
},
|
|
45861
|
-
"qwen/qwen-max": {
|
|
45862
|
-
input: 104e-8,
|
|
45863
|
-
output: 416e-8,
|
|
45864
|
-
multiplier: 7
|
|
45865
|
-
},
|
|
45866
45816
|
"qwen/qwen-plus": {
|
|
45867
45817
|
input: 26e-8,
|
|
45868
45818
|
output: 78e-8,
|
|
@@ -45878,25 +45828,10 @@ var init_model_pricing = __esm({
|
|
|
45878
45828
|
output: 78e-8,
|
|
45879
45829
|
multiplier: 1
|
|
45880
45830
|
},
|
|
45881
|
-
"qwen/qwen-turbo": {
|
|
45882
|
-
input: 325e-10,
|
|
45883
|
-
output: 13e-8,
|
|
45884
|
-
multiplier: 1
|
|
45885
|
-
},
|
|
45886
|
-
"qwen/qwen-vl-max": {
|
|
45887
|
-
input: 52e-8,
|
|
45888
|
-
output: 208e-8,
|
|
45889
|
-
multiplier: 3
|
|
45890
|
-
},
|
|
45891
|
-
"qwen/qwen-vl-plus": {
|
|
45892
|
-
input: 1365e-10,
|
|
45893
|
-
output: 4095e-10,
|
|
45894
|
-
multiplier: 1
|
|
45895
|
-
},
|
|
45896
45831
|
"qwen/qwen2.5-vl-72b-instruct": {
|
|
45897
|
-
input:
|
|
45898
|
-
output:
|
|
45899
|
-
multiplier:
|
|
45832
|
+
input: 8e-7,
|
|
45833
|
+
output: 1e-6,
|
|
45834
|
+
multiplier: 2
|
|
45900
45835
|
},
|
|
45901
45836
|
"qwen/qwen3-14b": {
|
|
45902
45837
|
input: 12e-8,
|
|
@@ -45909,7 +45844,7 @@ var init_model_pricing = __esm({
|
|
|
45909
45844
|
multiplier: 3
|
|
45910
45845
|
},
|
|
45911
45846
|
"qwen/qwen3-235b-a22b-2507": {
|
|
45912
|
-
input:
|
|
45847
|
+
input: 9e-8,
|
|
45913
45848
|
output: 1e-7,
|
|
45914
45849
|
multiplier: 1
|
|
45915
45850
|
},
|
|
@@ -45919,8 +45854,8 @@ var init_model_pricing = __esm({
|
|
|
45919
45854
|
multiplier: 2
|
|
45920
45855
|
},
|
|
45921
45856
|
"qwen/qwen3-30b-a3b": {
|
|
45922
|
-
input:
|
|
45923
|
-
output:
|
|
45857
|
+
input: 12e-8,
|
|
45858
|
+
output: 5e-7,
|
|
45924
45859
|
multiplier: 1
|
|
45925
45860
|
},
|
|
45926
45861
|
"qwen/qwen3-30b-a3b-instruct-2507": {
|
|
@@ -45929,9 +45864,9 @@ var init_model_pricing = __esm({
|
|
|
45929
45864
|
multiplier: 1
|
|
45930
45865
|
},
|
|
45931
45866
|
"qwen/qwen3-30b-a3b-thinking-2507": {
|
|
45932
|
-
input:
|
|
45933
|
-
output:
|
|
45934
|
-
multiplier:
|
|
45867
|
+
input: 13e-8,
|
|
45868
|
+
output: 156e-8,
|
|
45869
|
+
multiplier: 2
|
|
45935
45870
|
},
|
|
45936
45871
|
"qwen/qwen3-32b": {
|
|
45937
45872
|
input: 8e-8,
|
|
@@ -46034,7 +45969,7 @@ var init_model_pricing = __esm({
|
|
|
46034
45969
|
multiplier: 2
|
|
46035
45970
|
},
|
|
46036
45971
|
"qwen/qwen3.5-35b-a3b": {
|
|
46037
|
-
input:
|
|
45972
|
+
input: 14e-8,
|
|
46038
45973
|
output: 1e-6,
|
|
46039
45974
|
multiplier: 2
|
|
46040
45975
|
},
|
|
@@ -46059,12 +45994,12 @@ var init_model_pricing = __esm({
|
|
|
46059
45994
|
multiplier: 2
|
|
46060
45995
|
},
|
|
46061
45996
|
"qwen/qwen3.5-plus-20260420": {
|
|
46062
|
-
input:
|
|
46063
|
-
output:
|
|
46064
|
-
multiplier:
|
|
45997
|
+
input: 3e-7,
|
|
45998
|
+
output: 18e-7,
|
|
45999
|
+
multiplier: 3
|
|
46065
46000
|
},
|
|
46066
46001
|
"qwen/qwen3.6-27b": {
|
|
46067
|
-
input:
|
|
46002
|
+
input: 3e-7,
|
|
46068
46003
|
output: 32e-7,
|
|
46069
46004
|
multiplier: 5
|
|
46070
46005
|
},
|
|
@@ -46074,8 +46009,8 @@ var init_model_pricing = __esm({
|
|
|
46074
46009
|
multiplier: 2
|
|
46075
46010
|
},
|
|
46076
46011
|
"qwen/qwen3.6-flash": {
|
|
46077
|
-
input:
|
|
46078
|
-
output:
|
|
46012
|
+
input: 1875e-10,
|
|
46013
|
+
output: 1125e-9,
|
|
46079
46014
|
multiplier: 2
|
|
46080
46015
|
},
|
|
46081
46016
|
"qwen/qwen3.6-max-preview": {
|
|
@@ -46088,34 +46023,29 @@ var init_model_pricing = __esm({
|
|
|
46088
46023
|
output: 195e-8,
|
|
46089
46024
|
multiplier: 3
|
|
46090
46025
|
},
|
|
46091
|
-
|
|
46092
|
-
|
|
46093
|
-
|
|
46094
|
-
|
|
46095
|
-
multiplier: 1
|
|
46096
|
-
},
|
|
46097
|
-
"xiaomi/mimo-v2-omni": {
|
|
46098
|
-
input: 4e-7,
|
|
46099
|
-
output: 2e-6,
|
|
46100
|
-
multiplier: 3
|
|
46026
|
+
"qwen/qwen3.7-max": {
|
|
46027
|
+
input: 125e-8,
|
|
46028
|
+
output: 375e-8,
|
|
46029
|
+
multiplier: 7
|
|
46101
46030
|
},
|
|
46102
|
-
"
|
|
46103
|
-
input:
|
|
46104
|
-
output:
|
|
46105
|
-
multiplier:
|
|
46031
|
+
"qwen/qwen3.7-plus": {
|
|
46032
|
+
input: 32e-8,
|
|
46033
|
+
output: 128e-8,
|
|
46034
|
+
multiplier: 2
|
|
46106
46035
|
},
|
|
46036
|
+
// Xiaomi Models
|
|
46107
46037
|
"xiaomi/mimo-v2.5": {
|
|
46108
|
-
input:
|
|
46109
|
-
output:
|
|
46110
|
-
multiplier:
|
|
46038
|
+
input: 14e-8,
|
|
46039
|
+
output: 28e-8,
|
|
46040
|
+
multiplier: 1
|
|
46111
46041
|
},
|
|
46112
46042
|
"xiaomi/mimo-v2.5-pro": {
|
|
46113
|
-
input:
|
|
46114
|
-
output:
|
|
46115
|
-
multiplier:
|
|
46043
|
+
input: 435e-9,
|
|
46044
|
+
output: 87e-8,
|
|
46045
|
+
multiplier: 2
|
|
46116
46046
|
},
|
|
46117
46047
|
// Default pricing (GPT-4o-mini baseline)
|
|
46118
|
-
|
|
46048
|
+
default: {
|
|
46119
46049
|
input: 15e-8,
|
|
46120
46050
|
output: 6e-7,
|
|
46121
46051
|
multiplier: 1
|
|
@@ -46130,6 +46060,213 @@ var init_model_registry_generated = __esm({
|
|
|
46130
46060
|
"src/lib/model-registry-generated.ts"() {
|
|
46131
46061
|
"use strict";
|
|
46132
46062
|
GENERATED_MODELS = [
|
|
46063
|
+
{
|
|
46064
|
+
id: "google/gemini-3-pro-image",
|
|
46065
|
+
displayName: "Nano Banana Pro (Gemini 3 Pro Image)",
|
|
46066
|
+
vendor: "google",
|
|
46067
|
+
category: "balanced",
|
|
46068
|
+
capabilities: {
|
|
46069
|
+
vision: true,
|
|
46070
|
+
reasoning: true,
|
|
46071
|
+
maxTokens: 32768,
|
|
46072
|
+
contextLength: 65536
|
|
46073
|
+
},
|
|
46074
|
+
pricing: {
|
|
46075
|
+
inputPer1M: 2,
|
|
46076
|
+
outputPer1M: 12,
|
|
46077
|
+
multiplier: 19
|
|
46078
|
+
},
|
|
46079
|
+
availability: {
|
|
46080
|
+
mainChat: false,
|
|
46081
|
+
experts: true,
|
|
46082
|
+
embeds: true
|
|
46083
|
+
},
|
|
46084
|
+
createdAt: 1781754054
|
|
46085
|
+
},
|
|
46086
|
+
{
|
|
46087
|
+
id: "moonshotai/kimi-k2.7-code",
|
|
46088
|
+
displayName: "MoonshotAI: Kimi K2.7 Code",
|
|
46089
|
+
vendor: "moonshotai",
|
|
46090
|
+
category: "balanced",
|
|
46091
|
+
capabilities: {
|
|
46092
|
+
vision: true,
|
|
46093
|
+
reasoning: false,
|
|
46094
|
+
maxTokens: 16384,
|
|
46095
|
+
contextLength: 262144
|
|
46096
|
+
},
|
|
46097
|
+
pricing: {
|
|
46098
|
+
inputPer1M: 0.74,
|
|
46099
|
+
outputPer1M: 3.5,
|
|
46100
|
+
multiplier: 6
|
|
46101
|
+
},
|
|
46102
|
+
availability: {
|
|
46103
|
+
mainChat: false,
|
|
46104
|
+
experts: true,
|
|
46105
|
+
embeds: true
|
|
46106
|
+
},
|
|
46107
|
+
createdAt: 1781266361
|
|
46108
|
+
},
|
|
46109
|
+
{
|
|
46110
|
+
id: "anthropic/claude-fable-5",
|
|
46111
|
+
displayName: "Claude Fable 5",
|
|
46112
|
+
vendor: "anthropic",
|
|
46113
|
+
category: "specialized",
|
|
46114
|
+
capabilities: {
|
|
46115
|
+
vision: true,
|
|
46116
|
+
reasoning: false,
|
|
46117
|
+
maxTokens: 128e3,
|
|
46118
|
+
contextLength: 1e6
|
|
46119
|
+
},
|
|
46120
|
+
pricing: {
|
|
46121
|
+
inputPer1M: 10,
|
|
46122
|
+
outputPer1M: 50,
|
|
46123
|
+
multiplier: 80
|
|
46124
|
+
},
|
|
46125
|
+
availability: {
|
|
46126
|
+
mainChat: false,
|
|
46127
|
+
experts: true,
|
|
46128
|
+
embeds: true
|
|
46129
|
+
},
|
|
46130
|
+
createdAt: 1781007515
|
|
46131
|
+
},
|
|
46132
|
+
{
|
|
46133
|
+
id: "nvidia/nemotron-3-ultra-550b-a55b",
|
|
46134
|
+
displayName: "NVIDIA: Nemotron 3 Ultra",
|
|
46135
|
+
vendor: "nvidia",
|
|
46136
|
+
category: "fast",
|
|
46137
|
+
capabilities: {
|
|
46138
|
+
vision: false,
|
|
46139
|
+
reasoning: false,
|
|
46140
|
+
maxTokens: 16384,
|
|
46141
|
+
contextLength: 1e6
|
|
46142
|
+
},
|
|
46143
|
+
pricing: {
|
|
46144
|
+
inputPer1M: 0.5,
|
|
46145
|
+
outputPer1M: 2.2,
|
|
46146
|
+
multiplier: 4
|
|
46147
|
+
},
|
|
46148
|
+
availability: {
|
|
46149
|
+
mainChat: false,
|
|
46150
|
+
experts: true,
|
|
46151
|
+
embeds: true
|
|
46152
|
+
},
|
|
46153
|
+
createdAt: 1780551208
|
|
46154
|
+
},
|
|
46155
|
+
{
|
|
46156
|
+
id: "qwen/qwen3.7-plus",
|
|
46157
|
+
displayName: "Qwen3.7 Plus",
|
|
46158
|
+
vendor: "qwen",
|
|
46159
|
+
category: "fast",
|
|
46160
|
+
capabilities: {
|
|
46161
|
+
vision: true,
|
|
46162
|
+
reasoning: false,
|
|
46163
|
+
maxTokens: 65536,
|
|
46164
|
+
contextLength: 1e6
|
|
46165
|
+
},
|
|
46166
|
+
pricing: {
|
|
46167
|
+
inputPer1M: 0.32,
|
|
46168
|
+
outputPer1M: 1.28,
|
|
46169
|
+
multiplier: 2
|
|
46170
|
+
},
|
|
46171
|
+
availability: {
|
|
46172
|
+
mainChat: false,
|
|
46173
|
+
experts: true,
|
|
46174
|
+
embeds: true
|
|
46175
|
+
},
|
|
46176
|
+
createdAt: 1780491783
|
|
46177
|
+
},
|
|
46178
|
+
{
|
|
46179
|
+
id: "anthropic/claude-opus-4.8",
|
|
46180
|
+
displayName: "Claude Opus 4.8",
|
|
46181
|
+
vendor: "anthropic",
|
|
46182
|
+
category: "powerful",
|
|
46183
|
+
capabilities: {
|
|
46184
|
+
vision: true,
|
|
46185
|
+
reasoning: false,
|
|
46186
|
+
maxTokens: 128e3,
|
|
46187
|
+
contextLength: 1e6
|
|
46188
|
+
},
|
|
46189
|
+
pricing: {
|
|
46190
|
+
inputPer1M: 5,
|
|
46191
|
+
outputPer1M: 25,
|
|
46192
|
+
multiplier: 40
|
|
46193
|
+
},
|
|
46194
|
+
availability: {
|
|
46195
|
+
mainChat: false,
|
|
46196
|
+
experts: true,
|
|
46197
|
+
embeds: true
|
|
46198
|
+
},
|
|
46199
|
+
createdAt: 1779905091
|
|
46200
|
+
},
|
|
46201
|
+
{
|
|
46202
|
+
id: "qwen/qwen3.7-max",
|
|
46203
|
+
displayName: "Qwen3.7 Max",
|
|
46204
|
+
vendor: "qwen",
|
|
46205
|
+
category: "balanced",
|
|
46206
|
+
capabilities: {
|
|
46207
|
+
vision: false,
|
|
46208
|
+
reasoning: false,
|
|
46209
|
+
maxTokens: 65536,
|
|
46210
|
+
contextLength: 1e6
|
|
46211
|
+
},
|
|
46212
|
+
pricing: {
|
|
46213
|
+
inputPer1M: 1.25,
|
|
46214
|
+
outputPer1M: 3.75,
|
|
46215
|
+
multiplier: 7
|
|
46216
|
+
},
|
|
46217
|
+
availability: {
|
|
46218
|
+
mainChat: false,
|
|
46219
|
+
experts: true,
|
|
46220
|
+
embeds: true
|
|
46221
|
+
},
|
|
46222
|
+
createdAt: 1779376861
|
|
46223
|
+
},
|
|
46224
|
+
{
|
|
46225
|
+
id: "google/gemini-3.5-flash",
|
|
46226
|
+
displayName: "Gemini 3.5 Flash",
|
|
46227
|
+
vendor: "google",
|
|
46228
|
+
category: "balanced",
|
|
46229
|
+
capabilities: {
|
|
46230
|
+
vision: true,
|
|
46231
|
+
reasoning: false,
|
|
46232
|
+
maxTokens: 65536,
|
|
46233
|
+
contextLength: 1048576
|
|
46234
|
+
},
|
|
46235
|
+
pricing: {
|
|
46236
|
+
inputPer1M: 1.5,
|
|
46237
|
+
outputPer1M: 9,
|
|
46238
|
+
multiplier: 14
|
|
46239
|
+
},
|
|
46240
|
+
availability: {
|
|
46241
|
+
mainChat: false,
|
|
46242
|
+
experts: true,
|
|
46243
|
+
embeds: true
|
|
46244
|
+
},
|
|
46245
|
+
createdAt: 1779193800
|
|
46246
|
+
},
|
|
46247
|
+
{
|
|
46248
|
+
id: "google/gemini-3.1-flash-lite",
|
|
46249
|
+
displayName: "Gemini 3.1 Flash Lite",
|
|
46250
|
+
vendor: "google",
|
|
46251
|
+
category: "fast",
|
|
46252
|
+
capabilities: {
|
|
46253
|
+
vision: true,
|
|
46254
|
+
reasoning: false,
|
|
46255
|
+
maxTokens: 65536,
|
|
46256
|
+
contextLength: 1048576
|
|
46257
|
+
},
|
|
46258
|
+
pricing: {
|
|
46259
|
+
inputPer1M: 0.25,
|
|
46260
|
+
outputPer1M: 1.5,
|
|
46261
|
+
multiplier: 2
|
|
46262
|
+
},
|
|
46263
|
+
availability: {
|
|
46264
|
+
mainChat: false,
|
|
46265
|
+
experts: true,
|
|
46266
|
+
embeds: true
|
|
46267
|
+
},
|
|
46268
|
+
createdAt: 1778168828
|
|
46269
|
+
},
|
|
46133
46270
|
{
|
|
46134
46271
|
id: "openai/gpt-chat-latest",
|
|
46135
46272
|
displayName: "GPT Chat Latest",
|
|
@@ -46188,9 +46325,9 @@ var init_model_registry_generated = __esm({
|
|
|
46188
46325
|
contextLength: 1e6
|
|
46189
46326
|
},
|
|
46190
46327
|
pricing: {
|
|
46191
|
-
inputPer1M: 0.
|
|
46192
|
-
outputPer1M:
|
|
46193
|
-
multiplier:
|
|
46328
|
+
inputPer1M: 0.3,
|
|
46329
|
+
outputPer1M: 1.8,
|
|
46330
|
+
multiplier: 3
|
|
46194
46331
|
},
|
|
46195
46332
|
availability: {
|
|
46196
46333
|
mainChat: false,
|
|
@@ -46211,8 +46348,8 @@ var init_model_registry_generated = __esm({
|
|
|
46211
46348
|
contextLength: 1e6
|
|
46212
46349
|
},
|
|
46213
46350
|
pricing: {
|
|
46214
|
-
inputPer1M: 0.
|
|
46215
|
-
outputPer1M: 1.
|
|
46351
|
+
inputPer1M: 0.1875,
|
|
46352
|
+
outputPer1M: 1.125,
|
|
46216
46353
|
multiplier: 2
|
|
46217
46354
|
},
|
|
46218
46355
|
availability: {
|
|
@@ -46276,11 +46413,11 @@ var init_model_registry_generated = __esm({
|
|
|
46276
46413
|
capabilities: {
|
|
46277
46414
|
vision: true,
|
|
46278
46415
|
reasoning: false,
|
|
46279
|
-
maxTokens:
|
|
46416
|
+
maxTokens: 262144,
|
|
46280
46417
|
contextLength: 262144
|
|
46281
46418
|
},
|
|
46282
46419
|
pricing: {
|
|
46283
|
-
inputPer1M: 0.
|
|
46420
|
+
inputPer1M: 0.3,
|
|
46284
46421
|
outputPer1M: 3.2,
|
|
46285
46422
|
multiplier: 5
|
|
46286
46423
|
},
|
|
@@ -46341,17 +46478,17 @@ var init_model_registry_generated = __esm({
|
|
|
46341
46478
|
id: "deepseek/deepseek-v4-pro",
|
|
46342
46479
|
displayName: "DeepSeek V4 Pro",
|
|
46343
46480
|
vendor: "deepseek",
|
|
46344
|
-
category: "
|
|
46481
|
+
category: "fast",
|
|
46345
46482
|
capabilities: {
|
|
46346
46483
|
vision: false,
|
|
46347
46484
|
reasoning: true,
|
|
46348
|
-
maxTokens:
|
|
46485
|
+
maxTokens: 16384,
|
|
46349
46486
|
contextLength: 1048576
|
|
46350
46487
|
},
|
|
46351
46488
|
pricing: {
|
|
46352
|
-
inputPer1M: 1.
|
|
46353
|
-
outputPer1M:
|
|
46354
|
-
multiplier:
|
|
46489
|
+
inputPer1M: 1.3,
|
|
46490
|
+
outputPer1M: 2.6,
|
|
46491
|
+
multiplier: 5
|
|
46355
46492
|
},
|
|
46356
46493
|
availability: {
|
|
46357
46494
|
mainChat: false,
|
|
@@ -46368,12 +46505,12 @@ var init_model_registry_generated = __esm({
|
|
|
46368
46505
|
capabilities: {
|
|
46369
46506
|
vision: false,
|
|
46370
46507
|
reasoning: false,
|
|
46371
|
-
maxTokens:
|
|
46508
|
+
maxTokens: 16384,
|
|
46372
46509
|
contextLength: 1048576
|
|
46373
46510
|
},
|
|
46374
46511
|
pricing: {
|
|
46375
|
-
inputPer1M: 0.
|
|
46376
|
-
outputPer1M: 0.
|
|
46512
|
+
inputPer1M: 0.1,
|
|
46513
|
+
outputPer1M: 0.2,
|
|
46377
46514
|
multiplier: 1
|
|
46378
46515
|
},
|
|
46379
46516
|
availability: {
|
|
@@ -46395,9 +46532,9 @@ var init_model_registry_generated = __esm({
|
|
|
46395
46532
|
contextLength: 1048576
|
|
46396
46533
|
},
|
|
46397
46534
|
pricing: {
|
|
46398
|
-
inputPer1M:
|
|
46399
|
-
outputPer1M:
|
|
46400
|
-
multiplier:
|
|
46535
|
+
inputPer1M: 0.435,
|
|
46536
|
+
outputPer1M: 0.87,
|
|
46537
|
+
multiplier: 2
|
|
46401
46538
|
},
|
|
46402
46539
|
availability: {
|
|
46403
46540
|
mainChat: false,
|
|
@@ -46418,9 +46555,9 @@ var init_model_registry_generated = __esm({
|
|
|
46418
46555
|
contextLength: 1048576
|
|
46419
46556
|
},
|
|
46420
46557
|
pricing: {
|
|
46421
|
-
inputPer1M: 0.
|
|
46422
|
-
outputPer1M:
|
|
46423
|
-
multiplier:
|
|
46558
|
+
inputPer1M: 0.14,
|
|
46559
|
+
outputPer1M: 0.28,
|
|
46560
|
+
multiplier: 1
|
|
46424
46561
|
},
|
|
46425
46562
|
availability: {
|
|
46426
46563
|
mainChat: false,
|
|
@@ -46437,7 +46574,7 @@ var init_model_registry_generated = __esm({
|
|
|
46437
46574
|
capabilities: {
|
|
46438
46575
|
vision: true,
|
|
46439
46576
|
reasoning: false,
|
|
46440
|
-
maxTokens:
|
|
46577
|
+
maxTokens: 262144,
|
|
46441
46578
|
contextLength: 262144
|
|
46442
46579
|
},
|
|
46443
46580
|
pricing: {
|
|
@@ -46510,8 +46647,8 @@ var init_model_registry_generated = __esm({
|
|
|
46510
46647
|
contextLength: 262144
|
|
46511
46648
|
},
|
|
46512
46649
|
pricing: {
|
|
46513
|
-
inputPer1M: 0.
|
|
46514
|
-
outputPer1M: 0.
|
|
46650
|
+
inputPer1M: 0.12,
|
|
46651
|
+
outputPer1M: 0.37,
|
|
46515
46652
|
multiplier: 1
|
|
46516
46653
|
},
|
|
46517
46654
|
availability: {
|
|
@@ -46544,52 +46681,6 @@ var init_model_registry_generated = __esm({
|
|
|
46544
46681
|
},
|
|
46545
46682
|
createdAt: 1775133557
|
|
46546
46683
|
},
|
|
46547
|
-
{
|
|
46548
|
-
id: "xiaomi/mimo-v2-omni",
|
|
46549
|
-
displayName: "Xiaomi: MiMo-V2-Omni",
|
|
46550
|
-
vendor: "xiaomi",
|
|
46551
|
-
category: "fast",
|
|
46552
|
-
capabilities: {
|
|
46553
|
-
vision: true,
|
|
46554
|
-
reasoning: false,
|
|
46555
|
-
maxTokens: 65536,
|
|
46556
|
-
contextLength: 262144
|
|
46557
|
-
},
|
|
46558
|
-
pricing: {
|
|
46559
|
-
inputPer1M: 0.4,
|
|
46560
|
-
outputPer1M: 2,
|
|
46561
|
-
multiplier: 3
|
|
46562
|
-
},
|
|
46563
|
-
availability: {
|
|
46564
|
-
mainChat: false,
|
|
46565
|
-
experts: true,
|
|
46566
|
-
embeds: true
|
|
46567
|
-
},
|
|
46568
|
-
createdAt: 1773863703
|
|
46569
|
-
},
|
|
46570
|
-
{
|
|
46571
|
-
id: "xiaomi/mimo-v2-pro",
|
|
46572
|
-
displayName: "Xiaomi: MiMo-V2-Pro",
|
|
46573
|
-
vendor: "xiaomi",
|
|
46574
|
-
category: "fast",
|
|
46575
|
-
capabilities: {
|
|
46576
|
-
vision: false,
|
|
46577
|
-
reasoning: true,
|
|
46578
|
-
maxTokens: 131072,
|
|
46579
|
-
contextLength: 1048576
|
|
46580
|
-
},
|
|
46581
|
-
pricing: {
|
|
46582
|
-
inputPer1M: 1,
|
|
46583
|
-
outputPer1M: 3,
|
|
46584
|
-
multiplier: 5
|
|
46585
|
-
},
|
|
46586
|
-
availability: {
|
|
46587
|
-
mainChat: false,
|
|
46588
|
-
experts: true,
|
|
46589
|
-
embeds: true
|
|
46590
|
-
},
|
|
46591
|
-
createdAt: 1773863643
|
|
46592
|
-
},
|
|
46593
46684
|
{
|
|
46594
46685
|
id: "openai/gpt-5.4-nano",
|
|
46595
46686
|
displayName: "GPT-5.4 Nano",
|
|
@@ -46668,7 +46759,7 @@ var init_model_registry_generated = __esm({
|
|
|
46668
46759
|
vision: false,
|
|
46669
46760
|
reasoning: false,
|
|
46670
46761
|
maxTokens: 16384,
|
|
46671
|
-
contextLength:
|
|
46762
|
+
contextLength: 1e6
|
|
46672
46763
|
},
|
|
46673
46764
|
pricing: {
|
|
46674
46765
|
inputPer1M: 0.1,
|
|
@@ -46690,7 +46781,7 @@ var init_model_registry_generated = __esm({
|
|
|
46690
46781
|
capabilities: {
|
|
46691
46782
|
vision: true,
|
|
46692
46783
|
reasoning: false,
|
|
46693
|
-
maxTokens:
|
|
46784
|
+
maxTokens: 262144,
|
|
46694
46785
|
contextLength: 262144
|
|
46695
46786
|
},
|
|
46696
46787
|
pricing: {
|
|
@@ -46805,11 +46896,11 @@ var init_model_registry_generated = __esm({
|
|
|
46805
46896
|
capabilities: {
|
|
46806
46897
|
vision: true,
|
|
46807
46898
|
reasoning: false,
|
|
46808
|
-
maxTokens:
|
|
46899
|
+
maxTokens: 81920,
|
|
46809
46900
|
contextLength: 262144
|
|
46810
46901
|
},
|
|
46811
46902
|
pricing: {
|
|
46812
|
-
inputPer1M: 0.
|
|
46903
|
+
inputPer1M: 0.14,
|
|
46813
46904
|
outputPer1M: 1,
|
|
46814
46905
|
multiplier: 2
|
|
46815
46906
|
},
|
|
@@ -46851,7 +46942,7 @@ var init_model_registry_generated = __esm({
|
|
|
46851
46942
|
capabilities: {
|
|
46852
46943
|
vision: true,
|
|
46853
46944
|
reasoning: false,
|
|
46854
|
-
maxTokens:
|
|
46945
|
+
maxTokens: 262144,
|
|
46855
46946
|
contextLength: 262144
|
|
46856
46947
|
},
|
|
46857
46948
|
pricing: {
|
|
@@ -46898,7 +46989,7 @@ var init_model_registry_generated = __esm({
|
|
|
46898
46989
|
vision: true,
|
|
46899
46990
|
reasoning: true,
|
|
46900
46991
|
maxTokens: 65536,
|
|
46901
|
-
contextLength:
|
|
46992
|
+
contextLength: 1048756
|
|
46902
46993
|
},
|
|
46903
46994
|
pricing: {
|
|
46904
46995
|
inputPer1M: 2,
|
|
@@ -47196,7 +47287,7 @@ var init_model_registry_generated = __esm({
|
|
|
47196
47287
|
capabilities: {
|
|
47197
47288
|
vision: true,
|
|
47198
47289
|
reasoning: false,
|
|
47199
|
-
maxTokens:
|
|
47290
|
+
maxTokens: 65535,
|
|
47200
47291
|
contextLength: 1048576
|
|
47201
47292
|
},
|
|
47202
47293
|
pricing: {
|
|
@@ -47211,29 +47302,6 @@ var init_model_registry_generated = __esm({
|
|
|
47211
47302
|
},
|
|
47212
47303
|
createdAt: 1765987078
|
|
47213
47304
|
},
|
|
47214
|
-
{
|
|
47215
|
-
id: "xiaomi/mimo-v2-flash",
|
|
47216
|
-
displayName: "Xiaomi: MiMo-V2-Flash",
|
|
47217
|
-
vendor: "xiaomi",
|
|
47218
|
-
category: "fast",
|
|
47219
|
-
capabilities: {
|
|
47220
|
-
vision: false,
|
|
47221
|
-
reasoning: false,
|
|
47222
|
-
maxTokens: 65536,
|
|
47223
|
-
contextLength: 262144
|
|
47224
|
-
},
|
|
47225
|
-
pricing: {
|
|
47226
|
-
inputPer1M: 0.1,
|
|
47227
|
-
outputPer1M: 0.3,
|
|
47228
|
-
multiplier: 1
|
|
47229
|
-
},
|
|
47230
|
-
availability: {
|
|
47231
|
-
mainChat: false,
|
|
47232
|
-
experts: true,
|
|
47233
|
-
embeds: true
|
|
47234
|
-
},
|
|
47235
|
-
createdAt: 1765731308
|
|
47236
|
-
},
|
|
47237
47305
|
{
|
|
47238
47306
|
id: "nvidia/nemotron-3-nano-30b-a3b",
|
|
47239
47307
|
displayName: "NVIDIA: Nemotron 3 Nano 30B A3B",
|
|
@@ -47265,7 +47333,7 @@ var init_model_registry_generated = __esm({
|
|
|
47265
47333
|
capabilities: {
|
|
47266
47334
|
vision: true,
|
|
47267
47335
|
reasoning: false,
|
|
47268
|
-
maxTokens:
|
|
47336
|
+
maxTokens: 16384,
|
|
47269
47337
|
contextLength: 128e3
|
|
47270
47338
|
},
|
|
47271
47339
|
pricing: {
|
|
@@ -47564,7 +47632,7 @@ var init_model_registry_generated = __esm({
|
|
|
47564
47632
|
capabilities: {
|
|
47565
47633
|
vision: true,
|
|
47566
47634
|
reasoning: false,
|
|
47567
|
-
maxTokens:
|
|
47635
|
+
maxTokens: 32e3,
|
|
47568
47636
|
contextLength: 128e3
|
|
47569
47637
|
},
|
|
47570
47638
|
pricing: {
|
|
@@ -47610,7 +47678,7 @@ var init_model_registry_generated = __esm({
|
|
|
47610
47678
|
capabilities: {
|
|
47611
47679
|
vision: true,
|
|
47612
47680
|
reasoning: true,
|
|
47613
|
-
maxTokens:
|
|
47681
|
+
maxTokens: 1e5,
|
|
47614
47682
|
contextLength: 4e5
|
|
47615
47683
|
},
|
|
47616
47684
|
pricing: {
|
|
@@ -47726,7 +47794,7 @@ var init_model_registry_generated = __esm({
|
|
|
47726
47794
|
vision: true,
|
|
47727
47795
|
reasoning: false,
|
|
47728
47796
|
maxTokens: 32768,
|
|
47729
|
-
contextLength:
|
|
47797
|
+
contextLength: 262144
|
|
47730
47798
|
},
|
|
47731
47799
|
pricing: {
|
|
47732
47800
|
inputPer1M: 0.104,
|
|
@@ -47772,7 +47840,7 @@ var init_model_registry_generated = __esm({
|
|
|
47772
47840
|
vision: true,
|
|
47773
47841
|
reasoning: true,
|
|
47774
47842
|
maxTokens: 32768,
|
|
47775
|
-
contextLength:
|
|
47843
|
+
contextLength: 256e3
|
|
47776
47844
|
},
|
|
47777
47845
|
pricing: {
|
|
47778
47846
|
inputPer1M: 0.117,
|
|
@@ -47795,7 +47863,7 @@ var init_model_registry_generated = __esm({
|
|
|
47795
47863
|
vision: true,
|
|
47796
47864
|
reasoning: false,
|
|
47797
47865
|
maxTokens: 32768,
|
|
47798
|
-
contextLength:
|
|
47866
|
+
contextLength: 256e3
|
|
47799
47867
|
},
|
|
47800
47868
|
pricing: {
|
|
47801
47869
|
inputPer1M: 0.08,
|
|
@@ -47867,7 +47935,7 @@ var init_model_registry_generated = __esm({
|
|
|
47867
47935
|
contextLength: 131072
|
|
47868
47936
|
},
|
|
47869
47937
|
pricing: {
|
|
47870
|
-
inputPer1M: 0.
|
|
47938
|
+
inputPer1M: 0.4,
|
|
47871
47939
|
outputPer1M: 0.4,
|
|
47872
47940
|
multiplier: 1
|
|
47873
47941
|
},
|
|
@@ -47910,7 +47978,7 @@ var init_model_registry_generated = __esm({
|
|
|
47910
47978
|
vision: true,
|
|
47911
47979
|
reasoning: false,
|
|
47912
47980
|
maxTokens: 32768,
|
|
47913
|
-
contextLength:
|
|
47981
|
+
contextLength: 262144
|
|
47914
47982
|
},
|
|
47915
47983
|
pricing: {
|
|
47916
47984
|
inputPer1M: 0.13,
|
|
@@ -48186,7 +48254,7 @@ var init_model_registry_generated = __esm({
|
|
|
48186
48254
|
vision: false,
|
|
48187
48255
|
reasoning: true,
|
|
48188
48256
|
maxTokens: 32768,
|
|
48189
|
-
contextLength:
|
|
48257
|
+
contextLength: 262144
|
|
48190
48258
|
},
|
|
48191
48259
|
pricing: {
|
|
48192
48260
|
inputPer1M: 0.0975,
|
|
@@ -48269,29 +48337,6 @@ var init_model_registry_generated = __esm({
|
|
|
48269
48337
|
},
|
|
48270
48338
|
createdAt: 1757347599
|
|
48271
48339
|
},
|
|
48272
|
-
{
|
|
48273
|
-
id: "nvidia/nemotron-nano-9b-v2",
|
|
48274
|
-
displayName: "NVIDIA: Nemotron Nano 9B V2",
|
|
48275
|
-
vendor: "nvidia",
|
|
48276
|
-
category: "fast",
|
|
48277
|
-
capabilities: {
|
|
48278
|
-
vision: false,
|
|
48279
|
-
reasoning: false,
|
|
48280
|
-
maxTokens: 16384,
|
|
48281
|
-
contextLength: 131072
|
|
48282
|
-
},
|
|
48283
|
-
pricing: {
|
|
48284
|
-
inputPer1M: 0.04,
|
|
48285
|
-
outputPer1M: 0.16,
|
|
48286
|
-
multiplier: 1
|
|
48287
|
-
},
|
|
48288
|
-
availability: {
|
|
48289
|
-
mainChat: false,
|
|
48290
|
-
experts: true,
|
|
48291
|
-
embeds: true
|
|
48292
|
-
},
|
|
48293
|
-
createdAt: 1757106807
|
|
48294
|
-
},
|
|
48295
48340
|
{
|
|
48296
48341
|
id: "moonshotai/kimi-k2-0905",
|
|
48297
48342
|
displayName: "MoonshotAI: Kimi K2 0905",
|
|
@@ -48304,9 +48349,9 @@ var init_model_registry_generated = __esm({
|
|
|
48304
48349
|
contextLength: 262144
|
|
48305
48350
|
},
|
|
48306
48351
|
pricing: {
|
|
48307
|
-
inputPer1M: 0.
|
|
48308
|
-
outputPer1M: 2,
|
|
48309
|
-
multiplier:
|
|
48352
|
+
inputPer1M: 0.6,
|
|
48353
|
+
outputPer1M: 2.5,
|
|
48354
|
+
multiplier: 4
|
|
48310
48355
|
},
|
|
48311
48356
|
availability: {
|
|
48312
48357
|
mainChat: false,
|
|
@@ -48323,13 +48368,13 @@ var init_model_registry_generated = __esm({
|
|
|
48323
48368
|
capabilities: {
|
|
48324
48369
|
vision: false,
|
|
48325
48370
|
reasoning: true,
|
|
48326
|
-
maxTokens:
|
|
48327
|
-
contextLength:
|
|
48371
|
+
maxTokens: 32768,
|
|
48372
|
+
contextLength: 131072
|
|
48328
48373
|
},
|
|
48329
48374
|
pricing: {
|
|
48330
|
-
inputPer1M: 0.
|
|
48331
|
-
outputPer1M:
|
|
48332
|
-
multiplier:
|
|
48375
|
+
inputPer1M: 0.13,
|
|
48376
|
+
outputPer1M: 1.56,
|
|
48377
|
+
multiplier: 2
|
|
48333
48378
|
},
|
|
48334
48379
|
availability: {
|
|
48335
48380
|
mainChat: false,
|
|
@@ -48361,29 +48406,6 @@ var init_model_registry_generated = __esm({
|
|
|
48361
48406
|
},
|
|
48362
48407
|
createdAt: 1755779628
|
|
48363
48408
|
},
|
|
48364
|
-
{
|
|
48365
|
-
id: "openai/gpt-4o-audio-preview",
|
|
48366
|
-
displayName: "GPT-4o Audio",
|
|
48367
|
-
vendor: "openai",
|
|
48368
|
-
category: "balanced",
|
|
48369
|
-
capabilities: {
|
|
48370
|
-
vision: true,
|
|
48371
|
-
reasoning: false,
|
|
48372
|
-
maxTokens: 16384,
|
|
48373
|
-
contextLength: 128e3
|
|
48374
|
-
},
|
|
48375
|
-
pricing: {
|
|
48376
|
-
inputPer1M: 2.5,
|
|
48377
|
-
outputPer1M: 10,
|
|
48378
|
-
multiplier: 17
|
|
48379
|
-
},
|
|
48380
|
-
availability: {
|
|
48381
|
-
mainChat: false,
|
|
48382
|
-
experts: true,
|
|
48383
|
-
embeds: true
|
|
48384
|
-
},
|
|
48385
|
-
createdAt: 1755233061
|
|
48386
|
-
},
|
|
48387
48409
|
{
|
|
48388
48410
|
id: "mistralai/mistral-medium-3.1",
|
|
48389
48411
|
displayName: "Mistral Medium 3.1",
|
|
@@ -48623,7 +48645,7 @@ var init_model_registry_generated = __esm({
|
|
|
48623
48645
|
vision: false,
|
|
48624
48646
|
reasoning: true,
|
|
48625
48647
|
maxTokens: 4e4,
|
|
48626
|
-
contextLength:
|
|
48648
|
+
contextLength: 262144
|
|
48627
48649
|
},
|
|
48628
48650
|
pricing: {
|
|
48629
48651
|
inputPer1M: 0.1495,
|
|
@@ -48646,7 +48668,7 @@ var init_model_registry_generated = __esm({
|
|
|
48646
48668
|
vision: false,
|
|
48647
48669
|
reasoning: false,
|
|
48648
48670
|
maxTokens: 65536,
|
|
48649
|
-
contextLength:
|
|
48671
|
+
contextLength: 1048576
|
|
48650
48672
|
},
|
|
48651
48673
|
pricing: {
|
|
48652
48674
|
inputPer1M: 0.22,
|
|
@@ -48695,7 +48717,7 @@ var init_model_registry_generated = __esm({
|
|
|
48695
48717
|
contextLength: 262144
|
|
48696
48718
|
},
|
|
48697
48719
|
pricing: {
|
|
48698
|
-
inputPer1M: 0.
|
|
48720
|
+
inputPer1M: 0.09,
|
|
48699
48721
|
outputPer1M: 0.1,
|
|
48700
48722
|
multiplier: 1
|
|
48701
48723
|
},
|
|
@@ -48729,52 +48751,6 @@ var init_model_registry_generated = __esm({
|
|
|
48729
48751
|
},
|
|
48730
48752
|
createdAt: 1752263252
|
|
48731
48753
|
},
|
|
48732
|
-
{
|
|
48733
|
-
id: "mistralai/devstral-medium",
|
|
48734
|
-
displayName: "Devstral Medium",
|
|
48735
|
-
vendor: "mistralai",
|
|
48736
|
-
category: "fast",
|
|
48737
|
-
capabilities: {
|
|
48738
|
-
vision: false,
|
|
48739
|
-
reasoning: false,
|
|
48740
|
-
maxTokens: 4e4,
|
|
48741
|
-
contextLength: 131072
|
|
48742
|
-
},
|
|
48743
|
-
pricing: {
|
|
48744
|
-
inputPer1M: 0.4,
|
|
48745
|
-
outputPer1M: 2,
|
|
48746
|
-
multiplier: 3
|
|
48747
|
-
},
|
|
48748
|
-
availability: {
|
|
48749
|
-
mainChat: false,
|
|
48750
|
-
experts: true,
|
|
48751
|
-
embeds: true
|
|
48752
|
-
},
|
|
48753
|
-
createdAt: 1752161321
|
|
48754
|
-
},
|
|
48755
|
-
{
|
|
48756
|
-
id: "mistralai/devstral-small",
|
|
48757
|
-
displayName: "Devstral Small 1.1",
|
|
48758
|
-
vendor: "mistralai",
|
|
48759
|
-
category: "fast",
|
|
48760
|
-
capabilities: {
|
|
48761
|
-
vision: false,
|
|
48762
|
-
reasoning: false,
|
|
48763
|
-
maxTokens: 4e4,
|
|
48764
|
-
contextLength: 131072
|
|
48765
|
-
},
|
|
48766
|
-
pricing: {
|
|
48767
|
-
inputPer1M: 0.1,
|
|
48768
|
-
outputPer1M: 0.3,
|
|
48769
|
-
multiplier: 1
|
|
48770
|
-
},
|
|
48771
|
-
availability: {
|
|
48772
|
-
mainChat: false,
|
|
48773
|
-
experts: true,
|
|
48774
|
-
embeds: true
|
|
48775
|
-
},
|
|
48776
|
-
createdAt: 1752160751
|
|
48777
|
-
},
|
|
48778
48754
|
{
|
|
48779
48755
|
id: "mistralai/mistral-small-3.2-24b-instruct",
|
|
48780
48756
|
displayName: "Mistral Small 3.2 24B",
|
|
@@ -49013,12 +48989,12 @@ var init_model_registry_generated = __esm({
|
|
|
49013
48989
|
capabilities: {
|
|
49014
48990
|
vision: false,
|
|
49015
48991
|
reasoning: false,
|
|
49016
|
-
maxTokens:
|
|
49017
|
-
contextLength:
|
|
48992
|
+
maxTokens: 16384,
|
|
48993
|
+
contextLength: 131072
|
|
49018
48994
|
},
|
|
49019
48995
|
pricing: {
|
|
49020
|
-
inputPer1M: 0.
|
|
49021
|
-
outputPer1M: 0.
|
|
48996
|
+
inputPer1M: 0.12,
|
|
48997
|
+
outputPer1M: 0.5,
|
|
49022
48998
|
multiplier: 1
|
|
49023
48999
|
},
|
|
49024
49000
|
availability: {
|
|
@@ -49060,7 +49036,7 @@ var init_model_registry_generated = __esm({
|
|
|
49060
49036
|
vision: false,
|
|
49061
49037
|
reasoning: false,
|
|
49062
49038
|
maxTokens: 16384,
|
|
49063
|
-
contextLength:
|
|
49039
|
+
contextLength: 131702
|
|
49064
49040
|
},
|
|
49065
49041
|
pricing: {
|
|
49066
49042
|
inputPer1M: 0.12,
|
|
@@ -49083,7 +49059,7 @@ var init_model_registry_generated = __esm({
|
|
|
49083
49059
|
vision: false,
|
|
49084
49060
|
reasoning: false,
|
|
49085
49061
|
maxTokens: 16384,
|
|
49086
|
-
contextLength:
|
|
49062
|
+
contextLength: 131072
|
|
49087
49063
|
},
|
|
49088
49064
|
pricing: {
|
|
49089
49065
|
inputPer1M: 0.08,
|
|
@@ -49258,6 +49234,29 @@ var init_model_registry_generated = __esm({
|
|
|
49258
49234
|
},
|
|
49259
49235
|
createdAt: 1744651369
|
|
49260
49236
|
},
|
|
49237
|
+
{
|
|
49238
|
+
id: "meta-llama/llama-4-maverick",
|
|
49239
|
+
displayName: "Llama 4 Maverick",
|
|
49240
|
+
vendor: "meta-llama",
|
|
49241
|
+
category: "fast",
|
|
49242
|
+
capabilities: {
|
|
49243
|
+
vision: true,
|
|
49244
|
+
reasoning: false,
|
|
49245
|
+
maxTokens: 16384,
|
|
49246
|
+
contextLength: 1048576
|
|
49247
|
+
},
|
|
49248
|
+
pricing: {
|
|
49249
|
+
inputPer1M: 0.15,
|
|
49250
|
+
outputPer1M: 0.6,
|
|
49251
|
+
multiplier: 1
|
|
49252
|
+
},
|
|
49253
|
+
availability: {
|
|
49254
|
+
mainChat: false,
|
|
49255
|
+
experts: true,
|
|
49256
|
+
embeds: true
|
|
49257
|
+
},
|
|
49258
|
+
createdAt: 1743881822
|
|
49259
|
+
},
|
|
49261
49260
|
{
|
|
49262
49261
|
id: "meta-llama/llama-4-scout",
|
|
49263
49262
|
displayName: "Llama 4 Scout",
|
|
@@ -49267,10 +49266,10 @@ var init_model_registry_generated = __esm({
|
|
|
49267
49266
|
vision: true,
|
|
49268
49267
|
reasoning: false,
|
|
49269
49268
|
maxTokens: 16384,
|
|
49270
|
-
contextLength:
|
|
49269
|
+
contextLength: 1e7
|
|
49271
49270
|
},
|
|
49272
49271
|
pricing: {
|
|
49273
|
-
inputPer1M: 0.
|
|
49272
|
+
inputPer1M: 0.1,
|
|
49274
49273
|
outputPer1M: 0.3,
|
|
49275
49274
|
multiplier: 1
|
|
49276
49275
|
},
|
|
@@ -49316,8 +49315,8 @@ var init_model_registry_generated = __esm({
|
|
|
49316
49315
|
contextLength: 131072
|
|
49317
49316
|
},
|
|
49318
49317
|
pricing: {
|
|
49319
|
-
inputPer1M: 0.
|
|
49320
|
-
outputPer1M: 0.
|
|
49318
|
+
inputPer1M: 0.05,
|
|
49319
|
+
outputPer1M: 0.15,
|
|
49321
49320
|
multiplier: 1
|
|
49322
49321
|
},
|
|
49323
49322
|
availability: {
|
|
@@ -49350,75 +49349,6 @@ var init_model_registry_generated = __esm({
|
|
|
49350
49349
|
},
|
|
49351
49350
|
createdAt: 1741756359
|
|
49352
49351
|
},
|
|
49353
|
-
{
|
|
49354
|
-
id: "google/gemini-2.0-flash-lite-001",
|
|
49355
|
-
displayName: "Gemini 2.0 Flash Lite",
|
|
49356
|
-
vendor: "google",
|
|
49357
|
-
category: "fast",
|
|
49358
|
-
capabilities: {
|
|
49359
|
-
vision: true,
|
|
49360
|
-
reasoning: false,
|
|
49361
|
-
maxTokens: 8192,
|
|
49362
|
-
contextLength: 1048576
|
|
49363
|
-
},
|
|
49364
|
-
pricing: {
|
|
49365
|
-
inputPer1M: 0.075,
|
|
49366
|
-
outputPer1M: 0.3,
|
|
49367
|
-
multiplier: 1
|
|
49368
|
-
},
|
|
49369
|
-
availability: {
|
|
49370
|
-
mainChat: false,
|
|
49371
|
-
experts: true,
|
|
49372
|
-
embeds: true
|
|
49373
|
-
},
|
|
49374
|
-
createdAt: 1740506212
|
|
49375
|
-
},
|
|
49376
|
-
{
|
|
49377
|
-
id: "anthropic/claude-3.7-sonnet",
|
|
49378
|
-
displayName: "Claude 3.7 Sonnet",
|
|
49379
|
-
vendor: "anthropic",
|
|
49380
|
-
category: "powerful",
|
|
49381
|
-
capabilities: {
|
|
49382
|
-
vision: true,
|
|
49383
|
-
reasoning: false,
|
|
49384
|
-
maxTokens: 64e3,
|
|
49385
|
-
contextLength: 2e5
|
|
49386
|
-
},
|
|
49387
|
-
pricing: {
|
|
49388
|
-
inputPer1M: 3,
|
|
49389
|
-
outputPer1M: 15,
|
|
49390
|
-
multiplier: 24
|
|
49391
|
-
},
|
|
49392
|
-
availability: {
|
|
49393
|
-
mainChat: false,
|
|
49394
|
-
experts: true,
|
|
49395
|
-
embeds: true
|
|
49396
|
-
},
|
|
49397
|
-
createdAt: 1740422110
|
|
49398
|
-
},
|
|
49399
|
-
{
|
|
49400
|
-
id: "anthropic/claude-3.7-sonnet:thinking",
|
|
49401
|
-
displayName: "Claude 3.7 Sonnet (thinking)",
|
|
49402
|
-
vendor: "anthropic",
|
|
49403
|
-
category: "powerful",
|
|
49404
|
-
capabilities: {
|
|
49405
|
-
vision: true,
|
|
49406
|
-
reasoning: true,
|
|
49407
|
-
maxTokens: 64e3,
|
|
49408
|
-
contextLength: 2e5
|
|
49409
|
-
},
|
|
49410
|
-
pricing: {
|
|
49411
|
-
inputPer1M: 3,
|
|
49412
|
-
outputPer1M: 15,
|
|
49413
|
-
multiplier: 24
|
|
49414
|
-
},
|
|
49415
|
-
availability: {
|
|
49416
|
-
mainChat: false,
|
|
49417
|
-
experts: true,
|
|
49418
|
-
embeds: true
|
|
49419
|
-
},
|
|
49420
|
-
createdAt: 1740422110
|
|
49421
|
-
},
|
|
49422
49352
|
{
|
|
49423
49353
|
id: "mistralai/mistral-saba",
|
|
49424
49354
|
displayName: "Saba",
|
|
@@ -49465,75 +49395,6 @@ var init_model_registry_generated = __esm({
|
|
|
49465
49395
|
},
|
|
49466
49396
|
createdAt: 1739372611
|
|
49467
49397
|
},
|
|
49468
|
-
{
|
|
49469
|
-
id: "google/gemini-2.0-flash-001",
|
|
49470
|
-
displayName: "Gemini 2.0 Flash",
|
|
49471
|
-
vendor: "google",
|
|
49472
|
-
category: "fast",
|
|
49473
|
-
capabilities: {
|
|
49474
|
-
vision: true,
|
|
49475
|
-
reasoning: false,
|
|
49476
|
-
maxTokens: 8192,
|
|
49477
|
-
contextLength: 1048576
|
|
49478
|
-
},
|
|
49479
|
-
pricing: {
|
|
49480
|
-
inputPer1M: 0.1,
|
|
49481
|
-
outputPer1M: 0.4,
|
|
49482
|
-
multiplier: 1
|
|
49483
|
-
},
|
|
49484
|
-
availability: {
|
|
49485
|
-
mainChat: false,
|
|
49486
|
-
experts: true,
|
|
49487
|
-
embeds: true
|
|
49488
|
-
},
|
|
49489
|
-
createdAt: 1738769413
|
|
49490
|
-
},
|
|
49491
|
-
{
|
|
49492
|
-
id: "qwen/qwen-vl-max",
|
|
49493
|
-
displayName: "Qwen VL Max",
|
|
49494
|
-
vendor: "qwen",
|
|
49495
|
-
category: "fast",
|
|
49496
|
-
capabilities: {
|
|
49497
|
-
vision: true,
|
|
49498
|
-
reasoning: false,
|
|
49499
|
-
maxTokens: 32768,
|
|
49500
|
-
contextLength: 131072
|
|
49501
|
-
},
|
|
49502
|
-
pricing: {
|
|
49503
|
-
inputPer1M: 0.52,
|
|
49504
|
-
outputPer1M: 2.08,
|
|
49505
|
-
multiplier: 3
|
|
49506
|
-
},
|
|
49507
|
-
availability: {
|
|
49508
|
-
mainChat: false,
|
|
49509
|
-
experts: true,
|
|
49510
|
-
embeds: true
|
|
49511
|
-
},
|
|
49512
|
-
createdAt: 1738434304
|
|
49513
|
-
},
|
|
49514
|
-
{
|
|
49515
|
-
id: "qwen/qwen-turbo",
|
|
49516
|
-
displayName: "Qwen-Turbo",
|
|
49517
|
-
vendor: "qwen",
|
|
49518
|
-
category: "fast",
|
|
49519
|
-
capabilities: {
|
|
49520
|
-
vision: false,
|
|
49521
|
-
reasoning: false,
|
|
49522
|
-
maxTokens: 8192,
|
|
49523
|
-
contextLength: 131072
|
|
49524
|
-
},
|
|
49525
|
-
pricing: {
|
|
49526
|
-
inputPer1M: 0.0325,
|
|
49527
|
-
outputPer1M: 0.13,
|
|
49528
|
-
multiplier: 1
|
|
49529
|
-
},
|
|
49530
|
-
availability: {
|
|
49531
|
-
mainChat: false,
|
|
49532
|
-
experts: true,
|
|
49533
|
-
embeds: true
|
|
49534
|
-
},
|
|
49535
|
-
createdAt: 1738410974
|
|
49536
|
-
},
|
|
49537
49398
|
{
|
|
49538
49399
|
id: "qwen/qwen-plus",
|
|
49539
49400
|
displayName: "Qwen-Plus",
|
|
@@ -49557,29 +49418,6 @@ var init_model_registry_generated = __esm({
|
|
|
49557
49418
|
},
|
|
49558
49419
|
createdAt: 1738409840
|
|
49559
49420
|
},
|
|
49560
|
-
{
|
|
49561
|
-
id: "qwen/qwen-max",
|
|
49562
|
-
displayName: "Qwen-Max",
|
|
49563
|
-
vendor: "qwen",
|
|
49564
|
-
category: "balanced",
|
|
49565
|
-
capabilities: {
|
|
49566
|
-
vision: false,
|
|
49567
|
-
reasoning: false,
|
|
49568
|
-
maxTokens: 8192,
|
|
49569
|
-
contextLength: 32768
|
|
49570
|
-
},
|
|
49571
|
-
pricing: {
|
|
49572
|
-
inputPer1M: 1.04,
|
|
49573
|
-
outputPer1M: 4.16,
|
|
49574
|
-
multiplier: 7
|
|
49575
|
-
},
|
|
49576
|
-
availability: {
|
|
49577
|
-
mainChat: false,
|
|
49578
|
-
experts: true,
|
|
49579
|
-
embeds: true
|
|
49580
|
-
},
|
|
49581
|
-
createdAt: 1738402289
|
|
49582
|
-
},
|
|
49583
49421
|
{
|
|
49584
49422
|
id: "openai/o3-mini",
|
|
49585
49423
|
displayName: "o3 Mini",
|
|
@@ -49612,7 +49450,7 @@ var init_model_registry_generated = __esm({
|
|
|
49612
49450
|
vision: false,
|
|
49613
49451
|
reasoning: true,
|
|
49614
49452
|
maxTokens: 16e3,
|
|
49615
|
-
contextLength:
|
|
49453
|
+
contextLength: 163840
|
|
49616
49454
|
},
|
|
49617
49455
|
pricing: {
|
|
49618
49456
|
inputPer1M: 0.7,
|
|
@@ -49787,29 +49625,6 @@ var init_model_registry_generated = __esm({
|
|
|
49787
49625
|
},
|
|
49788
49626
|
createdAt: 1732127594
|
|
49789
49627
|
},
|
|
49790
|
-
{
|
|
49791
|
-
id: "mistralai/mistral-large-2411",
|
|
49792
|
-
displayName: "Mistral Large 2411",
|
|
49793
|
-
vendor: "mistralai",
|
|
49794
|
-
category: "balanced",
|
|
49795
|
-
capabilities: {
|
|
49796
|
-
vision: false,
|
|
49797
|
-
reasoning: false,
|
|
49798
|
-
maxTokens: 4e4,
|
|
49799
|
-
contextLength: 131072
|
|
49800
|
-
},
|
|
49801
|
-
pricing: {
|
|
49802
|
-
inputPer1M: 2,
|
|
49803
|
-
outputPer1M: 6,
|
|
49804
|
-
multiplier: 11
|
|
49805
|
-
},
|
|
49806
|
-
availability: {
|
|
49807
|
-
mainChat: false,
|
|
49808
|
-
experts: true,
|
|
49809
|
-
embeds: true
|
|
49810
|
-
},
|
|
49811
|
-
createdAt: 1731978685
|
|
49812
|
-
},
|
|
49813
49628
|
{
|
|
49814
49629
|
id: "mistralai/mistral-large-2407",
|
|
49815
49630
|
displayName: "Mistral Large 2407",
|
|
@@ -49833,75 +49648,6 @@ var init_model_registry_generated = __esm({
|
|
|
49833
49648
|
},
|
|
49834
49649
|
createdAt: 1731978415
|
|
49835
49650
|
},
|
|
49836
|
-
{
|
|
49837
|
-
id: "mistralai/pixtral-large-2411",
|
|
49838
|
-
displayName: "Pixtral Large 2411",
|
|
49839
|
-
vendor: "mistralai",
|
|
49840
|
-
category: "balanced",
|
|
49841
|
-
capabilities: {
|
|
49842
|
-
vision: true,
|
|
49843
|
-
reasoning: false,
|
|
49844
|
-
maxTokens: 4e4,
|
|
49845
|
-
contextLength: 131072
|
|
49846
|
-
},
|
|
49847
|
-
pricing: {
|
|
49848
|
-
inputPer1M: 2,
|
|
49849
|
-
outputPer1M: 6,
|
|
49850
|
-
multiplier: 11
|
|
49851
|
-
},
|
|
49852
|
-
availability: {
|
|
49853
|
-
mainChat: false,
|
|
49854
|
-
experts: true,
|
|
49855
|
-
embeds: true
|
|
49856
|
-
},
|
|
49857
|
-
createdAt: 1731977388
|
|
49858
|
-
},
|
|
49859
|
-
{
|
|
49860
|
-
id: "anthropic/claude-3.5-haiku",
|
|
49861
|
-
displayName: "Claude 3.5 Haiku",
|
|
49862
|
-
vendor: "anthropic",
|
|
49863
|
-
category: "balanced",
|
|
49864
|
-
capabilities: {
|
|
49865
|
-
vision: true,
|
|
49866
|
-
reasoning: false,
|
|
49867
|
-
maxTokens: 8192,
|
|
49868
|
-
contextLength: 2e5
|
|
49869
|
-
},
|
|
49870
|
-
pricing: {
|
|
49871
|
-
inputPer1M: 0.8,
|
|
49872
|
-
outputPer1M: 4,
|
|
49873
|
-
multiplier: 6
|
|
49874
|
-
},
|
|
49875
|
-
availability: {
|
|
49876
|
-
mainChat: false,
|
|
49877
|
-
experts: true,
|
|
49878
|
-
embeds: true
|
|
49879
|
-
},
|
|
49880
|
-
createdAt: 1730678400
|
|
49881
|
-
},
|
|
49882
|
-
{
|
|
49883
|
-
id: "nvidia/llama-3.1-nemotron-70b-instruct",
|
|
49884
|
-
displayName: "NVIDIA: Llama 3.1 Nemotron 70B Instruct",
|
|
49885
|
-
vendor: "nvidia",
|
|
49886
|
-
category: "fast",
|
|
49887
|
-
capabilities: {
|
|
49888
|
-
vision: false,
|
|
49889
|
-
reasoning: false,
|
|
49890
|
-
maxTokens: 16384,
|
|
49891
|
-
contextLength: 131072
|
|
49892
|
-
},
|
|
49893
|
-
pricing: {
|
|
49894
|
-
inputPer1M: 1.2,
|
|
49895
|
-
outputPer1M: 1.2,
|
|
49896
|
-
multiplier: 3
|
|
49897
|
-
},
|
|
49898
|
-
availability: {
|
|
49899
|
-
mainChat: false,
|
|
49900
|
-
experts: true,
|
|
49901
|
-
embeds: true
|
|
49902
|
-
},
|
|
49903
|
-
createdAt: 1728950400
|
|
49904
|
-
},
|
|
49905
49651
|
{
|
|
49906
49652
|
id: "qwen/qwen-2.5-72b-instruct",
|
|
49907
49653
|
displayName: "Qwen2.5 72B Instruct",
|
|
@@ -49911,7 +49657,7 @@ var init_model_registry_generated = __esm({
|
|
|
49911
49657
|
vision: false,
|
|
49912
49658
|
reasoning: false,
|
|
49913
49659
|
maxTokens: 16384,
|
|
49914
|
-
contextLength:
|
|
49660
|
+
contextLength: 131072
|
|
49915
49661
|
},
|
|
49916
49662
|
pricing: {
|
|
49917
49663
|
inputPer1M: 0.36,
|
|
@@ -49957,11 +49703,11 @@ var init_model_registry_generated = __esm({
|
|
|
49957
49703
|
vision: false,
|
|
49958
49704
|
reasoning: false,
|
|
49959
49705
|
maxTokens: 16384,
|
|
49960
|
-
contextLength:
|
|
49706
|
+
contextLength: 131072
|
|
49961
49707
|
},
|
|
49962
49708
|
pricing: {
|
|
49963
49709
|
inputPer1M: 0.02,
|
|
49964
|
-
outputPer1M: 0.
|
|
49710
|
+
outputPer1M: 0.03,
|
|
49965
49711
|
multiplier: 1
|
|
49966
49712
|
},
|
|
49967
49713
|
availability: {
|
|
@@ -50109,29 +49855,6 @@ var init_model_registry_generated = __esm({
|
|
|
50109
49855
|
},
|
|
50110
49856
|
createdAt: 1715558400
|
|
50111
49857
|
},
|
|
50112
|
-
{
|
|
50113
|
-
id: "meta-llama/llama-3-8b-instruct",
|
|
50114
|
-
displayName: "Llama 3 8B Instruct",
|
|
50115
|
-
vendor: "meta-llama",
|
|
50116
|
-
category: "fast",
|
|
50117
|
-
capabilities: {
|
|
50118
|
-
vision: false,
|
|
50119
|
-
reasoning: false,
|
|
50120
|
-
maxTokens: 16384,
|
|
50121
|
-
contextLength: 8192
|
|
50122
|
-
},
|
|
50123
|
-
pricing: {
|
|
50124
|
-
inputPer1M: 0.03,
|
|
50125
|
-
outputPer1M: 0.04,
|
|
50126
|
-
multiplier: 1
|
|
50127
|
-
},
|
|
50128
|
-
availability: {
|
|
50129
|
-
mainChat: false,
|
|
50130
|
-
experts: true,
|
|
50131
|
-
embeds: true
|
|
50132
|
-
},
|
|
50133
|
-
createdAt: 1713398400
|
|
50134
|
-
},
|
|
50135
49858
|
{
|
|
50136
49859
|
id: "mistralai/mixtral-8x22b-instruct",
|
|
50137
49860
|
displayName: "Mixtral 8x22B Instruct",
|
|
@@ -50270,52 +49993,6 @@ var init_model_registry_generated = __esm({
|
|
|
50270
49993
|
},
|
|
50271
49994
|
createdAt: 1706140800
|
|
50272
49995
|
},
|
|
50273
|
-
{
|
|
50274
|
-
id: "mistralai/mixtral-8x7b-instruct",
|
|
50275
|
-
displayName: "Mixtral 8x7B Instruct",
|
|
50276
|
-
vendor: "mistralai",
|
|
50277
|
-
category: "fast",
|
|
50278
|
-
capabilities: {
|
|
50279
|
-
vision: false,
|
|
50280
|
-
reasoning: false,
|
|
50281
|
-
maxTokens: 16384,
|
|
50282
|
-
contextLength: 32768
|
|
50283
|
-
},
|
|
50284
|
-
pricing: {
|
|
50285
|
-
inputPer1M: 0.54,
|
|
50286
|
-
outputPer1M: 0.54,
|
|
50287
|
-
multiplier: 1
|
|
50288
|
-
},
|
|
50289
|
-
availability: {
|
|
50290
|
-
mainChat: false,
|
|
50291
|
-
experts: true,
|
|
50292
|
-
embeds: true
|
|
50293
|
-
},
|
|
50294
|
-
createdAt: 1702166400
|
|
50295
|
-
},
|
|
50296
|
-
{
|
|
50297
|
-
id: "openai/gpt-4-1106-preview",
|
|
50298
|
-
displayName: "GPT-4 Turbo (older v1106)",
|
|
50299
|
-
vendor: "openai",
|
|
50300
|
-
category: "specialized",
|
|
50301
|
-
capabilities: {
|
|
50302
|
-
vision: false,
|
|
50303
|
-
reasoning: false,
|
|
50304
|
-
maxTokens: 4096,
|
|
50305
|
-
contextLength: 128e3
|
|
50306
|
-
},
|
|
50307
|
-
pricing: {
|
|
50308
|
-
inputPer1M: 10,
|
|
50309
|
-
outputPer1M: 30,
|
|
50310
|
-
multiplier: 53
|
|
50311
|
-
},
|
|
50312
|
-
availability: {
|
|
50313
|
-
mainChat: false,
|
|
50314
|
-
experts: true,
|
|
50315
|
-
embeds: true
|
|
50316
|
-
},
|
|
50317
|
-
createdAt: 1699228800
|
|
50318
|
-
},
|
|
50319
49996
|
{
|
|
50320
49997
|
id: "openai/gpt-3.5-turbo-16k",
|
|
50321
49998
|
displayName: "GPT-3.5 Turbo 16k",
|
|
@@ -50339,29 +50016,6 @@ var init_model_registry_generated = __esm({
|
|
|
50339
50016
|
},
|
|
50340
50017
|
createdAt: 1693180800
|
|
50341
50018
|
},
|
|
50342
|
-
{
|
|
50343
|
-
id: "openai/gpt-4-0314",
|
|
50344
|
-
displayName: "GPT-4 (older v0314)",
|
|
50345
|
-
vendor: "openai",
|
|
50346
|
-
category: "specialized",
|
|
50347
|
-
capabilities: {
|
|
50348
|
-
vision: false,
|
|
50349
|
-
reasoning: false,
|
|
50350
|
-
maxTokens: 4096,
|
|
50351
|
-
contextLength: 8191
|
|
50352
|
-
},
|
|
50353
|
-
pricing: {
|
|
50354
|
-
inputPer1M: 30,
|
|
50355
|
-
outputPer1M: 60,
|
|
50356
|
-
multiplier: 120
|
|
50357
|
-
},
|
|
50358
|
-
availability: {
|
|
50359
|
-
mainChat: false,
|
|
50360
|
-
experts: true,
|
|
50361
|
-
embeds: true
|
|
50362
|
-
},
|
|
50363
|
-
createdAt: 1685232e3
|
|
50364
|
-
},
|
|
50365
50019
|
{
|
|
50366
50020
|
id: "openai/gpt-4",
|
|
50367
50021
|
displayName: "GPT-4",
|
|
@@ -104567,18 +104221,56 @@ __export(client_exports, {
|
|
|
104567
104221
|
closeDatabase: () => closeDatabase,
|
|
104568
104222
|
db: () => db
|
|
104569
104223
|
});
|
|
104224
|
+
function databaseLogContext() {
|
|
104225
|
+
const ssl = config2.database.url.includes("localhost") ? false : "require";
|
|
104226
|
+
try {
|
|
104227
|
+
const url2 = new URL(config2.database.url);
|
|
104228
|
+
return {
|
|
104229
|
+
host: url2.hostname,
|
|
104230
|
+
port: url2.port || void 0,
|
|
104231
|
+
database: url2.pathname.replace(/^\//, "") || void 0,
|
|
104232
|
+
ssl
|
|
104233
|
+
};
|
|
104234
|
+
} catch {
|
|
104235
|
+
return {
|
|
104236
|
+
host: "unknown",
|
|
104237
|
+
database: "unknown",
|
|
104238
|
+
ssl
|
|
104239
|
+
};
|
|
104240
|
+
}
|
|
104241
|
+
}
|
|
104570
104242
|
function getClient() {
|
|
104571
104243
|
if (!_client) {
|
|
104572
|
-
|
|
104573
|
-
|
|
104574
|
-
|
|
104244
|
+
const logContext = databaseLogContext();
|
|
104245
|
+
logger.info("database", "Initializing PostgreSQL client", logContext);
|
|
104246
|
+
try {
|
|
104247
|
+
_client = src_default(config2.database.url, {
|
|
104248
|
+
ssl: logContext.ssl
|
|
104249
|
+
});
|
|
104250
|
+
} catch (error41) {
|
|
104251
|
+
logger.error("database", "Failed to initialize PostgreSQL client", {
|
|
104252
|
+
...logContext,
|
|
104253
|
+
error: error41 instanceof Error ? error41.message : String(error41)
|
|
104254
|
+
});
|
|
104255
|
+
throw error41;
|
|
104256
|
+
}
|
|
104575
104257
|
}
|
|
104576
104258
|
return _client;
|
|
104577
104259
|
}
|
|
104578
104260
|
function getDb() {
|
|
104579
104261
|
if (!_db) {
|
|
104262
|
+
const logContext = databaseLogContext();
|
|
104580
104263
|
const client = getClient();
|
|
104581
|
-
|
|
104264
|
+
try {
|
|
104265
|
+
_db = drizzle(client, { schema: schema_exports });
|
|
104266
|
+
logger.info("database", "Drizzle database client initialized", logContext);
|
|
104267
|
+
} catch (error41) {
|
|
104268
|
+
logger.error("database", "Failed to initialize Drizzle database client", {
|
|
104269
|
+
...logContext,
|
|
104270
|
+
error: error41 instanceof Error ? error41.message : String(error41)
|
|
104271
|
+
});
|
|
104272
|
+
throw error41;
|
|
104273
|
+
}
|
|
104582
104274
|
}
|
|
104583
104275
|
return _db;
|
|
104584
104276
|
}
|
|
@@ -104596,7 +104288,19 @@ function createLazyDb() {
|
|
|
104596
104288
|
}
|
|
104597
104289
|
async function closeDatabase() {
|
|
104598
104290
|
if (_client) {
|
|
104599
|
-
|
|
104291
|
+
const logContext = databaseLogContext();
|
|
104292
|
+
try {
|
|
104293
|
+
await _client.end();
|
|
104294
|
+
logger.info("database", "PostgreSQL client connection closed", logContext);
|
|
104295
|
+
_client = null;
|
|
104296
|
+
_db = null;
|
|
104297
|
+
} catch (error41) {
|
|
104298
|
+
logger.error("database", "Failed to close PostgreSQL client connection", {
|
|
104299
|
+
...logContext,
|
|
104300
|
+
error: error41 instanceof Error ? error41.message : String(error41)
|
|
104301
|
+
});
|
|
104302
|
+
throw error41;
|
|
104303
|
+
}
|
|
104600
104304
|
}
|
|
104601
104305
|
}
|
|
104602
104306
|
var _client, _db, db;
|
|
@@ -104606,6 +104310,7 @@ var init_client2 = __esm({
|
|
|
104606
104310
|
init_postgres_js();
|
|
104607
104311
|
init_src();
|
|
104608
104312
|
init_config();
|
|
104313
|
+
init_logger();
|
|
104609
104314
|
init_schema2();
|
|
104610
104315
|
_client = null;
|
|
104611
104316
|
_db = null;
|
|
@@ -161331,6 +161036,7 @@ async function adaptClaudeStream(stream, options2) {
|
|
|
161331
161036
|
if (toolResult?.__parentToolCall === true) {
|
|
161332
161037
|
const parentToolName = toolResult.toolName;
|
|
161333
161038
|
const parentToolArgs = toolResult.args;
|
|
161039
|
+
const parentToolTimeoutMs = typeof toolResult.timeoutMs === "number" ? toolResult.timeoutMs : void 0;
|
|
161334
161040
|
const requestId = `parent_${id}_${Date.now()}`;
|
|
161335
161041
|
streamLogger.info("Parent tool call detected - waiting for parent response", {
|
|
161336
161042
|
toolName: name18,
|
|
@@ -161348,8 +161054,7 @@ async function adaptClaudeStream(stream, options2) {
|
|
|
161348
161054
|
requestId,
|
|
161349
161055
|
parentToolName,
|
|
161350
161056
|
parentToolArgs,
|
|
161351
|
-
|
|
161352
|
-
// 30 second timeout
|
|
161057
|
+
parentToolTimeoutMs
|
|
161353
161058
|
);
|
|
161354
161059
|
streamLogger.info("Parent tool response received", {
|
|
161355
161060
|
requestId,
|
|
@@ -161602,6 +161307,7 @@ async function adaptClaudeStream(stream, options2) {
|
|
|
161602
161307
|
if (toolResult?.__parentToolCall === true) {
|
|
161603
161308
|
const parentToolName = toolResult.toolName;
|
|
161604
161309
|
const parentToolArgs = toolResult.args;
|
|
161310
|
+
const parentToolTimeoutMs = typeof toolResult.timeoutMs === "number" ? toolResult.timeoutMs : void 0;
|
|
161605
161311
|
const requestId = `parent_${id}_${Date.now()}`;
|
|
161606
161312
|
streamLogger.info("Parent tool call detected - waiting for parent response", {
|
|
161607
161313
|
toolName: name18,
|
|
@@ -161619,8 +161325,7 @@ async function adaptClaudeStream(stream, options2) {
|
|
|
161619
161325
|
requestId,
|
|
161620
161326
|
parentToolName,
|
|
161621
161327
|
parentToolArgs,
|
|
161622
|
-
|
|
161623
|
-
// 30 second timeout
|
|
161328
|
+
parentToolTimeoutMs
|
|
161624
161329
|
);
|
|
161625
161330
|
streamLogger.info("Parent tool response received", {
|
|
161626
161331
|
requestId,
|
|
@@ -200267,6 +199972,8 @@ async function callGeminiDirect({
|
|
|
200267
199972
|
if (toolResult && typeof toolResult === "object" && toolResult.__parentToolCall === true) {
|
|
200268
199973
|
const parentToolName = toolResult.toolName;
|
|
200269
199974
|
const parentToolArgs = toolResult.args;
|
|
199975
|
+
const rawParentToolTimeoutMs = toolResult.timeoutMs;
|
|
199976
|
+
const parentToolTimeoutMs = typeof rawParentToolTimeoutMs === "number" ? rawParentToolTimeoutMs : void 0;
|
|
200270
199977
|
const requestId = `parent_${toolCallId}_${Date.now()}`;
|
|
200271
199978
|
streamLogger.info("Parent tool call detected - waiting for parent response", {
|
|
200272
199979
|
toolName,
|
|
@@ -200284,7 +199991,7 @@ async function callGeminiDirect({
|
|
|
200284
199991
|
requestId,
|
|
200285
199992
|
parentToolName,
|
|
200286
199993
|
parentToolArgs,
|
|
200287
|
-
|
|
199994
|
+
parentToolTimeoutMs
|
|
200288
199995
|
);
|
|
200289
199996
|
streamLogger.info("Parent tool response received", {
|
|
200290
199997
|
requestId,
|
|
@@ -200438,6 +200145,8 @@ async function callGeminiDirect({
|
|
|
200438
200145
|
if (toolResult && typeof toolResult === "object" && toolResult.__parentToolCall === true) {
|
|
200439
200146
|
const parentToolName = toolResult.toolName;
|
|
200440
200147
|
const parentToolArgs = toolResult.args;
|
|
200148
|
+
const rawParentToolTimeoutMs = toolResult.timeoutMs;
|
|
200149
|
+
const parentToolTimeoutMs = typeof rawParentToolTimeoutMs === "number" ? rawParentToolTimeoutMs : void 0;
|
|
200441
200150
|
const requestId = `parent_${toolCallId}_${Date.now()}`;
|
|
200442
200151
|
streamLogger.info("Parent tool call detected (retry) - waiting for parent response", {
|
|
200443
200152
|
toolName,
|
|
@@ -200455,7 +200164,7 @@ async function callGeminiDirect({
|
|
|
200455
200164
|
requestId,
|
|
200456
200165
|
parentToolName,
|
|
200457
200166
|
parentToolArgs,
|
|
200458
|
-
|
|
200167
|
+
parentToolTimeoutMs
|
|
200459
200168
|
);
|
|
200460
200169
|
toolResult = parentResponse;
|
|
200461
200170
|
const updatedResultEvent = emitter.emit("tool-result", {
|
|
@@ -200760,6 +200469,7 @@ async function adaptOpenRouterStream(stream, options2) {
|
|
|
200760
200469
|
if (toolResult?.__parentToolCall === true) {
|
|
200761
200470
|
const parentToolName = toolResult.toolName;
|
|
200762
200471
|
const parentToolArgs = toolResult.args;
|
|
200472
|
+
const parentToolTimeoutMs = typeof toolResult.timeoutMs === "number" ? toolResult.timeoutMs : void 0;
|
|
200763
200473
|
const requestId = `parent_${id}_${Date.now()}`;
|
|
200764
200474
|
streamLogger.info("Parent tool call detected - waiting for parent response", {
|
|
200765
200475
|
toolName: name18,
|
|
@@ -200777,7 +200487,7 @@ async function adaptOpenRouterStream(stream, options2) {
|
|
|
200777
200487
|
requestId,
|
|
200778
200488
|
parentToolName,
|
|
200779
200489
|
parentToolArgs,
|
|
200780
|
-
|
|
200490
|
+
parentToolTimeoutMs
|
|
200781
200491
|
);
|
|
200782
200492
|
streamLogger.info("Parent tool response received", {
|
|
200783
200493
|
requestId,
|
|
@@ -201374,6 +201084,14 @@ var init_provider = __esm({
|
|
|
201374
201084
|
});
|
|
201375
201085
|
|
|
201376
201086
|
// src/core/events/multiplexer.ts
|
|
201087
|
+
function envelopeLogContext(envelope) {
|
|
201088
|
+
return {
|
|
201089
|
+
type: envelope.type,
|
|
201090
|
+
sequence: envelope.sequence,
|
|
201091
|
+
messageId: envelope.messageId,
|
|
201092
|
+
correlationId: envelope.correlationId
|
|
201093
|
+
};
|
|
201094
|
+
}
|
|
201377
201095
|
function formatSSEMessage(envelope) {
|
|
201378
201096
|
const lines = [];
|
|
201379
201097
|
lines.push(`event: ${envelope.type}`);
|
|
@@ -201402,6 +201120,7 @@ var SSEMultiplexer;
|
|
|
201402
201120
|
var init_multiplexer = __esm({
|
|
201403
201121
|
"src/core/events/multiplexer.ts"() {
|
|
201404
201122
|
"use strict";
|
|
201123
|
+
init_logger();
|
|
201405
201124
|
SSEMultiplexer = class {
|
|
201406
201125
|
constructor() {
|
|
201407
201126
|
this.controller = null;
|
|
@@ -201426,14 +201145,21 @@ var init_multiplexer = __esm({
|
|
|
201426
201145
|
*/
|
|
201427
201146
|
send(envelope) {
|
|
201428
201147
|
if (this.closed || !this.controller) {
|
|
201429
|
-
|
|
201148
|
+
logger.warn(
|
|
201149
|
+
"stream",
|
|
201150
|
+
"Cannot send SSE message because stream is closed",
|
|
201151
|
+
envelopeLogContext(envelope)
|
|
201152
|
+
);
|
|
201430
201153
|
return;
|
|
201431
201154
|
}
|
|
201432
201155
|
try {
|
|
201433
201156
|
const message = formatSSEMessage(envelope);
|
|
201434
201157
|
this.controller.enqueue(message);
|
|
201435
201158
|
} catch (error41) {
|
|
201436
|
-
|
|
201159
|
+
logger.error("stream", "Failed to send SSE message", {
|
|
201160
|
+
...envelopeLogContext(envelope),
|
|
201161
|
+
error: error41 instanceof Error ? error41.message : String(error41)
|
|
201162
|
+
});
|
|
201437
201163
|
}
|
|
201438
201164
|
}
|
|
201439
201165
|
/**
|
|
@@ -201467,7 +201193,9 @@ var init_multiplexer = __esm({
|
|
|
201467
201193
|
try {
|
|
201468
201194
|
this.controller.close();
|
|
201469
201195
|
} catch (error41) {
|
|
201470
|
-
|
|
201196
|
+
logger.error("stream", "Failed to close SSE stream", {
|
|
201197
|
+
error: error41 instanceof Error ? error41.message : String(error41)
|
|
201198
|
+
});
|
|
201471
201199
|
} finally {
|
|
201472
201200
|
this.closed = true;
|
|
201473
201201
|
this.controller = null;
|
|
@@ -203090,6 +202818,14 @@ If asked to create/update content, respond ONLY with:
|
|
|
203090
202818
|
"I'm in Discussion mode and cannot create or modify content. Please switch to Normal mode to enable writing."
|
|
203091
202819
|
</discussion-mode>
|
|
203092
202820
|
|
|
202821
|
+
${effectiveSystemPrompt}`;
|
|
202822
|
+
}
|
|
202823
|
+
if (subAgent.id === "image-expert" && !Object.prototype.hasOwnProperty.call(filteredTools, "generate-image")) {
|
|
202824
|
+
effectiveSystemPrompt = `<image-generation-unavailable>
|
|
202825
|
+
generate-image is not available in this conversation. Do NOT call generate-image.
|
|
202826
|
+
If the user asks to create or edit an image, explain that image generation is not enabled for this chat/session. You may still analyze existing images with view-image when that tool is available.
|
|
202827
|
+
</image-generation-unavailable>
|
|
202828
|
+
|
|
203093
202829
|
${effectiveSystemPrompt}`;
|
|
203094
202830
|
}
|
|
203095
202831
|
const result = await executeSubagentLoop({
|
|
@@ -203318,6 +203054,7 @@ ${effectiveSystemPrompt}`;
|
|
|
203318
203054
|
for (const parentTool of parentTools) {
|
|
203319
203055
|
let description = parentTool.description;
|
|
203320
203056
|
let parameters = parentTool.parameters;
|
|
203057
|
+
const registeredTimeoutMs = registeredSchemas?.get(parentTool.name)?.timeoutMs;
|
|
203321
203058
|
if (!description && registeredSchemas) {
|
|
203322
203059
|
const schema = registeredSchemas.get(parentTool.name);
|
|
203323
203060
|
if (schema) {
|
|
@@ -203369,7 +203106,7 @@ ${effectiveSystemPrompt}`;
|
|
|
203369
203106
|
requestId,
|
|
203370
203107
|
parentTool.name,
|
|
203371
203108
|
args,
|
|
203372
|
-
|
|
203109
|
+
registeredTimeoutMs
|
|
203373
203110
|
);
|
|
203374
203111
|
orchestrationLogger.info("Sub-agent parent tool response received", {
|
|
203375
203112
|
requestId,
|
|
@@ -203435,7 +203172,7 @@ ${effectiveSystemPrompt}`;
|
|
|
203435
203172
|
requestId,
|
|
203436
203173
|
schemaName,
|
|
203437
203174
|
args,
|
|
203438
|
-
|
|
203175
|
+
schema.timeoutMs
|
|
203439
203176
|
);
|
|
203440
203177
|
orchestrationLogger.info("Sub-agent parent tool response received", {
|
|
203441
203178
|
requestId,
|
|
@@ -309348,7 +309085,7 @@ init_tui_select();
|
|
|
309348
309085
|
init_model_registry();
|
|
309349
309086
|
|
|
309350
309087
|
// package.json
|
|
309351
|
-
var version2 = "1.
|
|
309088
|
+
var version2 = "1.161.0";
|
|
309352
309089
|
|
|
309353
309090
|
// src/adapters/cli/model-catalog.ts
|
|
309354
309091
|
init_codex_auth();
|