@dreb/ai 2.34.0 → 2.34.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.
@@ -368,10 +368,10 @@ export const MODELS = {
368
368
  reasoning: true,
369
369
  input: ["text", "image"],
370
370
  cost: {
371
- input: 1,
372
- output: 5,
373
- cacheRead: 0.1,
374
- cacheWrite: 1.25,
371
+ input: 1.1,
372
+ output: 5.5,
373
+ cacheRead: 0.11,
374
+ cacheWrite: 1.375,
375
375
  },
376
376
  contextWindow: 200000,
377
377
  maxTokens: 64000,
@@ -385,10 +385,10 @@ export const MODELS = {
385
385
  reasoning: true,
386
386
  input: ["text", "image"],
387
387
  cost: {
388
- input: 5,
389
- output: 25,
390
- cacheRead: 0.5,
391
- cacheWrite: 6.25,
388
+ input: 5.5,
389
+ output: 27.5,
390
+ cacheRead: 0.55,
391
+ cacheWrite: 6.875,
392
392
  },
393
393
  contextWindow: 200000,
394
394
  maxTokens: 64000,
@@ -1653,40 +1653,6 @@ export const MODELS = {
1653
1653
  },
1654
1654
  },
1655
1655
  "anthropic": {
1656
- "claude-3-5-haiku-20241022": {
1657
- id: "claude-3-5-haiku-20241022",
1658
- name: "Claude Haiku 3.5",
1659
- api: "anthropic-messages",
1660
- provider: "anthropic",
1661
- baseUrl: "https://api.anthropic.com",
1662
- reasoning: false,
1663
- input: ["text", "image"],
1664
- cost: {
1665
- input: 0.8,
1666
- output: 4,
1667
- cacheRead: 0.08,
1668
- cacheWrite: 1,
1669
- },
1670
- contextWindow: 200000,
1671
- maxTokens: 8192,
1672
- },
1673
- "claude-3-5-haiku-latest": {
1674
- id: "claude-3-5-haiku-latest",
1675
- name: "Claude Haiku 3.5 (latest)",
1676
- api: "anthropic-messages",
1677
- provider: "anthropic",
1678
- baseUrl: "https://api.anthropic.com",
1679
- reasoning: false,
1680
- input: ["text", "image"],
1681
- cost: {
1682
- input: 0.8,
1683
- output: 4,
1684
- cacheRead: 0.08,
1685
- cacheWrite: 1,
1686
- },
1687
- contextWindow: 200000,
1688
- maxTokens: 8192,
1689
- },
1690
1656
  "claude-3-5-sonnet-20240620": {
1691
1657
  id: "claude-3-5-sonnet-20240620",
1692
1658
  name: "Claude Sonnet 3.5",
@@ -11076,7 +11042,7 @@ export const MODELS = {
11076
11042
  input: ["text", "image"],
11077
11043
  cost: {
11078
11044
  input: 0.28850000000000003,
11079
- output: 3.17,
11045
+ output: 2.65,
11080
11046
  cacheRead: 0,
11081
11047
  cacheWrite: 0,
11082
11048
  },
@@ -12607,13 +12573,13 @@ export const MODELS = {
12607
12573
  reasoning: true,
12608
12574
  input: ["text"],
12609
12575
  cost: {
12610
- input: 0.56,
12611
- output: 1.68,
12612
- cacheRead: 0.28,
12576
+ input: 0.6,
12577
+ output: 1.7,
12578
+ cacheRead: 0,
12613
12579
  cacheWrite: 0,
12614
12580
  },
12615
- contextWindow: 163840,
12616
- maxTokens: 8192,
12581
+ contextWindow: 128000,
12582
+ maxTokens: 128000,
12617
12583
  },
12618
12584
  "deepseek/deepseek-v3.1-terminus": {
12619
12585
  id: "deepseek/deepseek-v3.1-terminus",
@@ -13559,13 +13525,13 @@ export const MODELS = {
13559
13525
  reasoning: true,
13560
13526
  input: ["text"],
13561
13527
  cost: {
13562
- input: 0.6,
13563
- output: 2.5,
13564
- cacheRead: 0.15,
13528
+ input: 0.47,
13529
+ output: 2,
13530
+ cacheRead: 0.14100000000000001,
13565
13531
  cacheWrite: 0,
13566
13532
  },
13567
- contextWindow: 262114,
13568
- maxTokens: 262114,
13533
+ contextWindow: 216144,
13534
+ maxTokens: 216144,
13569
13535
  },
13570
13536
  "moonshotai/kimi-k2.5": {
13571
13537
  id: "moonshotai/kimi-k2.5",
@@ -14239,13 +14205,13 @@ export const MODELS = {
14239
14205
  reasoning: true,
14240
14206
  input: ["text"],
14241
14207
  cost: {
14242
- input: 0.35,
14243
- output: 0.75,
14244
- cacheRead: 0.25,
14208
+ input: 0.09999999999999999,
14209
+ output: 0.5,
14210
+ cacheRead: 0,
14245
14211
  cacheWrite: 0,
14246
14212
  },
14247
14213
  contextWindow: 131072,
14248
- maxTokens: 131000,
14214
+ maxTokens: 131072,
14249
14215
  },
14250
14216
  "openai/gpt-oss-20b": {
14251
14217
  id: "openai/gpt-oss-20b",
@@ -14783,13 +14749,13 @@ export const MODELS = {
14783
14749
  reasoning: true,
14784
14750
  input: ["text"],
14785
14751
  cost: {
14786
- input: 2.25,
14787
- output: 2.75,
14788
- cacheRead: 2.25,
14752
+ input: 0.6,
14753
+ output: 2.2,
14754
+ cacheRead: 0.12,
14789
14755
  cacheWrite: 0,
14790
14756
  },
14791
- contextWindow: 131000,
14792
- maxTokens: 40000,
14757
+ contextWindow: 200000,
14758
+ maxTokens: 120000,
14793
14759
  },
14794
14760
  "zai/glm-4.7-flash": {
14795
14761
  id: "zai/glm-4.7-flash",
@@ -14834,8 +14800,8 @@ export const MODELS = {
14834
14800
  reasoning: true,
14835
14801
  input: ["text"],
14836
14802
  cost: {
14837
- input: 1,
14838
- output: 3.1999999999999997,
14803
+ input: 0.95,
14804
+ output: 3.15,
14839
14805
  cacheRead: 0.19999999999999998,
14840
14806
  cacheWrite: 0,
14841
14807
  },
@@ -14868,13 +14834,13 @@ export const MODELS = {
14868
14834
  reasoning: true,
14869
14835
  input: ["text"],
14870
14836
  cost: {
14871
- input: 1.4,
14872
- output: 4.4,
14837
+ input: 1.3,
14838
+ output: 4.300000000000001,
14873
14839
  cacheRead: 0.26,
14874
14840
  cacheWrite: 0,
14875
14841
  },
14876
- contextWindow: 202800,
14877
- maxTokens: 64000,
14842
+ contextWindow: 202000,
14843
+ maxTokens: 202000,
14878
14844
  },
14879
14845
  "zai/glm-5.2": {
14880
14846
  id: "zai/glm-5.2",