@dreb/ai 2.6.2 → 2.7.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.
@@ -257,6 +257,23 @@ export const MODELS = {
257
257
  contextWindow: 1000000,
258
258
  maxTokens: 128000,
259
259
  },
260
+ "anthropic.claude-opus-4-7": {
261
+ id: "anthropic.claude-opus-4-7",
262
+ name: "Claude Opus 4.7",
263
+ api: "bedrock-converse-stream",
264
+ provider: "amazon-bedrock",
265
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
266
+ reasoning: true,
267
+ input: ["text", "image"],
268
+ cost: {
269
+ input: 5,
270
+ output: 25,
271
+ cacheRead: 0.5,
272
+ cacheWrite: 6.25,
273
+ },
274
+ contextWindow: 1000000,
275
+ maxTokens: 128000,
276
+ },
260
277
  "anthropic.claude-sonnet-4-20250514-v1:0": {
261
278
  id: "anthropic.claude-sonnet-4-20250514-v1:0",
262
279
  name: "Claude Sonnet 4",
@@ -410,6 +427,23 @@ export const MODELS = {
410
427
  contextWindow: 1000000,
411
428
  maxTokens: 128000,
412
429
  },
430
+ "eu.anthropic.claude-opus-4-7": {
431
+ id: "eu.anthropic.claude-opus-4-7",
432
+ name: "Claude Opus 4.7 (EU)",
433
+ api: "bedrock-converse-stream",
434
+ provider: "amazon-bedrock",
435
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
436
+ reasoning: true,
437
+ input: ["text", "image"],
438
+ cost: {
439
+ input: 5,
440
+ output: 25,
441
+ cacheRead: 0.5,
442
+ cacheWrite: 6.25,
443
+ },
444
+ contextWindow: 1000000,
445
+ maxTokens: 128000,
446
+ },
413
447
  "eu.anthropic.claude-sonnet-4-20250514-v1:0": {
414
448
  id: "eu.anthropic.claude-sonnet-4-20250514-v1:0",
415
449
  name: "Claude Sonnet 4 (EU)",
@@ -512,6 +546,23 @@ export const MODELS = {
512
546
  contextWindow: 1000000,
513
547
  maxTokens: 128000,
514
548
  },
549
+ "global.anthropic.claude-opus-4-7": {
550
+ id: "global.anthropic.claude-opus-4-7",
551
+ name: "Claude Opus 4.7 (Global)",
552
+ api: "bedrock-converse-stream",
553
+ provider: "amazon-bedrock",
554
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
555
+ reasoning: true,
556
+ input: ["text", "image"],
557
+ cost: {
558
+ input: 5,
559
+ output: 25,
560
+ cacheRead: 0.5,
561
+ cacheWrite: 6.25,
562
+ },
563
+ contextWindow: 1000000,
564
+ maxTokens: 128000,
565
+ },
515
566
  "global.anthropic.claude-sonnet-4-20250514-v1:0": {
516
567
  id: "global.anthropic.claude-sonnet-4-20250514-v1:0",
517
568
  name: "Claude Sonnet 4 (Global)",
@@ -1345,6 +1396,23 @@ export const MODELS = {
1345
1396
  contextWindow: 1000000,
1346
1397
  maxTokens: 128000,
1347
1398
  },
1399
+ "us.anthropic.claude-opus-4-7": {
1400
+ id: "us.anthropic.claude-opus-4-7",
1401
+ name: "Claude Opus 4.7 (US)",
1402
+ api: "bedrock-converse-stream",
1403
+ provider: "amazon-bedrock",
1404
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1405
+ reasoning: true,
1406
+ input: ["text", "image"],
1407
+ cost: {
1408
+ input: 5,
1409
+ output: 25,
1410
+ cacheRead: 0.5,
1411
+ cacheWrite: 6.25,
1412
+ },
1413
+ contextWindow: 1000000,
1414
+ maxTokens: 128000,
1415
+ },
1348
1416
  "us.anthropic.claude-sonnet-4-20250514-v1:0": {
1349
1417
  id: "us.anthropic.claude-sonnet-4-20250514-v1:0",
1350
1418
  name: "Claude Sonnet 4 (US)",
@@ -1772,6 +1840,23 @@ export const MODELS = {
1772
1840
  contextWindow: 1000000,
1773
1841
  maxTokens: 128000,
1774
1842
  },
1843
+ "claude-opus-4-7": {
1844
+ id: "claude-opus-4-7",
1845
+ name: "Claude Opus 4.7",
1846
+ api: "anthropic-messages",
1847
+ provider: "anthropic",
1848
+ baseUrl: "https://api.anthropic.com",
1849
+ reasoning: true,
1850
+ input: ["text", "image"],
1851
+ cost: {
1852
+ input: 5,
1853
+ output: 25,
1854
+ cacheRead: 0.5,
1855
+ cacheWrite: 6.25,
1856
+ },
1857
+ contextWindow: 1000000,
1858
+ maxTokens: 128000,
1859
+ },
1775
1860
  "claude-sonnet-4-0": {
1776
1861
  id: "claude-sonnet-4-0",
1777
1862
  name: "Claude Sonnet 4 (latest)",
@@ -6156,6 +6241,23 @@ export const MODELS = {
6156
6241
  contextWindow: 1000000,
6157
6242
  maxTokens: 128000,
6158
6243
  },
6244
+ "claude-opus-4-7": {
6245
+ id: "claude-opus-4-7",
6246
+ name: "Claude Opus 4.7",
6247
+ api: "anthropic-messages",
6248
+ provider: "opencode",
6249
+ baseUrl: "https://opencode.ai/zen",
6250
+ reasoning: true,
6251
+ input: ["text", "image"],
6252
+ cost: {
6253
+ input: 5,
6254
+ output: 25,
6255
+ cacheRead: 0.5,
6256
+ cacheWrite: 6.25,
6257
+ },
6258
+ contextWindow: 1000000,
6259
+ maxTokens: 128000,
6260
+ },
6159
6261
  "claude-sonnet-4": {
6160
6262
  id: "claude-sonnet-4",
6161
6263
  name: "Claude Sonnet 4",
@@ -6581,6 +6683,40 @@ export const MODELS = {
6581
6683
  contextWindow: 204800,
6582
6684
  maxTokens: 128000,
6583
6685
  },
6686
+ "qwen3.5-plus": {
6687
+ id: "qwen3.5-plus",
6688
+ name: "Qwen3.5 Plus",
6689
+ api: "openai-completions",
6690
+ provider: "opencode",
6691
+ baseUrl: "https://opencode.ai/zen/v1",
6692
+ reasoning: true,
6693
+ input: ["text", "image"],
6694
+ cost: {
6695
+ input: 0.2,
6696
+ output: 1.2,
6697
+ cacheRead: 0.02,
6698
+ cacheWrite: 0.25,
6699
+ },
6700
+ contextWindow: 262144,
6701
+ maxTokens: 65536,
6702
+ },
6703
+ "qwen3.6-plus": {
6704
+ id: "qwen3.6-plus",
6705
+ name: "Qwen3.6 Plus",
6706
+ api: "openai-completions",
6707
+ provider: "opencode",
6708
+ baseUrl: "https://opencode.ai/zen/v1",
6709
+ reasoning: true,
6710
+ input: ["text", "image"],
6711
+ cost: {
6712
+ input: 0.5,
6713
+ output: 3,
6714
+ cacheRead: 0.05,
6715
+ cacheWrite: 0.625,
6716
+ },
6717
+ contextWindow: 262144,
6718
+ maxTokens: 65536,
6719
+ },
6584
6720
  },
6585
6721
  "opencode-go": {
6586
6722
  "glm-5": {
@@ -6702,6 +6838,40 @@ export const MODELS = {
6702
6838
  contextWindow: 204800,
6703
6839
  maxTokens: 131072,
6704
6840
  },
6841
+ "qwen3.5-plus": {
6842
+ id: "qwen3.5-plus",
6843
+ name: "Qwen3.5 Plus",
6844
+ api: "openai-completions",
6845
+ provider: "opencode-go",
6846
+ baseUrl: "https://opencode.ai/zen/go/v1",
6847
+ reasoning: true,
6848
+ input: ["text", "image"],
6849
+ cost: {
6850
+ input: 0.2,
6851
+ output: 1.2,
6852
+ cacheRead: 0.02,
6853
+ cacheWrite: 0.25,
6854
+ },
6855
+ contextWindow: 262144,
6856
+ maxTokens: 65536,
6857
+ },
6858
+ "qwen3.6-plus": {
6859
+ id: "qwen3.6-plus",
6860
+ name: "Qwen3.6 Plus",
6861
+ api: "openai-completions",
6862
+ provider: "opencode-go",
6863
+ baseUrl: "https://opencode.ai/zen/go/v1",
6864
+ reasoning: true,
6865
+ input: ["text", "image"],
6866
+ cost: {
6867
+ input: 0.5,
6868
+ output: 3,
6869
+ cacheRead: 0.05,
6870
+ cacheWrite: 0.625,
6871
+ },
6872
+ contextWindow: 262144,
6873
+ maxTokens: 65536,
6874
+ },
6705
6875
  },
6706
6876
  "openrouter": {
6707
6877
  "ai21/jamba-large-1.7": {
@@ -7010,6 +7180,23 @@ export const MODELS = {
7010
7180
  contextWindow: 1000000,
7011
7181
  maxTokens: 128000,
7012
7182
  },
7183
+ "anthropic/claude-opus-4.7": {
7184
+ id: "anthropic/claude-opus-4.7",
7185
+ name: "Anthropic: Claude Opus 4.7",
7186
+ api: "openai-completions",
7187
+ provider: "openrouter",
7188
+ baseUrl: "https://openrouter.ai/api/v1",
7189
+ reasoning: true,
7190
+ input: ["text", "image"],
7191
+ cost: {
7192
+ input: 5,
7193
+ output: 25,
7194
+ cacheRead: 0.5,
7195
+ cacheWrite: 6.25,
7196
+ },
7197
+ contextWindow: 1000000,
7198
+ maxTokens: 128000,
7199
+ },
7013
7200
  "anthropic/claude-sonnet-4": {
7014
7201
  id: "anthropic/claude-sonnet-4",
7015
7202
  name: "Anthropic: Claude Sonnet 4",
@@ -7648,13 +7835,13 @@ export const MODELS = {
7648
7835
  reasoning: true,
7649
7836
  input: ["text", "image"],
7650
7837
  cost: {
7651
- input: 0.08,
7652
- output: 0.35,
7653
- cacheRead: 0.01,
7838
+ input: 0.07,
7839
+ output: 0.39999999999999997,
7840
+ cacheRead: 0.04,
7654
7841
  cacheWrite: 0,
7655
7842
  },
7656
7843
  contextWindow: 262144,
7657
- maxTokens: 4096,
7844
+ maxTokens: 262144,
7658
7845
  },
7659
7846
  "google/gemma-4-26b-a4b-it:free": {
7660
7847
  id: "google/gemma-4-26b-a4b-it:free",
@@ -8351,7 +8538,7 @@ export const MODELS = {
8351
8538
  cacheWrite: 0,
8352
8539
  },
8353
8540
  contextWindow: 131072,
8354
- maxTokens: 131072,
8541
+ maxTokens: 32768,
8355
8542
  },
8356
8543
  "moonshotai/kimi-k2-0905": {
8357
8544
  id: "moonshotai/kimi-k2-0905",
@@ -9674,7 +9861,7 @@ export const MODELS = {
9674
9861
  input: 0.26,
9675
9862
  output: 0.78,
9676
9863
  cacheRead: 0.052000000000000005,
9677
- cacheWrite: 0,
9864
+ cacheWrite: 0.325,
9678
9865
  },
9679
9866
  contextWindow: 1000000,
9680
9867
  maxTokens: 32768,
@@ -9691,7 +9878,7 @@ export const MODELS = {
9691
9878
  input: 0.26,
9692
9879
  output: 0.78,
9693
9880
  cacheRead: 0,
9694
- cacheWrite: 0,
9881
+ cacheWrite: 0.325,
9695
9882
  },
9696
9883
  contextWindow: 1000000,
9697
9884
  maxTokens: 32768,
@@ -9708,7 +9895,7 @@ export const MODELS = {
9708
9895
  input: 0.26,
9709
9896
  output: 0.78,
9710
9897
  cacheRead: 0,
9711
- cacheWrite: 0,
9898
+ cacheWrite: 0.325,
9712
9899
  },
9713
9900
  contextWindow: 1000000,
9714
9901
  maxTokens: 32768,
@@ -9807,13 +9994,13 @@ export const MODELS = {
9807
9994
  reasoning: true,
9808
9995
  input: ["text"],
9809
9996
  cost: {
9810
- input: 0.14950000000000002,
9811
- output: 1.495,
9997
+ input: 0.13,
9998
+ output: 0.6,
9812
9999
  cacheRead: 0,
9813
10000
  cacheWrite: 0,
9814
10001
  },
9815
- contextWindow: 131072,
9816
- maxTokens: 4096,
10002
+ contextWindow: 262144,
10003
+ maxTokens: 262144,
9817
10004
  },
9818
10005
  "qwen/qwen3-30b-a3b": {
9819
10006
  id: "qwen/qwen3-30b-a3b",
@@ -9946,7 +10133,7 @@ export const MODELS = {
9946
10133
  input: 0.195,
9947
10134
  output: 0.975,
9948
10135
  cacheRead: 0.039,
9949
- cacheWrite: 0,
10136
+ cacheWrite: 0.24375,
9950
10137
  },
9951
10138
  contextWindow: 1000000,
9952
10139
  maxTokens: 65536,
@@ -9980,7 +10167,7 @@ export const MODELS = {
9980
10167
  input: 0.65,
9981
10168
  output: 3.25,
9982
10169
  cacheRead: 0.13,
9983
- cacheWrite: 0,
10170
+ cacheWrite: 0.8125,
9984
10171
  },
9985
10172
  contextWindow: 1000000,
9986
10173
  maxTokens: 65536,
@@ -10014,7 +10201,7 @@ export const MODELS = {
10014
10201
  input: 0.78,
10015
10202
  output: 3.9,
10016
10203
  cacheRead: 0.156,
10017
- cacheWrite: 0,
10204
+ cacheWrite: 0.975,
10018
10205
  },
10019
10206
  contextWindow: 262144,
10020
10207
  maxTokens: 32768,
@@ -10268,7 +10455,7 @@ export const MODELS = {
10268
10455
  cost: {
10269
10456
  input: 0.39,
10270
10457
  output: 2.34,
10271
- cacheRead: 0,
10458
+ cacheRead: 0.195,
10272
10459
  cacheWrite: 0,
10273
10460
  },
10274
10461
  contextWindow: 262144,
@@ -10303,7 +10490,7 @@ export const MODELS = {
10303
10490
  input: 0.065,
10304
10491
  output: 0.26,
10305
10492
  cacheRead: 0,
10306
- cacheWrite: 0,
10493
+ cacheWrite: 0.08125,
10307
10494
  },
10308
10495
  contextWindow: 1000000,
10309
10496
  maxTokens: 65536,
@@ -10320,7 +10507,7 @@ export const MODELS = {
10320
10507
  input: 0.26,
10321
10508
  output: 1.56,
10322
10509
  cacheRead: 0,
10323
- cacheWrite: 0,
10510
+ cacheWrite: 0.325,
10324
10511
  },
10325
10512
  contextWindow: 1000000,
10326
10513
  maxTokens: 65536,
@@ -10337,7 +10524,7 @@ export const MODELS = {
10337
10524
  input: 0.325,
10338
10525
  output: 1.95,
10339
10526
  cacheRead: 0,
10340
- cacheWrite: 0,
10527
+ cacheWrite: 0.40625,
10341
10528
  },
10342
10529
  contextWindow: 1000000,
10343
10530
  maxTokens: 65536,
@@ -11347,6 +11534,23 @@ export const MODELS = {
11347
11534
  contextWindow: 1000000,
11348
11535
  maxTokens: 128000,
11349
11536
  },
11537
+ "anthropic/claude-opus-4.7": {
11538
+ id: "anthropic/claude-opus-4.7",
11539
+ name: "Claude Opus 4.7",
11540
+ api: "anthropic-messages",
11541
+ provider: "vercel-ai-gateway",
11542
+ baseUrl: "https://ai-gateway.vercel.sh",
11543
+ reasoning: true,
11544
+ input: ["text", "image"],
11545
+ cost: {
11546
+ input: 5,
11547
+ output: 25,
11548
+ cacheRead: 0.5,
11549
+ cacheWrite: 6.25,
11550
+ },
11551
+ contextWindow: 1000000,
11552
+ maxTokens: 128000,
11553
+ },
11350
11554
  "anthropic/claude-sonnet-4": {
11351
11555
  id: "anthropic/claude-sonnet-4",
11352
11556
  name: "Claude Sonnet 4",
@@ -13105,7 +13309,7 @@ export const MODELS = {
13105
13309
  provider: "vercel-ai-gateway",
13106
13310
  baseUrl: "https://ai-gateway.vercel.sh",
13107
13311
  reasoning: false,
13108
- input: ["text"],
13312
+ input: ["text", "image"],
13109
13313
  cost: {
13110
13314
  input: 0.19999999999999998,
13111
13315
  output: 0.5,
@@ -13122,7 +13326,7 @@ export const MODELS = {
13122
13326
  provider: "vercel-ai-gateway",
13123
13327
  baseUrl: "https://ai-gateway.vercel.sh",
13124
13328
  reasoning: true,
13125
- input: ["text"],
13329
+ input: ["text", "image"],
13126
13330
  cost: {
13127
13331
  input: 0.19999999999999998,
13128
13332
  output: 0.5,
@@ -13139,7 +13343,7 @@ export const MODELS = {
13139
13343
  provider: "vercel-ai-gateway",
13140
13344
  baseUrl: "https://ai-gateway.vercel.sh",
13141
13345
  reasoning: false,
13142
- input: ["text"],
13346
+ input: ["text", "image"],
13143
13347
  cost: {
13144
13348
  input: 0.19999999999999998,
13145
13349
  output: 0.5,
@@ -13156,7 +13360,7 @@ export const MODELS = {
13156
13360
  provider: "vercel-ai-gateway",
13157
13361
  baseUrl: "https://ai-gateway.vercel.sh",
13158
13362
  reasoning: true,
13159
- input: ["text"],
13363
+ input: ["text", "image"],
13160
13364
  cost: {
13161
13365
  input: 0.19999999999999998,
13162
13366
  output: 0.5,
@@ -13173,7 +13377,7 @@ export const MODELS = {
13173
13377
  provider: "vercel-ai-gateway",
13174
13378
  baseUrl: "https://ai-gateway.vercel.sh",
13175
13379
  reasoning: true,
13176
- input: ["text"],
13380
+ input: ["text", "image"],
13177
13381
  cost: {
13178
13382
  input: 2,
13179
13383
  output: 6,
@@ -13190,7 +13394,7 @@ export const MODELS = {
13190
13394
  provider: "vercel-ai-gateway",
13191
13395
  baseUrl: "https://ai-gateway.vercel.sh",
13192
13396
  reasoning: true,
13193
- input: ["text"],
13397
+ input: ["text", "image"],
13194
13398
  cost: {
13195
13399
  input: 2,
13196
13400
  output: 6,
@@ -13513,15 +13717,15 @@ export const MODELS = {
13513
13717
  provider: "vercel-ai-gateway",
13514
13718
  baseUrl: "https://ai-gateway.vercel.sh",
13515
13719
  reasoning: true,
13516
- input: ["text"],
13720
+ input: ["text", "image"],
13517
13721
  cost: {
13518
13722
  input: 1.4,
13519
13723
  output: 4.4,
13520
13724
  cacheRead: 0.26,
13521
13725
  cacheWrite: 0,
13522
13726
  },
13523
- contextWindow: 202800,
13524
- maxTokens: 64000,
13727
+ contextWindow: 202752,
13728
+ maxTokens: 202752,
13525
13729
  },
13526
13730
  "zai/glm-5v-turbo": {
13527
13731
  id: "zai/glm-5v-turbo",