@dreb/ai 2.59.0 → 2.59.2

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.
@@ -8044,17 +8044,17 @@ export const MODELS = {
8044
8044
  },
8045
8045
  "gpt-5.6-sol": {
8046
8046
  id: "gpt-5.6-sol",
8047
- name: "GPT-5.6 Sol",
8047
+ name: "GPT-5.6 Sol (50% Off)",
8048
8048
  api: "openai-responses",
8049
8049
  provider: "opencode",
8050
8050
  baseUrl: "https://opencode.ai/zen/v1",
8051
8051
  reasoning: true,
8052
8052
  input: ["text", "image"],
8053
8053
  cost: {
8054
- input: 5,
8055
- output: 30,
8056
- cacheRead: 0.5,
8057
- cacheWrite: 6.25,
8054
+ input: 2.5,
8055
+ output: 15,
8056
+ cacheRead: 0.25,
8057
+ cacheWrite: 3.125,
8058
8058
  },
8059
8059
  contextWindow: 1050000,
8060
8060
  maxTokens: 128000,
@@ -8471,17 +8471,17 @@ export const MODELS = {
8471
8471
  },
8472
8472
  "gpt-5.6-luna": {
8473
8473
  id: "gpt-5.6-luna",
8474
- name: "GPT-5.6 Luna (2x usage)",
8474
+ name: "GPT-5.6 Luna",
8475
8475
  api: "openai-responses",
8476
8476
  provider: "opencode-go",
8477
8477
  baseUrl: "https://opencode.ai/zen/go/v1",
8478
8478
  reasoning: true,
8479
8479
  input: ["text", "image"],
8480
8480
  cost: {
8481
- input: 0.1,
8482
- output: 0.6,
8483
- cacheRead: 0.01,
8484
- cacheWrite: 0.125,
8481
+ input: 0.2,
8482
+ output: 1.2,
8483
+ cacheRead: 0.02,
8484
+ cacheWrite: 0.25,
8485
8485
  },
8486
8486
  contextWindow: 1050000,
8487
8487
  maxTokens: 128000,
@@ -8505,16 +8505,16 @@ export const MODELS = {
8505
8505
  },
8506
8506
  "hy3": {
8507
8507
  id: "hy3",
8508
- name: "Hy3",
8508
+ name: "Hy3 (8x usage)",
8509
8509
  api: "openai-completions",
8510
8510
  provider: "opencode-go",
8511
8511
  baseUrl: "https://opencode.ai/zen/go/v1",
8512
8512
  reasoning: true,
8513
8513
  input: ["text"],
8514
8514
  cost: {
8515
- input: 0.14,
8516
- output: 0.58,
8517
- cacheRead: 0.035,
8515
+ input: 0.0175,
8516
+ output: 0.0725,
8517
+ cacheRead: 0.004375,
8518
8518
  cacheWrite: 0,
8519
8519
  },
8520
8520
  contextWindow: 256000,
@@ -8709,23 +8709,6 @@ export const MODELS = {
8709
8709
  },
8710
8710
  },
8711
8711
  "openrouter": {
8712
- "ai21/jamba-large-1.7": {
8713
- id: "ai21/jamba-large-1.7",
8714
- name: "AI21: Jamba Large 1.7",
8715
- api: "openai-completions",
8716
- provider: "openrouter",
8717
- baseUrl: "https://openrouter.ai/api/v1",
8718
- reasoning: false,
8719
- input: ["text"],
8720
- cost: {
8721
- input: 2,
8722
- output: 8,
8723
- cacheRead: 0,
8724
- cacheWrite: 0,
8725
- },
8726
- contextWindow: 256000,
8727
- maxTokens: 4096,
8728
- },
8729
8712
  "aion-labs/aion-2.0": {
8730
8713
  id: "aion-labs/aion-2.0",
8731
8714
  name: "AionLabs: Aion-2.0",
@@ -9568,13 +9551,13 @@ export const MODELS = {
9568
9551
  reasoning: false,
9569
9552
  input: ["text"],
9570
9553
  cost: {
9571
- input: 0.27,
9572
- output: 1.12,
9573
- cacheRead: 0.135,
9554
+ input: 0.25,
9555
+ output: 1,
9556
+ cacheRead: 0,
9574
9557
  cacheWrite: 0,
9575
9558
  },
9576
9559
  contextWindow: 163840,
9577
- maxTokens: 65536,
9560
+ maxTokens: 163840,
9578
9561
  },
9579
9562
  "deepseek/deepseek-chat-v3.1": {
9580
9563
  id: "deepseek/deepseek-chat-v3.1",
@@ -9687,9 +9670,9 @@ export const MODELS = {
9687
9670
  reasoning: true,
9688
9671
  input: ["text"],
9689
9672
  cost: {
9690
- input: 0.0798,
9691
- output: 0.1596,
9692
- cacheRead: 0.01596,
9673
+ input: 0.08259999999999999,
9674
+ output: 0.16519999999999999,
9675
+ cacheRead: 0.01652,
9693
9676
  cacheWrite: 0,
9694
9677
  },
9695
9678
  contextWindow: 1048576,
@@ -9721,13 +9704,13 @@ export const MODELS = {
9721
9704
  reasoning: true,
9722
9705
  input: ["text"],
9723
9706
  cost: {
9724
- input: 0.66,
9725
- output: 1.9800000000000002,
9726
- cacheRead: 0.022,
9707
+ input: 1.44,
9708
+ output: 2.88,
9709
+ cacheRead: 0.1215,
9727
9710
  cacheWrite: 0,
9728
9711
  },
9729
9712
  contextWindow: 1048576,
9730
- maxTokens: 384000,
9713
+ maxTokens: 393216,
9731
9714
  },
9732
9715
  "deepseek/deepseek-v4-pro-0813": {
9733
9716
  id: "deepseek/deepseek-v4-pro-0813",
@@ -10265,13 +10248,13 @@ export const MODELS = {
10265
10248
  reasoning: true,
10266
10249
  input: ["text", "image"],
10267
10250
  cost: {
10268
- input: 0.09999999999999999,
10251
+ input: 0.09,
10269
10252
  output: 0.33999999999999997,
10270
- cacheRead: 0.09999999999999999,
10253
+ cacheRead: 0.049999999999999996,
10271
10254
  cacheWrite: 0,
10272
10255
  },
10273
10256
  contextWindow: 262144,
10274
- maxTokens: 262144,
10257
+ maxTokens: 16384,
10275
10258
  },
10276
10259
  "google/gemma-4-31b-it:free": {
10277
10260
  id: "google/gemma-4-31b-it:free",
@@ -10673,13 +10656,13 @@ export const MODELS = {
10673
10656
  reasoning: true,
10674
10657
  input: ["text"],
10675
10658
  cost: {
10676
- input: 0.22,
10659
+ input: 0.22499999999999998,
10677
10660
  output: 0.8999999999999999,
10678
- cacheRead: 0.049999999999999996,
10661
+ cacheRead: 0.06,
10679
10662
  cacheWrite: 0,
10680
10663
  },
10681
10664
  contextWindow: 204800,
10682
- maxTokens: 196608,
10665
+ maxTokens: 4096,
10683
10666
  },
10684
10667
  "minimax/minimax-m2.7": {
10685
10668
  id: "minimax/minimax-m2.7",
@@ -10724,9 +10707,9 @@ export const MODELS = {
10724
10707
  reasoning: true,
10725
10708
  input: ["text", "image"],
10726
10709
  cost: {
10727
- input: 0.15,
10728
- output: 0.6,
10729
- cacheRead: 0.03,
10710
+ input: 0.3,
10711
+ output: 1.2,
10712
+ cacheRead: 0.06,
10730
10713
  cacheWrite: 0,
10731
10714
  },
10732
10715
  contextWindow: 524288,
@@ -11115,9 +11098,9 @@ export const MODELS = {
11115
11098
  reasoning: true,
11116
11099
  input: ["text", "image"],
11117
11100
  cost: {
11118
- input: 0.475,
11119
- output: 2,
11120
- cacheRead: 0.095,
11101
+ input: 0.95,
11102
+ output: 4,
11103
+ cacheRead: 0.19,
11121
11104
  cacheWrite: 0,
11122
11105
  },
11123
11106
  contextWindow: 262144,
@@ -11285,9 +11268,9 @@ export const MODELS = {
11285
11268
  reasoning: true,
11286
11269
  input: ["text"],
11287
11270
  cost: {
11288
- input: 0.3,
11289
- output: 1.7999999999999998,
11290
- cacheRead: 0.09999999999999999,
11271
+ input: 0.6,
11272
+ output: 3.5999999999999996,
11273
+ cacheRead: 0.19999999999999998,
11291
11274
  cacheWrite: 0,
11292
11275
  },
11293
11276
  contextWindow: 512288,
@@ -13359,13 +13342,13 @@ export const MODELS = {
13359
13342
  reasoning: false,
13360
13343
  input: ["text"],
13361
13344
  cost: {
13362
- input: 0.09999999999999999,
13345
+ input: 0.09,
13363
13346
  output: 1.1,
13364
- cacheRead: 0.07,
13347
+ cacheRead: 0,
13365
13348
  cacheWrite: 0,
13366
13349
  },
13367
13350
  contextWindow: 262144,
13368
- maxTokens: 262144,
13351
+ maxTokens: 16384,
13369
13352
  },
13370
13353
  "qwen/qwen3-next-80b-a3b-thinking": {
13371
13354
  id: "qwen/qwen3-next-80b-a3b-thinking",
@@ -13512,13 +13495,13 @@ export const MODELS = {
13512
13495
  reasoning: true,
13513
13496
  input: ["text", "image"],
13514
13497
  cost: {
13515
- input: 0.29,
13516
- output: 2.4,
13498
+ input: 0.26,
13499
+ output: 2.08,
13517
13500
  cacheRead: 0,
13518
13501
  cacheWrite: 0,
13519
13502
  },
13520
13503
  contextWindow: 262144,
13521
- maxTokens: 81920,
13504
+ maxTokens: 262144,
13522
13505
  },
13523
13506
  "qwen/qwen3.5-27b": {
13524
13507
  id: "qwen/qwen3.5-27b",
@@ -13546,13 +13529,13 @@ export const MODELS = {
13546
13529
  reasoning: true,
13547
13530
  input: ["text", "image"],
13548
13531
  cost: {
13549
- input: 0.22499999999999998,
13550
- output: 1.7999999999999998,
13551
- cacheRead: 0.22499999999999998,
13532
+ input: 0.25,
13533
+ output: 1.25,
13534
+ cacheRead: 0.25,
13552
13535
  cacheWrite: 0,
13553
13536
  },
13554
13537
  contextWindow: 262144,
13555
- maxTokens: 65536,
13538
+ maxTokens: 262144,
13556
13539
  },
13557
13540
  "qwen/qwen3.5-397b-a17b": {
13558
13541
  id: "qwen/qwen3.5-397b-a17b",
@@ -13648,13 +13631,13 @@ export const MODELS = {
13648
13631
  reasoning: true,
13649
13632
  input: ["text", "image"],
13650
13633
  cost: {
13651
- input: 0.28900000000000003,
13652
- output: 2.4,
13653
- cacheRead: 0,
13634
+ input: 0.3,
13635
+ output: 2,
13636
+ cacheRead: 0.03,
13654
13637
  cacheWrite: 0,
13655
13638
  },
13656
13639
  contextWindow: 262144,
13657
- maxTokens: 131072,
13640
+ maxTokens: 65536,
13658
13641
  },
13659
13642
  "qwen/qwen3.6-35b-a3b": {
13660
13643
  id: "qwen/qwen3.6-35b-a3b",
@@ -14039,9 +14022,9 @@ export const MODELS = {
14039
14022
  reasoning: true,
14040
14023
  input: ["text", "image"],
14041
14024
  cost: {
14042
- input: 0.5,
14043
- output: 2.025,
14044
- cacheRead: 0.08499999999999999,
14025
+ input: 1,
14026
+ output: 4.05,
14027
+ cacheRead: 0.16999999999999998,
14045
14028
  cacheWrite: 0,
14046
14029
  },
14047
14030
  contextWindow: 524288,
@@ -14379,9 +14362,9 @@ export const MODELS = {
14379
14362
  reasoning: true,
14380
14363
  input: ["text"],
14381
14364
  cost: {
14382
- input: 0.476,
14383
- output: 1.496,
14384
- cacheRead: 0.08839999999999999,
14365
+ input: 0.966,
14366
+ output: 3.036,
14367
+ cacheRead: 0.1932,
14385
14368
  cacheWrite: 0,
14386
14369
  },
14387
14370
  contextWindow: 1048576,
@@ -14396,9 +14379,9 @@ export const MODELS = {
14396
14379
  reasoning: true,
14397
14380
  input: ["text"],
14398
14381
  cost: {
14399
- input: 0.7,
14400
- output: 2.2,
14401
- cacheRead: 0.13,
14382
+ input: 1.4,
14383
+ output: 4.4,
14384
+ cacheRead: 0.26,
14402
14385
  cacheWrite: 0,
14403
14386
  },
14404
14387
  contextWindow: 512000,
@@ -14421,6 +14404,23 @@ export const MODELS = {
14421
14404
  contextWindow: 256000,
14422
14405
  maxTokens: 256000,
14423
14406
  },
14407
+ "z-ai/glm-5.3": {
14408
+ id: "z-ai/glm-5.3",
14409
+ name: "Z.ai: GLM 5.3",
14410
+ api: "openai-completions",
14411
+ provider: "openrouter",
14412
+ baseUrl: "https://openrouter.ai/api/v1",
14413
+ reasoning: true,
14414
+ input: ["text"],
14415
+ cost: {
14416
+ input: 1.4,
14417
+ output: 4.4,
14418
+ cacheRead: 0.26,
14419
+ cacheWrite: 0,
14420
+ },
14421
+ contextWindow: 1048576,
14422
+ maxTokens: 131072,
14423
+ },
14424
14424
  "z-ai/glm-5v-turbo": {
14425
14425
  id: "z-ai/glm-5v-turbo",
14426
14426
  name: "Z.ai: GLM 5V Turbo",
@@ -14515,13 +14515,13 @@ export const MODELS = {
14515
14515
  reasoning: true,
14516
14516
  input: ["text"],
14517
14517
  cost: {
14518
- input: 0.078596,
14519
- output: 0.157192,
14520
- cacheRead: 0.015719200000000003,
14518
+ input: 0.0765,
14519
+ output: 0.153,
14520
+ cacheRead: 0.015300000000000001,
14521
14521
  cacheWrite: 0,
14522
14522
  },
14523
14523
  contextWindow: 1310720,
14524
- maxTokens: 384000,
14524
+ maxTokens: 262144,
14525
14525
  },
14526
14526
  "~google/gemini-flash-latest": {
14527
14527
  id: "~google/gemini-flash-latest",
@@ -14625,6 +14625,23 @@ export const MODELS = {
14625
14625
  contextWindow: 500000,
14626
14626
  maxTokens: 4096,
14627
14627
  },
14628
+ "~z-ai/glm-latest": {
14629
+ id: "~z-ai/glm-latest",
14630
+ name: "Z.ai: GLM Latest",
14631
+ api: "openai-completions",
14632
+ provider: "openrouter",
14633
+ baseUrl: "https://openrouter.ai/api/v1",
14634
+ reasoning: true,
14635
+ input: ["text"],
14636
+ cost: {
14637
+ input: 1.4,
14638
+ output: 4.4,
14639
+ cacheRead: 0.26,
14640
+ cacheWrite: 0,
14641
+ },
14642
+ contextWindow: 1048576,
14643
+ maxTokens: 131072,
14644
+ },
14628
14645
  },
14629
14646
  "vercel-ai-gateway": {
14630
14647
  "alibaba/qwen-3-14b": {
@@ -16744,9 +16761,9 @@ export const MODELS = {
16744
16761
  reasoning: true,
16745
16762
  input: ["text"],
16746
16763
  cost: {
16747
- input: 0,
16748
- output: 0,
16749
- cacheRead: 0,
16764
+ input: 0.049999999999999996,
16765
+ output: 0.19999999999999998,
16766
+ cacheRead: 0.01,
16750
16767
  cacheWrite: 0,
16751
16768
  },
16752
16769
  contextWindow: 262144,
@@ -18231,6 +18248,23 @@ export const MODELS = {
18231
18248
  contextWindow: 128000,
18232
18249
  maxTokens: 24000,
18233
18250
  },
18251
+ "zai/glm-4.6v-flash-free": {
18252
+ id: "zai/glm-4.6v-flash-free",
18253
+ name: "GLM-4.6V-Flash (Free)",
18254
+ api: "anthropic-messages",
18255
+ provider: "vercel-ai-gateway",
18256
+ baseUrl: "https://ai-gateway.vercel.sh",
18257
+ reasoning: true,
18258
+ input: ["text", "image"],
18259
+ cost: {
18260
+ input: 0,
18261
+ output: 0,
18262
+ cacheRead: 0,
18263
+ cacheWrite: 0,
18264
+ },
18265
+ contextWindow: 128000,
18266
+ maxTokens: 24000,
18267
+ },
18234
18268
  "zai/glm-4.7": {
18235
18269
  id: "zai/glm-4.7",
18236
18270
  name: "GLM 4.7",
@@ -18342,9 +18376,9 @@ export const MODELS = {
18342
18376
  reasoning: true,
18343
18377
  input: ["text"],
18344
18378
  cost: {
18345
- input: 1.1,
18346
- output: 3.851,
18347
- cacheRead: 0.275,
18379
+ input: 0.7999999999999999,
18380
+ output: 2.5500000000000003,
18381
+ cacheRead: 0.16,
18348
18382
  cacheWrite: 0,
18349
18383
  },
18350
18384
  contextWindow: 1000000,