@dreb/ai 2.6.2 → 2.6.3

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",
@@ -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",
@@ -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",