@dreb/ai 2.20.0 → 2.21.1

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.
@@ -155,6 +155,23 @@ export const MODELS = {
155
155
  contextWindow: 1000000,
156
156
  maxTokens: 128000,
157
157
  },
158
+ "anthropic.claude-opus-4-8": {
159
+ id: "anthropic.claude-opus-4-8",
160
+ name: "Claude Opus 4.8",
161
+ api: "bedrock-converse-stream",
162
+ provider: "amazon-bedrock",
163
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
164
+ reasoning: true,
165
+ input: ["text", "image"],
166
+ cost: {
167
+ input: 5,
168
+ output: 25,
169
+ cacheRead: 0.5,
170
+ cacheWrite: 6.25,
171
+ },
172
+ contextWindow: 1000000,
173
+ maxTokens: 128000,
174
+ },
158
175
  "anthropic.claude-sonnet-4-5-20250929-v1:0": {
159
176
  id: "anthropic.claude-sonnet-4-5-20250929-v1:0",
160
177
  name: "Claude Sonnet 4.5",
@@ -223,6 +240,23 @@ export const MODELS = {
223
240
  contextWindow: 1000000,
224
241
  maxTokens: 128000,
225
242
  },
243
+ "au.anthropic.claude-opus-4-8": {
244
+ id: "au.anthropic.claude-opus-4-8",
245
+ name: "Claude Opus 4.8 (AU)",
246
+ api: "bedrock-converse-stream",
247
+ provider: "amazon-bedrock",
248
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
249
+ reasoning: true,
250
+ input: ["text", "image"],
251
+ cost: {
252
+ input: 5,
253
+ output: 25,
254
+ cacheRead: 0.5,
255
+ cacheWrite: 6.25,
256
+ },
257
+ contextWindow: 1000000,
258
+ maxTokens: 128000,
259
+ },
226
260
  "au.anthropic.claude-sonnet-4-5-20250929-v1:0": {
227
261
  id: "au.anthropic.claude-sonnet-4-5-20250929-v1:0",
228
262
  name: "Claude Sonnet 4.5 (AU)",
@@ -376,6 +410,23 @@ export const MODELS = {
376
410
  contextWindow: 1000000,
377
411
  maxTokens: 128000,
378
412
  },
413
+ "eu.anthropic.claude-opus-4-8": {
414
+ id: "eu.anthropic.claude-opus-4-8",
415
+ name: "Claude Opus 4.8 (EU)",
416
+ api: "bedrock-converse-stream",
417
+ provider: "amazon-bedrock",
418
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
419
+ reasoning: true,
420
+ input: ["text", "image"],
421
+ cost: {
422
+ input: 5,
423
+ output: 25,
424
+ cacheRead: 0.5,
425
+ cacheWrite: 6.25,
426
+ },
427
+ contextWindow: 1000000,
428
+ maxTokens: 128000,
429
+ },
379
430
  "eu.anthropic.claude-sonnet-4-5-20250929-v1:0": {
380
431
  id: "eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
381
432
  name: "Claude Sonnet 4.5 (EU)",
@@ -478,6 +529,23 @@ export const MODELS = {
478
529
  contextWindow: 1000000,
479
530
  maxTokens: 128000,
480
531
  },
532
+ "global.anthropic.claude-opus-4-8": {
533
+ id: "global.anthropic.claude-opus-4-8",
534
+ name: "Claude Opus 4.8 (Global)",
535
+ api: "bedrock-converse-stream",
536
+ provider: "amazon-bedrock",
537
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
538
+ reasoning: true,
539
+ input: ["text", "image"],
540
+ cost: {
541
+ input: 5,
542
+ output: 25,
543
+ cacheRead: 0.5,
544
+ cacheWrite: 6.25,
545
+ },
546
+ contextWindow: 1000000,
547
+ maxTokens: 128000,
548
+ },
481
549
  "global.anthropic.claude-sonnet-4-5-20250929-v1:0": {
482
550
  id: "global.anthropic.claude-sonnet-4-5-20250929-v1:0",
483
551
  name: "Claude Sonnet 4.5 (Global)",
@@ -563,6 +631,23 @@ export const MODELS = {
563
631
  contextWindow: 1000000,
564
632
  maxTokens: 128000,
565
633
  },
634
+ "jp.anthropic.claude-opus-4-8": {
635
+ id: "jp.anthropic.claude-opus-4-8",
636
+ name: "Claude Opus 4.8 (JP)",
637
+ api: "bedrock-converse-stream",
638
+ provider: "amazon-bedrock",
639
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
640
+ reasoning: true,
641
+ input: ["text", "image"],
642
+ cost: {
643
+ input: 5,
644
+ output: 25,
645
+ cacheRead: 0.5,
646
+ cacheWrite: 6.25,
647
+ },
648
+ contextWindow: 1000000,
649
+ maxTokens: 128000,
650
+ },
566
651
  "jp.anthropic.claude-sonnet-4-5-20250929-v1:0": {
567
652
  id: "jp.anthropic.claude-sonnet-4-5-20250929-v1:0",
568
653
  name: "Claude Sonnet 4.5 (JP)",
@@ -1260,6 +1345,23 @@ export const MODELS = {
1260
1345
  contextWindow: 1000000,
1261
1346
  maxTokens: 128000,
1262
1347
  },
1348
+ "us.anthropic.claude-opus-4-8": {
1349
+ id: "us.anthropic.claude-opus-4-8",
1350
+ name: "Claude Opus 4.8 (US)",
1351
+ api: "bedrock-converse-stream",
1352
+ provider: "amazon-bedrock",
1353
+ baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
1354
+ reasoning: true,
1355
+ input: ["text", "image"],
1356
+ cost: {
1357
+ input: 5,
1358
+ output: 25,
1359
+ cacheRead: 0.5,
1360
+ cacheWrite: 6.25,
1361
+ },
1362
+ contextWindow: 1000000,
1363
+ maxTokens: 128000,
1364
+ },
1263
1365
  "us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
1264
1366
  id: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
1265
1367
  name: "Claude Sonnet 4.5 (US)",
@@ -1738,6 +1840,23 @@ export const MODELS = {
1738
1840
  contextWindow: 1000000,
1739
1841
  maxTokens: 128000,
1740
1842
  },
1843
+ "claude-opus-4-8": {
1844
+ id: "claude-opus-4-8",
1845
+ name: "Claude Opus 4.8",
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
+ },
1741
1860
  "claude-sonnet-4-0": {
1742
1861
  id: "claude-sonnet-4-0",
1743
1862
  name: "Claude Sonnet 4 (latest)",
@@ -5953,6 +6072,23 @@ export const MODELS = {
5953
6072
  contextWindow: 1000000,
5954
6073
  maxTokens: 128000,
5955
6074
  },
6075
+ "claude-opus-4-8": {
6076
+ id: "claude-opus-4-8",
6077
+ name: "Claude Opus 4.8",
6078
+ api: "anthropic-messages",
6079
+ provider: "opencode",
6080
+ baseUrl: "https://opencode.ai/zen",
6081
+ reasoning: true,
6082
+ input: ["text", "image"],
6083
+ cost: {
6084
+ input: 5,
6085
+ output: 25,
6086
+ cacheRead: 0.5,
6087
+ cacheWrite: 6.25,
6088
+ },
6089
+ contextWindow: 1000000,
6090
+ maxTokens: 128000,
6091
+ },
5956
6092
  "claude-sonnet-4": {
5957
6093
  id: "claude-sonnet-4",
5958
6094
  name: "Claude Sonnet 4",
@@ -7028,6 +7164,40 @@ export const MODELS = {
7028
7164
  contextWindow: 1000000,
7029
7165
  maxTokens: 128000,
7030
7166
  },
7167
+ "anthropic/claude-opus-4.8": {
7168
+ id: "anthropic/claude-opus-4.8",
7169
+ name: "Anthropic: Claude Opus 4.8",
7170
+ api: "openai-completions",
7171
+ provider: "openrouter",
7172
+ baseUrl: "https://openrouter.ai/api/v1",
7173
+ reasoning: true,
7174
+ input: ["text", "image"],
7175
+ cost: {
7176
+ input: 5,
7177
+ output: 25,
7178
+ cacheRead: 0.5,
7179
+ cacheWrite: 6.25,
7180
+ },
7181
+ contextWindow: 1000000,
7182
+ maxTokens: 128000,
7183
+ },
7184
+ "anthropic/claude-opus-4.8-fast": {
7185
+ id: "anthropic/claude-opus-4.8-fast",
7186
+ name: "Anthropic: Claude Opus 4.8 (Fast)",
7187
+ api: "openai-completions",
7188
+ provider: "openrouter",
7189
+ baseUrl: "https://openrouter.ai/api/v1",
7190
+ reasoning: true,
7191
+ input: ["text", "image"],
7192
+ cost: {
7193
+ input: 10,
7194
+ output: 50,
7195
+ cacheRead: 1,
7196
+ cacheWrite: 12.5,
7197
+ },
7198
+ contextWindow: 1000000,
7199
+ maxTokens: 128000,
7200
+ },
7031
7201
  "anthropic/claude-sonnet-4": {
7032
7202
  id: "anthropic/claude-sonnet-4",
7033
7203
  name: "Anthropic: Claude Sonnet 4",
@@ -10931,8 +11101,8 @@ export const MODELS = {
10931
11101
  input: ["text"],
10932
11102
  cost: {
10933
11103
  input: 0.125,
10934
- output: 0.84,
10935
- cacheRead: 0,
11104
+ output: 0.85,
11105
+ cacheRead: 0.06,
10936
11106
  cacheWrite: 0,
10937
11107
  },
10938
11108
  contextWindow: 131072,
@@ -11705,6 +11875,23 @@ export const MODELS = {
11705
11875
  contextWindow: 1000000,
11706
11876
  maxTokens: 128000,
11707
11877
  },
11878
+ "anthropic/claude-opus-4.8": {
11879
+ id: "anthropic/claude-opus-4.8",
11880
+ name: "Claude Opus 4.8",
11881
+ api: "anthropic-messages",
11882
+ provider: "vercel-ai-gateway",
11883
+ baseUrl: "https://ai-gateway.vercel.sh",
11884
+ reasoning: true,
11885
+ input: ["text", "image"],
11886
+ cost: {
11887
+ input: 5,
11888
+ output: 25,
11889
+ cacheRead: 0.5,
11890
+ cacheWrite: 6.25,
11891
+ },
11892
+ contextWindow: 1000000,
11893
+ maxTokens: 128000,
11894
+ },
11708
11895
  "anthropic/claude-sonnet-4": {
11709
11896
  id: "anthropic/claude-sonnet-4",
11710
11897
  name: "Claude Sonnet 4",