@dreb/ai 2.58.0 → 2.59.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.
@@ -4811,6 +4811,42 @@ export const MODELS = {
4811
4811
  contextWindow: 262144,
4812
4812
  maxTokens: 131072,
4813
4813
  },
4814
+ "Qwen/Qwen3-VL-235B-A22B-Instruct": {
4815
+ id: "Qwen/Qwen3-VL-235B-A22B-Instruct",
4816
+ name: "Qwen3 VL 235B A22B Instruct",
4817
+ api: "openai-completions",
4818
+ provider: "huggingface",
4819
+ baseUrl: "https://router.huggingface.co/v1",
4820
+ compat: { "supportsDeveloperRole": false },
4821
+ reasoning: false,
4822
+ input: ["text", "image"],
4823
+ cost: {
4824
+ input: 0.3,
4825
+ output: 1.5,
4826
+ cacheRead: 0,
4827
+ cacheWrite: 0,
4828
+ },
4829
+ contextWindow: 131072,
4830
+ maxTokens: 32768,
4831
+ },
4832
+ "Qwen/Qwen3-VL-235B-A22B-Thinking": {
4833
+ id: "Qwen/Qwen3-VL-235B-A22B-Thinking",
4834
+ name: "Qwen3 VL 235B A22B Thinking",
4835
+ api: "openai-completions",
4836
+ provider: "huggingface",
4837
+ baseUrl: "https://router.huggingface.co/v1",
4838
+ compat: { "supportsDeveloperRole": false },
4839
+ reasoning: true,
4840
+ input: ["text", "image"],
4841
+ cost: {
4842
+ input: 0.98,
4843
+ output: 3.95,
4844
+ cacheRead: 0,
4845
+ cacheWrite: 0,
4846
+ },
4847
+ contextWindow: 131072,
4848
+ maxTokens: 32768,
4849
+ },
4814
4850
  "Qwen/Qwen3.5-122B-A10B": {
4815
4851
  id: "Qwen/Qwen3.5-122B-A10B",
4816
4852
  name: "Qwen3.5 122B-A10B",
@@ -9651,9 +9687,9 @@ export const MODELS = {
9651
9687
  reasoning: true,
9652
9688
  input: ["text"],
9653
9689
  cost: {
9654
- input: 0.077,
9655
- output: 0.154,
9656
- cacheRead: 0.015399999999999999,
9690
+ input: 0.0798,
9691
+ output: 0.1596,
9692
+ cacheRead: 0.01596,
9657
9693
  cacheWrite: 0,
9658
9694
  },
9659
9695
  contextWindow: 1048576,
@@ -14368,6 +14404,23 @@ export const MODELS = {
14368
14404
  contextWindow: 512000,
14369
14405
  maxTokens: 4096,
14370
14406
  },
14407
+ "z-ai/glm-5.2:free": {
14408
+ id: "z-ai/glm-5.2:free",
14409
+ name: "Z.ai: GLM 5.2 (free)",
14410
+ api: "openai-completions",
14411
+ provider: "openrouter",
14412
+ baseUrl: "https://openrouter.ai/api/v1",
14413
+ reasoning: true,
14414
+ input: ["text"],
14415
+ cost: {
14416
+ input: 0,
14417
+ output: 0,
14418
+ cacheRead: 0,
14419
+ cacheWrite: 0,
14420
+ },
14421
+ contextWindow: 256000,
14422
+ maxTokens: 256000,
14423
+ },
14371
14424
  "z-ai/glm-5v-turbo": {
14372
14425
  id: "z-ai/glm-5v-turbo",
14373
14426
  name: "Z.ai: GLM 5V Turbo",
@@ -14462,9 +14515,9 @@ export const MODELS = {
14462
14515
  reasoning: true,
14463
14516
  input: ["text"],
14464
14517
  cost: {
14465
- input: 0.0784,
14466
- output: 0.1568,
14467
- cacheRead: 0.01568,
14518
+ input: 0.078596,
14519
+ output: 0.157192,
14520
+ cacheRead: 0.015719200000000003,
14468
14521
  cacheWrite: 0,
14469
14522
  },
14470
14523
  contextWindow: 1310720,
@@ -15025,9 +15078,9 @@ export const MODELS = {
15025
15078
  reasoning: true,
15026
15079
  input: ["text", "image"],
15027
15080
  cost: {
15028
- input: 0,
15029
- output: 0,
15030
- cacheRead: 0,
15081
+ input: 0.09999999999999999,
15082
+ output: 0.39999999999999997,
15083
+ cacheRead: 0.01,
15031
15084
  cacheWrite: 0,
15032
15085
  },
15033
15086
  contextWindow: 262144,
@@ -16784,6 +16837,23 @@ export const MODELS = {
16784
16837
  contextWindow: 1047576,
16785
16838
  maxTokens: 32768,
16786
16839
  },
16840
+ "openai/gpt-4.1-fast": {
16841
+ id: "openai/gpt-4.1-fast",
16842
+ name: "GPT-4.1 (Fast)",
16843
+ api: "anthropic-messages",
16844
+ provider: "vercel-ai-gateway",
16845
+ baseUrl: "https://ai-gateway.vercel.sh",
16846
+ reasoning: false,
16847
+ input: ["text", "image"],
16848
+ cost: {
16849
+ input: 3.5,
16850
+ output: 14,
16851
+ cacheRead: 0.875,
16852
+ cacheWrite: 0,
16853
+ },
16854
+ contextWindow: 1047576,
16855
+ maxTokens: 32768,
16856
+ },
16787
16857
  "openai/gpt-4.1-mini": {
16788
16858
  id: "openai/gpt-4.1-mini",
16789
16859
  name: "GPT-4.1 mini",
@@ -16801,6 +16871,23 @@ export const MODELS = {
16801
16871
  contextWindow: 1047576,
16802
16872
  maxTokens: 32768,
16803
16873
  },
16874
+ "openai/gpt-4.1-mini-fast": {
16875
+ id: "openai/gpt-4.1-mini-fast",
16876
+ name: "GPT-4.1 mini (Fast)",
16877
+ api: "anthropic-messages",
16878
+ provider: "vercel-ai-gateway",
16879
+ baseUrl: "https://ai-gateway.vercel.sh",
16880
+ reasoning: false,
16881
+ input: ["text", "image"],
16882
+ cost: {
16883
+ input: 0.7,
16884
+ output: 2.8,
16885
+ cacheRead: 0.175,
16886
+ cacheWrite: 0,
16887
+ },
16888
+ contextWindow: 1047576,
16889
+ maxTokens: 32768,
16890
+ },
16804
16891
  "openai/gpt-4.1-nano": {
16805
16892
  id: "openai/gpt-4.1-nano",
16806
16893
  name: "GPT-4.1 nano",
@@ -16818,6 +16905,23 @@ export const MODELS = {
16818
16905
  contextWindow: 1047576,
16819
16906
  maxTokens: 32768,
16820
16907
  },
16908
+ "openai/gpt-4.1-nano-fast": {
16909
+ id: "openai/gpt-4.1-nano-fast",
16910
+ name: "GPT-4.1 nano (Fast)",
16911
+ api: "anthropic-messages",
16912
+ provider: "vercel-ai-gateway",
16913
+ baseUrl: "https://ai-gateway.vercel.sh",
16914
+ reasoning: false,
16915
+ input: ["text", "image"],
16916
+ cost: {
16917
+ input: 0.19999999999999998,
16918
+ output: 0.7999999999999999,
16919
+ cacheRead: 0.049999999999999996,
16920
+ cacheWrite: 0,
16921
+ },
16922
+ contextWindow: 1047576,
16923
+ maxTokens: 32768,
16924
+ },
16821
16925
  "openai/gpt-4o": {
16822
16926
  id: "openai/gpt-4o",
16823
16927
  name: "GPT-4o",
@@ -16835,6 +16939,23 @@ export const MODELS = {
16835
16939
  contextWindow: 128000,
16836
16940
  maxTokens: 16384,
16837
16941
  },
16942
+ "openai/gpt-4o-fast": {
16943
+ id: "openai/gpt-4o-fast",
16944
+ name: "GPT-4o (Fast)",
16945
+ api: "anthropic-messages",
16946
+ provider: "vercel-ai-gateway",
16947
+ baseUrl: "https://ai-gateway.vercel.sh",
16948
+ reasoning: false,
16949
+ input: ["text", "image"],
16950
+ cost: {
16951
+ input: 4.25,
16952
+ output: 17,
16953
+ cacheRead: 2.125,
16954
+ cacheWrite: 0,
16955
+ },
16956
+ contextWindow: 128000,
16957
+ maxTokens: 16384,
16958
+ },
16838
16959
  "openai/gpt-4o-mini": {
16839
16960
  id: "openai/gpt-4o-mini",
16840
16961
  name: "GPT-4o mini",
@@ -16852,6 +16973,23 @@ export const MODELS = {
16852
16973
  contextWindow: 128000,
16853
16974
  maxTokens: 16384,
16854
16975
  },
16976
+ "openai/gpt-4o-mini-fast": {
16977
+ id: "openai/gpt-4o-mini-fast",
16978
+ name: "GPT-4o mini (Fast)",
16979
+ api: "anthropic-messages",
16980
+ provider: "vercel-ai-gateway",
16981
+ baseUrl: "https://ai-gateway.vercel.sh",
16982
+ reasoning: false,
16983
+ input: ["text", "image"],
16984
+ cost: {
16985
+ input: 0.25,
16986
+ output: 1,
16987
+ cacheRead: 0.125,
16988
+ cacheWrite: 0,
16989
+ },
16990
+ contextWindow: 128000,
16991
+ maxTokens: 16384,
16992
+ },
16855
16993
  "openai/gpt-5": {
16856
16994
  id: "openai/gpt-5",
16857
16995
  name: "GPT-5",
@@ -16886,6 +17024,23 @@ export const MODELS = {
16886
17024
  contextWindow: 400000,
16887
17025
  maxTokens: 128000,
16888
17026
  },
17027
+ "openai/gpt-5-fast": {
17028
+ id: "openai/gpt-5-fast",
17029
+ name: "GPT-5 (Fast)",
17030
+ api: "anthropic-messages",
17031
+ provider: "vercel-ai-gateway",
17032
+ baseUrl: "https://ai-gateway.vercel.sh",
17033
+ reasoning: true,
17034
+ input: ["text", "image"],
17035
+ cost: {
17036
+ input: 2.5,
17037
+ output: 20,
17038
+ cacheRead: 0.25,
17039
+ cacheWrite: 0,
17040
+ },
17041
+ contextWindow: 400000,
17042
+ maxTokens: 128000,
17043
+ },
16889
17044
  "openai/gpt-5-mini": {
16890
17045
  id: "openai/gpt-5-mini",
16891
17046
  name: "GPT-5 mini",
@@ -16903,6 +17058,23 @@ export const MODELS = {
16903
17058
  contextWindow: 400000,
16904
17059
  maxTokens: 128000,
16905
17060
  },
17061
+ "openai/gpt-5-mini-fast": {
17062
+ id: "openai/gpt-5-mini-fast",
17063
+ name: "GPT-5 mini (Fast)",
17064
+ api: "anthropic-messages",
17065
+ provider: "vercel-ai-gateway",
17066
+ baseUrl: "https://ai-gateway.vercel.sh",
17067
+ reasoning: true,
17068
+ input: ["text", "image"],
17069
+ cost: {
17070
+ input: 0.44999999999999996,
17071
+ output: 3.5999999999999996,
17072
+ cacheRead: 0.045,
17073
+ cacheWrite: 0,
17074
+ },
17075
+ contextWindow: 400000,
17076
+ maxTokens: 128000,
17077
+ },
16906
17078
  "openai/gpt-5-nano": {
16907
17079
  id: "openai/gpt-5-nano",
16908
17080
  name: "GPT-5 nano",
@@ -17005,6 +17177,23 @@ export const MODELS = {
17005
17177
  contextWindow: 400000,
17006
17178
  maxTokens: 128000,
17007
17179
  },
17180
+ "openai/gpt-5.1-thinking-fast": {
17181
+ id: "openai/gpt-5.1-thinking-fast",
17182
+ name: "GPT 5.1 Thinking (Fast)",
17183
+ api: "anthropic-messages",
17184
+ provider: "vercel-ai-gateway",
17185
+ baseUrl: "https://ai-gateway.vercel.sh",
17186
+ reasoning: true,
17187
+ input: ["text", "image"],
17188
+ cost: {
17189
+ input: 2.5,
17190
+ output: 20,
17191
+ cacheRead: 0.25,
17192
+ cacheWrite: 0,
17193
+ },
17194
+ contextWindow: 400000,
17195
+ maxTokens: 128000,
17196
+ },
17008
17197
  "openai/gpt-5.2": {
17009
17198
  id: "openai/gpt-5.2",
17010
17199
  name: "GPT 5.2",
@@ -17039,6 +17228,23 @@ export const MODELS = {
17039
17228
  contextWindow: 400000,
17040
17229
  maxTokens: 128000,
17041
17230
  },
17231
+ "openai/gpt-5.2-fast": {
17232
+ id: "openai/gpt-5.2-fast",
17233
+ name: "GPT 5.2 (Fast)",
17234
+ api: "anthropic-messages",
17235
+ provider: "vercel-ai-gateway",
17236
+ baseUrl: "https://ai-gateway.vercel.sh",
17237
+ reasoning: true,
17238
+ input: ["text", "image"],
17239
+ cost: {
17240
+ input: 3.5,
17241
+ output: 28,
17242
+ cacheRead: 0.35,
17243
+ cacheWrite: 0,
17244
+ },
17245
+ contextWindow: 400000,
17246
+ maxTokens: 128000,
17247
+ },
17042
17248
  "openai/gpt-5.2-pro": {
17043
17249
  id: "openai/gpt-5.2-pro",
17044
17250
  name: "GPT 5.2 ",
@@ -17073,6 +17279,23 @@ export const MODELS = {
17073
17279
  contextWindow: 400000,
17074
17280
  maxTokens: 128000,
17075
17281
  },
17282
+ "openai/gpt-5.3-codex-fast": {
17283
+ id: "openai/gpt-5.3-codex-fast",
17284
+ name: "GPT 5.3 Codex (Fast)",
17285
+ api: "anthropic-messages",
17286
+ provider: "vercel-ai-gateway",
17287
+ baseUrl: "https://ai-gateway.vercel.sh",
17288
+ reasoning: true,
17289
+ input: ["text", "image"],
17290
+ cost: {
17291
+ input: 3.5,
17292
+ output: 28,
17293
+ cacheRead: 0.35,
17294
+ cacheWrite: 0,
17295
+ },
17296
+ contextWindow: 400000,
17297
+ maxTokens: 128000,
17298
+ },
17076
17299
  "openai/gpt-5.4": {
17077
17300
  id: "openai/gpt-5.4",
17078
17301
  name: "GPT 5.4",
@@ -17090,6 +17313,23 @@ export const MODELS = {
17090
17313
  contextWindow: 1050000,
17091
17314
  maxTokens: 128000,
17092
17315
  },
17316
+ "openai/gpt-5.4-fast": {
17317
+ id: "openai/gpt-5.4-fast",
17318
+ name: "GPT 5.4 (Fast)",
17319
+ api: "anthropic-messages",
17320
+ provider: "vercel-ai-gateway",
17321
+ baseUrl: "https://ai-gateway.vercel.sh",
17322
+ reasoning: true,
17323
+ input: ["text", "image"],
17324
+ cost: {
17325
+ input: 5,
17326
+ output: 30,
17327
+ cacheRead: 0.5,
17328
+ cacheWrite: 0,
17329
+ },
17330
+ contextWindow: 1050000,
17331
+ maxTokens: 128000,
17332
+ },
17093
17333
  "openai/gpt-5.4-mini": {
17094
17334
  id: "openai/gpt-5.4-mini",
17095
17335
  name: "GPT 5.4 Mini",
@@ -17107,6 +17347,23 @@ export const MODELS = {
17107
17347
  contextWindow: 400000,
17108
17348
  maxTokens: 128000,
17109
17349
  },
17350
+ "openai/gpt-5.4-mini-fast": {
17351
+ id: "openai/gpt-5.4-mini-fast",
17352
+ name: "GPT 5.4 Mini (Fast)",
17353
+ api: "anthropic-messages",
17354
+ provider: "vercel-ai-gateway",
17355
+ baseUrl: "https://ai-gateway.vercel.sh",
17356
+ reasoning: true,
17357
+ input: ["text", "image"],
17358
+ cost: {
17359
+ input: 1.5,
17360
+ output: 9,
17361
+ cacheRead: 0.15,
17362
+ cacheWrite: 0,
17363
+ },
17364
+ contextWindow: 400000,
17365
+ maxTokens: 128000,
17366
+ },
17110
17367
  "openai/gpt-5.4-nano": {
17111
17368
  id: "openai/gpt-5.4-nano",
17112
17369
  name: "GPT 5.4 Nano",
@@ -17158,6 +17415,23 @@ export const MODELS = {
17158
17415
  contextWindow: 1000000,
17159
17416
  maxTokens: 128000,
17160
17417
  },
17418
+ "openai/gpt-5.5-fast": {
17419
+ id: "openai/gpt-5.5-fast",
17420
+ name: "GPT 5.5 (Fast)",
17421
+ api: "anthropic-messages",
17422
+ provider: "vercel-ai-gateway",
17423
+ baseUrl: "https://ai-gateway.vercel.sh",
17424
+ reasoning: true,
17425
+ input: ["text", "image"],
17426
+ cost: {
17427
+ input: 12.5,
17428
+ output: 75,
17429
+ cacheRead: 1.25,
17430
+ cacheWrite: 0,
17431
+ },
17432
+ contextWindow: 1000000,
17433
+ maxTokens: 128000,
17434
+ },
17161
17435
  "openai/gpt-5.5-pro": {
17162
17436
  id: "openai/gpt-5.5-pro",
17163
17437
  name: "GPT 5.5 Pro",
@@ -17192,6 +17466,23 @@ export const MODELS = {
17192
17466
  contextWindow: 1050000,
17193
17467
  maxTokens: 128000,
17194
17468
  },
17469
+ "openai/gpt-5.6-luna-fast": {
17470
+ id: "openai/gpt-5.6-luna-fast",
17471
+ name: "GPT 5.6 Luna (Fast)",
17472
+ api: "anthropic-messages",
17473
+ provider: "vercel-ai-gateway",
17474
+ baseUrl: "https://ai-gateway.vercel.sh",
17475
+ reasoning: true,
17476
+ input: ["text", "image"],
17477
+ cost: {
17478
+ input: 0.39999999999999997,
17479
+ output: 2.4,
17480
+ cacheRead: 0.04,
17481
+ cacheWrite: 0.25,
17482
+ },
17483
+ contextWindow: 1050000,
17484
+ maxTokens: 128000,
17485
+ },
17195
17486
  "openai/gpt-5.6-sol": {
17196
17487
  id: "openai/gpt-5.6-sol",
17197
17488
  name: "GPT 5.6 Sol",
@@ -17209,6 +17500,23 @@ export const MODELS = {
17209
17500
  contextWindow: 1050000,
17210
17501
  maxTokens: 128000,
17211
17502
  },
17503
+ "openai/gpt-5.6-sol-fast": {
17504
+ id: "openai/gpt-5.6-sol-fast",
17505
+ name: "GPT 5.6 Sol (Fast)",
17506
+ api: "anthropic-messages",
17507
+ provider: "vercel-ai-gateway",
17508
+ baseUrl: "https://ai-gateway.vercel.sh",
17509
+ reasoning: true,
17510
+ input: ["text", "image"],
17511
+ cost: {
17512
+ input: 5,
17513
+ output: 30,
17514
+ cacheRead: 0.5,
17515
+ cacheWrite: 3.125,
17516
+ },
17517
+ contextWindow: 1050000,
17518
+ maxTokens: 128000,
17519
+ },
17212
17520
  "openai/gpt-5.6-terra": {
17213
17521
  id: "openai/gpt-5.6-terra",
17214
17522
  name: "GPT 5.6 Terra",
@@ -17226,6 +17534,23 @@ export const MODELS = {
17226
17534
  contextWindow: 1050000,
17227
17535
  maxTokens: 128000,
17228
17536
  },
17537
+ "openai/gpt-5.6-terra-fast": {
17538
+ id: "openai/gpt-5.6-terra-fast",
17539
+ name: "GPT 5.6 Terra (Fast)",
17540
+ api: "anthropic-messages",
17541
+ provider: "vercel-ai-gateway",
17542
+ baseUrl: "https://ai-gateway.vercel.sh",
17543
+ reasoning: true,
17544
+ input: ["text", "image"],
17545
+ cost: {
17546
+ input: 4,
17547
+ output: 24,
17548
+ cacheRead: 0.39999999999999997,
17549
+ cacheWrite: 2.5,
17550
+ },
17551
+ contextWindow: 1050000,
17552
+ maxTokens: 128000,
17553
+ },
17229
17554
  "openai/gpt-oss-120b": {
17230
17555
  id: "openai/gpt-oss-120b",
17231
17556
  name: "GPT OSS 120B",
@@ -17328,6 +17653,23 @@ export const MODELS = {
17328
17653
  contextWindow: 200000,
17329
17654
  maxTokens: 100000,
17330
17655
  },
17656
+ "openai/o3-fast": {
17657
+ id: "openai/o3-fast",
17658
+ name: "o3 (Fast)",
17659
+ api: "anthropic-messages",
17660
+ provider: "vercel-ai-gateway",
17661
+ baseUrl: "https://ai-gateway.vercel.sh",
17662
+ reasoning: true,
17663
+ input: ["text", "image"],
17664
+ cost: {
17665
+ input: 3.5,
17666
+ output: 14,
17667
+ cacheRead: 0.875,
17668
+ cacheWrite: 0,
17669
+ },
17670
+ contextWindow: 200000,
17671
+ maxTokens: 100000,
17672
+ },
17331
17673
  "openai/o3-mini": {
17332
17674
  id: "openai/o3-mini",
17333
17675
  name: "o3-mini",
@@ -17379,6 +17721,23 @@ export const MODELS = {
17379
17721
  contextWindow: 200000,
17380
17722
  maxTokens: 100000,
17381
17723
  },
17724
+ "openai/o4-mini-fast": {
17725
+ id: "openai/o4-mini-fast",
17726
+ name: "o4-mini (Fast)",
17727
+ api: "anthropic-messages",
17728
+ provider: "vercel-ai-gateway",
17729
+ baseUrl: "https://ai-gateway.vercel.sh",
17730
+ reasoning: true,
17731
+ input: ["text", "image"],
17732
+ cost: {
17733
+ input: 2,
17734
+ output: 8,
17735
+ cacheRead: 0.5,
17736
+ cacheWrite: 0,
17737
+ },
17738
+ contextWindow: 200000,
17739
+ maxTokens: 100000,
17740
+ },
17382
17741
  "poolside/laguna-s-2.1": {
17383
17742
  id: "poolside/laguna-s-2.1",
17384
17743
  name: "Laguna S 2.1",
@@ -18008,6 +18367,23 @@ export const MODELS = {
18008
18367
  contextWindow: 1000000,
18009
18368
  maxTokens: 128000,
18010
18369
  },
18370
+ "zai/glm-5.3": {
18371
+ id: "zai/glm-5.3",
18372
+ name: "GLM 5.3",
18373
+ api: "anthropic-messages",
18374
+ provider: "vercel-ai-gateway",
18375
+ baseUrl: "https://ai-gateway.vercel.sh",
18376
+ reasoning: true,
18377
+ input: ["text"],
18378
+ cost: {
18379
+ input: 1.4,
18380
+ output: 4.4,
18381
+ cacheRead: 0.26,
18382
+ cacheWrite: 0,
18383
+ },
18384
+ contextWindow: 1000000,
18385
+ maxTokens: 12800,
18386
+ },
18011
18387
  "zai/glm-5v-turbo": {
18012
18388
  id: "zai/glm-5v-turbo",
18013
18389
  name: "GLM 5V Turbo",